d3dx9_36/tests: Speed up some tests.
[wine/multimedia.git] / configure
blobd18cc0e823c3e6d953a3ecf7291d94c3758ec049
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.5.14.
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.5.14'
584 PACKAGE_STRING='Wine 1.5.14'
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 LDAPLIBS
631 LIBPOLL
632 LIBDL
633 EXTRA_BINARIES
634 MAIN_BINARY
635 SOCKETLIBS
636 CRTLIBS
637 TOOLSEXT
638 LDPATH
639 UNWINDFLAGS
640 BUILTINFLAG
641 EXTRACFLAGS
642 LIBKSTAT
643 LIBOPENAL
644 LIBMPG123
645 PNGINCL
646 FONTCONFIGINCL
647 CUPSINCL
648 OSS4INCL
649 ALSALIBS
650 GSTREAMER_INCL
651 GSTREAMER_LIBS
652 LIBGETTEXTPO
653 ZLIB
654 FREETYPEINCL
655 FREETYPELIBS
656 ft_devel
657 LCMSLIBS
658 RESOLVLIBS
659 GPHOTO2INCL
660 GPHOTO2LIBS
661 gphoto2port_devel
662 gphoto2_devel
663 SANEINCL
664 sane_devel
665 GNUTLSINCL
666 HALINCL
667 DBUSINCL
668 XSLTINCL
669 XML2INCL
670 XML2LIBS
671 X_EXTRA_LIBS
672 X_LIBS
673 X_PRE_LIBS
674 X_CFLAGS
675 XMKMF
676 LIBPTHREAD
677 CROSSTARGET
678 CROSSCC
679 CROSSTEST_DISABLE
680 PRELINK
681 CARBONLIB
682 QUICKTIMELIB
683 LIBOPENCL
684 FRAMEWORK_OPENAL
685 COREAUDIO
686 SECURITYLIB
687 DISKARBITRATIONLIB
688 LDEXECFLAGS
689 CORESERVICESLIB
690 APPLICATIONSERVICESLIB
691 IOKITLIB
692 COREFOUNDATIONLIB
693 DLLWRAP
694 DLLTOOL
696 LDRPATH_LOCAL
697 LDRPATH_INSTALL
698 IMPLIBEXT
699 LIBEXT
700 LDDLLFLAGS
701 LDSHARED
702 DLLFLAGS
703 DLLEXT
705 OPENGL_LIBS
706 XLIB
707 MAINTAINER_MODE
708 MSGFMT
709 ICOTOOL
710 CONVERT
711 RSVG
712 PKG_CONFIG
713 FONTFORGE
714 LINTFLAGS
715 LINT
716 INSTALL_DATA
717 INSTALL_SCRIPT
718 INSTALL_PROGRAM
719 LDCONFIG
720 EGREP
721 GREP
722 LN_S
723 RANLIB
724 ARFLAGS
725 ac_ct_AR
727 BISON
728 FLEX
729 TOOLSDIR
730 WOW64_DISABLE
731 TARGETFLAGS
732 CPPBIN
733 ac_ct_CXX
734 CXXFLAGS
736 OBJEXT
737 EXEEXT
738 ac_ct_CC
739 CPPFLAGS
740 LDFLAGS
741 CFLAGS
743 SET_MAKE
744 host_os
745 host_vendor
746 host_cpu
747 host
748 build_os
749 build_vendor
750 build_cpu
751 build
752 target_alias
753 host_alias
754 build_alias
755 LIBS
756 ECHO_T
757 ECHO_N
758 ECHO_C
759 DEFS
760 mandir
761 localedir
762 libdir
763 psdir
764 pdfdir
765 dvidir
766 htmldir
767 infodir
768 docdir
769 oldincludedir
770 includedir
771 localstatedir
772 sharedstatedir
773 sysconfdir
774 datadir
775 datarootdir
776 libexecdir
777 sbindir
778 bindir
779 program_transform_name
780 prefix
781 exec_prefix
782 PACKAGE_URL
783 PACKAGE_BUGREPORT
784 PACKAGE_STRING
785 PACKAGE_VERSION
786 PACKAGE_TARNAME
787 PACKAGE_NAME
788 PATH_SEPARATOR
789 SHELL'
790 ac_subst_files='MAKE_RULES
791 MAKE_TEST_RULES
792 MAKE_DLL_RULES
793 MAKE_IMPLIB_RULES
794 MAKE_PROG_RULES'
795 ac_user_opts='
796 enable_option_checking
797 enable_win16
798 enable_win64
799 enable_tests
800 enable_maintainer_mode
801 with_alsa
802 with_capi
803 with_cms
804 with_coreaudio
805 with_cups
806 with_curses
807 with_dbus
808 with_fontconfig
809 with_freetype
810 with_gettext
811 with_gettextpo
812 with_gphoto
813 with_glu
814 with_gnutls
815 with_gsm
816 with_gstreamer
817 with_hal
818 with_jpeg
819 with_ldap
820 with_mpg123
821 with_openal
822 with_opencl
823 with_opengl
824 with_openssl
825 with_osmesa
826 with_oss
827 with_png
828 with_pthread
829 with_sane
830 with_tiff
831 with_v4l
832 with_xcomposite
833 with_xcursor
834 with_xinerama
835 with_xinput
836 with_xinput2
837 with_xml
838 with_xrandr
839 with_xrender
840 with_xshape
841 with_xslt
842 with_xxf86vm
843 with_zlib
844 with_wine_tools
845 with_wine64
846 enable_largefile
847 with_x
849 ac_precious_vars='build_alias
850 host_alias
851 target_alias
853 CFLAGS
854 LDFLAGS
855 LIBS
856 CPPFLAGS
858 CXXFLAGS
861 XMKMF'
864 # Initialize some variables set by options.
865 ac_init_help=
866 ac_init_version=false
867 ac_unrecognized_opts=
868 ac_unrecognized_sep=
869 # The variables have the same names as the options, with
870 # dashes changed to underlines.
871 cache_file=/dev/null
872 exec_prefix=NONE
873 no_create=
874 no_recursion=
875 prefix=NONE
876 program_prefix=NONE
877 program_suffix=NONE
878 program_transform_name=s,x,x,
879 silent=
880 site=
881 srcdir=
882 verbose=
883 x_includes=NONE
884 x_libraries=NONE
886 # Installation directory options.
887 # These are left unexpanded so users can "make install exec_prefix=/foo"
888 # and all the variables that are supposed to be based on exec_prefix
889 # by default will actually change.
890 # Use braces instead of parens because sh, perl, etc. also accept them.
891 # (The list follows the same order as the GNU Coding Standards.)
892 bindir='${exec_prefix}/bin'
893 sbindir='${exec_prefix}/sbin'
894 libexecdir='${exec_prefix}/libexec'
895 datarootdir='${prefix}/share'
896 datadir='${datarootdir}'
897 sysconfdir='${prefix}/etc'
898 sharedstatedir='${prefix}/com'
899 localstatedir='${prefix}/var'
900 includedir='${prefix}/include'
901 oldincludedir='/usr/include'
902 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
903 infodir='${datarootdir}/info'
904 htmldir='${docdir}'
905 dvidir='${docdir}'
906 pdfdir='${docdir}'
907 psdir='${docdir}'
908 libdir='${exec_prefix}/lib'
909 localedir='${datarootdir}/locale'
910 mandir='${datarootdir}/man'
912 ac_prev=
913 ac_dashdash=
914 for ac_option
916 # If the previous option needs an argument, assign it.
917 if test -n "$ac_prev"; then
918 eval $ac_prev=\$ac_option
919 ac_prev=
920 continue
923 case $ac_option in
924 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
925 *=) ac_optarg= ;;
926 *) ac_optarg=yes ;;
927 esac
929 # Accept the important Cygnus configure options, so we can diagnose typos.
931 case $ac_dashdash$ac_option in
933 ac_dashdash=yes ;;
935 -bindir | --bindir | --bindi | --bind | --bin | --bi)
936 ac_prev=bindir ;;
937 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
938 bindir=$ac_optarg ;;
940 -build | --build | --buil | --bui | --bu)
941 ac_prev=build_alias ;;
942 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
943 build_alias=$ac_optarg ;;
945 -cache-file | --cache-file | --cache-fil | --cache-fi \
946 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
947 ac_prev=cache_file ;;
948 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
949 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
950 cache_file=$ac_optarg ;;
952 --config-cache | -C)
953 cache_file=config.cache ;;
955 -datadir | --datadir | --datadi | --datad)
956 ac_prev=datadir ;;
957 -datadir=* | --datadir=* | --datadi=* | --datad=*)
958 datadir=$ac_optarg ;;
960 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
961 | --dataroo | --dataro | --datar)
962 ac_prev=datarootdir ;;
963 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
964 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
965 datarootdir=$ac_optarg ;;
967 -disable-* | --disable-*)
968 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
969 # Reject names that are not valid shell variable names.
970 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
971 as_fn_error $? "invalid feature name: $ac_useropt"
972 ac_useropt_orig=$ac_useropt
973 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
974 case $ac_user_opts in
976 "enable_$ac_useropt"
977 "*) ;;
978 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
979 ac_unrecognized_sep=', ';;
980 esac
981 eval enable_$ac_useropt=no ;;
983 -docdir | --docdir | --docdi | --doc | --do)
984 ac_prev=docdir ;;
985 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
986 docdir=$ac_optarg ;;
988 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
989 ac_prev=dvidir ;;
990 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
991 dvidir=$ac_optarg ;;
993 -enable-* | --enable-*)
994 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
997 as_fn_error $? "invalid feature name: $ac_useropt"
998 ac_useropt_orig=$ac_useropt
999 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000 case $ac_user_opts in
1002 "enable_$ac_useropt"
1003 "*) ;;
1004 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1005 ac_unrecognized_sep=', ';;
1006 esac
1007 eval enable_$ac_useropt=\$ac_optarg ;;
1009 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1010 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1011 | --exec | --exe | --ex)
1012 ac_prev=exec_prefix ;;
1013 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1014 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1015 | --exec=* | --exe=* | --ex=*)
1016 exec_prefix=$ac_optarg ;;
1018 -gas | --gas | --ga | --g)
1019 # Obsolete; use --with-gas.
1020 with_gas=yes ;;
1022 -help | --help | --hel | --he | -h)
1023 ac_init_help=long ;;
1024 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1025 ac_init_help=recursive ;;
1026 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1027 ac_init_help=short ;;
1029 -host | --host | --hos | --ho)
1030 ac_prev=host_alias ;;
1031 -host=* | --host=* | --hos=* | --ho=*)
1032 host_alias=$ac_optarg ;;
1034 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1035 ac_prev=htmldir ;;
1036 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1037 | --ht=*)
1038 htmldir=$ac_optarg ;;
1040 -includedir | --includedir | --includedi | --included | --include \
1041 | --includ | --inclu | --incl | --inc)
1042 ac_prev=includedir ;;
1043 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1044 | --includ=* | --inclu=* | --incl=* | --inc=*)
1045 includedir=$ac_optarg ;;
1047 -infodir | --infodir | --infodi | --infod | --info | --inf)
1048 ac_prev=infodir ;;
1049 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1050 infodir=$ac_optarg ;;
1052 -libdir | --libdir | --libdi | --libd)
1053 ac_prev=libdir ;;
1054 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1055 libdir=$ac_optarg ;;
1057 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1058 | --libexe | --libex | --libe)
1059 ac_prev=libexecdir ;;
1060 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1061 | --libexe=* | --libex=* | --libe=*)
1062 libexecdir=$ac_optarg ;;
1064 -localedir | --localedir | --localedi | --localed | --locale)
1065 ac_prev=localedir ;;
1066 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1067 localedir=$ac_optarg ;;
1069 -localstatedir | --localstatedir | --localstatedi | --localstated \
1070 | --localstate | --localstat | --localsta | --localst | --locals)
1071 ac_prev=localstatedir ;;
1072 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1073 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1074 localstatedir=$ac_optarg ;;
1076 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1077 ac_prev=mandir ;;
1078 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1079 mandir=$ac_optarg ;;
1081 -nfp | --nfp | --nf)
1082 # Obsolete; use --without-fp.
1083 with_fp=no ;;
1085 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1086 | --no-cr | --no-c | -n)
1087 no_create=yes ;;
1089 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1090 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1091 no_recursion=yes ;;
1093 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1094 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1095 | --oldin | --oldi | --old | --ol | --o)
1096 ac_prev=oldincludedir ;;
1097 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1098 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1099 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1100 oldincludedir=$ac_optarg ;;
1102 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1103 ac_prev=prefix ;;
1104 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1105 prefix=$ac_optarg ;;
1107 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1108 | --program-pre | --program-pr | --program-p)
1109 ac_prev=program_prefix ;;
1110 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1111 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1112 program_prefix=$ac_optarg ;;
1114 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1115 | --program-suf | --program-su | --program-s)
1116 ac_prev=program_suffix ;;
1117 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1118 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1119 program_suffix=$ac_optarg ;;
1121 -program-transform-name | --program-transform-name \
1122 | --program-transform-nam | --program-transform-na \
1123 | --program-transform-n | --program-transform- \
1124 | --program-transform | --program-transfor \
1125 | --program-transfo | --program-transf \
1126 | --program-trans | --program-tran \
1127 | --progr-tra | --program-tr | --program-t)
1128 ac_prev=program_transform_name ;;
1129 -program-transform-name=* | --program-transform-name=* \
1130 | --program-transform-nam=* | --program-transform-na=* \
1131 | --program-transform-n=* | --program-transform-=* \
1132 | --program-transform=* | --program-transfor=* \
1133 | --program-transfo=* | --program-transf=* \
1134 | --program-trans=* | --program-tran=* \
1135 | --progr-tra=* | --program-tr=* | --program-t=*)
1136 program_transform_name=$ac_optarg ;;
1138 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1139 ac_prev=pdfdir ;;
1140 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1141 pdfdir=$ac_optarg ;;
1143 -psdir | --psdir | --psdi | --psd | --ps)
1144 ac_prev=psdir ;;
1145 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1146 psdir=$ac_optarg ;;
1148 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1149 | -silent | --silent | --silen | --sile | --sil)
1150 silent=yes ;;
1152 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1153 ac_prev=sbindir ;;
1154 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1155 | --sbi=* | --sb=*)
1156 sbindir=$ac_optarg ;;
1158 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1159 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1160 | --sharedst | --shareds | --shared | --share | --shar \
1161 | --sha | --sh)
1162 ac_prev=sharedstatedir ;;
1163 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1164 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1165 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1166 | --sha=* | --sh=*)
1167 sharedstatedir=$ac_optarg ;;
1169 -site | --site | --sit)
1170 ac_prev=site ;;
1171 -site=* | --site=* | --sit=*)
1172 site=$ac_optarg ;;
1174 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1175 ac_prev=srcdir ;;
1176 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1177 srcdir=$ac_optarg ;;
1179 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1180 | --syscon | --sysco | --sysc | --sys | --sy)
1181 ac_prev=sysconfdir ;;
1182 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1183 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1184 sysconfdir=$ac_optarg ;;
1186 -target | --target | --targe | --targ | --tar | --ta | --t)
1187 ac_prev=target_alias ;;
1188 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1189 target_alias=$ac_optarg ;;
1191 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1192 verbose=yes ;;
1194 -version | --version | --versio | --versi | --vers | -V)
1195 ac_init_version=: ;;
1197 -with-* | --with-*)
1198 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1199 # Reject names that are not valid shell variable names.
1200 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1201 as_fn_error $? "invalid package name: $ac_useropt"
1202 ac_useropt_orig=$ac_useropt
1203 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1204 case $ac_user_opts in
1206 "with_$ac_useropt"
1207 "*) ;;
1208 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1209 ac_unrecognized_sep=', ';;
1210 esac
1211 eval with_$ac_useropt=\$ac_optarg ;;
1213 -without-* | --without-*)
1214 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1215 # Reject names that are not valid shell variable names.
1216 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1217 as_fn_error $? "invalid package name: $ac_useropt"
1218 ac_useropt_orig=$ac_useropt
1219 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1220 case $ac_user_opts in
1222 "with_$ac_useropt"
1223 "*) ;;
1224 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1225 ac_unrecognized_sep=', ';;
1226 esac
1227 eval with_$ac_useropt=no ;;
1229 --x)
1230 # Obsolete; use --with-x.
1231 with_x=yes ;;
1233 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1234 | --x-incl | --x-inc | --x-in | --x-i)
1235 ac_prev=x_includes ;;
1236 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1237 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1238 x_includes=$ac_optarg ;;
1240 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1241 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1242 ac_prev=x_libraries ;;
1243 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1244 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1245 x_libraries=$ac_optarg ;;
1247 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1248 Try \`$0 --help' for more information"
1251 *=*)
1252 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1253 # Reject names that are not valid shell variable names.
1254 case $ac_envvar in #(
1255 '' | [0-9]* | *[!_$as_cr_alnum]* )
1256 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1257 esac
1258 eval $ac_envvar=\$ac_optarg
1259 export $ac_envvar ;;
1262 # FIXME: should be removed in autoconf 3.0.
1263 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1264 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1265 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1266 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1269 esac
1270 done
1272 if test -n "$ac_prev"; then
1273 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1274 as_fn_error $? "missing argument to $ac_option"
1277 if test -n "$ac_unrecognized_opts"; then
1278 case $enable_option_checking in
1279 no) ;;
1280 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1281 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1282 esac
1285 # Check all directory arguments for consistency.
1286 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1287 datadir sysconfdir sharedstatedir localstatedir includedir \
1288 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1289 libdir localedir mandir
1291 eval ac_val=\$$ac_var
1292 # Remove trailing slashes.
1293 case $ac_val in
1294 */ )
1295 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1296 eval $ac_var=\$ac_val;;
1297 esac
1298 # Be sure to have absolute directory names.
1299 case $ac_val in
1300 [\\/$]* | ?:[\\/]* ) continue;;
1301 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1302 esac
1303 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1304 done
1306 # There might be people who depend on the old broken behavior: `$host'
1307 # used to hold the argument of --host etc.
1308 # FIXME: To remove some day.
1309 build=$build_alias
1310 host=$host_alias
1311 target=$target_alias
1313 # FIXME: To remove some day.
1314 if test "x$host_alias" != x; then
1315 if test "x$build_alias" = x; then
1316 cross_compiling=maybe
1317 elif test "x$build_alias" != "x$host_alias"; then
1318 cross_compiling=yes
1322 ac_tool_prefix=
1323 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1325 test "$silent" = yes && exec 6>/dev/null
1328 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1329 ac_ls_di=`ls -di .` &&
1330 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1331 as_fn_error $? "working directory cannot be determined"
1332 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1333 as_fn_error $? "pwd does not report name of working directory"
1336 # Find the source files, if location was not specified.
1337 if test -z "$srcdir"; then
1338 ac_srcdir_defaulted=yes
1339 # Try the directory containing this script, then the parent directory.
1340 ac_confdir=`$as_dirname -- "$as_myself" ||
1341 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1342 X"$as_myself" : 'X\(//\)[^/]' \| \
1343 X"$as_myself" : 'X\(//\)$' \| \
1344 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1345 $as_echo X"$as_myself" |
1346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1347 s//\1/
1350 /^X\(\/\/\)[^/].*/{
1351 s//\1/
1354 /^X\(\/\/\)$/{
1355 s//\1/
1358 /^X\(\/\).*/{
1359 s//\1/
1362 s/.*/./; q'`
1363 srcdir=$ac_confdir
1364 if test ! -r "$srcdir/$ac_unique_file"; then
1365 srcdir=..
1367 else
1368 ac_srcdir_defaulted=no
1370 if test ! -r "$srcdir/$ac_unique_file"; then
1371 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1372 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1374 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1375 ac_abs_confdir=`(
1376 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1377 pwd)`
1378 # When building in place, set srcdir=.
1379 if test "$ac_abs_confdir" = "$ac_pwd"; then
1380 srcdir=.
1382 # Remove unnecessary trailing slashes from srcdir.
1383 # Double slashes in file names in object file debugging info
1384 # mess up M-x gdb in Emacs.
1385 case $srcdir in
1386 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1387 esac
1388 for ac_var in $ac_precious_vars; do
1389 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1390 eval ac_env_${ac_var}_value=\$${ac_var}
1391 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1392 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1393 done
1396 # Report the --help message.
1398 if test "$ac_init_help" = "long"; then
1399 # Omit some internal or obsolete options to make the list less imposing.
1400 # This message is too long to be a string in the A/UX 3.1 sh.
1401 cat <<_ACEOF
1402 \`configure' configures Wine 1.5.14 to adapt to many kinds of systems.
1404 Usage: $0 [OPTION]... [VAR=VALUE]...
1406 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1407 VAR=VALUE. See below for descriptions of some of the useful variables.
1409 Defaults for the options are specified in brackets.
1411 Configuration:
1412 -h, --help display this help and exit
1413 --help=short display options specific to this package
1414 --help=recursive display the short help of all the included packages
1415 -V, --version display version information and exit
1416 -q, --quiet, --silent do not print \`checking ...' messages
1417 --cache-file=FILE cache test results in FILE [disabled]
1418 -C, --config-cache alias for \`--cache-file=config.cache'
1419 -n, --no-create do not create output files
1420 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1422 Installation directories:
1423 --prefix=PREFIX install architecture-independent files in PREFIX
1424 [$ac_default_prefix]
1425 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1426 [PREFIX]
1428 By default, \`make install' will install all the files in
1429 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1430 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1431 for instance \`--prefix=\$HOME'.
1433 For better control, use the options below.
1435 Fine tuning of the installation directories:
1436 --bindir=DIR user executables [EPREFIX/bin]
1437 --sbindir=DIR system admin executables [EPREFIX/sbin]
1438 --libexecdir=DIR program executables [EPREFIX/libexec]
1439 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1440 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1441 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1442 --libdir=DIR object code libraries [EPREFIX/lib]
1443 --includedir=DIR C header files [PREFIX/include]
1444 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1445 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1446 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1447 --infodir=DIR info documentation [DATAROOTDIR/info]
1448 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1449 --mandir=DIR man documentation [DATAROOTDIR/man]
1450 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1451 --htmldir=DIR html documentation [DOCDIR]
1452 --dvidir=DIR dvi documentation [DOCDIR]
1453 --pdfdir=DIR pdf documentation [DOCDIR]
1454 --psdir=DIR ps documentation [DOCDIR]
1455 _ACEOF
1457 cat <<\_ACEOF
1459 X features:
1460 --x-includes=DIR X include files are in DIR
1461 --x-libraries=DIR X library files are in DIR
1463 System types:
1464 --build=BUILD configure for building on BUILD [guessed]
1465 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1466 _ACEOF
1469 if test -n "$ac_init_help"; then
1470 case $ac_init_help in
1471 short | recursive ) echo "Configuration of Wine 1.5.14:";;
1472 esac
1473 cat <<\_ACEOF
1475 Optional Features:
1476 --disable-option-checking ignore unrecognized --enable/--with options
1477 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1478 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1479 --disable-win16 do not include Win16 support
1480 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1481 binaries)
1482 --disable-tests do not build the regression tests
1483 --enable-maintainer-mode
1484 enable maintainer-specific build rules
1485 --disable-largefile omit support for large files
1487 Optional Packages:
1488 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1489 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1490 --without-alsa do not use the Alsa sound support
1491 --without-capi do not use CAPI (ISDN support)
1492 --without-cms do not use CMS (color management support)
1493 --without-coreaudio do not use the CoreAudio sound support
1494 --without-cups do not use CUPS
1495 --without-curses do not use (n)curses
1496 --without-dbus do not use DBus (dynamic device support)
1497 --without-fontconfig do not use fontconfig
1498 --without-freetype do not use the FreeType library
1499 --without-gettext do not use gettext
1500 --with-gettextpo use the GetTextPO library to rebuild po files
1501 --without-gphoto do not use gphoto (Digital Camera support)
1502 --without-glu do not use the GLU library
1503 --without-gnutls do not use GnuTLS (schannel support)
1504 --without-gsm do not use libgsm (GSM 06.10 codec support)
1505 --without-gstreamer do not use GStreamer (codecs support)
1506 --without-hal do not use HAL (dynamic device support)
1507 --without-jpeg do not use JPEG
1508 --without-ldap do not use LDAP
1509 --without-mpg123 do not use the mpg123 library
1510 --without-openal do not use OpenAL
1511 --without-opencl do not use OpenCL
1512 --without-opengl do not use OpenGL
1513 --without-openssl do not use OpenSSL
1514 --without-osmesa do not use the OSMesa library
1515 --without-oss do not use the OSS sound support
1516 --without-png do not use PNG
1517 --without-pthread do not use the pthread library
1518 --without-sane do not use SANE (scanner support)
1519 --without-tiff do not use TIFF
1520 --without-v4l do not use v4l1 (v4l support)
1521 --without-xcomposite do not use the Xcomposite extension
1522 --without-xcursor do not use the Xcursor extension
1523 --without-xinerama do not use Xinerama (multi-monitor support)
1524 --without-xinput do not use the Xinput extension
1525 --without-xinput2 do not use the Xinput 2 extension
1526 --without-xml do not use XML
1527 --without-xrandr do not use Xrandr (resolution changes)
1528 --without-xrender do not use the Xrender extension
1529 --without-xshape do not use the Xshape extension
1530 --without-xslt do not use XSLT
1531 --without-xxf86vm do not use XFree video mode extension
1532 --without-zlib do not use Zlib (data compression)
1533 --with-wine-tools=DIR use Wine tools from directory DIR
1534 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1535 --with-x use the X Window System
1537 Some influential environment variables:
1538 CC C compiler command
1539 CFLAGS C compiler flags
1540 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1541 nonstandard directory <lib dir>
1542 LIBS libraries to pass to the linker, e.g. -l<library>
1543 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1544 you have headers in a nonstandard directory <include dir>
1545 CXX C++ compiler command
1546 CXXFLAGS C++ compiler flags
1547 CPP C preprocessor
1548 XMKMF Path to xmkmf, Makefile generator for X Window System
1550 Use these variables to override the choices made by `configure' or to help
1551 it to find libraries and programs with nonstandard names/locations.
1553 Report bugs to <wine-devel@winehq.org>.
1554 Wine home page: <http://www.winehq.org>.
1555 _ACEOF
1556 ac_status=$?
1559 if test "$ac_init_help" = "recursive"; then
1560 # If there are subdirs, report their specific --help.
1561 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1562 test -d "$ac_dir" ||
1563 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1564 continue
1565 ac_builddir=.
1567 case "$ac_dir" in
1568 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1570 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1571 # A ".." for each directory in $ac_dir_suffix.
1572 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1573 case $ac_top_builddir_sub in
1574 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1575 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1576 esac ;;
1577 esac
1578 ac_abs_top_builddir=$ac_pwd
1579 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1580 # for backward compatibility:
1581 ac_top_builddir=$ac_top_build_prefix
1583 case $srcdir in
1584 .) # We are building in place.
1585 ac_srcdir=.
1586 ac_top_srcdir=$ac_top_builddir_sub
1587 ac_abs_top_srcdir=$ac_pwd ;;
1588 [\\/]* | ?:[\\/]* ) # Absolute name.
1589 ac_srcdir=$srcdir$ac_dir_suffix;
1590 ac_top_srcdir=$srcdir
1591 ac_abs_top_srcdir=$srcdir ;;
1592 *) # Relative name.
1593 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1594 ac_top_srcdir=$ac_top_build_prefix$srcdir
1595 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1596 esac
1597 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1599 cd "$ac_dir" || { ac_status=$?; continue; }
1600 # Check for guested configure.
1601 if test -f "$ac_srcdir/configure.gnu"; then
1602 echo &&
1603 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1604 elif test -f "$ac_srcdir/configure"; then
1605 echo &&
1606 $SHELL "$ac_srcdir/configure" --help=recursive
1607 else
1608 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1609 fi || ac_status=$?
1610 cd "$ac_pwd" || { ac_status=$?; break; }
1611 done
1614 test -n "$ac_init_help" && exit $ac_status
1615 if $ac_init_version; then
1616 cat <<\_ACEOF
1617 Wine configure 1.5.14
1618 generated by GNU Autoconf 2.69
1620 Copyright (C) 2012 Free Software Foundation, Inc.
1621 This configure script is free software; the Free Software Foundation
1622 gives unlimited permission to copy, distribute and modify it.
1623 _ACEOF
1624 exit
1627 ## ------------------------ ##
1628 ## Autoconf initialization. ##
1629 ## ------------------------ ##
1631 # ac_fn_c_try_compile LINENO
1632 # --------------------------
1633 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1634 ac_fn_c_try_compile ()
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 rm -f conftest.$ac_objext
1638 if { { ac_try="$ac_compile"
1639 case "(($ac_try" in
1640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1641 *) ac_try_echo=$ac_try;;
1642 esac
1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_compile") 2>conftest.err
1646 ac_status=$?
1647 if test -s conftest.err; then
1648 grep -v '^ *+' conftest.err >conftest.er1
1649 cat conftest.er1 >&5
1650 mv -f conftest.er1 conftest.err
1652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1653 test $ac_status = 0; } && {
1654 test -z "$ac_c_werror_flag" ||
1655 test ! -s conftest.err
1656 } && test -s conftest.$ac_objext; then :
1657 ac_retval=0
1658 else
1659 $as_echo "$as_me: failed program was:" >&5
1660 sed 's/^/| /' conftest.$ac_ext >&5
1662 ac_retval=1
1664 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665 as_fn_set_status $ac_retval
1667 } # ac_fn_c_try_compile
1669 # ac_fn_cxx_try_compile LINENO
1670 # ----------------------------
1671 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1672 ac_fn_cxx_try_compile ()
1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 rm -f conftest.$ac_objext
1676 if { { ac_try="$ac_compile"
1677 case "(($ac_try" in
1678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1679 *) ac_try_echo=$ac_try;;
1680 esac
1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 $as_echo "$ac_try_echo"; } >&5
1683 (eval "$ac_compile") 2>conftest.err
1684 ac_status=$?
1685 if test -s conftest.err; then
1686 grep -v '^ *+' conftest.err >conftest.er1
1687 cat conftest.er1 >&5
1688 mv -f conftest.er1 conftest.err
1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691 test $ac_status = 0; } && {
1692 test -z "$ac_cxx_werror_flag" ||
1693 test ! -s conftest.err
1694 } && test -s conftest.$ac_objext; then :
1695 ac_retval=0
1696 else
1697 $as_echo "$as_me: failed program was:" >&5
1698 sed 's/^/| /' conftest.$ac_ext >&5
1700 ac_retval=1
1702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703 as_fn_set_status $ac_retval
1705 } # ac_fn_cxx_try_compile
1707 # ac_fn_c_try_link LINENO
1708 # -----------------------
1709 # Try to link conftest.$ac_ext, and return whether this succeeded.
1710 ac_fn_c_try_link ()
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 rm -f conftest.$ac_objext conftest$ac_exeext
1714 if { { ac_try="$ac_link"
1715 case "(($ac_try" in
1716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1717 *) ac_try_echo=$ac_try;;
1718 esac
1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_link") 2>conftest.err
1722 ac_status=$?
1723 if test -s conftest.err; then
1724 grep -v '^ *+' conftest.err >conftest.er1
1725 cat conftest.er1 >&5
1726 mv -f conftest.er1 conftest.err
1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729 test $ac_status = 0; } && {
1730 test -z "$ac_c_werror_flag" ||
1731 test ! -s conftest.err
1732 } && test -s conftest$ac_exeext && {
1733 test "$cross_compiling" = yes ||
1734 test -x conftest$ac_exeext
1735 }; then :
1736 ac_retval=0
1737 else
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1741 ac_retval=1
1743 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1744 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1745 # interfere with the next link command; also delete a directory that is
1746 # left behind by Apple's compiler. We do this before executing the actions.
1747 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749 as_fn_set_status $ac_retval
1751 } # ac_fn_c_try_link
1753 # ac_fn_c_try_cpp LINENO
1754 # ----------------------
1755 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1756 ac_fn_c_try_cpp ()
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 if { { ac_try="$ac_cpp conftest.$ac_ext"
1760 case "(($ac_try" in
1761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1763 esac
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1767 ac_status=$?
1768 if test -s conftest.err; then
1769 grep -v '^ *+' conftest.err >conftest.er1
1770 cat conftest.er1 >&5
1771 mv -f conftest.er1 conftest.err
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } > conftest.i && {
1775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1776 test ! -s conftest.err
1777 }; then :
1778 ac_retval=0
1779 else
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1783 ac_retval=1
1785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786 as_fn_set_status $ac_retval
1788 } # ac_fn_c_try_cpp
1790 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1791 # -------------------------------------------------------
1792 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1793 # the include files in INCLUDES and setting the cache variable VAR
1794 # accordingly.
1795 ac_fn_c_check_header_mongrel ()
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 if eval \${$3+:} false; then :
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1800 $as_echo_n "checking for $2... " >&6; }
1801 if eval \${$3+:} false; then :
1802 $as_echo_n "(cached) " >&6
1804 eval ac_res=\$$3
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1806 $as_echo "$ac_res" >&6; }
1807 else
1808 # Is the header compilable?
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1810 $as_echo_n "checking $2 usability... " >&6; }
1811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812 /* end confdefs.h. */
1814 #include <$2>
1815 _ACEOF
1816 if ac_fn_c_try_compile "$LINENO"; then :
1817 ac_header_compiler=yes
1818 else
1819 ac_header_compiler=no
1821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1823 $as_echo "$ac_header_compiler" >&6; }
1825 # Is the header present?
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1827 $as_echo_n "checking $2 presence... " >&6; }
1828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1829 /* end confdefs.h. */
1830 #include <$2>
1831 _ACEOF
1832 if ac_fn_c_try_cpp "$LINENO"; then :
1833 ac_header_preproc=yes
1834 else
1835 ac_header_preproc=no
1837 rm -f conftest.err conftest.i conftest.$ac_ext
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1839 $as_echo "$ac_header_preproc" >&6; }
1841 # So? What about this header?
1842 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1843 yes:no: )
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1845 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1847 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1849 no:yes:* )
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1851 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1853 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1855 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1857 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1859 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1860 ( $as_echo "## ------------------------------------ ##
1861 ## Report this to wine-devel@winehq.org ##
1862 ## ------------------------------------ ##"
1863 ) | sed "s/^/$as_me: WARNING: /" >&2
1865 esac
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1867 $as_echo_n "checking for $2... " >&6; }
1868 if eval \${$3+:} false; then :
1869 $as_echo_n "(cached) " >&6
1870 else
1871 eval "$3=\$ac_header_compiler"
1873 eval ac_res=\$$3
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1877 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1879 } # ac_fn_c_check_header_mongrel
1881 # ac_fn_c_try_run LINENO
1882 # ----------------------
1883 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1884 # that executables *can* be run.
1885 ac_fn_c_try_run ()
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 if { { ac_try="$ac_link"
1889 case "(($ac_try" in
1890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891 *) ac_try_echo=$ac_try;;
1892 esac
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_link") 2>&5
1896 ac_status=$?
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1899 { { case "(($ac_try" in
1900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1901 *) ac_try_echo=$ac_try;;
1902 esac
1903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905 (eval "$ac_try") 2>&5
1906 ac_status=$?
1907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908 test $ac_status = 0; }; }; then :
1909 ac_retval=0
1910 else
1911 $as_echo "$as_me: program exited with status $ac_status" >&5
1912 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.$ac_ext >&5
1915 ac_retval=$ac_status
1917 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1918 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1919 as_fn_set_status $ac_retval
1921 } # ac_fn_c_try_run
1923 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1924 # -------------------------------------------------------
1925 # Tests whether HEADER exists and can be compiled using the include files in
1926 # INCLUDES, setting the cache variable VAR accordingly.
1927 ac_fn_c_check_header_compile ()
1929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1931 $as_echo_n "checking for $2... " >&6; }
1932 if eval \${$3+:} false; then :
1933 $as_echo_n "(cached) " >&6
1934 else
1935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1936 /* end confdefs.h. */
1938 #include <$2>
1939 _ACEOF
1940 if ac_fn_c_try_compile "$LINENO"; then :
1941 eval "$3=yes"
1942 else
1943 eval "$3=no"
1945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1947 eval ac_res=\$$3
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1949 $as_echo "$ac_res" >&6; }
1950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952 } # ac_fn_c_check_header_compile
1954 # ac_fn_c_check_func LINENO FUNC VAR
1955 # ----------------------------------
1956 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1957 ac_fn_c_check_func ()
1959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1961 $as_echo_n "checking for $2... " >&6; }
1962 if eval \${$3+:} false; then :
1963 $as_echo_n "(cached) " >&6
1964 else
1965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1966 /* end confdefs.h. */
1967 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1969 #define $2 innocuous_$2
1971 /* System header to define __stub macros and hopefully few prototypes,
1972 which can conflict with char $2 (); below.
1973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1974 <limits.h> exists even on freestanding compilers. */
1976 #ifdef __STDC__
1977 # include <limits.h>
1978 #else
1979 # include <assert.h>
1980 #endif
1982 #undef $2
1984 /* Override any GCC internal prototype to avoid an error.
1985 Use char because int might match the return type of a GCC
1986 builtin and then its argument prototype would still apply. */
1987 #ifdef __cplusplus
1988 extern "C"
1989 #endif
1990 char $2 ();
1991 /* The GNU C library defines this for functions which it implements
1992 to always fail with ENOSYS. Some functions are actually named
1993 something starting with __ and the normal name is an alias. */
1994 #if defined __stub_$2 || defined __stub___$2
1995 choke me
1996 #endif
1999 main ()
2001 return $2 ();
2003 return 0;
2005 _ACEOF
2006 if ac_fn_c_try_link "$LINENO"; then :
2007 eval "$3=yes"
2008 else
2009 eval "$3=no"
2011 rm -f core conftest.err conftest.$ac_objext \
2012 conftest$ac_exeext conftest.$ac_ext
2014 eval ac_res=\$$3
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2016 $as_echo "$ac_res" >&6; }
2017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2019 } # ac_fn_c_check_func
2021 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2022 # ----------------------------------------------------
2023 # Tries to find if the field MEMBER exists in type AGGR, after including
2024 # INCLUDES, setting cache variable VAR accordingly.
2025 ac_fn_c_check_member ()
2027 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2029 $as_echo_n "checking for $2.$3... " >&6; }
2030 if eval \${$4+:} false; then :
2031 $as_echo_n "(cached) " >&6
2032 else
2033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2034 /* end confdefs.h. */
2037 main ()
2039 static $2 ac_aggr;
2040 if (ac_aggr.$3)
2041 return 0;
2043 return 0;
2045 _ACEOF
2046 if ac_fn_c_try_compile "$LINENO"; then :
2047 eval "$4=yes"
2048 else
2049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2050 /* end confdefs.h. */
2053 main ()
2055 static $2 ac_aggr;
2056 if (sizeof ac_aggr.$3)
2057 return 0;
2059 return 0;
2061 _ACEOF
2062 if ac_fn_c_try_compile "$LINENO"; then :
2063 eval "$4=yes"
2064 else
2065 eval "$4=no"
2067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2071 eval ac_res=\$$4
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073 $as_echo "$ac_res" >&6; }
2074 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2076 } # ac_fn_c_check_member
2078 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2079 # -------------------------------------------
2080 # Tests whether TYPE exists after having included INCLUDES, setting cache
2081 # variable VAR accordingly.
2082 ac_fn_c_check_type ()
2084 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086 $as_echo_n "checking for $2... " >&6; }
2087 if eval \${$3+:} false; then :
2088 $as_echo_n "(cached) " >&6
2089 else
2090 eval "$3=no"
2091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2092 /* end confdefs.h. */
2095 main ()
2097 if (sizeof ($2))
2098 return 0;
2100 return 0;
2102 _ACEOF
2103 if ac_fn_c_try_compile "$LINENO"; then :
2104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2108 main ()
2110 if (sizeof (($2)))
2111 return 0;
2113 return 0;
2115 _ACEOF
2116 if ac_fn_c_try_compile "$LINENO"; then :
2118 else
2119 eval "$3=yes"
2121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2125 eval ac_res=\$$3
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2127 $as_echo "$ac_res" >&6; }
2128 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2130 } # ac_fn_c_check_type
2131 cat >config.log <<_ACEOF
2132 This file contains any messages produced by compilers while
2133 running configure, to aid debugging if configure makes a mistake.
2135 It was created by Wine $as_me 1.5.14, which was
2136 generated by GNU Autoconf 2.69. Invocation command line was
2138 $ $0 $@
2140 _ACEOF
2141 exec 5>>config.log
2143 cat <<_ASUNAME
2144 ## --------- ##
2145 ## Platform. ##
2146 ## --------- ##
2148 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2149 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2150 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2151 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2152 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2154 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2155 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2157 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2158 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2159 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2160 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2161 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2162 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2163 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2165 _ASUNAME
2167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2168 for as_dir in $PATH
2170 IFS=$as_save_IFS
2171 test -z "$as_dir" && as_dir=.
2172 $as_echo "PATH: $as_dir"
2173 done
2174 IFS=$as_save_IFS
2176 } >&5
2178 cat >&5 <<_ACEOF
2181 ## ----------- ##
2182 ## Core tests. ##
2183 ## ----------- ##
2185 _ACEOF
2188 # Keep a trace of the command line.
2189 # Strip out --no-create and --no-recursion so they do not pile up.
2190 # Strip out --silent because we don't want to record it for future runs.
2191 # Also quote any args containing shell meta-characters.
2192 # Make two passes to allow for proper duplicate-argument suppression.
2193 ac_configure_args=
2194 ac_configure_args0=
2195 ac_configure_args1=
2196 ac_must_keep_next=false
2197 for ac_pass in 1 2
2199 for ac_arg
2201 case $ac_arg in
2202 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2203 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2204 | -silent | --silent | --silen | --sile | --sil)
2205 continue ;;
2206 *\'*)
2207 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2208 esac
2209 case $ac_pass in
2210 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2212 as_fn_append ac_configure_args1 " '$ac_arg'"
2213 if test $ac_must_keep_next = true; then
2214 ac_must_keep_next=false # Got value, back to normal.
2215 else
2216 case $ac_arg in
2217 *=* | --config-cache | -C | -disable-* | --disable-* \
2218 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2219 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2220 | -with-* | --with-* | -without-* | --without-* | --x)
2221 case "$ac_configure_args0 " in
2222 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2223 esac
2225 -* ) ac_must_keep_next=true ;;
2226 esac
2228 as_fn_append ac_configure_args " '$ac_arg'"
2230 esac
2231 done
2232 done
2233 { ac_configure_args0=; unset ac_configure_args0;}
2234 { ac_configure_args1=; unset ac_configure_args1;}
2236 # When interrupted or exit'd, cleanup temporary files, and complete
2237 # config.log. We remove comments because anyway the quotes in there
2238 # would cause problems or look ugly.
2239 # WARNING: Use '\'' to represent an apostrophe within the trap.
2240 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2241 trap 'exit_status=$?
2242 # Save into config.log some information that might help in debugging.
2244 echo
2246 $as_echo "## ---------------- ##
2247 ## Cache variables. ##
2248 ## ---------------- ##"
2249 echo
2250 # The following way of writing the cache mishandles newlines in values,
2252 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2253 eval ac_val=\$$ac_var
2254 case $ac_val in #(
2255 *${as_nl}*)
2256 case $ac_var in #(
2257 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2258 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2259 esac
2260 case $ac_var in #(
2261 _ | IFS | as_nl) ;; #(
2262 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2263 *) { eval $ac_var=; unset $ac_var;} ;;
2264 esac ;;
2265 esac
2266 done
2267 (set) 2>&1 |
2268 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2269 *${as_nl}ac_space=\ *)
2270 sed -n \
2271 "s/'\''/'\''\\\\'\'''\''/g;
2272 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2273 ;; #(
2275 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2277 esac |
2278 sort
2280 echo
2282 $as_echo "## ----------------- ##
2283 ## Output variables. ##
2284 ## ----------------- ##"
2285 echo
2286 for ac_var in $ac_subst_vars
2288 eval ac_val=\$$ac_var
2289 case $ac_val in
2290 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2291 esac
2292 $as_echo "$ac_var='\''$ac_val'\''"
2293 done | sort
2294 echo
2296 if test -n "$ac_subst_files"; then
2297 $as_echo "## ------------------- ##
2298 ## File substitutions. ##
2299 ## ------------------- ##"
2300 echo
2301 for ac_var in $ac_subst_files
2303 eval ac_val=\$$ac_var
2304 case $ac_val in
2305 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2306 esac
2307 $as_echo "$ac_var='\''$ac_val'\''"
2308 done | sort
2309 echo
2312 if test -s confdefs.h; then
2313 $as_echo "## ----------- ##
2314 ## confdefs.h. ##
2315 ## ----------- ##"
2316 echo
2317 cat confdefs.h
2318 echo
2320 test "$ac_signal" != 0 &&
2321 $as_echo "$as_me: caught signal $ac_signal"
2322 $as_echo "$as_me: exit $exit_status"
2323 } >&5
2324 rm -f core *.core core.conftest.* &&
2325 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2326 exit $exit_status
2328 for ac_signal in 1 2 13 15; do
2329 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2330 done
2331 ac_signal=0
2333 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2334 rm -f -r conftest* confdefs.h
2336 $as_echo "/* confdefs.h */" > confdefs.h
2338 # Predefined preprocessor variables.
2340 cat >>confdefs.h <<_ACEOF
2341 #define PACKAGE_NAME "$PACKAGE_NAME"
2342 _ACEOF
2344 cat >>confdefs.h <<_ACEOF
2345 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2346 _ACEOF
2348 cat >>confdefs.h <<_ACEOF
2349 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2350 _ACEOF
2352 cat >>confdefs.h <<_ACEOF
2353 #define PACKAGE_STRING "$PACKAGE_STRING"
2354 _ACEOF
2356 cat >>confdefs.h <<_ACEOF
2357 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2358 _ACEOF
2360 cat >>confdefs.h <<_ACEOF
2361 #define PACKAGE_URL "$PACKAGE_URL"
2362 _ACEOF
2365 # Let the site file select an alternate cache file if it wants to.
2366 # Prefer an explicitly selected file to automatically selected ones.
2367 ac_site_file1=NONE
2368 ac_site_file2=NONE
2369 if test -n "$CONFIG_SITE"; then
2370 # We do not want a PATH search for config.site.
2371 case $CONFIG_SITE in #((
2372 -*) ac_site_file1=./$CONFIG_SITE;;
2373 */*) ac_site_file1=$CONFIG_SITE;;
2374 *) ac_site_file1=./$CONFIG_SITE;;
2375 esac
2376 elif test "x$prefix" != xNONE; then
2377 ac_site_file1=$prefix/share/config.site
2378 ac_site_file2=$prefix/etc/config.site
2379 else
2380 ac_site_file1=$ac_default_prefix/share/config.site
2381 ac_site_file2=$ac_default_prefix/etc/config.site
2383 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2385 test "x$ac_site_file" = xNONE && continue
2386 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2388 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2389 sed 's/^/| /' "$ac_site_file" >&5
2390 . "$ac_site_file" \
2391 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2393 as_fn_error $? "failed to load site script $ac_site_file
2394 See \`config.log' for more details" "$LINENO" 5; }
2396 done
2398 if test -r "$cache_file"; then
2399 # Some versions of bash will fail to source /dev/null (special files
2400 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2401 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2403 $as_echo "$as_me: loading cache $cache_file" >&6;}
2404 case $cache_file in
2405 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2406 *) . "./$cache_file";;
2407 esac
2409 else
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2411 $as_echo "$as_me: creating cache $cache_file" >&6;}
2412 >$cache_file
2415 # Check that the precious variables saved in the cache have kept the same
2416 # value.
2417 ac_cache_corrupted=false
2418 for ac_var in $ac_precious_vars; do
2419 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2420 eval ac_new_set=\$ac_env_${ac_var}_set
2421 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2422 eval ac_new_val=\$ac_env_${ac_var}_value
2423 case $ac_old_set,$ac_new_set in
2424 set,)
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2426 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2427 ac_cache_corrupted=: ;;
2428 ,set)
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2430 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2431 ac_cache_corrupted=: ;;
2432 ,);;
2434 if test "x$ac_old_val" != "x$ac_new_val"; then
2435 # differences in whitespace do not lead to failure.
2436 ac_old_val_w=`echo x $ac_old_val`
2437 ac_new_val_w=`echo x $ac_new_val`
2438 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2440 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2441 ac_cache_corrupted=:
2442 else
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2444 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2445 eval $ac_var=\$ac_old_val
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2448 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2450 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2451 fi;;
2452 esac
2453 # Pass precious variables to config.status.
2454 if test "$ac_new_set" = set; then
2455 case $ac_new_val in
2456 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2457 *) ac_arg=$ac_var=$ac_new_val ;;
2458 esac
2459 case " $ac_configure_args " in
2460 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2461 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2462 esac
2464 done
2465 if $ac_cache_corrupted; then
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2469 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2470 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2472 ## -------------------- ##
2473 ## Main body of script. ##
2474 ## -------------------- ##
2476 ac_ext=c
2477 ac_cpp='$CPP $CPPFLAGS'
2478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2484 ac_config_headers="$ac_config_headers include/config.h"
2486 ac_aux_dir=
2487 for ac_dir in tools "$srcdir"/tools; do
2488 if test -f "$ac_dir/install-sh"; then
2489 ac_aux_dir=$ac_dir
2490 ac_install_sh="$ac_aux_dir/install-sh -c"
2491 break
2492 elif test -f "$ac_dir/install.sh"; then
2493 ac_aux_dir=$ac_dir
2494 ac_install_sh="$ac_aux_dir/install.sh -c"
2495 break
2496 elif test -f "$ac_dir/shtool"; then
2497 ac_aux_dir=$ac_dir
2498 ac_install_sh="$ac_aux_dir/shtool install -c"
2499 break
2501 done
2502 if test -z "$ac_aux_dir"; then
2503 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2506 # These three variables are undocumented and unsupported,
2507 # and are intended to be withdrawn in a future Autoconf release.
2508 # They can cause serious problems if a builder's source tree is in a directory
2509 # whose full name contains unusual characters.
2510 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2511 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2512 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2518 # Check whether --enable-win16 was given.
2519 if test "${enable_win16+set}" = set; then :
2520 enableval=$enable_win16;
2523 # Check whether --enable-win64 was given.
2524 if test "${enable_win64+set}" = set; then :
2525 enableval=$enable_win64;
2528 # Check whether --enable-tests was given.
2529 if test "${enable_tests+set}" = set; then :
2530 enableval=$enable_tests;
2533 # Check whether --enable-maintainer-mode was given.
2534 if test "${enable_maintainer_mode+set}" = set; then :
2535 enableval=$enable_maintainer_mode;
2540 # Check whether --with-alsa was given.
2541 if test "${with_alsa+set}" = set; then :
2542 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2546 # Check whether --with-capi was given.
2547 if test "${with_capi+set}" = set; then :
2548 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
2552 # Check whether --with-cms was given.
2553 if test "${with_cms+set}" = set; then :
2554 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
2558 # Check whether --with-coreaudio was given.
2559 if test "${with_coreaudio+set}" = set; then :
2560 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2564 # Check whether --with-cups was given.
2565 if test "${with_cups+set}" = set; then :
2566 withval=$with_cups;
2570 # Check whether --with-curses was given.
2571 if test "${with_curses+set}" = set; then :
2572 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2576 # Check whether --with-dbus was given.
2577 if test "${with_dbus+set}" = set; then :
2578 withval=$with_dbus;
2582 # Check whether --with-fontconfig was given.
2583 if test "${with_fontconfig+set}" = set; then :
2584 withval=$with_fontconfig;
2588 # Check whether --with-freetype was given.
2589 if test "${with_freetype+set}" = set; then :
2590 withval=$with_freetype;
2594 # Check whether --with-gettext was given.
2595 if test "${with_gettext+set}" = set; then :
2596 withval=$with_gettext;
2600 # Check whether --with-gettextpo was given.
2601 if test "${with_gettextpo+set}" = set; then :
2602 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
2606 # Check whether --with-gphoto was given.
2607 if test "${with_gphoto+set}" = set; then :
2608 withval=$with_gphoto;
2612 # Check whether --with-glu was given.
2613 if test "${with_glu+set}" = set; then :
2614 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
2618 # Check whether --with-gnutls was given.
2619 if test "${with_gnutls+set}" = set; then :
2620 withval=$with_gnutls;
2624 # Check whether --with-gsm was given.
2625 if test "${with_gsm+set}" = set; then :
2626 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2630 # Check whether --with-gstreamer was given.
2631 if test "${with_gstreamer+set}" = set; then :
2632 withval=$with_gstreamer;
2636 # Check whether --with-hal was given.
2637 if test "${with_hal+set}" = set; then :
2638 withval=$with_hal;
2642 # Check whether --with-jpeg was given.
2643 if test "${with_jpeg+set}" = set; then :
2644 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2648 # Check whether --with-ldap was given.
2649 if test "${with_ldap+set}" = set; then :
2650 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2654 # Check whether --with-mpg123 was given.
2655 if test "${with_mpg123+set}" = set; then :
2656 withval=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h=no; fi
2660 # Check whether --with-openal was given.
2661 if test "${with_openal+set}" = set; then :
2662 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2666 # Check whether --with-opencl was given.
2667 if test "${with_opencl+set}" = set; then :
2668 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
2672 # Check whether --with-opengl was given.
2673 if test "${with_opengl+set}" = set; then :
2674 withval=$with_opengl;
2678 # Check whether --with-openssl was given.
2679 if test "${with_openssl+set}" = set; then :
2680 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2684 # Check whether --with-osmesa was given.
2685 if test "${with_osmesa+set}" = set; then :
2686 withval=$with_osmesa; if test "x$withval" = "xno"; then ac_cv_header_GL_osmesa_h=no; fi
2690 # Check whether --with-oss was given.
2691 if test "${with_oss+set}" = set; then :
2692 withval=$with_oss;
2696 # Check whether --with-png was given.
2697 if test "${with_png+set}" = set; then :
2698 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2702 # Check whether --with-pthread was given.
2703 if test "${with_pthread+set}" = set; then :
2704 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2708 # Check whether --with-sane was given.
2709 if test "${with_sane+set}" = set; then :
2710 withval=$with_sane;
2714 # Check whether --with-tiff was given.
2715 if test "${with_tiff+set}" = set; then :
2716 withval=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h=no; fi
2720 # Check whether --with-v4l was given.
2721 if test "${with_v4l+set}" = set; then :
2722 withval=$with_v4l;
2726 # Check whether --with-xcomposite was given.
2727 if test "${with_xcomposite+set}" = set; then :
2728 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2732 # Check whether --with-xcursor was given.
2733 if test "${with_xcursor+set}" = set; then :
2734 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2738 # Check whether --with-xinerama was given.
2739 if test "${with_xinerama+set}" = set; then :
2740 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2744 # Check whether --with-xinput was given.
2745 if test "${with_xinput+set}" = set; then :
2746 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2750 # Check whether --with-xinput2 was given.
2751 if test "${with_xinput2+set}" = set; then :
2752 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
2756 # Check whether --with-xml was given.
2757 if test "${with_xml+set}" = set; then :
2758 withval=$with_xml;
2762 # Check whether --with-xrandr was given.
2763 if test "${with_xrandr+set}" = set; then :
2764 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2768 # Check whether --with-xrender was given.
2769 if test "${with_xrender+set}" = set; then :
2770 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2774 # Check whether --with-xshape was given.
2775 if test "${with_xshape+set}" = set; then :
2776 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2780 # Check whether --with-xslt was given.
2781 if test "${with_xslt+set}" = set; then :
2782 withval=$with_xslt;
2786 # Check whether --with-xxf86vm was given.
2787 if test "${with_xxf86vm+set}" = set; then :
2788 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
2792 # Check whether --with-zlib was given.
2793 if test "${with_zlib+set}" = set; then :
2794 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
2799 # Check whether --with-wine-tools was given.
2800 if test "${with_wine_tools+set}" = set; then :
2801 withval=$with_wine_tools;
2805 # Check whether --with-wine64 was given.
2806 if test "${with_wine64+set}" = set; then :
2807 withval=$with_wine64;
2811 # Make sure we can run config.sub.
2812 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2813 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2816 $as_echo_n "checking build system type... " >&6; }
2817 if ${ac_cv_build+:} false; then :
2818 $as_echo_n "(cached) " >&6
2819 else
2820 ac_build_alias=$build_alias
2821 test "x$ac_build_alias" = x &&
2822 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2823 test "x$ac_build_alias" = x &&
2824 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2825 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2826 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2830 $as_echo "$ac_cv_build" >&6; }
2831 case $ac_cv_build in
2832 *-*-*) ;;
2833 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2834 esac
2835 build=$ac_cv_build
2836 ac_save_IFS=$IFS; IFS='-'
2837 set x $ac_cv_build
2838 shift
2839 build_cpu=$1
2840 build_vendor=$2
2841 shift; shift
2842 # Remember, the first character of IFS is used to create $*,
2843 # except with old shells:
2844 build_os=$*
2845 IFS=$ac_save_IFS
2846 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2850 $as_echo_n "checking host system type... " >&6; }
2851 if ${ac_cv_host+:} false; then :
2852 $as_echo_n "(cached) " >&6
2853 else
2854 if test "x$host_alias" = x; then
2855 ac_cv_host=$ac_cv_build
2856 else
2857 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2858 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2863 $as_echo "$ac_cv_host" >&6; }
2864 case $ac_cv_host in
2865 *-*-*) ;;
2866 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2867 esac
2868 host=$ac_cv_host
2869 ac_save_IFS=$IFS; IFS='-'
2870 set x $ac_cv_host
2871 shift
2872 host_cpu=$1
2873 host_vendor=$2
2874 shift; shift
2875 # Remember, the first character of IFS is used to create $*,
2876 # except with old shells:
2877 host_os=$*
2878 IFS=$ac_save_IFS
2879 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2883 case "$srcdir" in
2884 .) ;;
2885 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2886 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
2887 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2888 fi ;;
2889 esac
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2893 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2894 set x ${MAKE-make}
2895 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2896 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2897 $as_echo_n "(cached) " >&6
2898 else
2899 cat >conftest.make <<\_ACEOF
2900 SHELL = /bin/sh
2901 all:
2902 @echo '@@@%%%=$(MAKE)=@@@%%%'
2903 _ACEOF
2904 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2905 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2906 *@@@%%%=?*=@@@%%%*)
2907 eval ac_cv_prog_make_${ac_make}_set=yes;;
2909 eval ac_cv_prog_make_${ac_make}_set=no;;
2910 esac
2911 rm -f conftest.make
2913 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2915 $as_echo "yes" >&6; }
2916 SET_MAKE=
2917 else
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919 $as_echo "no" >&6; }
2920 SET_MAKE="MAKE=${MAKE-make}"
2923 ac_ext=c
2924 ac_cpp='$CPP $CPPFLAGS'
2925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2928 if test -n "$ac_tool_prefix"; then
2929 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2930 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2932 $as_echo_n "checking for $ac_word... " >&6; }
2933 if ${ac_cv_prog_CC+:} false; then :
2934 $as_echo_n "(cached) " >&6
2935 else
2936 if test -n "$CC"; then
2937 ac_cv_prog_CC="$CC" # Let the user override the test.
2938 else
2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2940 for as_dir in $PATH
2942 IFS=$as_save_IFS
2943 test -z "$as_dir" && as_dir=.
2944 for ac_exec_ext in '' $ac_executable_extensions; do
2945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2946 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948 break 2
2950 done
2951 done
2952 IFS=$as_save_IFS
2956 CC=$ac_cv_prog_CC
2957 if test -n "$CC"; then
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2959 $as_echo "$CC" >&6; }
2960 else
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2962 $as_echo "no" >&6; }
2967 if test -z "$ac_cv_prog_CC"; then
2968 ac_ct_CC=$CC
2969 # Extract the first word of "gcc", so it can be a program name with args.
2970 set dummy gcc; ac_word=$2
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2972 $as_echo_n "checking for $ac_word... " >&6; }
2973 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2974 $as_echo_n "(cached) " >&6
2975 else
2976 if test -n "$ac_ct_CC"; then
2977 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2978 else
2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980 for as_dir in $PATH
2982 IFS=$as_save_IFS
2983 test -z "$as_dir" && as_dir=.
2984 for ac_exec_ext in '' $ac_executable_extensions; do
2985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2986 ac_cv_prog_ac_ct_CC="gcc"
2987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 break 2
2990 done
2991 done
2992 IFS=$as_save_IFS
2996 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2997 if test -n "$ac_ct_CC"; then
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2999 $as_echo "$ac_ct_CC" >&6; }
3000 else
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3002 $as_echo "no" >&6; }
3005 if test "x$ac_ct_CC" = x; then
3006 CC=""
3007 else
3008 case $cross_compiling:$ac_tool_warned in
3009 yes:)
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3012 ac_tool_warned=yes ;;
3013 esac
3014 CC=$ac_ct_CC
3016 else
3017 CC="$ac_cv_prog_CC"
3020 if test -z "$CC"; then
3021 if test -n "$ac_tool_prefix"; then
3022 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3023 set dummy ${ac_tool_prefix}cc; ac_word=$2
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025 $as_echo_n "checking for $ac_word... " >&6; }
3026 if ${ac_cv_prog_CC+:} false; then :
3027 $as_echo_n "(cached) " >&6
3028 else
3029 if test -n "$CC"; then
3030 ac_cv_prog_CC="$CC" # Let the user override the test.
3031 else
3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 for as_dir in $PATH
3035 IFS=$as_save_IFS
3036 test -z "$as_dir" && as_dir=.
3037 for ac_exec_ext in '' $ac_executable_extensions; do
3038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3039 ac_cv_prog_CC="${ac_tool_prefix}cc"
3040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041 break 2
3043 done
3044 done
3045 IFS=$as_save_IFS
3049 CC=$ac_cv_prog_CC
3050 if test -n "$CC"; then
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3052 $as_echo "$CC" >&6; }
3053 else
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055 $as_echo "no" >&6; }
3061 if test -z "$CC"; then
3062 # Extract the first word of "cc", so it can be a program name with args.
3063 set dummy cc; ac_word=$2
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3065 $as_echo_n "checking for $ac_word... " >&6; }
3066 if ${ac_cv_prog_CC+:} false; then :
3067 $as_echo_n "(cached) " >&6
3068 else
3069 if test -n "$CC"; then
3070 ac_cv_prog_CC="$CC" # Let the user override the test.
3071 else
3072 ac_prog_rejected=no
3073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074 for as_dir in $PATH
3076 IFS=$as_save_IFS
3077 test -z "$as_dir" && as_dir=.
3078 for ac_exec_ext in '' $ac_executable_extensions; do
3079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3080 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3081 ac_prog_rejected=yes
3082 continue
3084 ac_cv_prog_CC="cc"
3085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3086 break 2
3088 done
3089 done
3090 IFS=$as_save_IFS
3092 if test $ac_prog_rejected = yes; then
3093 # We found a bogon in the path, so make sure we never use it.
3094 set dummy $ac_cv_prog_CC
3095 shift
3096 if test $# != 0; then
3097 # We chose a different compiler from the bogus one.
3098 # However, it has the same basename, so the bogon will be chosen
3099 # first if we set CC to just the basename; use the full file name.
3100 shift
3101 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3106 CC=$ac_cv_prog_CC
3107 if test -n "$CC"; then
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3109 $as_echo "$CC" >&6; }
3110 else
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112 $as_echo "no" >&6; }
3117 if test -z "$CC"; then
3118 if test -n "$ac_tool_prefix"; then
3119 for ac_prog in cl.exe
3121 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3122 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124 $as_echo_n "checking for $ac_word... " >&6; }
3125 if ${ac_cv_prog_CC+:} false; then :
3126 $as_echo_n "(cached) " >&6
3127 else
3128 if test -n "$CC"; then
3129 ac_cv_prog_CC="$CC" # Let the user override the test.
3130 else
3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3132 for as_dir in $PATH
3134 IFS=$as_save_IFS
3135 test -z "$as_dir" && as_dir=.
3136 for ac_exec_ext in '' $ac_executable_extensions; do
3137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3138 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3140 break 2
3142 done
3143 done
3144 IFS=$as_save_IFS
3148 CC=$ac_cv_prog_CC
3149 if test -n "$CC"; then
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3151 $as_echo "$CC" >&6; }
3152 else
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3154 $as_echo "no" >&6; }
3158 test -n "$CC" && break
3159 done
3161 if test -z "$CC"; then
3162 ac_ct_CC=$CC
3163 for ac_prog in cl.exe
3165 # Extract the first word of "$ac_prog", so it can be a program name with args.
3166 set dummy $ac_prog; ac_word=$2
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3168 $as_echo_n "checking for $ac_word... " >&6; }
3169 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3170 $as_echo_n "(cached) " >&6
3171 else
3172 if test -n "$ac_ct_CC"; then
3173 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3174 else
3175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176 for as_dir in $PATH
3178 IFS=$as_save_IFS
3179 test -z "$as_dir" && as_dir=.
3180 for ac_exec_ext in '' $ac_executable_extensions; do
3181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3182 ac_cv_prog_ac_ct_CC="$ac_prog"
3183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 break 2
3186 done
3187 done
3188 IFS=$as_save_IFS
3192 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3193 if test -n "$ac_ct_CC"; then
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3195 $as_echo "$ac_ct_CC" >&6; }
3196 else
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3198 $as_echo "no" >&6; }
3202 test -n "$ac_ct_CC" && break
3203 done
3205 if test "x$ac_ct_CC" = x; then
3206 CC=""
3207 else
3208 case $cross_compiling:$ac_tool_warned in
3209 yes:)
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3212 ac_tool_warned=yes ;;
3213 esac
3214 CC=$ac_ct_CC
3221 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3223 as_fn_error $? "no acceptable C compiler found in \$PATH
3224 See \`config.log' for more details" "$LINENO" 5; }
3226 # Provide some information about the compiler.
3227 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3228 set X $ac_compile
3229 ac_compiler=$2
3230 for ac_option in --version -v -V -qversion; do
3231 { { ac_try="$ac_compiler $ac_option >&5"
3232 case "(($ac_try" in
3233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3234 *) ac_try_echo=$ac_try;;
3235 esac
3236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3237 $as_echo "$ac_try_echo"; } >&5
3238 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3239 ac_status=$?
3240 if test -s conftest.err; then
3241 sed '10a\
3242 ... rest of stderr output deleted ...
3243 10q' conftest.err >conftest.er1
3244 cat conftest.er1 >&5
3246 rm -f conftest.er1 conftest.err
3247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3248 test $ac_status = 0; }
3249 done
3251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3252 /* end confdefs.h. */
3255 main ()
3259 return 0;
3261 _ACEOF
3262 ac_clean_files_save=$ac_clean_files
3263 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3264 # Try to create an executable without -o first, disregard a.out.
3265 # It will help us diagnose broken compilers, and finding out an intuition
3266 # of exeext.
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3268 $as_echo_n "checking whether the C compiler works... " >&6; }
3269 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3271 # The possible output files:
3272 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3274 ac_rmfiles=
3275 for ac_file in $ac_files
3277 case $ac_file in
3278 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3279 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3280 esac
3281 done
3282 rm -f $ac_rmfiles
3284 if { { ac_try="$ac_link_default"
3285 case "(($ac_try" in
3286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3287 *) ac_try_echo=$ac_try;;
3288 esac
3289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3290 $as_echo "$ac_try_echo"; } >&5
3291 (eval "$ac_link_default") 2>&5
3292 ac_status=$?
3293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3294 test $ac_status = 0; }; then :
3295 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3296 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3297 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3298 # so that the user can short-circuit this test for compilers unknown to
3299 # Autoconf.
3300 for ac_file in $ac_files ''
3302 test -f "$ac_file" || continue
3303 case $ac_file in
3304 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3306 [ab].out )
3307 # We found the default executable, but exeext='' is most
3308 # certainly right.
3309 break;;
3310 *.* )
3311 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3312 then :; else
3313 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3315 # We set ac_cv_exeext here because the later test for it is not
3316 # safe: cross compilers may not add the suffix if given an `-o'
3317 # argument, so we may need to know it at that point already.
3318 # Even if this section looks crufty: it has the advantage of
3319 # actually working.
3320 break;;
3322 break;;
3323 esac
3324 done
3325 test "$ac_cv_exeext" = no && ac_cv_exeext=
3327 else
3328 ac_file=''
3330 if test -z "$ac_file"; then :
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3333 $as_echo "$as_me: failed program was:" >&5
3334 sed 's/^/| /' conftest.$ac_ext >&5
3336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3338 as_fn_error 77 "C compiler cannot create executables
3339 See \`config.log' for more details" "$LINENO" 5; }
3340 else
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3342 $as_echo "yes" >&6; }
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3345 $as_echo_n "checking for C compiler default output file name... " >&6; }
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3347 $as_echo "$ac_file" >&6; }
3348 ac_exeext=$ac_cv_exeext
3350 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3351 ac_clean_files=$ac_clean_files_save
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3353 $as_echo_n "checking for suffix of executables... " >&6; }
3354 if { { ac_try="$ac_link"
3355 case "(($ac_try" in
3356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3357 *) ac_try_echo=$ac_try;;
3358 esac
3359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3360 $as_echo "$ac_try_echo"; } >&5
3361 (eval "$ac_link") 2>&5
3362 ac_status=$?
3363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3364 test $ac_status = 0; }; then :
3365 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3366 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3367 # work properly (i.e., refer to `conftest.exe'), while it won't with
3368 # `rm'.
3369 for ac_file in conftest.exe conftest conftest.*; do
3370 test -f "$ac_file" || continue
3371 case $ac_file in
3372 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3373 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3374 break;;
3375 * ) break;;
3376 esac
3377 done
3378 else
3379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3381 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3382 See \`config.log' for more details" "$LINENO" 5; }
3384 rm -f conftest conftest$ac_cv_exeext
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3386 $as_echo "$ac_cv_exeext" >&6; }
3388 rm -f conftest.$ac_ext
3389 EXEEXT=$ac_cv_exeext
3390 ac_exeext=$EXEEXT
3391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3392 /* end confdefs.h. */
3393 #include <stdio.h>
3395 main ()
3397 FILE *f = fopen ("conftest.out", "w");
3398 return ferror (f) || fclose (f) != 0;
3401 return 0;
3403 _ACEOF
3404 ac_clean_files="$ac_clean_files conftest.out"
3405 # Check that the compiler produces executables we can run. If not, either
3406 # the compiler is broken, or we cross compile.
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3408 $as_echo_n "checking whether we are cross compiling... " >&6; }
3409 if test "$cross_compiling" != yes; then
3410 { { ac_try="$ac_link"
3411 case "(($ac_try" in
3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413 *) ac_try_echo=$ac_try;;
3414 esac
3415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3416 $as_echo "$ac_try_echo"; } >&5
3417 (eval "$ac_link") 2>&5
3418 ac_status=$?
3419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3420 test $ac_status = 0; }
3421 if { ac_try='./conftest$ac_cv_exeext'
3422 { { case "(($ac_try" in
3423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424 *) ac_try_echo=$ac_try;;
3425 esac
3426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3427 $as_echo "$ac_try_echo"; } >&5
3428 (eval "$ac_try") 2>&5
3429 ac_status=$?
3430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3431 test $ac_status = 0; }; }; then
3432 cross_compiling=no
3433 else
3434 if test "$cross_compiling" = maybe; then
3435 cross_compiling=yes
3436 else
3437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3439 as_fn_error $? "cannot run C compiled programs.
3440 If you meant to cross compile, use \`--host'.
3441 See \`config.log' for more details" "$LINENO" 5; }
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3446 $as_echo "$cross_compiling" >&6; }
3448 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3449 ac_clean_files=$ac_clean_files_save
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3451 $as_echo_n "checking for suffix of object files... " >&6; }
3452 if ${ac_cv_objext+:} false; then :
3453 $as_echo_n "(cached) " >&6
3454 else
3455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456 /* end confdefs.h. */
3459 main ()
3463 return 0;
3465 _ACEOF
3466 rm -f conftest.o conftest.obj
3467 if { { ac_try="$ac_compile"
3468 case "(($ac_try" in
3469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3470 *) ac_try_echo=$ac_try;;
3471 esac
3472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3473 $as_echo "$ac_try_echo"; } >&5
3474 (eval "$ac_compile") 2>&5
3475 ac_status=$?
3476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3477 test $ac_status = 0; }; then :
3478 for ac_file in conftest.o conftest.obj conftest.*; do
3479 test -f "$ac_file" || continue;
3480 case $ac_file in
3481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3482 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3483 break;;
3484 esac
3485 done
3486 else
3487 $as_echo "$as_me: failed program was:" >&5
3488 sed 's/^/| /' conftest.$ac_ext >&5
3490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3492 as_fn_error $? "cannot compute suffix of object files: cannot compile
3493 See \`config.log' for more details" "$LINENO" 5; }
3495 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3498 $as_echo "$ac_cv_objext" >&6; }
3499 OBJEXT=$ac_cv_objext
3500 ac_objext=$OBJEXT
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3502 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3503 if ${ac_cv_c_compiler_gnu+:} false; then :
3504 $as_echo_n "(cached) " >&6
3505 else
3506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h. */
3510 main ()
3512 #ifndef __GNUC__
3513 choke me
3514 #endif
3517 return 0;
3519 _ACEOF
3520 if ac_fn_c_try_compile "$LINENO"; then :
3521 ac_compiler_gnu=yes
3522 else
3523 ac_compiler_gnu=no
3525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3526 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3530 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3531 if test $ac_compiler_gnu = yes; then
3532 GCC=yes
3533 else
3534 GCC=
3536 ac_test_CFLAGS=${CFLAGS+set}
3537 ac_save_CFLAGS=$CFLAGS
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3539 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3540 if ${ac_cv_prog_cc_g+:} false; then :
3541 $as_echo_n "(cached) " >&6
3542 else
3543 ac_save_c_werror_flag=$ac_c_werror_flag
3544 ac_c_werror_flag=yes
3545 ac_cv_prog_cc_g=no
3546 CFLAGS="-g"
3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3548 /* end confdefs.h. */
3551 main ()
3555 return 0;
3557 _ACEOF
3558 if ac_fn_c_try_compile "$LINENO"; then :
3559 ac_cv_prog_cc_g=yes
3560 else
3561 CFLAGS=""
3562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3563 /* end confdefs.h. */
3566 main ()
3570 return 0;
3572 _ACEOF
3573 if ac_fn_c_try_compile "$LINENO"; then :
3575 else
3576 ac_c_werror_flag=$ac_save_c_werror_flag
3577 CFLAGS="-g"
3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3582 main ()
3586 return 0;
3588 _ACEOF
3589 if ac_fn_c_try_compile "$LINENO"; then :
3590 ac_cv_prog_cc_g=yes
3592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3597 ac_c_werror_flag=$ac_save_c_werror_flag
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3600 $as_echo "$ac_cv_prog_cc_g" >&6; }
3601 if test "$ac_test_CFLAGS" = set; then
3602 CFLAGS=$ac_save_CFLAGS
3603 elif test $ac_cv_prog_cc_g = yes; then
3604 if test "$GCC" = yes; then
3605 CFLAGS="-g -O2"
3606 else
3607 CFLAGS="-g"
3609 else
3610 if test "$GCC" = yes; then
3611 CFLAGS="-O2"
3612 else
3613 CFLAGS=
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3617 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3618 if ${ac_cv_prog_cc_c89+:} false; then :
3619 $as_echo_n "(cached) " >&6
3620 else
3621 ac_cv_prog_cc_c89=no
3622 ac_save_CC=$CC
3623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3624 /* end confdefs.h. */
3625 #include <stdarg.h>
3626 #include <stdio.h>
3627 struct stat;
3628 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3629 struct buf { int x; };
3630 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3631 static char *e (p, i)
3632 char **p;
3633 int i;
3635 return p[i];
3637 static char *f (char * (*g) (char **, int), char **p, ...)
3639 char *s;
3640 va_list v;
3641 va_start (v,p);
3642 s = g (p, va_arg (v,int));
3643 va_end (v);
3644 return s;
3647 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3648 function prototypes and stuff, but not '\xHH' hex character constants.
3649 These don't provoke an error unfortunately, instead are silently treated
3650 as 'x'. The following induces an error, until -std is added to get
3651 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3652 array size at least. It's necessary to write '\x00'==0 to get something
3653 that's true only with -std. */
3654 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3656 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3657 inside strings and character constants. */
3658 #define FOO(x) 'x'
3659 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3661 int test (int i, double x);
3662 struct s1 {int (*f) (int a);};
3663 struct s2 {int (*f) (double a);};
3664 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3665 int argc;
3666 char **argv;
3668 main ()
3670 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3672 return 0;
3674 _ACEOF
3675 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3676 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3678 CC="$ac_save_CC $ac_arg"
3679 if ac_fn_c_try_compile "$LINENO"; then :
3680 ac_cv_prog_cc_c89=$ac_arg
3682 rm -f core conftest.err conftest.$ac_objext
3683 test "x$ac_cv_prog_cc_c89" != "xno" && break
3684 done
3685 rm -f conftest.$ac_ext
3686 CC=$ac_save_CC
3689 # AC_CACHE_VAL
3690 case "x$ac_cv_prog_cc_c89" in
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3693 $as_echo "none needed" >&6; } ;;
3694 xno)
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3696 $as_echo "unsupported" >&6; } ;;
3698 CC="$CC $ac_cv_prog_cc_c89"
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3700 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3701 esac
3702 if test "x$ac_cv_prog_cc_c89" != xno; then :
3706 ac_ext=c
3707 ac_cpp='$CPP $CPPFLAGS'
3708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3712 ac_ext=cpp
3713 ac_cpp='$CXXCPP $CPPFLAGS'
3714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3717 if test -z "$CXX"; then
3718 if test -n "$CCC"; then
3719 CXX=$CCC
3720 else
3721 if test -n "$ac_tool_prefix"; then
3722 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3725 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3727 $as_echo_n "checking for $ac_word... " >&6; }
3728 if ${ac_cv_prog_CXX+:} false; then :
3729 $as_echo_n "(cached) " >&6
3730 else
3731 if test -n "$CXX"; then
3732 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3733 else
3734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3735 for as_dir in $PATH
3737 IFS=$as_save_IFS
3738 test -z "$as_dir" && as_dir=.
3739 for ac_exec_ext in '' $ac_executable_extensions; do
3740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3741 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3743 break 2
3745 done
3746 done
3747 IFS=$as_save_IFS
3751 CXX=$ac_cv_prog_CXX
3752 if test -n "$CXX"; then
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3754 $as_echo "$CXX" >&6; }
3755 else
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757 $as_echo "no" >&6; }
3761 test -n "$CXX" && break
3762 done
3764 if test -z "$CXX"; then
3765 ac_ct_CXX=$CXX
3766 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3768 # Extract the first word of "$ac_prog", so it can be a program name with args.
3769 set dummy $ac_prog; ac_word=$2
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771 $as_echo_n "checking for $ac_word... " >&6; }
3772 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3773 $as_echo_n "(cached) " >&6
3774 else
3775 if test -n "$ac_ct_CXX"; then
3776 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3777 else
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779 for as_dir in $PATH
3781 IFS=$as_save_IFS
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3785 ac_cv_prog_ac_ct_CXX="$ac_prog"
3786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3787 break 2
3789 done
3790 done
3791 IFS=$as_save_IFS
3795 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3796 if test -n "$ac_ct_CXX"; then
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3798 $as_echo "$ac_ct_CXX" >&6; }
3799 else
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3801 $as_echo "no" >&6; }
3805 test -n "$ac_ct_CXX" && break
3806 done
3808 if test "x$ac_ct_CXX" = x; then
3809 CXX="g++"
3810 else
3811 case $cross_compiling:$ac_tool_warned in
3812 yes:)
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3815 ac_tool_warned=yes ;;
3816 esac
3817 CXX=$ac_ct_CXX
3823 # Provide some information about the compiler.
3824 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3825 set X $ac_compile
3826 ac_compiler=$2
3827 for ac_option in --version -v -V -qversion; do
3828 { { ac_try="$ac_compiler $ac_option >&5"
3829 case "(($ac_try" in
3830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3831 *) ac_try_echo=$ac_try;;
3832 esac
3833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3834 $as_echo "$ac_try_echo"; } >&5
3835 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3836 ac_status=$?
3837 if test -s conftest.err; then
3838 sed '10a\
3839 ... rest of stderr output deleted ...
3840 10q' conftest.err >conftest.er1
3841 cat conftest.er1 >&5
3843 rm -f conftest.er1 conftest.err
3844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3845 test $ac_status = 0; }
3846 done
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3849 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3850 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3851 $as_echo_n "(cached) " >&6
3852 else
3853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3854 /* end confdefs.h. */
3857 main ()
3859 #ifndef __GNUC__
3860 choke me
3861 #endif
3864 return 0;
3866 _ACEOF
3867 if ac_fn_cxx_try_compile "$LINENO"; then :
3868 ac_compiler_gnu=yes
3869 else
3870 ac_compiler_gnu=no
3872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3873 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3877 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3878 if test $ac_compiler_gnu = yes; then
3879 GXX=yes
3880 else
3881 GXX=
3883 ac_test_CXXFLAGS=${CXXFLAGS+set}
3884 ac_save_CXXFLAGS=$CXXFLAGS
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3886 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3887 if ${ac_cv_prog_cxx_g+:} false; then :
3888 $as_echo_n "(cached) " >&6
3889 else
3890 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3891 ac_cxx_werror_flag=yes
3892 ac_cv_prog_cxx_g=no
3893 CXXFLAGS="-g"
3894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3895 /* end confdefs.h. */
3898 main ()
3902 return 0;
3904 _ACEOF
3905 if ac_fn_cxx_try_compile "$LINENO"; then :
3906 ac_cv_prog_cxx_g=yes
3907 else
3908 CXXFLAGS=""
3909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910 /* end confdefs.h. */
3913 main ()
3917 return 0;
3919 _ACEOF
3920 if ac_fn_cxx_try_compile "$LINENO"; then :
3922 else
3923 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3924 CXXFLAGS="-g"
3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h. */
3929 main ()
3933 return 0;
3935 _ACEOF
3936 if ac_fn_cxx_try_compile "$LINENO"; then :
3937 ac_cv_prog_cxx_g=yes
3939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3944 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3947 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3948 if test "$ac_test_CXXFLAGS" = set; then
3949 CXXFLAGS=$ac_save_CXXFLAGS
3950 elif test $ac_cv_prog_cxx_g = yes; then
3951 if test "$GXX" = yes; then
3952 CXXFLAGS="-g -O2"
3953 else
3954 CXXFLAGS="-g"
3956 else
3957 if test "$GXX" = yes; then
3958 CXXFLAGS="-O2"
3959 else
3960 CXXFLAGS=
3963 ac_ext=c
3964 ac_cpp='$CPP $CPPFLAGS'
3965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3969 if test -n "$ac_tool_prefix"; then
3970 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3971 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3973 $as_echo_n "checking for $ac_word... " >&6; }
3974 if ${ac_cv_prog_CPPBIN+:} false; then :
3975 $as_echo_n "(cached) " >&6
3976 else
3977 if test -n "$CPPBIN"; then
3978 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3979 else
3980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3981 for as_dir in $PATH
3983 IFS=$as_save_IFS
3984 test -z "$as_dir" && as_dir=.
3985 for ac_exec_ext in '' $ac_executable_extensions; do
3986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3987 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3989 break 2
3991 done
3992 done
3993 IFS=$as_save_IFS
3997 CPPBIN=$ac_cv_prog_CPPBIN
3998 if test -n "$CPPBIN"; then
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4000 $as_echo "$CPPBIN" >&6; }
4001 else
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4003 $as_echo "no" >&6; }
4008 if test -z "$ac_cv_prog_CPPBIN"; then
4009 ac_ct_CPPBIN=$CPPBIN
4010 # Extract the first word of "cpp", so it can be a program name with args.
4011 set dummy cpp; ac_word=$2
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4013 $as_echo_n "checking for $ac_word... " >&6; }
4014 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4015 $as_echo_n "(cached) " >&6
4016 else
4017 if test -n "$ac_ct_CPPBIN"; then
4018 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4019 else
4020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4021 for as_dir in $PATH
4023 IFS=$as_save_IFS
4024 test -z "$as_dir" && as_dir=.
4025 for ac_exec_ext in '' $ac_executable_extensions; do
4026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4027 ac_cv_prog_ac_ct_CPPBIN="cpp"
4028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4029 break 2
4031 done
4032 done
4033 IFS=$as_save_IFS
4037 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4038 if test -n "$ac_ct_CPPBIN"; then
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4040 $as_echo "$ac_ct_CPPBIN" >&6; }
4041 else
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4043 $as_echo "no" >&6; }
4046 if test "x$ac_ct_CPPBIN" = x; then
4047 CPPBIN="cpp"
4048 else
4049 case $cross_compiling:$ac_tool_warned in
4050 yes:)
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4053 ac_tool_warned=yes ;;
4054 esac
4055 CPPBIN=$ac_ct_CPPBIN
4057 else
4058 CPPBIN="$ac_cv_prog_CPPBIN"
4062 cat >>confdefs.h <<_ACEOF
4063 #define EXEEXT "$ac_exeext"
4064 _ACEOF
4067 case $host in
4068 *-darwin*)
4069 if test "x$enable_win64" = "xyes"
4070 then
4071 CC="$CC -m64"
4072 CXX="$CXX -m64"
4073 host_cpu="x86_64"
4074 notice_platform="64-bit "
4075 TARGETFLAGS="-m64"
4077 else
4078 CC="$CC -m32"
4079 CXX="$CXX -m32"
4080 host_cpu="i386"
4081 notice_platform="32-bit "
4082 TARGETFLAGS="-m32"
4084 enable_win16=${enable_win16:-yes}
4086 with_fontconfig=${with_fontconfig:-no}
4088 x86_64*)
4089 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4090 then
4091 CC="$CC -m32"
4092 CXX="$CXX -m32"
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4094 $as_echo_n "checking whether $CC works... " >&6; }
4096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4100 main ()
4104 return 0;
4106 _ACEOF
4107 if ac_fn_c_try_link "$LINENO"; then :
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4109 $as_echo "yes" >&6; }
4110 else
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4112 $as_echo "no" >&6; }
4113 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4115 rm -f core conftest.err conftest.$ac_objext \
4116 conftest$ac_exeext conftest.$ac_ext
4117 host_cpu="i386"
4118 notice_platform="32-bit "
4119 TARGETFLAGS="-m32"
4121 enable_win16=${enable_win16:-yes}
4122 else
4123 if test "x${GCC}" = "xyes"
4124 then
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4126 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4128 /* end confdefs.h. */
4129 #include <stdarg.h>
4131 main ()
4133 void func(__builtin_ms_va_list *args);
4135 return 0;
4137 _ACEOF
4138 if ac_fn_c_try_compile "$LINENO"; then :
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4140 $as_echo "yes" >&6; }
4141 else
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4143 $as_echo "no" >&6; }
4144 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4148 TARGETFLAGS="-m64"
4152 arm*)
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4154 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4156 /* end confdefs.h. */
4157 int ac_test(int i) { return i; }
4159 main ()
4161 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4163 return 0;
4165 _ACEOF
4166 if ac_fn_c_try_link "$LINENO"; then :
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4168 $as_echo "yes" >&6; }
4169 else
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4171 $as_echo "no" >&6; }
4172 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4174 rm -f core conftest.err conftest.$ac_objext \
4175 conftest$ac_exeext conftest.$ac_ext
4176 CFLAGS="$CFLAGS -marm"
4178 *-mingw32*|*-cygwin*)
4179 enable_win16=${enable_win16:-no}
4180 CFLAGS="$CFLAGS -D_WIN32"
4182 i[3456789]86*)
4183 enable_win16=${enable_win16:-yes}
4185 esac
4187 enable_win16=${enable_win16:-no}
4188 enable_win64=${enable_win64:-no}
4190 enable_winetest=${enable_winetest:-$enable_tests}
4192 if test -n "$with_wine64"
4193 then
4194 if test "x$enable_win64" = "xyes"
4195 then
4196 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4197 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4199 WOW64_DISABLE=\#
4201 enable_fonts=${enable_fonts:-no}
4202 enable_server=${enable_server:-no}
4203 enable_tools=${enable_tools:-no}
4204 elif test "x$enable_win64" = "xyes"
4205 then
4206 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4210 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4211 if ${wine_cv_toolsdir+:} false; then :
4212 $as_echo_n "(cached) " >&6
4213 else
4214 wine_cv_toolsdir="$with_wine_tools"
4215 if test -z "$with_wine_tools"; then
4216 if test "$cross_compiling" = "yes"; then
4217 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4218 elif test -n "$with_wine64"; then
4219 wine_cv_toolsdir="$with_wine64"
4222 if test -z "$wine_cv_toolsdir"; then
4223 wine_cv_toolsdir="\$(top_builddir)"
4224 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4225 case "$wine_cv_toolsdir" in
4226 /*) ;;
4227 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4228 esac
4229 else
4230 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4234 $as_echo "$wine_cv_toolsdir" >&6; }
4235 TOOLSDIR=$wine_cv_toolsdir
4237 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4238 then
4239 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4243 for ac_prog in flex
4245 # Extract the first word of "$ac_prog", so it can be a program name with args.
4246 set dummy $ac_prog; ac_word=$2
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4248 $as_echo_n "checking for $ac_word... " >&6; }
4249 if ${ac_cv_prog_FLEX+:} false; then :
4250 $as_echo_n "(cached) " >&6
4251 else
4252 if test -n "$FLEX"; then
4253 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4254 else
4255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4256 for as_dir in $PATH
4258 IFS=$as_save_IFS
4259 test -z "$as_dir" && as_dir=.
4260 for ac_exec_ext in '' $ac_executable_extensions; do
4261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4262 ac_cv_prog_FLEX="$ac_prog"
4263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4264 break 2
4266 done
4267 done
4268 IFS=$as_save_IFS
4272 FLEX=$ac_cv_prog_FLEX
4273 if test -n "$FLEX"; then
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4275 $as_echo "$FLEX" >&6; }
4276 else
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4278 $as_echo "no" >&6; }
4282 test -n "$FLEX" && break
4283 done
4284 test -n "$FLEX" || FLEX="none"
4286 if test "$FLEX" = "none"
4287 then
4288 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4291 $as_echo_n "checking whether flex is recent enough... " >&6; }
4292 cat >conftest.l <<EOF
4293 %top{
4294 #include "prediluvian.h"
4298 if $FLEX -t conftest.l >/dev/null 2>&5
4299 then
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4301 $as_echo "yes" >&6; }
4302 else
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4304 $as_echo "no" >&6; }
4305 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4308 for ac_prog in bison
4310 # Extract the first word of "$ac_prog", so it can be a program name with args.
4311 set dummy $ac_prog; ac_word=$2
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4313 $as_echo_n "checking for $ac_word... " >&6; }
4314 if ${ac_cv_prog_BISON+:} false; then :
4315 $as_echo_n "(cached) " >&6
4316 else
4317 if test -n "$BISON"; then
4318 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4319 else
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4321 for as_dir in $PATH
4323 IFS=$as_save_IFS
4324 test -z "$as_dir" && as_dir=.
4325 for ac_exec_ext in '' $ac_executable_extensions; do
4326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4327 ac_cv_prog_BISON="$ac_prog"
4328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 break 2
4331 done
4332 done
4333 IFS=$as_save_IFS
4337 BISON=$ac_cv_prog_BISON
4338 if test -n "$BISON"; then
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4340 $as_echo "$BISON" >&6; }
4341 else
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4343 $as_echo "no" >&6; }
4347 test -n "$BISON" && break
4348 done
4349 test -n "$BISON" || BISON="none"
4351 if test "$BISON" = "none"
4352 then
4353 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4356 if test -n "$ac_tool_prefix"; then
4357 for ac_prog in ar gar
4359 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4360 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4362 $as_echo_n "checking for $ac_word... " >&6; }
4363 if ${ac_cv_prog_AR+:} false; then :
4364 $as_echo_n "(cached) " >&6
4365 else
4366 if test -n "$AR"; then
4367 ac_cv_prog_AR="$AR" # Let the user override the test.
4368 else
4369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4370 for as_dir in $PATH
4372 IFS=$as_save_IFS
4373 test -z "$as_dir" && as_dir=.
4374 for ac_exec_ext in '' $ac_executable_extensions; do
4375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4376 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4378 break 2
4380 done
4381 done
4382 IFS=$as_save_IFS
4386 AR=$ac_cv_prog_AR
4387 if test -n "$AR"; then
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4389 $as_echo "$AR" >&6; }
4390 else
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4392 $as_echo "no" >&6; }
4396 test -n "$AR" && break
4397 done
4399 if test -z "$AR"; then
4400 ac_ct_AR=$AR
4401 for ac_prog in ar gar
4403 # Extract the first word of "$ac_prog", so it can be a program name with args.
4404 set dummy $ac_prog; ac_word=$2
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4406 $as_echo_n "checking for $ac_word... " >&6; }
4407 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4408 $as_echo_n "(cached) " >&6
4409 else
4410 if test -n "$ac_ct_AR"; then
4411 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4412 else
4413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4414 for as_dir in $PATH
4416 IFS=$as_save_IFS
4417 test -z "$as_dir" && as_dir=.
4418 for ac_exec_ext in '' $ac_executable_extensions; do
4419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4420 ac_cv_prog_ac_ct_AR="$ac_prog"
4421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4422 break 2
4424 done
4425 done
4426 IFS=$as_save_IFS
4430 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4431 if test -n "$ac_ct_AR"; then
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4433 $as_echo "$ac_ct_AR" >&6; }
4434 else
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4436 $as_echo "no" >&6; }
4440 test -n "$ac_ct_AR" && break
4441 done
4443 if test "x$ac_ct_AR" = x; then
4444 AR="ar"
4445 else
4446 case $cross_compiling:$ac_tool_warned in
4447 yes:)
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4450 ac_tool_warned=yes ;;
4451 esac
4452 AR=$ac_ct_AR
4456 ARFLAGS=rc
4458 if test -n "$ac_tool_prefix"; then
4459 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4460 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4462 $as_echo_n "checking for $ac_word... " >&6; }
4463 if ${ac_cv_prog_RANLIB+:} false; then :
4464 $as_echo_n "(cached) " >&6
4465 else
4466 if test -n "$RANLIB"; then
4467 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4468 else
4469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4470 for as_dir in $PATH
4472 IFS=$as_save_IFS
4473 test -z "$as_dir" && as_dir=.
4474 for ac_exec_ext in '' $ac_executable_extensions; do
4475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4476 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 break 2
4480 done
4481 done
4482 IFS=$as_save_IFS
4486 RANLIB=$ac_cv_prog_RANLIB
4487 if test -n "$RANLIB"; then
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4489 $as_echo "$RANLIB" >&6; }
4490 else
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4492 $as_echo "no" >&6; }
4497 if test -z "$ac_cv_prog_RANLIB"; then
4498 ac_ct_RANLIB=$RANLIB
4499 # Extract the first word of "ranlib", so it can be a program name with args.
4500 set dummy ranlib; ac_word=$2
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4502 $as_echo_n "checking for $ac_word... " >&6; }
4503 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4504 $as_echo_n "(cached) " >&6
4505 else
4506 if test -n "$ac_ct_RANLIB"; then
4507 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4508 else
4509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4510 for as_dir in $PATH
4512 IFS=$as_save_IFS
4513 test -z "$as_dir" && as_dir=.
4514 for ac_exec_ext in '' $ac_executable_extensions; do
4515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4516 ac_cv_prog_ac_ct_RANLIB="ranlib"
4517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4518 break 2
4520 done
4521 done
4522 IFS=$as_save_IFS
4526 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4527 if test -n "$ac_ct_RANLIB"; then
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4529 $as_echo "$ac_ct_RANLIB" >&6; }
4530 else
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4532 $as_echo "no" >&6; }
4535 if test "x$ac_ct_RANLIB" = x; then
4536 RANLIB=":"
4537 else
4538 case $cross_compiling:$ac_tool_warned in
4539 yes:)
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4542 ac_tool_warned=yes ;;
4543 esac
4544 RANLIB=$ac_ct_RANLIB
4546 else
4547 RANLIB="$ac_cv_prog_RANLIB"
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4551 $as_echo_n "checking whether ln -s works... " >&6; }
4552 LN_S=$as_ln_s
4553 if test "$LN_S" = "ln -s"; then
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4555 $as_echo "yes" >&6; }
4556 else
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4558 $as_echo "no, using $LN_S" >&6; }
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4562 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4563 if ${ac_cv_path_GREP+:} false; then :
4564 $as_echo_n "(cached) " >&6
4565 else
4566 if test -z "$GREP"; then
4567 ac_path_GREP_found=false
4568 # Loop through the user's path and test for each of PROGNAME-LIST
4569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4570 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4572 IFS=$as_save_IFS
4573 test -z "$as_dir" && as_dir=.
4574 for ac_prog in grep ggrep; do
4575 for ac_exec_ext in '' $ac_executable_extensions; do
4576 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4577 as_fn_executable_p "$ac_path_GREP" || continue
4578 # Check for GNU ac_path_GREP and select it if it is found.
4579 # Check for GNU $ac_path_GREP
4580 case `"$ac_path_GREP" --version 2>&1` in
4581 *GNU*)
4582 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4584 ac_count=0
4585 $as_echo_n 0123456789 >"conftest.in"
4586 while :
4588 cat "conftest.in" "conftest.in" >"conftest.tmp"
4589 mv "conftest.tmp" "conftest.in"
4590 cp "conftest.in" "conftest.nl"
4591 $as_echo 'GREP' >> "conftest.nl"
4592 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4593 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4594 as_fn_arith $ac_count + 1 && ac_count=$as_val
4595 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4596 # Best one so far, save it but keep looking for a better one
4597 ac_cv_path_GREP="$ac_path_GREP"
4598 ac_path_GREP_max=$ac_count
4600 # 10*(2^10) chars as input seems more than enough
4601 test $ac_count -gt 10 && break
4602 done
4603 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4604 esac
4606 $ac_path_GREP_found && break 3
4607 done
4608 done
4609 done
4610 IFS=$as_save_IFS
4611 if test -z "$ac_cv_path_GREP"; then
4612 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4614 else
4615 ac_cv_path_GREP=$GREP
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4620 $as_echo "$ac_cv_path_GREP" >&6; }
4621 GREP="$ac_cv_path_GREP"
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4625 $as_echo_n "checking for egrep... " >&6; }
4626 if ${ac_cv_path_EGREP+:} false; then :
4627 $as_echo_n "(cached) " >&6
4628 else
4629 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4630 then ac_cv_path_EGREP="$GREP -E"
4631 else
4632 if test -z "$EGREP"; then
4633 ac_path_EGREP_found=false
4634 # Loop through the user's path and test for each of PROGNAME-LIST
4635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4636 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4638 IFS=$as_save_IFS
4639 test -z "$as_dir" && as_dir=.
4640 for ac_prog in egrep; do
4641 for ac_exec_ext in '' $ac_executable_extensions; do
4642 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4643 as_fn_executable_p "$ac_path_EGREP" || continue
4644 # Check for GNU ac_path_EGREP and select it if it is found.
4645 # Check for GNU $ac_path_EGREP
4646 case `"$ac_path_EGREP" --version 2>&1` in
4647 *GNU*)
4648 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4650 ac_count=0
4651 $as_echo_n 0123456789 >"conftest.in"
4652 while :
4654 cat "conftest.in" "conftest.in" >"conftest.tmp"
4655 mv "conftest.tmp" "conftest.in"
4656 cp "conftest.in" "conftest.nl"
4657 $as_echo 'EGREP' >> "conftest.nl"
4658 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4659 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4660 as_fn_arith $ac_count + 1 && ac_count=$as_val
4661 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4662 # Best one so far, save it but keep looking for a better one
4663 ac_cv_path_EGREP="$ac_path_EGREP"
4664 ac_path_EGREP_max=$ac_count
4666 # 10*(2^10) chars as input seems more than enough
4667 test $ac_count -gt 10 && break
4668 done
4669 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4670 esac
4672 $ac_path_EGREP_found && break 3
4673 done
4674 done
4675 done
4676 IFS=$as_save_IFS
4677 if test -z "$ac_cv_path_EGREP"; then
4678 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4680 else
4681 ac_cv_path_EGREP=$EGREP
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4687 $as_echo "$ac_cv_path_EGREP" >&6; }
4688 EGREP="$ac_cv_path_EGREP"
4691 # Extract the first word of "ldconfig", so it can be a program name with args.
4692 set dummy ldconfig; ac_word=$2
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4694 $as_echo_n "checking for $ac_word... " >&6; }
4695 if ${ac_cv_path_LDCONFIG+:} false; then :
4696 $as_echo_n "(cached) " >&6
4697 else
4698 case $LDCONFIG in
4699 [\\/]* | ?:[\\/]*)
4700 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4704 for as_dir in /sbin /usr/sbin $PATH
4706 IFS=$as_save_IFS
4707 test -z "$as_dir" && as_dir=.
4708 for ac_exec_ext in '' $ac_executable_extensions; do
4709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4710 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4712 break 2
4714 done
4715 done
4716 IFS=$as_save_IFS
4718 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4720 esac
4722 LDCONFIG=$ac_cv_path_LDCONFIG
4723 if test -n "$LDCONFIG"; then
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4725 $as_echo "$LDCONFIG" >&6; }
4726 else
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4728 $as_echo "no" >&6; }
4732 # Find a good install program. We prefer a C program (faster),
4733 # so one script is as good as another. But avoid the broken or
4734 # incompatible versions:
4735 # SysV /etc/install, /usr/sbin/install
4736 # SunOS /usr/etc/install
4737 # IRIX /sbin/install
4738 # AIX /bin/install
4739 # AmigaOS /C/install, which installs bootblocks on floppy discs
4740 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4741 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4742 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4743 # OS/2's system install, which has a completely different semantic
4744 # ./install, which can be erroneously created by make from ./install.sh.
4745 # Reject install programs that cannot install multiple files.
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4747 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4748 if test -z "$INSTALL"; then
4749 if ${ac_cv_path_install+:} false; then :
4750 $as_echo_n "(cached) " >&6
4751 else
4752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4753 for as_dir in $PATH
4755 IFS=$as_save_IFS
4756 test -z "$as_dir" && as_dir=.
4757 # Account for people who put trailing slashes in PATH elements.
4758 case $as_dir/ in #((
4759 ./ | .// | /[cC]/* | \
4760 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4761 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4762 /usr/ucb/* ) ;;
4764 # OSF1 and SCO ODT 3.0 have their own names for install.
4765 # Don't use installbsd from OSF since it installs stuff as root
4766 # by default.
4767 for ac_prog in ginstall scoinst install; do
4768 for ac_exec_ext in '' $ac_executable_extensions; do
4769 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4770 if test $ac_prog = install &&
4771 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4772 # AIX install. It has an incompatible calling convention.
4774 elif test $ac_prog = install &&
4775 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4776 # program-specific install script used by HP pwplus--don't use.
4778 else
4779 rm -rf conftest.one conftest.two conftest.dir
4780 echo one > conftest.one
4781 echo two > conftest.two
4782 mkdir conftest.dir
4783 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4784 test -s conftest.one && test -s conftest.two &&
4785 test -s conftest.dir/conftest.one &&
4786 test -s conftest.dir/conftest.two
4787 then
4788 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4789 break 3
4793 done
4794 done
4796 esac
4798 done
4799 IFS=$as_save_IFS
4801 rm -rf conftest.one conftest.two conftest.dir
4804 if test "${ac_cv_path_install+set}" = set; then
4805 INSTALL=$ac_cv_path_install
4806 else
4807 # As a last resort, use the slow shell script. Don't cache a
4808 # value for INSTALL within a source directory, because that will
4809 # break other packages using the cache if that directory is
4810 # removed, or if the value is a relative name.
4811 INSTALL=$ac_install_sh
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4815 $as_echo "$INSTALL" >&6; }
4817 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4818 # It thinks the first close brace ends the variable substitution.
4819 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4821 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4823 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4825 case "$INSTALL" in
4826 [\\/$]* | ?:[\\/]* ) ;;
4827 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
4828 esac
4830 for ac_prog in lclint lint
4832 # Extract the first word of "$ac_prog", so it can be a program name with args.
4833 set dummy $ac_prog; ac_word=$2
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4835 $as_echo_n "checking for $ac_word... " >&6; }
4836 if ${ac_cv_prog_LINT+:} false; then :
4837 $as_echo_n "(cached) " >&6
4838 else
4839 if test -n "$LINT"; then
4840 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4841 else
4842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4843 for as_dir in $PATH
4845 IFS=$as_save_IFS
4846 test -z "$as_dir" && as_dir=.
4847 for ac_exec_ext in '' $ac_executable_extensions; do
4848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4849 ac_cv_prog_LINT="$ac_prog"
4850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4851 break 2
4853 done
4854 done
4855 IFS=$as_save_IFS
4859 LINT=$ac_cv_prog_LINT
4860 if test -n "$LINT"; then
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4862 $as_echo "$LINT" >&6; }
4863 else
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865 $as_echo "no" >&6; }
4869 test -n "$LINT" && break
4870 done
4872 if test "$LINT" = "lint"
4873 then
4874 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4878 for ac_prog in fontforge
4880 # Extract the first word of "$ac_prog", so it can be a program name with args.
4881 set dummy $ac_prog; ac_word=$2
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4883 $as_echo_n "checking for $ac_word... " >&6; }
4884 if ${ac_cv_prog_FONTFORGE+:} false; then :
4885 $as_echo_n "(cached) " >&6
4886 else
4887 if test -n "$FONTFORGE"; then
4888 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4889 else
4890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4891 for as_dir in $PATH
4893 IFS=$as_save_IFS
4894 test -z "$as_dir" && as_dir=.
4895 for ac_exec_ext in '' $ac_executable_extensions; do
4896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4897 ac_cv_prog_FONTFORGE="$ac_prog"
4898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4899 break 2
4901 done
4902 done
4903 IFS=$as_save_IFS
4907 FONTFORGE=$ac_cv_prog_FONTFORGE
4908 if test -n "$FONTFORGE"; then
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4910 $as_echo "$FONTFORGE" >&6; }
4911 else
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4913 $as_echo "no" >&6; }
4917 test -n "$FONTFORGE" && break
4918 done
4919 test -n "$FONTFORGE" || FONTFORGE="false"
4921 for ac_prog in pkg-config
4923 # Extract the first word of "$ac_prog", so it can be a program name with args.
4924 set dummy $ac_prog; ac_word=$2
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 $as_echo_n "checking for $ac_word... " >&6; }
4927 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
4928 $as_echo_n "(cached) " >&6
4929 else
4930 if test -n "$PKG_CONFIG"; then
4931 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4932 else
4933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4934 for as_dir in $PATH
4936 IFS=$as_save_IFS
4937 test -z "$as_dir" && as_dir=.
4938 for ac_exec_ext in '' $ac_executable_extensions; do
4939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4940 ac_cv_prog_PKG_CONFIG="$ac_prog"
4941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 break 2
4944 done
4945 done
4946 IFS=$as_save_IFS
4950 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4951 if test -n "$PKG_CONFIG"; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4953 $as_echo "$PKG_CONFIG" >&6; }
4954 else
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4960 test -n "$PKG_CONFIG" && break
4961 done
4962 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
4964 for ac_prog in rsvg
4966 # Extract the first word of "$ac_prog", so it can be a program name with args.
4967 set dummy $ac_prog; ac_word=$2
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969 $as_echo_n "checking for $ac_word... " >&6; }
4970 if ${ac_cv_prog_RSVG+:} false; then :
4971 $as_echo_n "(cached) " >&6
4972 else
4973 if test -n "$RSVG"; then
4974 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
4975 else
4976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4977 for as_dir in $PATH
4979 IFS=$as_save_IFS
4980 test -z "$as_dir" && as_dir=.
4981 for ac_exec_ext in '' $ac_executable_extensions; do
4982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4983 ac_cv_prog_RSVG="$ac_prog"
4984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4985 break 2
4987 done
4988 done
4989 IFS=$as_save_IFS
4993 RSVG=$ac_cv_prog_RSVG
4994 if test -n "$RSVG"; then
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
4996 $as_echo "$RSVG" >&6; }
4997 else
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4999 $as_echo "no" >&6; }
5003 test -n "$RSVG" && break
5004 done
5005 test -n "$RSVG" || RSVG="false"
5007 for ac_prog in convert
5009 # Extract the first word of "$ac_prog", so it can be a program name with args.
5010 set dummy $ac_prog; ac_word=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if ${ac_cv_prog_CONVERT+:} false; then :
5014 $as_echo_n "(cached) " >&6
5015 else
5016 if test -n "$CONVERT"; then
5017 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5018 else
5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5020 for as_dir in $PATH
5022 IFS=$as_save_IFS
5023 test -z "$as_dir" && as_dir=.
5024 for ac_exec_ext in '' $ac_executable_extensions; do
5025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5026 ac_cv_prog_CONVERT="$ac_prog"
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5028 break 2
5030 done
5031 done
5032 IFS=$as_save_IFS
5036 CONVERT=$ac_cv_prog_CONVERT
5037 if test -n "$CONVERT"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5039 $as_echo "$CONVERT" >&6; }
5040 else
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5046 test -n "$CONVERT" && break
5047 done
5048 test -n "$CONVERT" || CONVERT="false"
5050 for ac_prog in icotool
5052 # Extract the first word of "$ac_prog", so it can be a program name with args.
5053 set dummy $ac_prog; ac_word=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 $as_echo_n "checking for $ac_word... " >&6; }
5056 if ${ac_cv_prog_ICOTOOL+:} false; then :
5057 $as_echo_n "(cached) " >&6
5058 else
5059 if test -n "$ICOTOOL"; then
5060 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5061 else
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 for as_dir in $PATH
5065 IFS=$as_save_IFS
5066 test -z "$as_dir" && as_dir=.
5067 for ac_exec_ext in '' $ac_executable_extensions; do
5068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5069 ac_cv_prog_ICOTOOL="$ac_prog"
5070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5071 break 2
5073 done
5074 done
5075 IFS=$as_save_IFS
5079 ICOTOOL=$ac_cv_prog_ICOTOOL
5080 if test -n "$ICOTOOL"; then
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5082 $as_echo "$ICOTOOL" >&6; }
5083 else
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5089 test -n "$ICOTOOL" && break
5090 done
5091 test -n "$ICOTOOL" || ICOTOOL="false"
5093 for ac_prog in msgfmt
5095 # Extract the first word of "$ac_prog", so it can be a program name with args.
5096 set dummy $ac_prog; ac_word=$2
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5098 $as_echo_n "checking for $ac_word... " >&6; }
5099 if ${ac_cv_prog_MSGFMT+:} false; then :
5100 $as_echo_n "(cached) " >&6
5101 else
5102 if test -n "$MSGFMT"; then
5103 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5104 else
5105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5106 for as_dir in $PATH
5108 IFS=$as_save_IFS
5109 test -z "$as_dir" && as_dir=.
5110 for ac_exec_ext in '' $ac_executable_extensions; do
5111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5112 ac_cv_prog_MSGFMT="$ac_prog"
5113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5114 break 2
5116 done
5117 done
5118 IFS=$as_save_IFS
5122 MSGFMT=$ac_cv_prog_MSGFMT
5123 if test -n "$MSGFMT"; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5125 $as_echo "$MSGFMT" >&6; }
5126 else
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128 $as_echo "no" >&6; }
5132 test -n "$MSGFMT" && break
5133 done
5134 test -n "$MSGFMT" || MSGFMT="false"
5137 if test "x$enable_maintainer_mode" != "xyes"
5138 then
5139 MAINTAINER_MODE=\#
5141 else
5142 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5143 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5145 if test "$CONVERT" = false
5146 then
5147 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5148 else
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5150 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5151 convert_version=`convert --version | head -n1`
5152 if test "x$convert_version" != "x"
5153 then
5154 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5155 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5156 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5157 then
5158 CONVERT=false
5161 if test "$CONVERT" = false
5162 then
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5164 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5165 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5166 else
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5168 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5172 if test "$ICOTOOL" = false
5173 then
5174 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5175 else
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5177 $as_echo_n "checking for recent enough icotool... " >&6; }
5178 icotool_version=`icotool --version | head -n1`
5179 if test "x$icotool_version" != "x"
5180 then
5181 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5182 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5183 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5184 then
5185 ICOTOOL=false
5186 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5189 if test "$ICOTOOL" = false
5190 then
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5192 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5193 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5194 else
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5196 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5200 with_gettext=yes
5201 with_gettextpo=yes
5202 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5205 test "x$with_gettext" != xno || MSGFMT=false
5206 if test "$MSGFMT" != "false"
5207 then
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5209 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5210 cat >conftest.po <<EOF
5211 # comment
5212 msgctxt "ctxt"
5213 msgid "id"
5214 msgstr "str"
5216 if $MSGFMT -o /dev/null conftest.po 2>&5
5217 then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5219 $as_echo "yes" >&6; }
5220 else
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222 $as_echo "no" >&6; }
5223 MSGFMT=false
5226 if test "$MSGFMT" = false; then :
5227 case "x$with_gettext" in
5228 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5229 xno) ;;
5230 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5231 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5232 esac
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5237 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5238 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5239 $as_echo_n "(cached) " >&6
5240 else
5241 ac_check_lib_save_LIBS=$LIBS
5242 LIBS="-li386 $LIBS"
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5246 /* Override any GCC internal prototype to avoid an error.
5247 Use char because int might match the return type of a GCC
5248 builtin and then its argument prototype would still apply. */
5249 #ifdef __cplusplus
5250 extern "C"
5251 #endif
5252 char i386_set_ldt ();
5254 main ()
5256 return i386_set_ldt ();
5258 return 0;
5260 _ACEOF
5261 if ac_fn_c_try_link "$LINENO"; then :
5262 ac_cv_lib_i386_i386_set_ldt=yes
5263 else
5264 ac_cv_lib_i386_i386_set_ldt=no
5266 rm -f core conftest.err conftest.$ac_objext \
5267 conftest$ac_exeext conftest.$ac_ext
5268 LIBS=$ac_check_lib_save_LIBS
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5271 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5272 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5273 cat >>confdefs.h <<_ACEOF
5274 #define HAVE_LIBI386 1
5275 _ACEOF
5277 LIBS="-li386 $LIBS"
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5282 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5283 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5284 $as_echo_n "(cached) " >&6
5285 else
5286 ac_check_lib_save_LIBS=$LIBS
5287 LIBS="-lossaudio $LIBS"
5288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5289 /* end confdefs.h. */
5291 /* Override any GCC internal prototype to avoid an error.
5292 Use char because int might match the return type of a GCC
5293 builtin and then its argument prototype would still apply. */
5294 #ifdef __cplusplus
5295 extern "C"
5296 #endif
5297 char _oss_ioctl ();
5299 main ()
5301 return _oss_ioctl ();
5303 return 0;
5305 _ACEOF
5306 if ac_fn_c_try_link "$LINENO"; then :
5307 ac_cv_lib_ossaudio__oss_ioctl=yes
5308 else
5309 ac_cv_lib_ossaudio__oss_ioctl=no
5311 rm -f core conftest.err conftest.$ac_objext \
5312 conftest$ac_exeext conftest.$ac_ext
5313 LIBS=$ac_check_lib_save_LIBS
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5316 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5317 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5318 cat >>confdefs.h <<_ACEOF
5319 #define HAVE_LIBOSSAUDIO 1
5320 _ACEOF
5322 LIBS="-lossaudio $LIBS"
5327 XLIB=""
5329 OPENGL_LIBS=""
5333 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
5335 # Check whether --enable-largefile was given.
5336 if test "${enable_largefile+set}" = set; then :
5337 enableval=$enable_largefile;
5340 if test "$enable_largefile" != no; then
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5343 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5344 if ${ac_cv_sys_largefile_CC+:} false; then :
5345 $as_echo_n "(cached) " >&6
5346 else
5347 ac_cv_sys_largefile_CC=no
5348 if test "$GCC" != yes; then
5349 ac_save_CC=$CC
5350 while :; do
5351 # IRIX 6.2 and later do not support large files by default,
5352 # so use the C compiler's -n32 option if that helps.
5353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5354 /* end confdefs.h. */
5355 #include <sys/types.h>
5356 /* Check that off_t can represent 2**63 - 1 correctly.
5357 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5358 since some C++ compilers masquerading as C compilers
5359 incorrectly reject 9223372036854775807. */
5360 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5361 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5362 && LARGE_OFF_T % 2147483647 == 1)
5363 ? 1 : -1];
5365 main ()
5369 return 0;
5371 _ACEOF
5372 if ac_fn_c_try_compile "$LINENO"; then :
5373 break
5375 rm -f core conftest.err conftest.$ac_objext
5376 CC="$CC -n32"
5377 if ac_fn_c_try_compile "$LINENO"; then :
5378 ac_cv_sys_largefile_CC=' -n32'; break
5380 rm -f core conftest.err conftest.$ac_objext
5381 break
5382 done
5383 CC=$ac_save_CC
5384 rm -f conftest.$ac_ext
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5388 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5389 if test "$ac_cv_sys_largefile_CC" != no; then
5390 CC=$CC$ac_cv_sys_largefile_CC
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5394 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5395 if ${ac_cv_sys_file_offset_bits+:} false; then :
5396 $as_echo_n "(cached) " >&6
5397 else
5398 while :; do
5399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5400 /* end confdefs.h. */
5401 #include <sys/types.h>
5402 /* Check that off_t can represent 2**63 - 1 correctly.
5403 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5404 since some C++ compilers masquerading as C compilers
5405 incorrectly reject 9223372036854775807. */
5406 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5407 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5408 && LARGE_OFF_T % 2147483647 == 1)
5409 ? 1 : -1];
5411 main ()
5415 return 0;
5417 _ACEOF
5418 if ac_fn_c_try_compile "$LINENO"; then :
5419 ac_cv_sys_file_offset_bits=no; break
5421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5423 /* end confdefs.h. */
5424 #define _FILE_OFFSET_BITS 64
5425 #include <sys/types.h>
5426 /* Check that off_t can represent 2**63 - 1 correctly.
5427 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5428 since some C++ compilers masquerading as C compilers
5429 incorrectly reject 9223372036854775807. */
5430 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5431 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5432 && LARGE_OFF_T % 2147483647 == 1)
5433 ? 1 : -1];
5435 main ()
5439 return 0;
5441 _ACEOF
5442 if ac_fn_c_try_compile "$LINENO"; then :
5443 ac_cv_sys_file_offset_bits=64; break
5445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5446 ac_cv_sys_file_offset_bits=unknown
5447 break
5448 done
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5451 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5452 case $ac_cv_sys_file_offset_bits in #(
5453 no | unknown) ;;
5455 cat >>confdefs.h <<_ACEOF
5456 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5457 _ACEOF
5459 esac
5460 rm -rf conftest*
5461 if test $ac_cv_sys_file_offset_bits = unknown; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5463 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5464 if ${ac_cv_sys_large_files+:} false; then :
5465 $as_echo_n "(cached) " >&6
5466 else
5467 while :; do
5468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5469 /* end confdefs.h. */
5470 #include <sys/types.h>
5471 /* Check that off_t can represent 2**63 - 1 correctly.
5472 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5473 since some C++ compilers masquerading as C compilers
5474 incorrectly reject 9223372036854775807. */
5475 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5476 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5477 && LARGE_OFF_T % 2147483647 == 1)
5478 ? 1 : -1];
5480 main ()
5484 return 0;
5486 _ACEOF
5487 if ac_fn_c_try_compile "$LINENO"; then :
5488 ac_cv_sys_large_files=no; break
5490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5492 /* end confdefs.h. */
5493 #define _LARGE_FILES 1
5494 #include <sys/types.h>
5495 /* Check that off_t can represent 2**63 - 1 correctly.
5496 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5497 since some C++ compilers masquerading as C compilers
5498 incorrectly reject 9223372036854775807. */
5499 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5500 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5501 && LARGE_OFF_T % 2147483647 == 1)
5502 ? 1 : -1];
5504 main ()
5508 return 0;
5510 _ACEOF
5511 if ac_fn_c_try_compile "$LINENO"; then :
5512 ac_cv_sys_large_files=1; break
5514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5515 ac_cv_sys_large_files=unknown
5516 break
5517 done
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5520 $as_echo "$ac_cv_sys_large_files" >&6; }
5521 case $ac_cv_sys_large_files in #(
5522 no | unknown) ;;
5524 cat >>confdefs.h <<_ACEOF
5525 #define _LARGE_FILES $ac_cv_sys_large_files
5526 _ACEOF
5528 esac
5529 rm -rf conftest*
5536 ac_ext=c
5537 ac_cpp='$CPP $CPPFLAGS'
5538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5542 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5543 # On Suns, sometimes $CPP names a directory.
5544 if test -n "$CPP" && test -d "$CPP"; then
5545 CPP=
5547 if test -z "$CPP"; then
5548 if ${ac_cv_prog_CPP+:} false; then :
5549 $as_echo_n "(cached) " >&6
5550 else
5551 # Double quotes because CPP needs to be expanded
5552 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5554 ac_preproc_ok=false
5555 for ac_c_preproc_warn_flag in '' yes
5557 # Use a header file that comes with gcc, so configuring glibc
5558 # with a fresh cross-compiler works.
5559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5560 # <limits.h> exists even on freestanding compilers.
5561 # On the NeXT, cc -E runs the code through the compiler's parser,
5562 # not just through cpp. "Syntax error" is here to catch this case.
5563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5564 /* end confdefs.h. */
5565 #ifdef __STDC__
5566 # include <limits.h>
5567 #else
5568 # include <assert.h>
5569 #endif
5570 Syntax error
5571 _ACEOF
5572 if ac_fn_c_try_cpp "$LINENO"; then :
5574 else
5575 # Broken: fails on valid input.
5576 continue
5578 rm -f conftest.err conftest.i conftest.$ac_ext
5580 # OK, works on sane cases. Now check whether nonexistent headers
5581 # can be detected and how.
5582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5583 /* end confdefs.h. */
5584 #include <ac_nonexistent.h>
5585 _ACEOF
5586 if ac_fn_c_try_cpp "$LINENO"; then :
5587 # Broken: success on invalid input.
5588 continue
5589 else
5590 # Passes both tests.
5591 ac_preproc_ok=:
5592 break
5594 rm -f conftest.err conftest.i conftest.$ac_ext
5596 done
5597 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5598 rm -f conftest.i conftest.err conftest.$ac_ext
5599 if $ac_preproc_ok; then :
5600 break
5603 done
5604 ac_cv_prog_CPP=$CPP
5607 CPP=$ac_cv_prog_CPP
5608 else
5609 ac_cv_prog_CPP=$CPP
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5612 $as_echo "$CPP" >&6; }
5613 ac_preproc_ok=false
5614 for ac_c_preproc_warn_flag in '' yes
5616 # Use a header file that comes with gcc, so configuring glibc
5617 # with a fresh cross-compiler works.
5618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5619 # <limits.h> exists even on freestanding compilers.
5620 # On the NeXT, cc -E runs the code through the compiler's parser,
5621 # not just through cpp. "Syntax error" is here to catch this case.
5622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5624 #ifdef __STDC__
5625 # include <limits.h>
5626 #else
5627 # include <assert.h>
5628 #endif
5629 Syntax error
5630 _ACEOF
5631 if ac_fn_c_try_cpp "$LINENO"; then :
5633 else
5634 # Broken: fails on valid input.
5635 continue
5637 rm -f conftest.err conftest.i conftest.$ac_ext
5639 # OK, works on sane cases. Now check whether nonexistent headers
5640 # can be detected and how.
5641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5642 /* end confdefs.h. */
5643 #include <ac_nonexistent.h>
5644 _ACEOF
5645 if ac_fn_c_try_cpp "$LINENO"; then :
5646 # Broken: success on invalid input.
5647 continue
5648 else
5649 # Passes both tests.
5650 ac_preproc_ok=:
5651 break
5653 rm -f conftest.err conftest.i conftest.$ac_ext
5655 done
5656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5657 rm -f conftest.i conftest.err conftest.$ac_ext
5658 if $ac_preproc_ok; then :
5660 else
5661 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5663 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5664 See \`config.log' for more details" "$LINENO" 5; }
5667 ac_ext=c
5668 ac_cpp='$CPP $CPPFLAGS'
5669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5675 $as_echo_n "checking for ANSI C header files... " >&6; }
5676 if ${ac_cv_header_stdc+:} false; then :
5677 $as_echo_n "(cached) " >&6
5678 else
5679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5680 /* end confdefs.h. */
5681 #include <stdlib.h>
5682 #include <stdarg.h>
5683 #include <string.h>
5684 #include <float.h>
5687 main ()
5691 return 0;
5693 _ACEOF
5694 if ac_fn_c_try_compile "$LINENO"; then :
5695 ac_cv_header_stdc=yes
5696 else
5697 ac_cv_header_stdc=no
5699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5701 if test $ac_cv_header_stdc = yes; then
5702 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5704 /* end confdefs.h. */
5705 #include <string.h>
5707 _ACEOF
5708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5709 $EGREP "memchr" >/dev/null 2>&1; then :
5711 else
5712 ac_cv_header_stdc=no
5714 rm -f conftest*
5718 if test $ac_cv_header_stdc = yes; then
5719 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5721 /* end confdefs.h. */
5722 #include <stdlib.h>
5724 _ACEOF
5725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5726 $EGREP "free" >/dev/null 2>&1; then :
5728 else
5729 ac_cv_header_stdc=no
5731 rm -f conftest*
5735 if test $ac_cv_header_stdc = yes; then
5736 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5737 if test "$cross_compiling" = yes; then :
5739 else
5740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5741 /* end confdefs.h. */
5742 #include <ctype.h>
5743 #include <stdlib.h>
5744 #if ((' ' & 0x0FF) == 0x020)
5745 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5746 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5747 #else
5748 # define ISLOWER(c) \
5749 (('a' <= (c) && (c) <= 'i') \
5750 || ('j' <= (c) && (c) <= 'r') \
5751 || ('s' <= (c) && (c) <= 'z'))
5752 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5753 #endif
5755 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5757 main ()
5759 int i;
5760 for (i = 0; i < 256; i++)
5761 if (XOR (islower (i), ISLOWER (i))
5762 || toupper (i) != TOUPPER (i))
5763 return 2;
5764 return 0;
5766 _ACEOF
5767 if ac_fn_c_try_run "$LINENO"; then :
5769 else
5770 ac_cv_header_stdc=no
5772 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5773 conftest.$ac_objext conftest.beam conftest.$ac_ext
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5779 $as_echo "$ac_cv_header_stdc" >&6; }
5780 if test $ac_cv_header_stdc = yes; then
5782 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5786 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5787 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5788 inttypes.h stdint.h unistd.h
5789 do :
5790 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5791 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5793 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5794 cat >>confdefs.h <<_ACEOF
5795 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5796 _ACEOF
5800 done
5803 for ac_header in \
5804 AL/al.h \
5805 ApplicationServices/ApplicationServices.h \
5806 AudioToolbox/AudioConverter.h \
5807 AudioUnit/AudioUnit.h \
5808 AudioUnit/AudioComponent.h \
5809 CL/cl.h \
5810 Carbon/Carbon.h \
5811 CoreAudio/CoreAudio.h \
5812 CoreServices/CoreServices.h \
5813 DiskArbitration/DiskArbitration.h \
5814 IOKit/IOKitLib.h \
5815 IOKit/hid/IOHIDLib.h \
5816 OpenAL/al.h \
5817 OpenCL/opencl.h \
5818 QuickTime/ImageCompression.h \
5819 Security/Security.h \
5820 alias.h \
5821 alsa/asoundlib.h \
5822 arpa/inet.h \
5823 arpa/nameser.h \
5824 asm/types.h \
5825 capi20.h \
5826 curses.h \
5827 direct.h \
5828 dirent.h \
5829 dlfcn.h \
5830 elf.h \
5831 float.h \
5832 fnmatch.h \
5833 fontconfig/fontconfig.h \
5834 getopt.h \
5835 gettext-po.h \
5836 grp.h \
5837 gsm.h \
5838 gsm/gsm.h \
5839 ieeefp.h \
5840 inet/mib2.h \
5841 io.h \
5842 jpeglib.h \
5843 kstat.h \
5844 lber.h \
5845 lcms.h \
5846 lcms/lcms.h \
5847 ldap.h \
5848 link.h \
5849 linux/cdrom.h \
5850 linux/compiler.h \
5851 linux/filter.h \
5852 linux/hdreg.h \
5853 linux/input.h \
5854 linux/ioctl.h \
5855 linux/joystick.h \
5856 linux/major.h \
5857 linux/param.h \
5858 linux/serial.h \
5859 linux/types.h \
5860 linux/ucdrom.h \
5861 lwp.h \
5862 mach-o/nlist.h \
5863 mach-o/loader.h \
5864 mach/mach.h \
5865 mach/machine.h \
5866 machine/cpu.h \
5867 machine/limits.h \
5868 machine/sysarch.h \
5869 mntent.h \
5870 mpg123.h \
5871 ncurses.h \
5872 netdb.h \
5873 netinet/in.h \
5874 netinet/in_systm.h \
5875 netinet/tcp.h \
5876 netinet/tcp_fsm.h \
5877 openssl/err.h \
5878 openssl/ssl.h \
5879 png.h \
5880 poll.h \
5881 port.h \
5882 process.h \
5883 pthread.h \
5884 pwd.h \
5885 sched.h \
5886 scsi/scsi.h \
5887 scsi/scsi_ioctl.h \
5888 scsi/sg.h \
5889 stdbool.h \
5890 stdint.h \
5891 strings.h \
5892 stropts.h \
5893 sys/asoundlib.h \
5894 sys/attr.h \
5895 sys/cdio.h \
5896 sys/elf32.h \
5897 sys/epoll.h \
5898 sys/event.h \
5899 sys/exec_elf.h \
5900 sys/filio.h \
5901 sys/inotify.h \
5902 sys/ioctl.h \
5903 sys/ipc.h \
5904 sys/limits.h \
5905 sys/link.h \
5906 sys/mman.h \
5907 sys/modem.h \
5908 sys/msg.h \
5909 sys/mtio.h \
5910 sys/param.h \
5911 sys/poll.h \
5912 sys/prctl.h \
5913 sys/protosw.h \
5914 sys/ptrace.h \
5915 sys/resource.h \
5916 sys/scsiio.h \
5917 sys/shm.h \
5918 sys/signal.h \
5919 sys/socket.h \
5920 sys/socketvar.h \
5921 sys/sockio.h \
5922 sys/statvfs.h \
5923 sys/strtio.h \
5924 sys/syscall.h \
5925 sys/tihdr.h \
5926 sys/time.h \
5927 sys/timeout.h \
5928 sys/times.h \
5929 sys/uio.h \
5930 sys/un.h \
5931 sys/utsname.h \
5932 sys/vm86.h \
5933 sys/wait.h \
5934 syscall.h \
5935 termios.h \
5936 tiffio.h \
5937 unistd.h \
5938 utime.h \
5939 valgrind/memcheck.h \
5940 valgrind/valgrind.h \
5941 zlib.h
5943 do :
5944 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5945 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5946 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5947 cat >>confdefs.h <<_ACEOF
5948 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5949 _ACEOF
5953 done
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5956 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5957 if ${ac_cv_header_stat_broken+:} false; then :
5958 $as_echo_n "(cached) " >&6
5959 else
5960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5961 /* end confdefs.h. */
5962 #include <sys/types.h>
5963 #include <sys/stat.h>
5965 #if defined S_ISBLK && defined S_IFDIR
5966 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5967 #endif
5969 #if defined S_ISBLK && defined S_IFCHR
5970 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5971 #endif
5973 #if defined S_ISLNK && defined S_IFREG
5974 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5975 #endif
5977 #if defined S_ISSOCK && defined S_IFREG
5978 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5979 #endif
5981 _ACEOF
5982 if ac_fn_c_try_compile "$LINENO"; then :
5983 ac_cv_header_stat_broken=no
5984 else
5985 ac_cv_header_stat_broken=yes
5987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5990 $as_echo "$ac_cv_header_stat_broken" >&6; }
5991 if test $ac_cv_header_stat_broken = yes; then
5993 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5999 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6000 do :
6001 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6002 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6003 #ifdef HAVE_SYS_PARAM_H
6004 # include <sys/param.h>
6005 #endif
6007 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6008 cat >>confdefs.h <<_ACEOF
6009 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6010 _ACEOF
6014 done
6017 for ac_header in \
6018 netinet/ip.h \
6019 net/if.h \
6020 net/if_arp.h \
6021 net/if_dl.h \
6022 net/if_types.h \
6023 net/route.h \
6024 netinet/if_ether.h \
6025 netinet/if_inarp.h \
6026 netinet/in_pcb.h \
6027 netinet/ip_icmp.h \
6028 netinet/ip_var.h \
6029 netinet/udp.h \
6030 netipx/ipx.h \
6032 do :
6033 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6034 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6035 #ifdef HAVE_SYS_SOCKET_H
6036 # include <sys/socket.h>
6037 #endif
6038 #ifdef HAVE_SYS_SOCKETVAR_H
6039 # include <sys/socketvar.h>
6040 #endif
6041 #ifdef HAVE_NET_ROUTE_H
6042 # include <net/route.h>
6043 #endif
6044 #ifdef HAVE_NETINET_IN_H
6045 # include <netinet/in.h>
6046 #endif
6047 #ifdef HAVE_NETINET_IN_SYSTM_H
6048 # include <netinet/in_systm.h>
6049 #endif
6050 #ifdef HAVE_NET_IF_H
6051 # include <net/if.h>
6052 #endif
6053 #ifdef HAVE_NETINET_IP_H
6054 # include <netinet/ip.h>
6055 #endif
6057 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6058 cat >>confdefs.h <<_ACEOF
6059 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6060 _ACEOF
6064 done
6067 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6068 do :
6069 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6070 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6071 #ifdef HAVE_ALIAS_H
6072 # include <alias.h>
6073 #endif
6074 #ifdef HAVE_SYS_SOCKET_H
6075 # include <sys/socket.h>
6076 #endif
6077 #ifdef HAVE_SYS_SOCKETVAR_H
6078 # include <sys/socketvar.h>
6079 #endif
6080 #ifdef HAVE_SYS_TIMEOUT_H
6081 # include <sys/timeout.h>
6082 #endif
6083 #ifdef HAVE_NETINET_IN_H
6084 # include <netinet/in.h>
6085 #endif
6086 #ifdef HAVE_NETINET_IN_SYSTM_H
6087 # include <netinet/in_systm.h>
6088 #endif
6089 #ifdef HAVE_NETINET_IP_H
6090 # include <netinet/ip.h>
6091 #endif
6092 #ifdef HAVE_NETINET_IP_VAR_H
6093 # include <netinet/ip_var.h>
6094 #endif
6095 #ifdef HAVE_NETINET_IP_ICMP_H
6096 # include <netinet/ip_icmp.h>
6097 #endif
6098 #ifdef HAVE_NETINET_UDP_H
6099 # include <netinet/udp.h>
6100 #endif
6101 #ifdef HAVE_NETINET_TCP_H
6102 # include <netinet/tcp.h>
6103 #endif
6104 #ifdef HAVE_NETINET_TCP_TIMER_H
6105 #include <netinet/tcp_timer.h>
6106 #endif
6108 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6109 cat >>confdefs.h <<_ACEOF
6110 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6111 _ACEOF
6115 done
6118 for ac_header in linux/ipx.h linux/irda.h
6119 do :
6120 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6121 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6122 #ifdef HAVE_ASM_TYPES_H
6123 # include <asm/types.h>
6124 #endif
6125 #ifdef HAVE_SYS_SOCKET_H
6126 # include <sys/socket.h>
6127 #endif
6128 #ifdef HAVE_LINUX_TYPES_H
6129 # include <linux/types.h>
6130 #endif
6132 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6133 cat >>confdefs.h <<_ACEOF
6134 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6135 _ACEOF
6139 done
6142 for ac_header in mach-o/dyld_images.h
6143 do :
6144 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6145 # include <stdbool.h>
6146 #endif
6147 #ifdef HAVE_STDINT_H
6148 # include <stdint.h>
6149 #endif
6151 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6152 cat >>confdefs.h <<_ACEOF
6153 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6154 _ACEOF
6158 done
6161 for ac_header in resolv.h
6162 do :
6163 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6164 #ifdef HAVE_SYS_SOCKET_H
6165 # include <sys/socket.h>
6166 #endif
6167 #ifdef HAVE_NETINET_IN_H
6168 # include <netinet/in.h>
6169 #endif
6170 #ifdef HAVE_ARPA_NAMESER_H
6171 # include <arpa/nameser.h>
6172 #endif
6174 if test "x$ac_cv_header_resolv_h" = xyes; then :
6175 cat >>confdefs.h <<_ACEOF
6176 #define HAVE_RESOLV_H 1
6177 _ACEOF
6181 done
6184 for ac_header in ifaddrs.h
6185 do :
6186 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6188 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6189 cat >>confdefs.h <<_ACEOF
6190 #define HAVE_IFADDRS_H 1
6191 _ACEOF
6195 done
6198 for ac_header in ucontext.h
6199 do :
6200 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6202 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6203 cat >>confdefs.h <<_ACEOF
6204 #define HAVE_UCONTEXT_H 1
6205 _ACEOF
6209 done
6212 for ac_header in sys/thr.h
6213 do :
6214 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6215 #ifdef HAVE_UCONTEXT_H
6216 #include <ucontext.h>
6217 #endif
6219 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6220 cat >>confdefs.h <<_ACEOF
6221 #define HAVE_SYS_THR_H 1
6222 _ACEOF
6226 done
6229 for ac_header in pthread_np.h
6230 do :
6231 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6232 #include <pthread.h>
6233 #endif
6235 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6236 cat >>confdefs.h <<_ACEOF
6237 #define HAVE_PTHREAD_NP_H 1
6238 _ACEOF
6242 done
6245 for ac_header in linux/videodev.h linux/videodev2.h
6246 do :
6247 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6248 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6249 #include <sys/time.h>
6250 #endif
6251 #include <sys/types.h>
6252 #ifdef HAVE_ASM_TYPES_H
6253 #include <asm/types.h>
6254 #endif
6256 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6257 cat >>confdefs.h <<_ACEOF
6258 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6259 _ACEOF
6263 done
6266 for ac_header in linux/capi.h
6267 do :
6268 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6270 if test "x$ac_cv_header_linux_capi_h" = xyes; then :
6271 cat >>confdefs.h <<_ACEOF
6272 #define HAVE_LINUX_CAPI_H 1
6273 _ACEOF
6277 done
6281 DLLEXT=""
6283 DLLFLAGS="-D_REENTRANT"
6285 LDSHARED=""
6287 LDDLLFLAGS=""
6289 LIBEXT="so"
6291 IMPLIBEXT="def"
6293 LDRPATH_INSTALL=""
6295 LDRPATH_LOCAL=""
6297 STATIC_IMPLIBEXT="def.a"
6298 # Extract the first word of "ldd", so it can be a program name with args.
6299 set dummy ldd; ac_word=$2
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6301 $as_echo_n "checking for $ac_word... " >&6; }
6302 if ${ac_cv_path_LDD+:} false; then :
6303 $as_echo_n "(cached) " >&6
6304 else
6305 case $LDD in
6306 [\\/]* | ?:[\\/]*)
6307 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311 as_dummy="/sbin:/usr/sbin:$PATH"
6312 for as_dir in $as_dummy
6314 IFS=$as_save_IFS
6315 test -z "$as_dir" && as_dir=.
6316 for ac_exec_ext in '' $ac_executable_extensions; do
6317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6318 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6320 break 2
6322 done
6323 done
6324 IFS=$as_save_IFS
6326 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6328 esac
6330 LDD=$ac_cv_path_LDD
6331 if test -n "$LDD"; then
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6333 $as_echo "$LDD" >&6; }
6334 else
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6336 $as_echo "no" >&6; }
6341 case $host_os in
6342 cygwin*|mingw32*)
6343 if test -n "$ac_tool_prefix"; then
6344 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6345 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6347 $as_echo_n "checking for $ac_word... " >&6; }
6348 if ${ac_cv_prog_DLLTOOL+:} false; then :
6349 $as_echo_n "(cached) " >&6
6350 else
6351 if test -n "$DLLTOOL"; then
6352 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6353 else
6354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6355 for as_dir in $PATH
6357 IFS=$as_save_IFS
6358 test -z "$as_dir" && as_dir=.
6359 for ac_exec_ext in '' $ac_executable_extensions; do
6360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6361 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6363 break 2
6365 done
6366 done
6367 IFS=$as_save_IFS
6371 DLLTOOL=$ac_cv_prog_DLLTOOL
6372 if test -n "$DLLTOOL"; then
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6374 $as_echo "$DLLTOOL" >&6; }
6375 else
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6377 $as_echo "no" >&6; }
6382 if test -z "$ac_cv_prog_DLLTOOL"; then
6383 ac_ct_DLLTOOL=$DLLTOOL
6384 # Extract the first word of "dlltool", so it can be a program name with args.
6385 set dummy dlltool; ac_word=$2
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6387 $as_echo_n "checking for $ac_word... " >&6; }
6388 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6389 $as_echo_n "(cached) " >&6
6390 else
6391 if test -n "$ac_ct_DLLTOOL"; then
6392 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6393 else
6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6395 for as_dir in $PATH
6397 IFS=$as_save_IFS
6398 test -z "$as_dir" && as_dir=.
6399 for ac_exec_ext in '' $ac_executable_extensions; do
6400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6401 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6403 break 2
6405 done
6406 done
6407 IFS=$as_save_IFS
6411 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6412 if test -n "$ac_ct_DLLTOOL"; then
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6414 $as_echo "$ac_ct_DLLTOOL" >&6; }
6415 else
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6417 $as_echo "no" >&6; }
6420 if test "x$ac_ct_DLLTOOL" = x; then
6421 DLLTOOL="false"
6422 else
6423 case $cross_compiling:$ac_tool_warned in
6424 yes:)
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6427 ac_tool_warned=yes ;;
6428 esac
6429 DLLTOOL=$ac_ct_DLLTOOL
6431 else
6432 DLLTOOL="$ac_cv_prog_DLLTOOL"
6435 if test -n "$ac_tool_prefix"; then
6436 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6437 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6439 $as_echo_n "checking for $ac_word... " >&6; }
6440 if ${ac_cv_prog_DLLWRAP+:} false; then :
6441 $as_echo_n "(cached) " >&6
6442 else
6443 if test -n "$DLLWRAP"; then
6444 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
6445 else
6446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6447 for as_dir in $PATH
6449 IFS=$as_save_IFS
6450 test -z "$as_dir" && as_dir=.
6451 for ac_exec_ext in '' $ac_executable_extensions; do
6452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6453 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
6454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6455 break 2
6457 done
6458 done
6459 IFS=$as_save_IFS
6463 DLLWRAP=$ac_cv_prog_DLLWRAP
6464 if test -n "$DLLWRAP"; then
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6466 $as_echo "$DLLWRAP" >&6; }
6467 else
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6469 $as_echo "no" >&6; }
6474 if test -z "$ac_cv_prog_DLLWRAP"; then
6475 ac_ct_DLLWRAP=$DLLWRAP
6476 # Extract the first word of "dllwrap", so it can be a program name with args.
6477 set dummy dllwrap; ac_word=$2
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6479 $as_echo_n "checking for $ac_word... " >&6; }
6480 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false; then :
6481 $as_echo_n "(cached) " >&6
6482 else
6483 if test -n "$ac_ct_DLLWRAP"; then
6484 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
6485 else
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 for as_dir in $PATH
6489 IFS=$as_save_IFS
6490 test -z "$as_dir" && as_dir=.
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6493 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
6494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6495 break 2
6497 done
6498 done
6499 IFS=$as_save_IFS
6503 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
6504 if test -n "$ac_ct_DLLWRAP"; then
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6506 $as_echo "$ac_ct_DLLWRAP" >&6; }
6507 else
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6509 $as_echo "no" >&6; }
6512 if test "x$ac_ct_DLLWRAP" = x; then
6513 DLLWRAP="false"
6514 else
6515 case $cross_compiling:$ac_tool_warned in
6516 yes:)
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6519 ac_tool_warned=yes ;;
6520 esac
6521 DLLWRAP=$ac_ct_DLLWRAP
6523 else
6524 DLLWRAP="$ac_cv_prog_DLLWRAP"
6527 if test "$DLLWRAP" = "false"; then
6528 LIBEXT="a"
6529 else
6530 LIBEXT="dll"
6532 IMPLIBEXT="a"
6533 STATIC_IMPLIBEXT="a"
6534 enable_iphlpapi=${enable_iphlpapi:-no}
6535 enable_kernel32=${enable_kernel32:-no}
6536 enable_msvcrt=${enable_msvcrt:-no}
6537 enable_ntdll=${enable_ntdll:-no}
6538 enable_ws2_32=${enable_ws2_32:-no}
6539 enable_loader=${enable_loader:-no}
6540 enable_server=${enable_server:-no}
6541 with_x=${with_x:-no}
6542 with_pthread=${with_pthread:-no}
6544 darwin*|macosx*)
6545 DLLEXT=".so"
6546 LIBEXT="dylib"
6547 DLLFLAGS="$DLLFLAGS -fPIC"
6548 LDDLLFLAGS="-bundle -multiply_defined suppress"
6549 LIBWINE_LDFLAGS="-multiply_defined suppress"
6550 LDSHARED="\$(CC) -dynamiclib"
6551 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6552 COREFOUNDATIONLIB="-framework CoreFoundation"
6554 IOKITLIB="-framework IOKit -framework CoreFoundation"
6556 APPLICATIONSERVICESLIB="-framework ApplicationServices"
6558 CORESERVICESLIB="-framework CoreServices"
6560 case $host_os in
6561 darwin11*)
6562 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6565 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6567 esac
6568 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6569 then
6570 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6573 if test "$ac_cv_header_Security_Security_h" = "yes"
6574 then
6575 SECURITYLIB="-framework Security -framework CoreFoundation"
6577 ac_save_LIBS="$LIBS"
6578 LIBS="$LIBS $SECURITYLIB"
6579 for ac_func in SSLCopyPeerCertificates
6580 do :
6581 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6582 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
6583 cat >>confdefs.h <<_ACEOF
6584 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6585 _ACEOF
6588 done
6590 LIBS="$ac_save_LIBS"
6591 with_gnutls=${with_gnutls:-no}
6593 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6594 then
6595 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6596 then
6597 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6599 else
6600 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6603 ac_save_LIBS="$LIBS"
6604 LIBS="$LIBS $COREAUDIO"
6605 for ac_func in AUGraphAddNode
6606 do :
6607 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6608 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
6609 cat >>confdefs.h <<_ACEOF
6610 #define HAVE_AUGRAPHADDNODE 1
6611 _ACEOF
6614 done
6616 LIBS="$ac_save_LIBS"
6618 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6619 then
6620 FRAMEWORK_OPENAL="-framework OpenAL"
6623 cat >>confdefs.h <<_ACEOF
6624 #define HAVE_OPENAL 1
6625 _ACEOF
6627 ac_cv_lib_openal=yes
6629 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6630 then
6631 LIBOPENCL="-framework OpenCL"
6633 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
6635 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6636 then
6637 ac_save_LIBS="$LIBS"
6638 LIBS="$LIBS $IOKITLIB"
6639 for ac_func in IOHIDManagerCreate
6640 do :
6641 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6642 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
6643 cat >>confdefs.h <<_ACEOF
6644 #define HAVE_IOHIDMANAGERCREATE 1
6645 _ACEOF
6648 done
6650 LIBS="$ac_save_LIBS"
6652 case $host_cpu in
6653 *powerpc*)
6654 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
6655 esac
6656 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6657 then
6658 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6660 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
6661 else
6662 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6664 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6665 then
6666 CARBONLIB="-framework Carbon"
6668 enable_winequartz_drv=${enable_winequartz_drv:-yes}
6670 if test "x$enable_win16" = "xyes"
6671 then
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6673 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6674 if test "$cross_compiling" = yes; then :
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6676 $as_echo "cross-compiling, assuming yes" >&6; }
6677 else
6678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6679 /* end confdefs.h. */
6680 asm(".text\n"
6681 "bad:\tnop;nop\n"
6682 "good:\tnop;nop\n\t"
6683 ".globl _testfunc\n"
6684 "_testfunc:\tcallw good");
6685 extern void testfunc();
6687 main ()
6689 unsigned short *p = (unsigned short *)testfunc;
6690 return p[0] != 0xe866 || p[1] != 0xfffa
6692 return 0;
6694 _ACEOF
6695 if ac_fn_c_try_run "$LINENO"; then :
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6697 $as_echo "yes" >&6; }
6698 else
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6700 $as_echo "no" >&6; }
6701 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
6703 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6704 conftest.$ac_objext conftest.beam conftest.$ac_ext
6710 DLLFLAGS="$DLLFLAGS -fPIC"
6711 DLLEXT=".so"
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6713 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6714 if ${ac_cv_c_dll_gnuelf+:} false; then :
6715 $as_echo_n "(cached) " >&6
6716 else
6717 ac_wine_try_cflags_saved=$CFLAGS
6718 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6720 /* end confdefs.h. */
6721 void myfunc() {}
6722 _ACEOF
6723 if ac_fn_c_try_link "$LINENO"; then :
6724 ac_cv_c_dll_gnuelf="yes"
6725 else
6726 ac_cv_c_dll_gnuelf="no"
6728 rm -f core conftest.err conftest.$ac_objext \
6729 conftest$ac_exeext conftest.$ac_ext
6730 CFLAGS=$ac_wine_try_cflags_saved
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6733 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6734 if test "$ac_cv_c_dll_gnuelf" = "yes"
6735 then
6736 LDSHARED="\$(CC) -shared"
6737 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6739 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6740 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
6741 $as_echo_n "(cached) " >&6
6742 else
6743 ac_wine_try_cflags_saved=$CFLAGS
6744 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6746 /* end confdefs.h. */
6747 int main(int argc, char **argv) { return 0; }
6748 _ACEOF
6749 if ac_fn_c_try_link "$LINENO"; then :
6750 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
6751 else
6752 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
6754 rm -f core conftest.err conftest.$ac_objext \
6755 conftest$ac_exeext conftest.$ac_ext
6756 CFLAGS=$ac_wine_try_cflags_saved
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6759 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6760 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6761 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6762 else
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6764 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6765 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
6766 $as_echo_n "(cached) " >&6
6767 else
6768 ac_wine_try_cflags_saved=$CFLAGS
6769 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6771 /* end confdefs.h. */
6772 int main(int argc, char **argv) { return 0; }
6773 _ACEOF
6774 if ac_fn_c_try_link "$LINENO"; then :
6775 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
6776 else
6777 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
6779 rm -f core conftest.err conftest.$ac_objext \
6780 conftest$ac_exeext conftest.$ac_ext
6781 CFLAGS=$ac_wine_try_cflags_saved
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6784 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6785 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6786 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6791 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6792 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false; then :
6793 $as_echo_n "(cached) " >&6
6794 else
6795 ac_wine_try_cflags_saved=$CFLAGS
6796 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6798 /* end confdefs.h. */
6799 int main(int argc, char **argv) { return 0; }
6800 _ACEOF
6801 if ac_fn_c_try_link "$LINENO"; then :
6802 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6803 else
6804 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6806 rm -f core conftest.err conftest.$ac_objext \
6807 conftest$ac_exeext conftest.$ac_ext
6808 CFLAGS=$ac_wine_try_cflags_saved
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6811 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6812 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6813 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
6817 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6818 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false; then :
6819 $as_echo_n "(cached) " >&6
6820 else
6821 ac_wine_try_cflags_saved=$CFLAGS
6822 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6824 /* end confdefs.h. */
6825 int main(int argc, char **argv) { return 0; }
6826 _ACEOF
6827 if ac_fn_c_try_link "$LINENO"; then :
6828 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6829 else
6830 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6832 rm -f core conftest.err conftest.$ac_objext \
6833 conftest$ac_exeext conftest.$ac_ext
6834 CFLAGS=$ac_wine_try_cflags_saved
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6837 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6838 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6839 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6842 echo '{ global: *; };' >conftest.map
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6844 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6845 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
6846 $as_echo_n "(cached) " >&6
6847 else
6848 ac_wine_try_cflags_saved=$CFLAGS
6849 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6851 /* end confdefs.h. */
6852 int main(int argc, char **argv) { return 0; }
6853 _ACEOF
6854 if ac_fn_c_try_link "$LINENO"; then :
6855 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
6856 else
6857 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
6859 rm -f core conftest.err conftest.$ac_objext \
6860 conftest$ac_exeext conftest.$ac_ext
6861 CFLAGS=$ac_wine_try_cflags_saved
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
6864 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
6865 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
6866 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6868 rm -f conftest.map
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6871 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6872 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
6873 $as_echo_n "(cached) " >&6
6874 else
6875 ac_wine_try_cflags_saved=$CFLAGS
6876 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
6877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6878 /* end confdefs.h. */
6879 int main(int argc, char **argv) { return 0; }
6880 _ACEOF
6881 if ac_fn_c_try_link "$LINENO"; then :
6882 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
6883 else
6884 ac_cv_cflags__fPIC__Wl___export_dynamic=no
6886 rm -f core conftest.err conftest.$ac_objext \
6887 conftest$ac_exeext conftest.$ac_ext
6888 CFLAGS=$ac_wine_try_cflags_saved
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6891 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6892 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6893 LDEXECFLAGS="-Wl,--export-dynamic"
6897 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6899 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6900 if eval \${$as_ac_var+:} false; then :
6901 $as_echo_n "(cached) " >&6
6902 else
6903 ac_wine_try_cflags_saved=$CFLAGS
6904 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6906 /* end confdefs.h. */
6907 int main(int argc, char **argv) { return 0; }
6908 _ACEOF
6909 if ac_fn_c_try_link "$LINENO"; then :
6910 eval "$as_ac_var=yes"
6911 else
6912 eval "$as_ac_var=no"
6914 rm -f core conftest.err conftest.$ac_objext \
6915 conftest$ac_exeext conftest.$ac_ext
6916 CFLAGS=$ac_wine_try_cflags_saved
6918 eval ac_res=\$$as_ac_var
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6920 $as_echo "$ac_res" >&6; }
6921 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6922 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6923 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6924 else
6925 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6927 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6928 if eval \${$as_ac_var+:} false; then :
6929 $as_echo_n "(cached) " >&6
6930 else
6931 ac_wine_try_cflags_saved=$CFLAGS
6932 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6934 /* end confdefs.h. */
6935 int main(int argc, char **argv) { return 0; }
6936 _ACEOF
6937 if ac_fn_c_try_link "$LINENO"; then :
6938 eval "$as_ac_var=yes"
6939 else
6940 eval "$as_ac_var=no"
6942 rm -f core conftest.err conftest.$ac_objext \
6943 conftest$ac_exeext conftest.$ac_ext
6944 CFLAGS=$ac_wine_try_cflags_saved
6946 eval ac_res=\$$as_ac_var
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6948 $as_echo "$ac_res" >&6; }
6949 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6950 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6951 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6956 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6957 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
6958 $as_echo_n "(cached) " >&6
6959 else
6960 ac_wine_try_cflags_saved=$CFLAGS
6961 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
6962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6963 /* end confdefs.h. */
6964 int main(int argc, char **argv) { return 0; }
6965 _ACEOF
6966 if ac_fn_c_try_link "$LINENO"; then :
6967 ac_cv_cflags__Wl___enable_new_dtags=yes
6968 else
6969 ac_cv_cflags__Wl___enable_new_dtags=no
6971 rm -f core conftest.err conftest.$ac_objext \
6972 conftest$ac_exeext conftest.$ac_ext
6973 CFLAGS=$ac_wine_try_cflags_saved
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6976 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6977 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6978 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6981 case $host_cpu in
6982 *i[3456789]86* | x86_64)
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6984 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6985 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
6986 $as_echo_n "(cached) " >&6
6987 else
6988 ac_wine_try_cflags_saved=$CFLAGS
6989 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6991 /* end confdefs.h. */
6992 int main(int argc, char **argv) { return 0; }
6993 _ACEOF
6994 if ac_fn_c_try_link "$LINENO"; then :
6995 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
6996 else
6997 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
6999 rm -f core conftest.err conftest.$ac_objext \
7000 conftest$ac_exeext conftest.$ac_ext
7001 CFLAGS=$ac_wine_try_cflags_saved
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7004 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7005 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7006 case $host_os in
7007 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7008 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7009 esac
7012 # Extract the first word of "prelink", so it can be a program name with args.
7013 set dummy prelink; ac_word=$2
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7015 $as_echo_n "checking for $ac_word... " >&6; }
7016 if ${ac_cv_path_PRELINK+:} false; then :
7017 $as_echo_n "(cached) " >&6
7018 else
7019 case $PRELINK in
7020 [\\/]* | ?:[\\/]*)
7021 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
7024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7025 for as_dir in /sbin /usr/sbin $PATH
7027 IFS=$as_save_IFS
7028 test -z "$as_dir" && as_dir=.
7029 for ac_exec_ext in '' $ac_executable_extensions; do
7030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7031 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
7032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7033 break 2
7035 done
7036 done
7037 IFS=$as_save_IFS
7039 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7041 esac
7043 PRELINK=$ac_cv_path_PRELINK
7044 if test -n "$PRELINK"; then
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7046 $as_echo "$PRELINK" >&6; }
7047 else
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7049 $as_echo "no" >&6; }
7053 if test "x$PRELINK" = xfalse
7054 then
7055 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7058 esac
7060 else
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7062 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7063 if ${ac_cv_c_dll_unixware+:} false; then :
7064 $as_echo_n "(cached) " >&6
7065 else
7066 ac_wine_try_cflags_saved=$CFLAGS
7067 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7069 /* end confdefs.h. */
7070 void myfunc() {}
7071 _ACEOF
7072 if ac_fn_c_try_link "$LINENO"; then :
7073 ac_cv_c_dll_unixware="yes"
7074 else
7075 ac_cv_c_dll_unixware="no"
7077 rm -f core conftest.err conftest.$ac_objext \
7078 conftest$ac_exeext conftest.$ac_ext
7079 CFLAGS=$ac_wine_try_cflags_saved
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7082 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7083 if test "$ac_cv_c_dll_unixware" = "yes"
7084 then
7085 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7086 LDDLLFLAGS="-Wl,-G,-B,symbolic"
7088 else
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7090 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7091 if ${ac_cv_c_dll_hpux+:} false; then :
7092 $as_echo_n "(cached) " >&6
7093 else
7094 ac_wine_try_cflags_saved=$CFLAGS
7095 CFLAGS="$CFLAGS -shared"
7096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7097 /* end confdefs.h. */
7098 void myfunc() {}
7099 _ACEOF
7100 if ac_fn_c_try_link "$LINENO"; then :
7101 ac_cv_c_dll_hpux="yes"
7102 else
7103 ac_cv_c_dll_hpux="no"
7105 rm -f core conftest.err conftest.$ac_objext \
7106 conftest$ac_exeext conftest.$ac_ext
7107 CFLAGS=$ac_wine_try_cflags_saved
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7110 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7111 if test "$ac_cv_c_dll_hpux" = "yes"
7112 then
7113 LIBEXT="sl"
7114 DLLEXT=".sl"
7115 LDDLLFLAGS="-shared -fPIC"
7116 LDSHARED="\$(CC) -shared"
7121 esac
7123 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
7124 enable_winequartz_drv=${enable_winequartz_drv:-no}
7126 if test "$LIBEXT" = "a"; then
7127 as_fn_error $? "could not find a way to build shared libraries.
7128 It is currently not possible to build Wine without shared library
7129 (.so) support to allow transparent switch between .so and .dll files.
7130 If you are using Linux, you will need a newer binutils.
7131 " "$LINENO" 5
7134 CROSSTEST_DISABLE=\#
7136 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
7137 then
7138 case "$host_cpu" in
7139 i[3456789]86*)
7140 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
7141 mingw32-gcc" ;;
7142 x86_64)
7143 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 " ;;
7145 ac_prefix_list="" ;;
7146 esac
7147 for ac_prog in $ac_prefix_list
7149 # Extract the first word of "$ac_prog", so it can be a program name with args.
7150 set dummy $ac_prog; ac_word=$2
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7152 $as_echo_n "checking for $ac_word... " >&6; }
7153 if ${ac_cv_prog_CROSSCC+:} false; then :
7154 $as_echo_n "(cached) " >&6
7155 else
7156 if test -n "$CROSSCC"; then
7157 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7158 else
7159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7160 for as_dir in $PATH
7162 IFS=$as_save_IFS
7163 test -z "$as_dir" && as_dir=.
7164 for ac_exec_ext in '' $ac_executable_extensions; do
7165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7166 ac_cv_prog_CROSSCC="$ac_prog"
7167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7168 break 2
7170 done
7171 done
7172 IFS=$as_save_IFS
7176 CROSSCC=$ac_cv_prog_CROSSCC
7177 if test -n "$CROSSCC"; then
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7179 $as_echo "$CROSSCC" >&6; }
7180 else
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7182 $as_echo "no" >&6; }
7186 test -n "$CROSSCC" && break
7187 done
7188 test -n "$CROSSCC" || CROSSCC="false"
7190 if test "$CROSSCC" != "false"
7191 then
7192 ac_save_CC="$CC"
7193 CC="$CROSSCC"
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7195 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7197 /* end confdefs.h. */
7200 main ()
7204 return 0;
7206 _ACEOF
7207 if ac_fn_c_try_compile "$LINENO"; then :
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7209 $as_echo "yes" >&6; }
7210 set x $CROSSCC
7211 shift
7212 target=""
7213 while test $# -ge 1
7215 case "$1" in
7216 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7217 esac
7218 shift
7219 done
7220 if test -n "$target"
7221 then
7222 CROSSTEST_DISABLE=""
7223 CROSSTARGET="$target"
7226 else
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7228 $as_echo "no" >&6; }
7230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7231 CC="$ac_save_CC"
7236 if test "$ac_cv_header_pthread_h" = "yes"
7237 then
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7239 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7240 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7241 $as_echo_n "(cached) " >&6
7242 else
7243 ac_check_lib_save_LIBS=$LIBS
7244 LIBS="-lpthread $LIBS"
7245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7246 /* end confdefs.h. */
7248 /* Override any GCC internal prototype to avoid an error.
7249 Use char because int might match the return type of a GCC
7250 builtin and then its argument prototype would still apply. */
7251 #ifdef __cplusplus
7252 extern "C"
7253 #endif
7254 char pthread_create ();
7256 main ()
7258 return pthread_create ();
7260 return 0;
7262 _ACEOF
7263 if ac_fn_c_try_link "$LINENO"; then :
7264 ac_cv_lib_pthread_pthread_create=yes
7265 else
7266 ac_cv_lib_pthread_pthread_create=no
7268 rm -f core conftest.err conftest.$ac_objext \
7269 conftest$ac_exeext conftest.$ac_ext
7270 LIBS=$ac_check_lib_save_LIBS
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7273 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7274 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7275 LIBPTHREAD="-lpthread"
7280 if test "x$LIBPTHREAD" = "x"; then :
7281 case "x$with_pthread" in
7282 xno) ;;
7283 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7284 Wine cannot support threads without libpthread.
7285 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7286 esac
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7291 $as_echo_n "checking for X... " >&6; }
7294 # Check whether --with-x was given.
7295 if test "${with_x+set}" = set; then :
7296 withval=$with_x;
7299 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7300 if test "x$with_x" = xno; then
7301 # The user explicitly disabled X.
7302 have_x=disabled
7303 else
7304 case $x_includes,$x_libraries in #(
7305 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7306 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7307 $as_echo_n "(cached) " >&6
7308 else
7309 # One or both of the vars are not set, and there is no cached value.
7310 ac_x_includes=no ac_x_libraries=no
7311 rm -f -r conftest.dir
7312 if mkdir conftest.dir; then
7313 cd conftest.dir
7314 cat >Imakefile <<'_ACEOF'
7315 incroot:
7316 @echo incroot='${INCROOT}'
7317 usrlibdir:
7318 @echo usrlibdir='${USRLIBDIR}'
7319 libdir:
7320 @echo libdir='${LIBDIR}'
7321 _ACEOF
7322 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7323 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7324 for ac_var in incroot usrlibdir libdir; do
7325 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7326 done
7327 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7328 for ac_extension in a so sl dylib la dll; do
7329 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7330 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7331 ac_im_usrlibdir=$ac_im_libdir; break
7333 done
7334 # Screen out bogus values from the imake configuration. They are
7335 # bogus both because they are the default anyway, and because
7336 # using them would break gcc on systems where it needs fixed includes.
7337 case $ac_im_incroot in
7338 /usr/include) ac_x_includes= ;;
7339 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7340 esac
7341 case $ac_im_usrlibdir in
7342 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7343 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7344 esac
7346 cd ..
7347 rm -f -r conftest.dir
7350 # Standard set of common directories for X headers.
7351 # Check X11 before X11Rn because it is often a symlink to the current release.
7352 ac_x_header_dirs='
7353 /usr/X11/include
7354 /usr/X11R7/include
7355 /usr/X11R6/include
7356 /usr/X11R5/include
7357 /usr/X11R4/include
7359 /usr/include/X11
7360 /usr/include/X11R7
7361 /usr/include/X11R6
7362 /usr/include/X11R5
7363 /usr/include/X11R4
7365 /usr/local/X11/include
7366 /usr/local/X11R7/include
7367 /usr/local/X11R6/include
7368 /usr/local/X11R5/include
7369 /usr/local/X11R4/include
7371 /usr/local/include/X11
7372 /usr/local/include/X11R7
7373 /usr/local/include/X11R6
7374 /usr/local/include/X11R5
7375 /usr/local/include/X11R4
7377 /usr/X386/include
7378 /usr/x386/include
7379 /usr/XFree86/include/X11
7381 /usr/include
7382 /usr/local/include
7383 /usr/unsupported/include
7384 /usr/athena/include
7385 /usr/local/x11r5/include
7386 /usr/lpp/Xamples/include
7388 /usr/openwin/include
7389 /usr/openwin/share/include'
7391 if test "$ac_x_includes" = no; then
7392 # Guess where to find include files, by looking for Xlib.h.
7393 # First, try using that file with no special directory specified.
7394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7395 /* end confdefs.h. */
7396 #include <X11/Xlib.h>
7397 _ACEOF
7398 if ac_fn_c_try_cpp "$LINENO"; then :
7399 # We can compile using X headers with no special include directory.
7400 ac_x_includes=
7401 else
7402 for ac_dir in $ac_x_header_dirs; do
7403 if test -r "$ac_dir/X11/Xlib.h"; then
7404 ac_x_includes=$ac_dir
7405 break
7407 done
7409 rm -f conftest.err conftest.i conftest.$ac_ext
7410 fi # $ac_x_includes = no
7412 if test "$ac_x_libraries" = no; then
7413 # Check for the libraries.
7414 # See if we find them without any special options.
7415 # Don't add to $LIBS permanently.
7416 ac_save_LIBS=$LIBS
7417 LIBS="-lX11 $LIBS"
7418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7419 /* end confdefs.h. */
7420 #include <X11/Xlib.h>
7422 main ()
7424 XrmInitialize ()
7426 return 0;
7428 _ACEOF
7429 if ac_fn_c_try_link "$LINENO"; then :
7430 LIBS=$ac_save_LIBS
7431 # We can link X programs with no special library path.
7432 ac_x_libraries=
7433 else
7434 LIBS=$ac_save_LIBS
7435 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7437 # Don't even attempt the hair of trying to link an X program!
7438 for ac_extension in a so sl dylib la dll; do
7439 if test -r "$ac_dir/libX11.$ac_extension"; then
7440 ac_x_libraries=$ac_dir
7441 break 2
7443 done
7444 done
7446 rm -f core conftest.err conftest.$ac_objext \
7447 conftest$ac_exeext conftest.$ac_ext
7448 fi # $ac_x_libraries = no
7450 case $ac_x_includes,$ac_x_libraries in #(
7451 no,* | *,no | *\'*)
7452 # Didn't find X, or a directory has "'" in its name.
7453 ac_cv_have_x="have_x=no";; #(
7455 # Record where we found X for the cache.
7456 ac_cv_have_x="have_x=yes\
7457 ac_x_includes='$ac_x_includes'\
7458 ac_x_libraries='$ac_x_libraries'"
7459 esac
7461 ;; #(
7462 *) have_x=yes;;
7463 esac
7464 eval "$ac_cv_have_x"
7465 fi # $with_x != no
7467 if test "$have_x" != yes; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7469 $as_echo "$have_x" >&6; }
7470 no_x=yes
7471 else
7472 # If each of the values was on the command line, it overrides each guess.
7473 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7474 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7475 # Update the cache value to reflect the command line values.
7476 ac_cv_have_x="have_x=yes\
7477 ac_x_includes='$x_includes'\
7478 ac_x_libraries='$x_libraries'"
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7480 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7483 if test "$no_x" = yes; then
7484 # Not all programs may use this symbol, but it does not hurt to define it.
7486 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7488 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7489 else
7490 if test -n "$x_includes"; then
7491 X_CFLAGS="$X_CFLAGS -I$x_includes"
7494 # It would also be nice to do this for all -L options, not just this one.
7495 if test -n "$x_libraries"; then
7496 X_LIBS="$X_LIBS -L$x_libraries"
7497 # For Solaris; some versions of Sun CC require a space after -R and
7498 # others require no space. Words are not sufficient . . . .
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7500 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7501 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7502 ac_xsave_c_werror_flag=$ac_c_werror_flag
7503 ac_c_werror_flag=yes
7504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7505 /* end confdefs.h. */
7508 main ()
7512 return 0;
7514 _ACEOF
7515 if ac_fn_c_try_link "$LINENO"; then :
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7517 $as_echo "no" >&6; }
7518 X_LIBS="$X_LIBS -R$x_libraries"
7519 else
7520 LIBS="$ac_xsave_LIBS -R $x_libraries"
7521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7522 /* end confdefs.h. */
7525 main ()
7529 return 0;
7531 _ACEOF
7532 if ac_fn_c_try_link "$LINENO"; then :
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7534 $as_echo "yes" >&6; }
7535 X_LIBS="$X_LIBS -R $x_libraries"
7536 else
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7538 $as_echo "neither works" >&6; }
7540 rm -f core conftest.err conftest.$ac_objext \
7541 conftest$ac_exeext conftest.$ac_ext
7543 rm -f core conftest.err conftest.$ac_objext \
7544 conftest$ac_exeext conftest.$ac_ext
7545 ac_c_werror_flag=$ac_xsave_c_werror_flag
7546 LIBS=$ac_xsave_LIBS
7549 # Check for system-dependent libraries X programs must link with.
7550 # Do this before checking for the system-independent R6 libraries
7551 # (-lICE), since we may need -lsocket or whatever for X linking.
7553 if test "$ISC" = yes; then
7554 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7555 else
7556 # Martyn Johnson says this is needed for Ultrix, if the X
7557 # libraries were built with DECnet support. And Karl Berry says
7558 # the Alpha needs dnet_stub (dnet does not exist).
7559 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7561 /* end confdefs.h. */
7563 /* Override any GCC internal prototype to avoid an error.
7564 Use char because int might match the return type of a GCC
7565 builtin and then its argument prototype would still apply. */
7566 #ifdef __cplusplus
7567 extern "C"
7568 #endif
7569 char XOpenDisplay ();
7571 main ()
7573 return XOpenDisplay ();
7575 return 0;
7577 _ACEOF
7578 if ac_fn_c_try_link "$LINENO"; then :
7580 else
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7582 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7583 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
7584 $as_echo_n "(cached) " >&6
7585 else
7586 ac_check_lib_save_LIBS=$LIBS
7587 LIBS="-ldnet $LIBS"
7588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7589 /* end confdefs.h. */
7591 /* Override any GCC internal prototype to avoid an error.
7592 Use char because int might match the return type of a GCC
7593 builtin and then its argument prototype would still apply. */
7594 #ifdef __cplusplus
7595 extern "C"
7596 #endif
7597 char dnet_ntoa ();
7599 main ()
7601 return dnet_ntoa ();
7603 return 0;
7605 _ACEOF
7606 if ac_fn_c_try_link "$LINENO"; then :
7607 ac_cv_lib_dnet_dnet_ntoa=yes
7608 else
7609 ac_cv_lib_dnet_dnet_ntoa=no
7611 rm -f core conftest.err conftest.$ac_objext \
7612 conftest$ac_exeext conftest.$ac_ext
7613 LIBS=$ac_check_lib_save_LIBS
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7616 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7617 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
7618 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7621 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7623 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7624 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
7625 $as_echo_n "(cached) " >&6
7626 else
7627 ac_check_lib_save_LIBS=$LIBS
7628 LIBS="-ldnet_stub $LIBS"
7629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7630 /* end confdefs.h. */
7632 /* Override any GCC internal prototype to avoid an error.
7633 Use char because int might match the return type of a GCC
7634 builtin and then its argument prototype would still apply. */
7635 #ifdef __cplusplus
7636 extern "C"
7637 #endif
7638 char dnet_ntoa ();
7640 main ()
7642 return dnet_ntoa ();
7644 return 0;
7646 _ACEOF
7647 if ac_fn_c_try_link "$LINENO"; then :
7648 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7649 else
7650 ac_cv_lib_dnet_stub_dnet_ntoa=no
7652 rm -f core conftest.err conftest.$ac_objext \
7653 conftest$ac_exeext conftest.$ac_ext
7654 LIBS=$ac_check_lib_save_LIBS
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7657 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7658 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
7659 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7664 rm -f core conftest.err conftest.$ac_objext \
7665 conftest$ac_exeext conftest.$ac_ext
7666 LIBS="$ac_xsave_LIBS"
7668 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7669 # to get the SysV transport functions.
7670 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7671 # needs -lnsl.
7672 # The nsl library prevents programs from opening the X display
7673 # on Irix 5.2, according to T.E. Dickey.
7674 # The functions gethostbyname, getservbyname, and inet_addr are
7675 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7676 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7677 if test "x$ac_cv_func_gethostbyname" = xyes; then :
7681 if test $ac_cv_func_gethostbyname = no; then
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7683 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7684 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7685 $as_echo_n "(cached) " >&6
7686 else
7687 ac_check_lib_save_LIBS=$LIBS
7688 LIBS="-lnsl $LIBS"
7689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7690 /* end confdefs.h. */
7692 /* Override any GCC internal prototype to avoid an error.
7693 Use char because int might match the return type of a GCC
7694 builtin and then its argument prototype would still apply. */
7695 #ifdef __cplusplus
7696 extern "C"
7697 #endif
7698 char gethostbyname ();
7700 main ()
7702 return gethostbyname ();
7704 return 0;
7706 _ACEOF
7707 if ac_fn_c_try_link "$LINENO"; then :
7708 ac_cv_lib_nsl_gethostbyname=yes
7709 else
7710 ac_cv_lib_nsl_gethostbyname=no
7712 rm -f core conftest.err conftest.$ac_objext \
7713 conftest$ac_exeext conftest.$ac_ext
7714 LIBS=$ac_check_lib_save_LIBS
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7717 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7718 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7719 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7722 if test $ac_cv_lib_nsl_gethostbyname = no; then
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7724 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7725 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
7726 $as_echo_n "(cached) " >&6
7727 else
7728 ac_check_lib_save_LIBS=$LIBS
7729 LIBS="-lbsd $LIBS"
7730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7731 /* end confdefs.h. */
7733 /* Override any GCC internal prototype to avoid an error.
7734 Use char because int might match the return type of a GCC
7735 builtin and then its argument prototype would still apply. */
7736 #ifdef __cplusplus
7737 extern "C"
7738 #endif
7739 char gethostbyname ();
7741 main ()
7743 return gethostbyname ();
7745 return 0;
7747 _ACEOF
7748 if ac_fn_c_try_link "$LINENO"; then :
7749 ac_cv_lib_bsd_gethostbyname=yes
7750 else
7751 ac_cv_lib_bsd_gethostbyname=no
7753 rm -f core conftest.err conftest.$ac_objext \
7754 conftest$ac_exeext conftest.$ac_ext
7755 LIBS=$ac_check_lib_save_LIBS
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7758 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7759 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
7760 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7766 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7767 # socket/setsockopt and other routines are undefined under SCO ODT
7768 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7769 # on later versions), says Simon Leinen: it contains gethostby*
7770 # variants that don't use the name server (or something). -lsocket
7771 # must be given before -lnsl if both are needed. We assume that
7772 # if connect needs -lnsl, so does gethostbyname.
7773 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
7774 if test "x$ac_cv_func_connect" = xyes; then :
7778 if test $ac_cv_func_connect = no; then
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7780 $as_echo_n "checking for connect in -lsocket... " >&6; }
7781 if ${ac_cv_lib_socket_connect+:} false; then :
7782 $as_echo_n "(cached) " >&6
7783 else
7784 ac_check_lib_save_LIBS=$LIBS
7785 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7787 /* end confdefs.h. */
7789 /* Override any GCC internal prototype to avoid an error.
7790 Use char because int might match the return type of a GCC
7791 builtin and then its argument prototype would still apply. */
7792 #ifdef __cplusplus
7793 extern "C"
7794 #endif
7795 char connect ();
7797 main ()
7799 return connect ();
7801 return 0;
7803 _ACEOF
7804 if ac_fn_c_try_link "$LINENO"; then :
7805 ac_cv_lib_socket_connect=yes
7806 else
7807 ac_cv_lib_socket_connect=no
7809 rm -f core conftest.err conftest.$ac_objext \
7810 conftest$ac_exeext conftest.$ac_ext
7811 LIBS=$ac_check_lib_save_LIBS
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7814 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7815 if test "x$ac_cv_lib_socket_connect" = xyes; then :
7816 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7821 # Guillermo Gomez says -lposix is necessary on A/UX.
7822 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
7823 if test "x$ac_cv_func_remove" = xyes; then :
7827 if test $ac_cv_func_remove = no; then
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7829 $as_echo_n "checking for remove in -lposix... " >&6; }
7830 if ${ac_cv_lib_posix_remove+:} false; then :
7831 $as_echo_n "(cached) " >&6
7832 else
7833 ac_check_lib_save_LIBS=$LIBS
7834 LIBS="-lposix $LIBS"
7835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7836 /* end confdefs.h. */
7838 /* Override any GCC internal prototype to avoid an error.
7839 Use char because int might match the return type of a GCC
7840 builtin and then its argument prototype would still apply. */
7841 #ifdef __cplusplus
7842 extern "C"
7843 #endif
7844 char remove ();
7846 main ()
7848 return remove ();
7850 return 0;
7852 _ACEOF
7853 if ac_fn_c_try_link "$LINENO"; then :
7854 ac_cv_lib_posix_remove=yes
7855 else
7856 ac_cv_lib_posix_remove=no
7858 rm -f core conftest.err conftest.$ac_objext \
7859 conftest$ac_exeext conftest.$ac_ext
7860 LIBS=$ac_check_lib_save_LIBS
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7863 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7864 if test "x$ac_cv_lib_posix_remove" = xyes; then :
7865 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7870 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7871 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
7872 if test "x$ac_cv_func_shmat" = xyes; then :
7876 if test $ac_cv_func_shmat = no; then
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7878 $as_echo_n "checking for shmat in -lipc... " >&6; }
7879 if ${ac_cv_lib_ipc_shmat+:} false; then :
7880 $as_echo_n "(cached) " >&6
7881 else
7882 ac_check_lib_save_LIBS=$LIBS
7883 LIBS="-lipc $LIBS"
7884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7885 /* end confdefs.h. */
7887 /* Override any GCC internal prototype to avoid an error.
7888 Use char because int might match the return type of a GCC
7889 builtin and then its argument prototype would still apply. */
7890 #ifdef __cplusplus
7891 extern "C"
7892 #endif
7893 char shmat ();
7895 main ()
7897 return shmat ();
7899 return 0;
7901 _ACEOF
7902 if ac_fn_c_try_link "$LINENO"; then :
7903 ac_cv_lib_ipc_shmat=yes
7904 else
7905 ac_cv_lib_ipc_shmat=no
7907 rm -f core conftest.err conftest.$ac_objext \
7908 conftest$ac_exeext conftest.$ac_ext
7909 LIBS=$ac_check_lib_save_LIBS
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7912 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7913 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
7914 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
7920 # Check for libraries that X11R6 Xt/Xaw programs need.
7921 ac_save_LDFLAGS=$LDFLAGS
7922 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
7923 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7924 # check for ICE first), but we must link in the order -lSM -lICE or
7925 # we get undefined symbols. So assume we have SM if we have ICE.
7926 # These have to be linked with before -lX11, unlike the other
7927 # libraries we check for below, so use a different variable.
7928 # John Interrante, Karl Berry
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7930 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7931 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
7932 $as_echo_n "(cached) " >&6
7933 else
7934 ac_check_lib_save_LIBS=$LIBS
7935 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
7936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7937 /* end confdefs.h. */
7939 /* Override any GCC internal prototype to avoid an error.
7940 Use char because int might match the return type of a GCC
7941 builtin and then its argument prototype would still apply. */
7942 #ifdef __cplusplus
7943 extern "C"
7944 #endif
7945 char IceConnectionNumber ();
7947 main ()
7949 return IceConnectionNumber ();
7951 return 0;
7953 _ACEOF
7954 if ac_fn_c_try_link "$LINENO"; then :
7955 ac_cv_lib_ICE_IceConnectionNumber=yes
7956 else
7957 ac_cv_lib_ICE_IceConnectionNumber=no
7959 rm -f core conftest.err conftest.$ac_objext \
7960 conftest$ac_exeext conftest.$ac_ext
7961 LIBS=$ac_check_lib_save_LIBS
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7964 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7965 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
7966 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7969 LDFLAGS=$ac_save_LDFLAGS
7974 if test "$have_x" = "yes"
7975 then
7976 XLIB="-lX11"
7977 ac_save_CPPFLAGS="$CPPFLAGS"
7978 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7981 $as_echo_n "checking for -lX11... " >&6; }
7982 if ${ac_cv_lib_soname_X11+:} false; then :
7983 $as_echo_n "(cached) " >&6
7984 else
7985 ac_check_soname_save_LIBS=$LIBS
7986 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7988 /* end confdefs.h. */
7990 /* Override any GCC internal prototype to avoid an error.
7991 Use char because int might match the return type of a GCC
7992 builtin and then its argument prototype would still apply. */
7993 #ifdef __cplusplus
7994 extern "C"
7995 #endif
7996 char XCreateWindow ();
7998 main ()
8000 return XCreateWindow ();
8002 return 0;
8004 _ACEOF
8005 if ac_fn_c_try_link "$LINENO"; then :
8006 case "$LIBEXT" in
8007 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8008 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'` ;;
8009 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8010 esac
8012 rm -f core conftest.err conftest.$ac_objext \
8013 conftest$ac_exeext conftest.$ac_ext
8014 LIBS=$ac_check_soname_save_LIBS
8016 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8018 $as_echo "not found" >&6; }
8020 else
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8022 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8024 cat >>confdefs.h <<_ACEOF
8025 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8026 _ACEOF
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8031 $as_echo_n "checking for -lXext... " >&6; }
8032 if ${ac_cv_lib_soname_Xext+:} false; then :
8033 $as_echo_n "(cached) " >&6
8034 else
8035 ac_check_soname_save_LIBS=$LIBS
8036 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8038 /* end confdefs.h. */
8040 /* Override any GCC internal prototype to avoid an error.
8041 Use char because int might match the return type of a GCC
8042 builtin and then its argument prototype would still apply. */
8043 #ifdef __cplusplus
8044 extern "C"
8045 #endif
8046 char XextCreateExtension ();
8048 main ()
8050 return XextCreateExtension ();
8052 return 0;
8054 _ACEOF
8055 if ac_fn_c_try_link "$LINENO"; then :
8056 case "$LIBEXT" in
8057 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8058 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'` ;;
8059 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8060 esac
8062 rm -f core conftest.err conftest.$ac_objext \
8063 conftest$ac_exeext conftest.$ac_ext
8064 LIBS=$ac_check_soname_save_LIBS
8066 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8068 $as_echo "not found" >&6; }
8070 else
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8072 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8074 cat >>confdefs.h <<_ACEOF
8075 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8076 _ACEOF
8078 XLIB="-lXext $XLIB"
8081 for ac_header in X11/Xlib.h \
8082 X11/XKBlib.h \
8083 X11/Xutil.h \
8084 X11/Xcursor/Xcursor.h \
8085 X11/extensions/shape.h \
8086 X11/extensions/XInput.h \
8087 X11/extensions/XInput2.h \
8088 X11/extensions/Xcomposite.h \
8089 X11/extensions/Xinerama.h \
8090 X11/extensions/Xrandr.h \
8091 X11/extensions/Xrender.h \
8092 X11/extensions/xf86vmode.h \
8093 X11/extensions/xf86vmproto.h
8094 do :
8095 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8096 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8097 # include <X11/Xlib.h>
8098 #endif
8099 #ifdef HAVE_X11_XUTIL_H
8100 # include <X11/Xutil.h>
8101 #endif
8103 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8104 cat >>confdefs.h <<_ACEOF
8105 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8106 _ACEOF
8110 done
8113 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8114 then
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8116 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8117 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
8118 $as_echo_n "(cached) " >&6
8119 else
8120 ac_check_lib_save_LIBS=$LIBS
8121 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8123 /* end confdefs.h. */
8125 /* Override any GCC internal prototype to avoid an error.
8126 Use char because int might match the return type of a GCC
8127 builtin and then its argument prototype would still apply. */
8128 #ifdef __cplusplus
8129 extern "C"
8130 #endif
8131 char XkbQueryExtension ();
8133 main ()
8135 return XkbQueryExtension ();
8137 return 0;
8139 _ACEOF
8140 if ac_fn_c_try_link "$LINENO"; then :
8141 ac_cv_lib_X11_XkbQueryExtension=yes
8142 else
8143 ac_cv_lib_X11_XkbQueryExtension=no
8145 rm -f core conftest.err conftest.$ac_objext \
8146 conftest$ac_exeext conftest.$ac_ext
8147 LIBS=$ac_check_lib_save_LIBS
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8150 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8151 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
8153 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8159 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8160 then
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8162 $as_echo_n "checking for -lXcursor... " >&6; }
8163 if ${ac_cv_lib_soname_Xcursor+:} false; then :
8164 $as_echo_n "(cached) " >&6
8165 else
8166 ac_check_soname_save_LIBS=$LIBS
8167 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8169 /* end confdefs.h. */
8171 /* Override any GCC internal prototype to avoid an error.
8172 Use char because int might match the return type of a GCC
8173 builtin and then its argument prototype would still apply. */
8174 #ifdef __cplusplus
8175 extern "C"
8176 #endif
8177 char XcursorImageLoadCursor ();
8179 main ()
8181 return XcursorImageLoadCursor ();
8183 return 0;
8185 _ACEOF
8186 if ac_fn_c_try_link "$LINENO"; then :
8187 case "$LIBEXT" in
8188 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8189 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'` ;;
8190 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8191 esac
8193 rm -f core conftest.err conftest.$ac_objext \
8194 conftest$ac_exeext conftest.$ac_ext
8195 LIBS=$ac_check_soname_save_LIBS
8197 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8199 $as_echo "not found" >&6; }
8201 else
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8203 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8205 cat >>confdefs.h <<_ACEOF
8206 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8207 _ACEOF
8212 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8213 case "x$with_xcursor" in
8214 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8215 xno) ;;
8216 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8217 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8218 esac
8221 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8222 then
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8224 $as_echo_n "checking for -lXi... " >&6; }
8225 if ${ac_cv_lib_soname_Xi+:} false; then :
8226 $as_echo_n "(cached) " >&6
8227 else
8228 ac_check_soname_save_LIBS=$LIBS
8229 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8231 /* end confdefs.h. */
8233 /* Override any GCC internal prototype to avoid an error.
8234 Use char because int might match the return type of a GCC
8235 builtin and then its argument prototype would still apply. */
8236 #ifdef __cplusplus
8237 extern "C"
8238 #endif
8239 char XOpenDevice ();
8241 main ()
8243 return XOpenDevice ();
8245 return 0;
8247 _ACEOF
8248 if ac_fn_c_try_link "$LINENO"; then :
8249 case "$LIBEXT" in
8250 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8251 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'` ;;
8252 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8253 esac
8255 rm -f core conftest.err conftest.$ac_objext \
8256 conftest$ac_exeext conftest.$ac_ext
8257 LIBS=$ac_check_soname_save_LIBS
8259 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8261 $as_echo "not found" >&6; }
8263 else
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8265 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8267 cat >>confdefs.h <<_ACEOF
8268 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8269 _ACEOF
8274 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8275 case "x$with_xinput" in
8276 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8277 xno) ;;
8278 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8279 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8280 esac
8283 if test "x$ac_cv_lib_soname_Xi" != x
8284 then
8285 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8286 case "x$with_xinput2" in
8287 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8288 xno) ;;
8289 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
8290 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8291 esac
8295 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8296 then
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8298 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8299 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
8300 $as_echo_n "(cached) " >&6
8301 else
8302 ac_check_lib_save_LIBS=$LIBS
8303 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8305 /* end confdefs.h. */
8307 /* Override any GCC internal prototype to avoid an error.
8308 Use char because int might match the return type of a GCC
8309 builtin and then its argument prototype would still apply. */
8310 #ifdef __cplusplus
8311 extern "C"
8312 #endif
8313 char XShapeQueryExtension ();
8315 main ()
8317 return XShapeQueryExtension ();
8319 return 0;
8321 _ACEOF
8322 if ac_fn_c_try_link "$LINENO"; then :
8323 ac_cv_lib_Xext_XShapeQueryExtension=yes
8324 else
8325 ac_cv_lib_Xext_XShapeQueryExtension=no
8327 rm -f core conftest.err conftest.$ac_objext \
8328 conftest$ac_exeext conftest.$ac_ext
8329 LIBS=$ac_check_lib_save_LIBS
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8332 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8333 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
8335 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8340 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8341 case "x$with_xshape" in
8342 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8343 xno) ;;
8344 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8345 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8346 esac
8349 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8350 then
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8352 $as_echo_n "checking for -lXxf86vm... " >&6; }
8353 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
8354 $as_echo_n "(cached) " >&6
8355 else
8356 ac_check_soname_save_LIBS=$LIBS
8357 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8359 /* end confdefs.h. */
8361 /* Override any GCC internal prototype to avoid an error.
8362 Use char because int might match the return type of a GCC
8363 builtin and then its argument prototype would still apply. */
8364 #ifdef __cplusplus
8365 extern "C"
8366 #endif
8367 char XF86VidModeQueryExtension ();
8369 main ()
8371 return XF86VidModeQueryExtension ();
8373 return 0;
8375 _ACEOF
8376 if ac_fn_c_try_link "$LINENO"; then :
8377 case "$LIBEXT" in
8378 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8379 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'` ;;
8380 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8381 esac
8383 rm -f core conftest.err conftest.$ac_objext \
8384 conftest$ac_exeext conftest.$ac_ext
8385 LIBS=$ac_check_soname_save_LIBS
8387 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8389 $as_echo "not found" >&6; }
8391 else
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8393 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8395 cat >>confdefs.h <<_ACEOF
8396 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8397 _ACEOF
8402 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8403 case "x$with_xxf86vm" in
8404 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8405 xno) ;;
8406 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8407 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8408 esac
8411 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"
8412 then
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8414 $as_echo_n "checking for -lXrender... " >&6; }
8415 if ${ac_cv_lib_soname_Xrender+:} false; then :
8416 $as_echo_n "(cached) " >&6
8417 else
8418 ac_check_soname_save_LIBS=$LIBS
8419 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8421 /* end confdefs.h. */
8423 /* Override any GCC internal prototype to avoid an error.
8424 Use char because int might match the return type of a GCC
8425 builtin and then its argument prototype would still apply. */
8426 #ifdef __cplusplus
8427 extern "C"
8428 #endif
8429 char XRenderQueryExtension ();
8431 main ()
8433 return XRenderQueryExtension ();
8435 return 0;
8437 _ACEOF
8438 if ac_fn_c_try_link "$LINENO"; then :
8439 case "$LIBEXT" in
8440 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8441 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'` ;;
8442 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8443 esac
8445 rm -f core conftest.err conftest.$ac_objext \
8446 conftest$ac_exeext conftest.$ac_ext
8447 LIBS=$ac_check_soname_save_LIBS
8449 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8451 $as_echo "not found" >&6; }
8453 else
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8455 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8457 cat >>confdefs.h <<_ACEOF
8458 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8459 _ACEOF
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8462 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8463 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
8464 $as_echo_n "(cached) " >&6
8465 else
8466 ac_check_lib_save_LIBS=$LIBS
8467 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8469 /* end confdefs.h. */
8471 /* Override any GCC internal prototype to avoid an error.
8472 Use char because int might match the return type of a GCC
8473 builtin and then its argument prototype would still apply. */
8474 #ifdef __cplusplus
8475 extern "C"
8476 #endif
8477 char XRenderSetPictureTransform ();
8479 main ()
8481 return XRenderSetPictureTransform ();
8483 return 0;
8485 _ACEOF
8486 if ac_fn_c_try_link "$LINENO"; then :
8487 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8488 else
8489 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8491 rm -f core conftest.err conftest.$ac_objext \
8492 conftest$ac_exeext conftest.$ac_ext
8493 LIBS=$ac_check_lib_save_LIBS
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8496 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8497 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
8499 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8504 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8505 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
8506 $as_echo_n "(cached) " >&6
8507 else
8508 ac_check_lib_save_LIBS=$LIBS
8509 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8513 /* Override any GCC internal prototype to avoid an error.
8514 Use char because int might match the return type of a GCC
8515 builtin and then its argument prototype would still apply. */
8516 #ifdef __cplusplus
8517 extern "C"
8518 #endif
8519 char XRenderCreateLinearGradient ();
8521 main ()
8523 return XRenderCreateLinearGradient ();
8525 return 0;
8527 _ACEOF
8528 if ac_fn_c_try_link "$LINENO"; then :
8529 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
8530 else
8531 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
8533 rm -f core conftest.err conftest.$ac_objext \
8534 conftest$ac_exeext conftest.$ac_ext
8535 LIBS=$ac_check_lib_save_LIBS
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8538 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8539 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
8541 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8548 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8549 case "x$with_xrender" in
8550 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8551 xno) ;;
8552 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
8553 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8554 esac
8557 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8558 then
8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8561 #include <X11/Xlib.h>
8562 #include <X11/extensions/Xrandr.h>
8564 main ()
8566 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8568 return 0;
8570 _ACEOF
8571 if ac_fn_c_try_compile "$LINENO"; then :
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8573 $as_echo_n "checking for -lXrandr... " >&6; }
8574 if ${ac_cv_lib_soname_Xrandr+:} false; then :
8575 $as_echo_n "(cached) " >&6
8576 else
8577 ac_check_soname_save_LIBS=$LIBS
8578 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8580 /* end confdefs.h. */
8582 /* Override any GCC internal prototype to avoid an error.
8583 Use char because int might match the return type of a GCC
8584 builtin and then its argument prototype would still apply. */
8585 #ifdef __cplusplus
8586 extern "C"
8587 #endif
8588 char XRRQueryExtension ();
8590 main ()
8592 return XRRQueryExtension ();
8594 return 0;
8596 _ACEOF
8597 if ac_fn_c_try_link "$LINENO"; then :
8598 case "$LIBEXT" in
8599 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8600 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'` ;;
8601 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8602 esac
8604 rm -f core conftest.err conftest.$ac_objext \
8605 conftest$ac_exeext conftest.$ac_ext
8606 LIBS=$ac_check_soname_save_LIBS
8608 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8610 $as_echo "not found" >&6; }
8612 else
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8614 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8616 cat >>confdefs.h <<_ACEOF
8617 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8618 _ACEOF
8620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8621 /* end confdefs.h. */
8622 #include <X11/extensions/Xrandr.h>
8624 main ()
8626 static typeof(XRRGetScreenResources) *f; if (f) return 0;
8628 return 0;
8630 _ACEOF
8631 if ac_fn_c_try_compile "$LINENO"; then :
8633 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
8636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8641 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8642 case "x$with_xrandr" in
8643 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8644 xno) ;;
8645 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8646 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8647 esac
8650 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8651 then
8652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8653 /* end confdefs.h. */
8654 #include <X11/Xlib.h>
8655 #include <X11/extensions/Xinerama.h>
8657 main ()
8659 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8661 return 0;
8663 _ACEOF
8664 if ac_fn_c_try_compile "$LINENO"; then :
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8666 $as_echo_n "checking for -lXinerama... " >&6; }
8667 if ${ac_cv_lib_soname_Xinerama+:} false; then :
8668 $as_echo_n "(cached) " >&6
8669 else
8670 ac_check_soname_save_LIBS=$LIBS
8671 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8673 /* end confdefs.h. */
8675 /* Override any GCC internal prototype to avoid an error.
8676 Use char because int might match the return type of a GCC
8677 builtin and then its argument prototype would still apply. */
8678 #ifdef __cplusplus
8679 extern "C"
8680 #endif
8681 char XineramaQueryScreens ();
8683 main ()
8685 return XineramaQueryScreens ();
8687 return 0;
8689 _ACEOF
8690 if ac_fn_c_try_link "$LINENO"; then :
8691 case "$LIBEXT" in
8692 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8693 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'` ;;
8694 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8695 esac
8697 rm -f core conftest.err conftest.$ac_objext \
8698 conftest$ac_exeext conftest.$ac_ext
8699 LIBS=$ac_check_soname_save_LIBS
8701 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8703 $as_echo "not found" >&6; }
8705 else
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8707 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8709 cat >>confdefs.h <<_ACEOF
8710 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8711 _ACEOF
8716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8718 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8719 case "x$with_xinerama" in
8720 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8721 xno) ;;
8722 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8723 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8724 esac
8727 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8728 then
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8730 $as_echo_n "checking for -lXcomposite... " >&6; }
8731 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
8732 $as_echo_n "(cached) " >&6
8733 else
8734 ac_check_soname_save_LIBS=$LIBS
8735 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8737 /* end confdefs.h. */
8739 /* Override any GCC internal prototype to avoid an error.
8740 Use char because int might match the return type of a GCC
8741 builtin and then its argument prototype would still apply. */
8742 #ifdef __cplusplus
8743 extern "C"
8744 #endif
8745 char XCompositeRedirectWindow ();
8747 main ()
8749 return XCompositeRedirectWindow ();
8751 return 0;
8753 _ACEOF
8754 if ac_fn_c_try_link "$LINENO"; then :
8755 case "$LIBEXT" in
8756 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8757 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'` ;;
8758 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8759 esac
8761 rm -f core conftest.err conftest.$ac_objext \
8762 conftest$ac_exeext conftest.$ac_ext
8763 LIBS=$ac_check_soname_save_LIBS
8765 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8767 $as_echo "not found" >&6; }
8769 else
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8771 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8773 cat >>confdefs.h <<_ACEOF
8774 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8775 _ACEOF
8780 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8781 case "x$with_xcomposite" in
8782 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8783 xno) ;;
8784 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8785 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8786 esac
8789 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8790 #include <X11/Xlib.h>
8791 #endif
8793 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
8795 cat >>confdefs.h <<_ACEOF
8796 #define HAVE_XICCALLBACK_CALLBACK 1
8797 _ACEOF
8801 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
8802 #include <X11/Xlib.h>
8803 #endif
8805 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
8807 cat >>confdefs.h <<_ACEOF
8808 #define HAVE_XEVENT_XCOOKIE 1
8809 _ACEOF
8816 opengl_msg=""
8817 if test "x$with_opengl" != "xno"
8818 then
8819 for ac_header in GL/gl.h GL/glx.h GL/glu.h GL/osmesa.h
8820 do :
8821 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8822 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8823 # include <GL/glx.h>
8824 #endif
8826 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8827 cat >>confdefs.h <<_ACEOF
8828 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8829 _ACEOF
8833 done
8835 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8836 then
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8838 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8839 if ${wine_cv_opengl_header_version_OK+:} false; then :
8840 $as_echo_n "(cached) " >&6
8841 else
8842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8843 /* end confdefs.h. */
8844 #include <GL/gl.h>
8846 main ()
8848 GLenum test = GL_UNSIGNED_SHORT_5_6_5; return (test == GL_UNSIGNED_SHORT_5_6_5);
8850 return 0;
8852 _ACEOF
8853 if ac_fn_c_try_compile "$LINENO"; then :
8854 wine_cv_opengl_header_version_OK="yes"
8855 else
8856 wine_cv_opengl_header_version_OK="no"
8858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8861 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8863 if test "$wine_cv_opengl_header_version_OK" = "yes"
8864 then
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8866 $as_echo_n "checking for -lGL... " >&6; }
8867 if ${ac_cv_lib_soname_GL+:} false; then :
8868 $as_echo_n "(cached) " >&6
8869 else
8870 ac_check_soname_save_LIBS=$LIBS
8871 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8873 /* end confdefs.h. */
8875 /* Override any GCC internal prototype to avoid an error.
8876 Use char because int might match the return type of a GCC
8877 builtin and then its argument prototype would still apply. */
8878 #ifdef __cplusplus
8879 extern "C"
8880 #endif
8881 char glXCreateContext ();
8883 main ()
8885 return glXCreateContext ();
8887 return 0;
8889 _ACEOF
8890 if ac_fn_c_try_link "$LINENO"; then :
8891 case "$LIBEXT" in
8892 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8893 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'` ;;
8894 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8895 esac
8897 rm -f core conftest.err conftest.$ac_objext \
8898 conftest$ac_exeext conftest.$ac_ext
8899 LIBS=$ac_check_soname_save_LIBS
8901 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8903 $as_echo "not found" >&6; }
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8905 $as_echo_n "checking for -lGL... " >&6; }
8906 if ${ac_cv_lib_soname_GL+:} false; then :
8907 $as_echo_n "(cached) " >&6
8908 else
8909 ac_check_soname_save_LIBS=$LIBS
8910 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"
8911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8912 /* end confdefs.h. */
8914 /* Override any GCC internal prototype to avoid an error.
8915 Use char because int might match the return type of a GCC
8916 builtin and then its argument prototype would still apply. */
8917 #ifdef __cplusplus
8918 extern "C"
8919 #endif
8920 char glXCreateContext ();
8922 main ()
8924 return glXCreateContext ();
8926 return 0;
8928 _ACEOF
8929 if ac_fn_c_try_link "$LINENO"; then :
8930 case "$LIBEXT" in
8931 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8932 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'` ;;
8933 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8934 esac
8936 rm -f core conftest.err conftest.$ac_objext \
8937 conftest$ac_exeext conftest.$ac_ext
8938 LIBS=$ac_check_soname_save_LIBS
8940 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8942 $as_echo "not found" >&6; }
8943 if test -f /usr/X11R6/lib/libGL.a
8944 then
8945 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
8946 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8947 else
8948 opengl_msg="No OpenGL library found on this system."
8950 else
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8952 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8954 cat >>confdefs.h <<_ACEOF
8955 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8956 _ACEOF
8958 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"
8960 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8963 else
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8965 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8967 cat >>confdefs.h <<_ACEOF
8968 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8969 _ACEOF
8971 OPENGL_LIBS="-lGL"
8973 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8976 if test "$ac_cv_header_GL_glu_h" = "yes"
8977 then
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8979 $as_echo_n "checking for -lGLU... " >&6; }
8980 if ${ac_cv_lib_soname_GLU+:} false; then :
8981 $as_echo_n "(cached) " >&6
8982 else
8983 ac_check_soname_save_LIBS=$LIBS
8984 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8986 /* end confdefs.h. */
8988 /* Override any GCC internal prototype to avoid an error.
8989 Use char because int might match the return type of a GCC
8990 builtin and then its argument prototype would still apply. */
8991 #ifdef __cplusplus
8992 extern "C"
8993 #endif
8994 char gluLookAt ();
8996 main ()
8998 return gluLookAt ();
9000 return 0;
9002 _ACEOF
9003 if ac_fn_c_try_link "$LINENO"; then :
9004 case "$LIBEXT" in
9005 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9006 dylib) ac_cv_lib_soname_GLU=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9007 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9008 esac
9010 rm -f core conftest.err conftest.$ac_objext \
9011 conftest$ac_exeext conftest.$ac_ext
9012 LIBS=$ac_check_soname_save_LIBS
9014 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9016 $as_echo "not found" >&6; }
9018 else
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
9020 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
9022 cat >>confdefs.h <<_ACEOF
9023 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
9024 _ACEOF
9029 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
9030 case "x$with_glu" in
9031 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9032 xno) ;;
9033 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
9034 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9035 esac
9038 if test "$ac_cv_header_GL_osmesa_h" = "yes"
9039 then
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9041 $as_echo_n "checking for -lOSMesa... " >&6; }
9042 if ${ac_cv_lib_soname_OSMesa+:} false; then :
9043 $as_echo_n "(cached) " >&6
9044 else
9045 ac_check_soname_save_LIBS=$LIBS
9046 LIBS="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h. */
9050 /* Override any GCC internal prototype to avoid an error.
9051 Use char because int might match the return type of a GCC
9052 builtin and then its argument prototype would still apply. */
9053 #ifdef __cplusplus
9054 extern "C"
9055 #endif
9056 char glAccum ();
9058 main ()
9060 return glAccum ();
9062 return 0;
9064 _ACEOF
9065 if ac_fn_c_try_link "$LINENO"; then :
9066 case "$LIBEXT" in
9067 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9068 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'` ;;
9069 *) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9070 esac
9072 rm -f core conftest.err conftest.$ac_objext \
9073 conftest$ac_exeext conftest.$ac_ext
9074 LIBS=$ac_check_soname_save_LIBS
9076 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9078 $as_echo "not found" >&6; }
9080 else
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9082 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9084 cat >>confdefs.h <<_ACEOF
9085 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9086 _ACEOF
9091 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9092 case "x$with_osmesa" in
9093 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9094 xno) ;;
9095 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9096 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9097 esac
9099 else
9100 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
9102 else
9103 opengl_msg="OpenGL development headers not found."
9105 test -n "$opengl_msg" && enable_opengl32=${enable_opengl32:-no}
9106 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no}
9107 else
9108 enable_opengl32=${enable_opengl32:-no}
9109 enable_glu32=${enable_glu32:-no}
9111 if test -n "$opengl_msg"; then :
9112 case "x$with_opengl" in
9113 x) as_fn_append wine_warnings "|$opengl_msg
9114 OpenGL and Direct3D won't be supported." ;;
9115 xno) ;;
9116 *) as_fn_error $? "$opengl_msg
9117 OpenGL and Direct3D won't be supported.
9118 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9119 esac
9122 CPPFLAGS="$ac_save_CPPFLAGS"
9123 else
9124 XLIB=""
9125 X_CFLAGS=""
9126 X_LIBS=""
9127 enable_winex11_drv=${enable_winex11_drv:-no}
9128 enable_opengl32=${enable_opengl32:-no}
9129 enable_glu32=${enable_glu32:-no}
9131 if test "x$XLIB" = "x"; then :
9132 case "x$with_x" in
9133 xno) ;;
9134 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
9135 without X support, which probably isn't what you want. You will need
9136 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9137 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9138 esac
9141 if test "$ac_cv_header_CL_cl_h" = "yes"
9142 then
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9144 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9145 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
9146 $as_echo_n "(cached) " >&6
9147 else
9148 ac_check_lib_save_LIBS=$LIBS
9149 LIBS="-lOpenCL $LIBS"
9150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9151 /* end confdefs.h. */
9153 /* Override any GCC internal prototype to avoid an error.
9154 Use char because int might match the return type of a GCC
9155 builtin and then its argument prototype would still apply. */
9156 #ifdef __cplusplus
9157 extern "C"
9158 #endif
9159 char clGetPlatformInfo ();
9161 main ()
9163 return clGetPlatformInfo ();
9165 return 0;
9167 _ACEOF
9168 if ac_fn_c_try_link "$LINENO"; then :
9169 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9170 else
9171 ac_cv_lib_OpenCL_clGetPlatformInfo=no
9173 rm -f core conftest.err conftest.$ac_objext \
9174 conftest$ac_exeext conftest.$ac_ext
9175 LIBS=$ac_check_lib_save_LIBS
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9178 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9179 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
9180 LIBOPENCL="-lOpenCL"
9185 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
9186 case "x$with_opencl" in
9187 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9188 xno) ;;
9189 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9190 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9191 esac
9193 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
9196 XML2LIBS=""
9198 XML2INCL=""
9200 XSLTINCL=""
9202 if test "x$with_xml" != "xno"
9203 then
9204 ac_save_CPPFLAGS="$CPPFLAGS"
9205 if test "$PKG_CONFIG" != "false"
9206 then
9207 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9208 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9209 else
9210 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
9211 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
9213 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
9214 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
9215 do :
9216 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9217 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9218 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9219 cat >>confdefs.h <<_ACEOF
9220 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9221 _ACEOF
9225 done
9227 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"
9228 then
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9230 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9231 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
9232 $as_echo_n "(cached) " >&6
9233 else
9234 ac_check_lib_save_LIBS=$LIBS
9235 LIBS="-lxml2 $ac_xml_libs $LIBS"
9236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9237 /* end confdefs.h. */
9239 /* Override any GCC internal prototype to avoid an error.
9240 Use char because int might match the return type of a GCC
9241 builtin and then its argument prototype would still apply. */
9242 #ifdef __cplusplus
9243 extern "C"
9244 #endif
9245 char xmlParseMemory ();
9247 main ()
9249 return xmlParseMemory ();
9251 return 0;
9253 _ACEOF
9254 if ac_fn_c_try_link "$LINENO"; then :
9255 ac_cv_lib_xml2_xmlParseMemory=yes
9256 else
9257 ac_cv_lib_xml2_xmlParseMemory=no
9259 rm -f core conftest.err conftest.$ac_objext \
9260 conftest$ac_exeext conftest.$ac_ext
9261 LIBS=$ac_check_lib_save_LIBS
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9264 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9265 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
9267 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9269 XML2LIBS="$ac_xml_libs"
9270 XML2INCL="$ac_xml_cflags"
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9274 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9275 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
9276 $as_echo_n "(cached) " >&6
9277 else
9278 ac_check_lib_save_LIBS=$LIBS
9279 LIBS="-lxml2 $ac_xml_libs $LIBS"
9280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9281 /* end confdefs.h. */
9283 /* Override any GCC internal prototype to avoid an error.
9284 Use char because int might match the return type of a GCC
9285 builtin and then its argument prototype would still apply. */
9286 #ifdef __cplusplus
9287 extern "C"
9288 #endif
9289 char xmlReadMemory ();
9291 main ()
9293 return xmlReadMemory ();
9295 return 0;
9297 _ACEOF
9298 if ac_fn_c_try_link "$LINENO"; then :
9299 ac_cv_lib_xml2_xmlReadMemory=yes
9300 else
9301 ac_cv_lib_xml2_xmlReadMemory=no
9303 rm -f core conftest.err conftest.$ac_objext \
9304 conftest$ac_exeext conftest.$ac_ext
9305 LIBS=$ac_check_lib_save_LIBS
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9308 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9309 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
9311 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9316 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9317 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
9318 $as_echo_n "(cached) " >&6
9319 else
9320 ac_check_lib_save_LIBS=$LIBS
9321 LIBS="-lxml2 $ac_xml_libs $LIBS"
9322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9323 /* end confdefs.h. */
9325 /* Override any GCC internal prototype to avoid an error.
9326 Use char because int might match the return type of a GCC
9327 builtin and then its argument prototype would still apply. */
9328 #ifdef __cplusplus
9329 extern "C"
9330 #endif
9331 char xmlNewDocPI ();
9333 main ()
9335 return xmlNewDocPI ();
9337 return 0;
9339 _ACEOF
9340 if ac_fn_c_try_link "$LINENO"; then :
9341 ac_cv_lib_xml2_xmlNewDocPI=yes
9342 else
9343 ac_cv_lib_xml2_xmlNewDocPI=no
9345 rm -f core conftest.err conftest.$ac_objext \
9346 conftest$ac_exeext conftest.$ac_ext
9347 LIBS=$ac_check_lib_save_LIBS
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9350 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9351 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
9353 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9358 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9359 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
9360 $as_echo_n "(cached) " >&6
9361 else
9362 ac_check_lib_save_LIBS=$LIBS
9363 LIBS="-lxml2 $ac_xml_libs $LIBS"
9364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9365 /* end confdefs.h. */
9367 /* Override any GCC internal prototype to avoid an error.
9368 Use char because int might match the return type of a GCC
9369 builtin and then its argument prototype would still apply. */
9370 #ifdef __cplusplus
9371 extern "C"
9372 #endif
9373 char xmlSchemaSetParserStructuredErrors ();
9375 main ()
9377 return xmlSchemaSetParserStructuredErrors ();
9379 return 0;
9381 _ACEOF
9382 if ac_fn_c_try_link "$LINENO"; then :
9383 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
9384 else
9385 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
9387 rm -f core conftest.err conftest.$ac_objext \
9388 conftest$ac_exeext conftest.$ac_ext
9389 LIBS=$ac_check_lib_save_LIBS
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9392 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9393 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
9395 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9400 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9401 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
9402 $as_echo_n "(cached) " >&6
9403 else
9404 ac_check_lib_save_LIBS=$LIBS
9405 LIBS="-lxml2 $ac_xml_libs $LIBS"
9406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9407 /* end confdefs.h. */
9409 /* Override any GCC internal prototype to avoid an error.
9410 Use char because int might match the return type of a GCC
9411 builtin and then its argument prototype would still apply. */
9412 #ifdef __cplusplus
9413 extern "C"
9414 #endif
9415 char xmlSchemaSetValidStructuredErrors ();
9417 main ()
9419 return xmlSchemaSetValidStructuredErrors ();
9421 return 0;
9423 _ACEOF
9424 if ac_fn_c_try_link "$LINENO"; then :
9425 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
9426 else
9427 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
9429 rm -f core conftest.err conftest.$ac_objext \
9430 conftest$ac_exeext conftest.$ac_ext
9431 LIBS=$ac_check_lib_save_LIBS
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9434 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9435 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
9437 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9442 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9443 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
9444 $as_echo_n "(cached) " >&6
9445 else
9446 ac_check_lib_save_LIBS=$LIBS
9447 LIBS="-lxml2 $ac_xml_libs $LIBS"
9448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9449 /* end confdefs.h. */
9451 /* Override any GCC internal prototype to avoid an error.
9452 Use char because int might match the return type of a GCC
9453 builtin and then its argument prototype would still apply. */
9454 #ifdef __cplusplus
9455 extern "C"
9456 #endif
9457 char xmlFirstElementChild ();
9459 main ()
9461 return xmlFirstElementChild ();
9463 return 0;
9465 _ACEOF
9466 if ac_fn_c_try_link "$LINENO"; then :
9467 ac_cv_lib_xml2_xmlFirstElementChild=yes
9468 else
9469 ac_cv_lib_xml2_xmlFirstElementChild=no
9471 rm -f core conftest.err conftest.$ac_objext \
9472 conftest$ac_exeext conftest.$ac_ext
9473 LIBS=$ac_check_lib_save_LIBS
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9476 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9477 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
9479 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9483 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9485 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
9487 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9492 CPPFLAGS="$ac_save_CPPFLAGS"
9494 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9495 case "x$with_xml" in
9496 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9497 xno) ;;
9498 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9499 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9500 esac
9503 if test "x$with_xslt" != "xno"
9504 then
9505 if test "$PKG_CONFIG" != "false"
9506 then
9507 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9508 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9509 else
9510 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
9511 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
9513 ac_save_CPPFLAGS="$CPPFLAGS"
9514 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9515 for ac_header in libxslt/pattern.h libxslt/transform.h
9516 do :
9517 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9518 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9519 # include <libxslt/pattern.h>
9520 #endif
9522 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9523 cat >>confdefs.h <<_ACEOF
9524 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9525 _ACEOF
9529 done
9531 CPPFLAGS="$ac_save_CPPFLAGS"
9532 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9533 then
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9535 $as_echo_n "checking for -lxslt... " >&6; }
9536 if ${ac_cv_lib_soname_xslt+:} false; then :
9537 $as_echo_n "(cached) " >&6
9538 else
9539 ac_check_soname_save_LIBS=$LIBS
9540 LIBS="-lxslt $ac_xslt_libs $LIBS"
9541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9542 /* end confdefs.h. */
9544 /* Override any GCC internal prototype to avoid an error.
9545 Use char because int might match the return type of a GCC
9546 builtin and then its argument prototype would still apply. */
9547 #ifdef __cplusplus
9548 extern "C"
9549 #endif
9550 char xsltCompilePattern ();
9552 main ()
9554 return xsltCompilePattern ();
9556 return 0;
9558 _ACEOF
9559 if ac_fn_c_try_link "$LINENO"; then :
9560 case "$LIBEXT" in
9561 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9562 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'` ;;
9563 *) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9564 esac
9566 rm -f core conftest.err conftest.$ac_objext \
9567 conftest$ac_exeext conftest.$ac_ext
9568 LIBS=$ac_check_soname_save_LIBS
9570 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9572 $as_echo "not found" >&6; }
9574 else
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9576 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9578 cat >>confdefs.h <<_ACEOF
9579 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9580 _ACEOF
9582 XSLTINCL="$ac_xslt_cflags"
9586 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9587 case "x$with_xslt" in
9588 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9589 xno) ;;
9590 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
9591 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9592 esac
9595 if test "x$with_dbus" != "xno"
9596 then
9597 ac_save_CPPFLAGS="$CPPFLAGS"
9598 if test "$PKG_CONFIG" != "false"
9599 then
9600 ac_dbus_libs="`$PKG_CONFIG --libs dbus-1 2>/dev/null`"
9601 ac_dbus_cflags="`$PKG_CONFIG --cflags dbus-1 2>/dev/null`"
9602 CPPFLAGS="$CPPFLAGS $ac_dbus_cflags"
9604 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9605 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
9607 $as_echo_n "checking for -ldbus-1... " >&6; }
9608 if ${ac_cv_lib_soname_dbus_1+:} false; then :
9609 $as_echo_n "(cached) " >&6
9610 else
9611 ac_check_soname_save_LIBS=$LIBS
9612 LIBS="-ldbus-1 $ac_dbus_libs $LIBS"
9613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9614 /* end confdefs.h. */
9616 /* Override any GCC internal prototype to avoid an error.
9617 Use char because int might match the return type of a GCC
9618 builtin and then its argument prototype would still apply. */
9619 #ifdef __cplusplus
9620 extern "C"
9621 #endif
9622 char dbus_connection_close ();
9624 main ()
9626 return dbus_connection_close ();
9628 return 0;
9630 _ACEOF
9631 if ac_fn_c_try_link "$LINENO"; then :
9632 case "$LIBEXT" in
9633 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9634 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'` ;;
9635 *) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9636 esac
9638 rm -f core conftest.err conftest.$ac_objext \
9639 conftest$ac_exeext conftest.$ac_ext
9640 LIBS=$ac_check_soname_save_LIBS
9642 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9644 $as_echo "not found" >&6; }
9646 else
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
9648 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
9650 cat >>confdefs.h <<_ACEOF
9651 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
9652 _ACEOF
9654 DBUSINCL="$ac_dbus_cflags"
9660 CPPFLAGS="$ac_save_CPPFLAGS"
9662 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
9663 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9664 case "x$with_dbus" in
9665 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9666 xno) ;;
9667 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
9668 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
9669 esac
9672 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
9673 then
9674 ac_save_CPPFLAGS="$CPPFLAGS"
9675 if test "$PKG_CONFIG" != "false"
9676 then
9677 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9678 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9679 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9681 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
9682 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9684 $as_echo_n "checking for -lhal... " >&6; }
9685 if ${ac_cv_lib_soname_hal+:} false; then :
9686 $as_echo_n "(cached) " >&6
9687 else
9688 ac_check_soname_save_LIBS=$LIBS
9689 LIBS="-lhal $ac_hal_libs $LIBS"
9690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9691 /* end confdefs.h. */
9693 /* Override any GCC internal prototype to avoid an error.
9694 Use char because int might match the return type of a GCC
9695 builtin and then its argument prototype would still apply. */
9696 #ifdef __cplusplus
9697 extern "C"
9698 #endif
9699 char libhal_ctx_new ();
9701 main ()
9703 return libhal_ctx_new ();
9705 return 0;
9707 _ACEOF
9708 if ac_fn_c_try_link "$LINENO"; then :
9709 case "$LIBEXT" in
9710 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9711 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'` ;;
9712 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9713 esac
9715 rm -f core conftest.err conftest.$ac_objext \
9716 conftest$ac_exeext conftest.$ac_ext
9717 LIBS=$ac_check_soname_save_LIBS
9719 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9721 $as_echo "not found" >&6; }
9723 else
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9725 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9727 cat >>confdefs.h <<_ACEOF
9728 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9729 _ACEOF
9731 HALINCL="$ac_hal_cflags"
9737 CPPFLAGS="$ac_save_CPPFLAGS"
9738 if test "x$ac_cv_lib_soname_hal" = "x" -a \
9739 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9740 case "x$with_hal" in
9741 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
9742 xno) ;;
9743 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
9744 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9745 esac
9749 if test "x$with_gnutls" != "xno"
9750 then
9751 ac_save_CPPFLAGS="$CPPFLAGS"
9752 if test "$PKG_CONFIG" != "false"
9753 then
9754 ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9755 ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9756 CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
9758 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9759 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
9760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9761 /* end confdefs.h. */
9762 #include <gnutls/gnutls.h>
9764 main ()
9766 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
9768 return 0;
9770 _ACEOF
9771 if ac_fn_c_try_compile "$LINENO"; then :
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9773 $as_echo_n "checking for -lgnutls... " >&6; }
9774 if ${ac_cv_lib_soname_gnutls+:} false; then :
9775 $as_echo_n "(cached) " >&6
9776 else
9777 ac_check_soname_save_LIBS=$LIBS
9778 LIBS="-lgnutls $ac_gnutls_libs $LIBS"
9779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9780 /* end confdefs.h. */
9782 /* Override any GCC internal prototype to avoid an error.
9783 Use char because int might match the return type of a GCC
9784 builtin and then its argument prototype would still apply. */
9785 #ifdef __cplusplus
9786 extern "C"
9787 #endif
9788 char gnutls_global_init ();
9790 main ()
9792 return gnutls_global_init ();
9794 return 0;
9796 _ACEOF
9797 if ac_fn_c_try_link "$LINENO"; then :
9798 case "$LIBEXT" in
9799 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9800 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'` ;;
9801 *) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9802 esac
9804 rm -f core conftest.err conftest.$ac_objext \
9805 conftest$ac_exeext conftest.$ac_ext
9806 LIBS=$ac_check_soname_save_LIBS
9808 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9810 $as_echo "not found" >&6; }
9812 else
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9814 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9816 cat >>confdefs.h <<_ACEOF
9817 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9818 _ACEOF
9820 GNUTLSINCL="$ac_gnutls_cflags"
9824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9828 CPPFLAGS="$ac_save_CPPFLAGS"
9830 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9831 case "x$with_gnutls" in
9832 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9833 xno) ;;
9834 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
9835 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9836 esac
9839 CURSESLIBS=""
9840 if test "$ac_cv_header_ncurses_h" = "yes"
9841 then
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9843 $as_echo_n "checking for -lncurses... " >&6; }
9844 if ${ac_cv_lib_soname_ncurses+:} false; then :
9845 $as_echo_n "(cached) " >&6
9846 else
9847 ac_check_soname_save_LIBS=$LIBS
9848 LIBS="-lncurses $LIBS"
9849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9850 /* end confdefs.h. */
9852 /* Override any GCC internal prototype to avoid an error.
9853 Use char because int might match the return type of a GCC
9854 builtin and then its argument prototype would still apply. */
9855 #ifdef __cplusplus
9856 extern "C"
9857 #endif
9858 char waddch ();
9860 main ()
9862 return waddch ();
9864 return 0;
9866 _ACEOF
9867 if ac_fn_c_try_link "$LINENO"; then :
9868 case "$LIBEXT" in
9869 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9870 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'` ;;
9871 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9872 esac
9874 rm -f core conftest.err conftest.$ac_objext \
9875 conftest$ac_exeext conftest.$ac_ext
9876 LIBS=$ac_check_soname_save_LIBS
9878 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9880 $as_echo "not found" >&6; }
9882 else
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9884 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9886 cat >>confdefs.h <<_ACEOF
9887 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9888 _ACEOF
9890 CURSESLIBS="-lncurses"
9892 elif test "$ac_cv_header_curses_h" = "yes"
9893 then
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9895 $as_echo_n "checking for -lcurses... " >&6; }
9896 if ${ac_cv_lib_soname_curses+:} false; then :
9897 $as_echo_n "(cached) " >&6
9898 else
9899 ac_check_soname_save_LIBS=$LIBS
9900 LIBS="-lcurses $LIBS"
9901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9902 /* end confdefs.h. */
9904 /* Override any GCC internal prototype to avoid an error.
9905 Use char because int might match the return type of a GCC
9906 builtin and then its argument prototype would still apply. */
9907 #ifdef __cplusplus
9908 extern "C"
9909 #endif
9910 char waddch ();
9912 main ()
9914 return waddch ();
9916 return 0;
9918 _ACEOF
9919 if ac_fn_c_try_link "$LINENO"; then :
9920 case "$LIBEXT" in
9921 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9922 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'` ;;
9923 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9924 esac
9926 rm -f core conftest.err conftest.$ac_objext \
9927 conftest$ac_exeext conftest.$ac_ext
9928 LIBS=$ac_check_soname_save_LIBS
9930 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9932 $as_echo "not found" >&6; }
9934 else
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9936 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9938 cat >>confdefs.h <<_ACEOF
9939 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9940 _ACEOF
9942 CURSESLIBS="-lcurses"
9945 ac_save_LIBS="$LIBS"
9946 LIBS="$LIBS $CURSESLIBS"
9947 for ac_func in mousemask
9948 do :
9949 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
9950 if test "x$ac_cv_func_mousemask" = xyes; then :
9951 cat >>confdefs.h <<_ACEOF
9952 #define HAVE_MOUSEMASK 1
9953 _ACEOF
9956 done
9958 LIBS="$ac_save_LIBS"
9959 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9960 case "x$with_curses" in
9961 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9962 xno) ;;
9963 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9964 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9965 esac
9968 if test "x$with_sane" != "xno"
9969 then
9970 ac_save_CPPFLAGS="$CPPFLAGS"
9971 # Extract the first word of "sane-config", so it can be a program name with args.
9972 set dummy sane-config; ac_word=$2
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9974 $as_echo_n "checking for $ac_word... " >&6; }
9975 if ${ac_cv_prog_sane_devel+:} false; then :
9976 $as_echo_n "(cached) " >&6
9977 else
9978 if test -n "$sane_devel"; then
9979 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9980 else
9981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9982 for as_dir in $PATH
9984 IFS=$as_save_IFS
9985 test -z "$as_dir" && as_dir=.
9986 for ac_exec_ext in '' $ac_executable_extensions; do
9987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9988 ac_cv_prog_sane_devel="sane-config"
9989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9990 break 2
9992 done
9993 done
9994 IFS=$as_save_IFS
9996 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9999 sane_devel=$ac_cv_prog_sane_devel
10000 if test -n "$sane_devel"; then
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
10002 $as_echo "$sane_devel" >&6; }
10003 else
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10005 $as_echo "no" >&6; }
10009 if test "$sane_devel" != "no"
10010 then
10011 ac_sane_incl="`$sane_devel --cflags`"
10012 ac_sane_libs="`$sane_devel --ldflags`"
10013 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
10015 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10016 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10018 $as_echo_n "checking for -lsane... " >&6; }
10019 if ${ac_cv_lib_soname_sane+:} false; then :
10020 $as_echo_n "(cached) " >&6
10021 else
10022 ac_check_soname_save_LIBS=$LIBS
10023 LIBS="-lsane $ac_sane_libs $LIBS"
10024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10025 /* end confdefs.h. */
10027 /* Override any GCC internal prototype to avoid an error.
10028 Use char because int might match the return type of a GCC
10029 builtin and then its argument prototype would still apply. */
10030 #ifdef __cplusplus
10031 extern "C"
10032 #endif
10033 char sane_init ();
10035 main ()
10037 return sane_init ();
10039 return 0;
10041 _ACEOF
10042 if ac_fn_c_try_link "$LINENO"; then :
10043 case "$LIBEXT" in
10044 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10045 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'` ;;
10046 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10047 esac
10049 rm -f core conftest.err conftest.$ac_objext \
10050 conftest$ac_exeext conftest.$ac_ext
10051 LIBS=$ac_check_soname_save_LIBS
10053 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10055 $as_echo "not found" >&6; }
10057 else
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10059 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10061 cat >>confdefs.h <<_ACEOF
10062 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10063 _ACEOF
10065 SANEINCL="$ac_sane_incl"
10071 CPPFLAGS="$ac_save_CPPFLAGS"
10073 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10074 case "x$with_sane" in
10075 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10076 xno) ;;
10077 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
10078 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10079 esac
10082 if test "x$with_v4l" != "xno"
10083 then
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10085 $as_echo_n "checking for -lv4l1... " >&6; }
10086 if ${ac_cv_lib_soname_v4l1+:} false; then :
10087 $as_echo_n "(cached) " >&6
10088 else
10089 ac_check_soname_save_LIBS=$LIBS
10090 LIBS="-lv4l1 $LIBS"
10091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10092 /* end confdefs.h. */
10094 /* Override any GCC internal prototype to avoid an error.
10095 Use char because int might match the return type of a GCC
10096 builtin and then its argument prototype would still apply. */
10097 #ifdef __cplusplus
10098 extern "C"
10099 #endif
10100 char v4l1_open ();
10102 main ()
10104 return v4l1_open ();
10106 return 0;
10108 _ACEOF
10109 if ac_fn_c_try_link "$LINENO"; then :
10110 case "$LIBEXT" in
10111 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10112 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'` ;;
10113 *) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10114 esac
10116 rm -f core conftest.err conftest.$ac_objext \
10117 conftest$ac_exeext conftest.$ac_ext
10118 LIBS=$ac_check_soname_save_LIBS
10120 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10122 $as_echo "not found" >&6; }
10124 else
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10126 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10128 cat >>confdefs.h <<_ACEOF
10129 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10130 _ACEOF
10135 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10136 case "x$with_v4l" in
10137 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
10138 xno) ;;
10139 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
10140 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10141 esac
10144 if test "x$with_gphoto" != "xno"
10145 then
10146 ac_save_CPPFLAGS="$CPPFLAGS"
10147 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10148 set dummy gphoto2-config; ac_word=$2
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10150 $as_echo_n "checking for $ac_word... " >&6; }
10151 if ${ac_cv_prog_gphoto2_devel+:} false; then :
10152 $as_echo_n "(cached) " >&6
10153 else
10154 if test -n "$gphoto2_devel"; then
10155 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10156 else
10157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10158 for as_dir in $PATH
10160 IFS=$as_save_IFS
10161 test -z "$as_dir" && as_dir=.
10162 for ac_exec_ext in '' $ac_executable_extensions; do
10163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10164 ac_cv_prog_gphoto2_devel="gphoto2-config"
10165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10166 break 2
10168 done
10169 done
10170 IFS=$as_save_IFS
10172 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10175 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10176 if test -n "$gphoto2_devel"; then
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10178 $as_echo "$gphoto2_devel" >&6; }
10179 else
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10181 $as_echo "no" >&6; }
10185 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10186 set dummy gphoto2-port-config; ac_word=$2
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10188 $as_echo_n "checking for $ac_word... " >&6; }
10189 if ${ac_cv_prog_gphoto2port_devel+:} false; then :
10190 $as_echo_n "(cached) " >&6
10191 else
10192 if test -n "$gphoto2port_devel"; then
10193 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10194 else
10195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10196 for as_dir in $PATH
10198 IFS=$as_save_IFS
10199 test -z "$as_dir" && as_dir=.
10200 for ac_exec_ext in '' $ac_executable_extensions; do
10201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10202 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10204 break 2
10206 done
10207 done
10208 IFS=$as_save_IFS
10210 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10213 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10214 if test -n "$gphoto2port_devel"; then
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10216 $as_echo "$gphoto2port_devel" >&6; }
10217 else
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10219 $as_echo "no" >&6; }
10223 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10224 then
10225 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10226 ac_gphoto2_libs=""
10227 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10229 case "$i" in
10230 -L/usr/lib|-L/usr/lib64) ;;
10231 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
10232 esac
10233 done
10234 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
10236 ac_gphoto2_libs=${ac_gphoto2_libs:-"-lgphoto2"}
10237 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10238 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10240 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10241 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
10242 $as_echo_n "(cached) " >&6
10243 else
10244 ac_check_lib_save_LIBS=$LIBS
10245 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10252 #ifdef __cplusplus
10253 extern "C"
10254 #endif
10255 char gp_camera_new ();
10257 main ()
10259 return gp_camera_new ();
10261 return 0;
10263 _ACEOF
10264 if ac_fn_c_try_link "$LINENO"; then :
10265 ac_cv_lib_gphoto2_gp_camera_new=yes
10266 else
10267 ac_cv_lib_gphoto2_gp_camera_new=no
10269 rm -f core conftest.err conftest.$ac_objext \
10270 conftest$ac_exeext conftest.$ac_ext
10271 LIBS=$ac_check_lib_save_LIBS
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10274 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10275 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
10277 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10279 GPHOTO2LIBS="$ac_gphoto2_libs"
10281 GPHOTO2INCL="$ac_gphoto2_incl"
10288 CPPFLAGS="$ac_save_CPPFLAGS"
10290 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10291 case "x$with_gphoto" in
10292 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10293 xno) ;;
10294 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10295 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10296 esac
10300 if test "$ac_cv_header_resolv_h" = "yes"
10301 then
10302 ac_save_LIBS="$LIBS"
10303 for lib in '' -lresolv
10305 LIBS="$lib $ac_save_LIBS"
10306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10307 /* end confdefs.h. */
10308 #ifdef HAVE_NETINET_IN_H
10309 #include <netinet/in.h>
10310 #endif
10311 #include <resolv.h>
10313 main ()
10315 res_query("foo",ns_c_in,0,0,0);
10317 return 0;
10319 _ACEOF
10320 if ac_fn_c_try_link "$LINENO"; then :
10322 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10324 RESOLVLIBS="$lib"
10327 rm -f core conftest.err conftest.$ac_objext \
10328 conftest$ac_exeext conftest.$ac_ext
10329 if test "${RESOLVLIBS+set}" = set; then
10330 break
10332 done
10333 LIBS="$ac_save_LIBS"
10336 LCMSLIBS=""
10338 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10339 then
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10341 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10342 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false; then :
10343 $as_echo_n "(cached) " >&6
10344 else
10345 ac_check_lib_save_LIBS=$LIBS
10346 LIBS="-llcms $LIBS"
10347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10348 /* end confdefs.h. */
10350 /* Override any GCC internal prototype to avoid an error.
10351 Use char because int might match the return type of a GCC
10352 builtin and then its argument prototype would still apply. */
10353 #ifdef __cplusplus
10354 extern "C"
10355 #endif
10356 char cmsOpenProfileFromFile ();
10358 main ()
10360 return cmsOpenProfileFromFile ();
10362 return 0;
10364 _ACEOF
10365 if ac_fn_c_try_link "$LINENO"; then :
10366 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10367 else
10368 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10370 rm -f core conftest.err conftest.$ac_objext \
10371 conftest$ac_exeext conftest.$ac_ext
10372 LIBS=$ac_check_lib_save_LIBS
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10375 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10376 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes; then :
10378 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10380 LCMSLIBS="-llcms"
10384 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10385 case "x$with_cms" in
10386 x) as_fn_append wine_notices "|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10387 xno) ;;
10388 *) as_fn_error $? "liblcms ${notice_platform}development files not found, Color Management won't be supported.
10389 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10390 esac
10393 if test "x$with_freetype" != "xno"
10394 then
10395 if test "$PKG_CONFIG" != "false"
10396 then
10397 ac_freetype_incl="`$PKG_CONFIG --cflags freetype2 2>/dev/null`"
10398 ac_freetype_libs="`$PKG_CONFIG --libs freetype2 2>/dev/null`"
10399 else
10400 for ac_prog in freetype-config freetype2-config
10402 # Extract the first word of "$ac_prog", so it can be a program name with args.
10403 set dummy $ac_prog; ac_word=$2
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10405 $as_echo_n "checking for $ac_word... " >&6; }
10406 if ${ac_cv_prog_ft_devel+:} false; then :
10407 $as_echo_n "(cached) " >&6
10408 else
10409 if test -n "$ft_devel"; then
10410 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10411 else
10412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10413 for as_dir in $PATH
10415 IFS=$as_save_IFS
10416 test -z "$as_dir" && as_dir=.
10417 for ac_exec_ext in '' $ac_executable_extensions; do
10418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10419 ac_cv_prog_ft_devel="$ac_prog"
10420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10421 break 2
10423 done
10424 done
10425 IFS=$as_save_IFS
10429 ft_devel=$ac_cv_prog_ft_devel
10430 if test -n "$ft_devel"; then
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10432 $as_echo "$ft_devel" >&6; }
10433 else
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10435 $as_echo "no" >&6; }
10439 test -n "$ft_devel" && break
10440 done
10441 test -n "$ft_devel" || ft_devel="no"
10443 if test "$ft_devel" != "no"
10444 then
10445 ac_freetype_incl=`$ft_devel --cflags`
10446 ac_freetype_libs=`$ft_devel --libs`
10449 ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10451 $as_echo_n "checking for -lfreetype... " >&6; }
10452 if ${ac_cv_lib_soname_freetype+:} false; then :
10453 $as_echo_n "(cached) " >&6
10454 else
10455 ac_check_soname_save_LIBS=$LIBS
10456 LIBS="-lfreetype $ac_freetype_libs $LIBS"
10457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10458 /* end confdefs.h. */
10460 /* Override any GCC internal prototype to avoid an error.
10461 Use char because int might match the return type of a GCC
10462 builtin and then its argument prototype would still apply. */
10463 #ifdef __cplusplus
10464 extern "C"
10465 #endif
10466 char FT_Init_FreeType ();
10468 main ()
10470 return FT_Init_FreeType ();
10472 return 0;
10474 _ACEOF
10475 if ac_fn_c_try_link "$LINENO"; then :
10476 case "$LIBEXT" in
10477 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10478 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'` ;;
10479 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10480 esac
10482 rm -f core conftest.err conftest.$ac_objext \
10483 conftest$ac_exeext conftest.$ac_ext
10484 LIBS=$ac_check_soname_save_LIBS
10486 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10488 $as_echo "not found" >&6; }
10489 ft_lib=no
10490 else
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10492 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10494 cat >>confdefs.h <<_ACEOF
10495 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10496 _ACEOF
10498 ft_lib=yes
10500 if test "$ft_lib" = "yes"
10501 then
10502 ac_save_CPPFLAGS="$CPPFLAGS"
10503 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
10504 for ac_header in ft2build.h \
10505 freetype/freetype.h \
10506 freetype/ftglyph.h \
10507 freetype/fttypes.h \
10508 freetype/tttables.h \
10509 freetype/ftsnames.h \
10510 freetype/ttnameid.h \
10511 freetype/ftoutln.h \
10512 freetype/ftwinfnt.h \
10513 freetype/ftmodapi.h \
10514 freetype/ftlcdfil.h
10515 do :
10516 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10517 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10518 # include <ft2build.h>
10519 #endif
10521 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10522 cat >>confdefs.h <<_ACEOF
10523 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10524 _ACEOF
10528 done
10530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10531 /* end confdefs.h. */
10532 #include <ft2build.h>
10533 #include <freetype/fttrigon.h>
10534 _ACEOF
10535 if ac_fn_c_try_cpp "$LINENO"; then :
10537 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10539 wine_cv_fttrigon=yes
10540 else
10541 wine_cv_fttrigon=no
10543 rm -f conftest.err conftest.i conftest.$ac_ext
10544 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10546 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
10548 cat >>confdefs.h <<_ACEOF
10549 #define HAVE_FT_TRUETYPEENGINETYPE 1
10550 _ACEOF
10555 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10556 then
10558 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10560 FREETYPELIBS="$ac_freetype_libs"
10562 FREETYPEINCL="$ac_freetype_incl"
10567 if test "x$FREETYPELIBS" = "x"; then :
10568 case "x$with_freetype" in
10569 xno) ;;
10570 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
10571 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10572 esac
10574 test "x$FREETYPELIBS" = "x" && enable_fonts=${enable_fonts:-no}
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10577 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10578 if ${ac_cv_c_ppdev+:} false; then :
10579 $as_echo_n "(cached) " >&6
10580 else
10581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10582 /* end confdefs.h. */
10583 #ifdef HAVE_SYS_IOCTL_H
10584 # include <sys/ioctl.h>
10585 #endif
10586 #include <linux/ppdev.h>
10588 main ()
10590 ioctl (1,PPCLAIM,0)
10592 return 0;
10594 _ACEOF
10595 if ac_fn_c_try_compile "$LINENO"; then :
10596 ac_cv_c_ppdev="yes"
10597 else
10598 ac_cv_c_ppdev="no"
10600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10603 $as_echo "$ac_cv_c_ppdev" >&6; }
10604 if test "$ac_cv_c_ppdev" = "yes"
10605 then
10607 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10611 ac_wine_check_funcs_save_LIBS="$LIBS"
10612 LIBS="$LIBS $LIBPTHREAD"
10613 for ac_func in \
10614 pthread_attr_get_np \
10615 pthread_getattr_np \
10616 pthread_getthreadid_np \
10617 pthread_get_stackaddr_np \
10618 pthread_get_stacksize_np
10619 do :
10620 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10621 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10622 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10623 cat >>confdefs.h <<_ACEOF
10624 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10625 _ACEOF
10628 done
10630 LIBS="$ac_wine_check_funcs_save_LIBS"
10632 if test "$ac_cv_header_zlib_h" = "yes"
10633 then
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10635 $as_echo_n "checking for inflate in -lz... " >&6; }
10636 if ${ac_cv_lib_z_inflate+:} false; then :
10637 $as_echo_n "(cached) " >&6
10638 else
10639 ac_check_lib_save_LIBS=$LIBS
10640 LIBS="-lz $LIBS"
10641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10642 /* end confdefs.h. */
10644 /* Override any GCC internal prototype to avoid an error.
10645 Use char because int might match the return type of a GCC
10646 builtin and then its argument prototype would still apply. */
10647 #ifdef __cplusplus
10648 extern "C"
10649 #endif
10650 char inflate ();
10652 main ()
10654 return inflate ();
10656 return 0;
10658 _ACEOF
10659 if ac_fn_c_try_link "$LINENO"; then :
10660 ac_cv_lib_z_inflate=yes
10661 else
10662 ac_cv_lib_z_inflate=no
10664 rm -f core conftest.err conftest.$ac_objext \
10665 conftest$ac_exeext conftest.$ac_ext
10666 LIBS=$ac_check_lib_save_LIBS
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10669 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10670 if test "x$ac_cv_lib_z_inflate" = xyes; then :
10672 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10674 ZLIB="-lz"
10679 if test "x$ZLIB" = "x"; then :
10680 case "x$with_zlib" in
10681 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10682 xno) ;;
10683 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
10684 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10685 esac
10688 if test "x$enable_tools" != xno
10689 then
10690 if test "$ac_cv_header_gettext_po_h" = "yes"
10691 then
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10693 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10694 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
10695 $as_echo_n "(cached) " >&6
10696 else
10697 ac_check_lib_save_LIBS=$LIBS
10698 LIBS="-lgettextpo $LIBS"
10699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10700 /* end confdefs.h. */
10702 /* Override any GCC internal prototype to avoid an error.
10703 Use char because int might match the return type of a GCC
10704 builtin and then its argument prototype would still apply. */
10705 #ifdef __cplusplus
10706 extern "C"
10707 #endif
10708 char po_message_msgctxt ();
10710 main ()
10712 return po_message_msgctxt ();
10714 return 0;
10716 _ACEOF
10717 if ac_fn_c_try_link "$LINENO"; then :
10718 ac_cv_lib_gettextpo_po_message_msgctxt=yes
10719 else
10720 ac_cv_lib_gettextpo_po_message_msgctxt=no
10722 rm -f core conftest.err conftest.$ac_objext \
10723 conftest$ac_exeext conftest.$ac_ext
10724 LIBS=$ac_check_lib_save_LIBS
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10727 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10728 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
10730 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10732 LIBGETTEXTPO="-lgettextpo"
10737 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
10738 case "x$with_gettextpo" in
10739 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10740 xno) ;;
10741 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10742 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10743 esac
10747 if test "x$with_gstreamer" != "xno"
10748 then
10749 ac_save_CPPFLAGS="$CPPFLAGS"
10750 if test "$PKG_CONFIG" != "false"; then
10751 ac_gst_incl=""
10752 for i in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10754 case "$i" in
10755 -I*) ac_gst_incl="$ac_gst_incl $i";;
10756 esac
10757 done
10758 ac_gst_libs="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10759 CPPFLAGS="$CPPFLAGS $ac_gst_incl"
10760 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10761 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
10762 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10763 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10765 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10767 /* end confdefs.h. */
10768 #include <gst/app/gstappsink.h>
10770 main ()
10772 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10774 return 0;
10776 _ACEOF
10777 if ac_fn_c_try_compile "$LINENO"; then :
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10779 $as_echo "yes" >&6; }
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10781 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10782 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
10783 $as_echo_n "(cached) " >&6
10784 else
10785 ac_check_lib_save_LIBS=$LIBS
10786 LIBS="-lgstreamer-0.10 $LIBS"
10787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10788 /* end confdefs.h. */
10790 /* Override any GCC internal prototype to avoid an error.
10791 Use char because int might match the return type of a GCC
10792 builtin and then its argument prototype would still apply. */
10793 #ifdef __cplusplus
10794 extern "C"
10795 #endif
10796 char gst_pad_get_caps_reffed ();
10798 main ()
10800 return gst_pad_get_caps_reffed ();
10802 return 0;
10804 _ACEOF
10805 if ac_fn_c_try_link "$LINENO"; then :
10806 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
10807 else
10808 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
10810 rm -f core conftest.err conftest.$ac_objext \
10811 conftest$ac_exeext conftest.$ac_ext
10812 LIBS=$ac_check_lib_save_LIBS
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10815 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10816 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10818 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10819 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
10820 $as_echo_n "(cached) " >&6
10821 else
10822 ac_check_lib_save_LIBS=$LIBS
10823 LIBS="-lgstapp-0.10 $ac_gst_libs $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 gst_app_buffer_new ();
10835 main ()
10837 return gst_app_buffer_new ();
10839 return 0;
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"; then :
10843 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
10844 else
10845 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
10847 rm -f core conftest.err conftest.$ac_objext \
10848 conftest$ac_exeext conftest.$ac_ext
10849 LIBS=$ac_check_lib_save_LIBS
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10852 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10853 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
10854 GSTREAMER_LIBS="$ac_gst_libs"
10856 GSTREAMER_INCL="$ac_gst_incl"
10862 else
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10864 $as_echo "no" >&6; }
10866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10874 CPPFLAGS="$ac_save_CPPFLAGS"
10876 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
10877 case "x$with_gstreamer" in
10878 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10879 xno) ;;
10880 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10881 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10882 esac
10884 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
10886 ALSALIBS=""
10888 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10889 then
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
10891 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
10892 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
10893 $as_echo_n "(cached) " >&6
10894 else
10895 ac_check_lib_save_LIBS=$LIBS
10896 LIBS="-lasound $LIBS"
10897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10898 /* end confdefs.h. */
10900 /* Override any GCC internal prototype to avoid an error.
10901 Use char because int might match the return type of a GCC
10902 builtin and then its argument prototype would still apply. */
10903 #ifdef __cplusplus
10904 extern "C"
10905 #endif
10906 char snd_pcm_hw_params_get_access_mask ();
10908 main ()
10910 return snd_pcm_hw_params_get_access_mask ();
10912 return 0;
10914 _ACEOF
10915 if ac_fn_c_try_link "$LINENO"; then :
10916 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
10917 else
10918 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
10920 rm -f core conftest.err conftest.$ac_objext \
10921 conftest$ac_exeext conftest.$ac_ext
10922 LIBS=$ac_check_lib_save_LIBS
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
10925 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
10926 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
10927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10928 /* end confdefs.h. */
10929 #ifdef HAVE_ALSA_ASOUNDLIB_H
10930 #include <alsa/asoundlib.h>
10931 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10932 #include <sys/asoundlib.h>
10933 #endif
10935 main ()
10937 snd_pcm_hw_params_get_access_mask(NULL, NULL)
10939 return 0;
10941 _ACEOF
10942 if ac_fn_c_try_compile "$LINENO"; then :
10943 ALSALIBS="-lasound"
10945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10950 if test "x$with_oss" != xno
10951 then
10952 ac_save_CPPFLAGS="$CPPFLAGS"
10953 if test -f /etc/oss.conf
10954 then
10955 . /etc/oss.conf
10957 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
10958 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
10959 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10960 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
10961 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
10963 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
10965 cat >>confdefs.h <<_ACEOF
10966 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
10967 _ACEOF
10969 OSS4INCL="$ac_oss_incl"
10976 CPPFLAGS="$ac_save_CPPFLAGS"
10977 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
10978 then
10979 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
10984 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10985 then
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10987 $as_echo_n "checking for -lcapi20... " >&6; }
10988 if ${ac_cv_lib_soname_capi20+:} false; then :
10989 $as_echo_n "(cached) " >&6
10990 else
10991 ac_check_soname_save_LIBS=$LIBS
10992 LIBS="-lcapi20 $LIBS"
10993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10994 /* end confdefs.h. */
10996 /* Override any GCC internal prototype to avoid an error.
10997 Use char because int might match the return type of a GCC
10998 builtin and then its argument prototype would still apply. */
10999 #ifdef __cplusplus
11000 extern "C"
11001 #endif
11002 char capi20_register ();
11004 main ()
11006 return capi20_register ();
11008 return 0;
11010 _ACEOF
11011 if ac_fn_c_try_link "$LINENO"; then :
11012 case "$LIBEXT" in
11013 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11014 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'` ;;
11015 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11016 esac
11018 rm -f core conftest.err conftest.$ac_objext \
11019 conftest$ac_exeext conftest.$ac_ext
11020 LIBS=$ac_check_soname_save_LIBS
11022 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11024 $as_echo "not found" >&6; }
11026 else
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11028 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11030 cat >>confdefs.h <<_ACEOF
11031 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11032 _ACEOF
11037 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11038 case "x$with_capi" in
11039 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11040 xno) ;;
11041 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11042 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11043 esac
11046 CUPSINCL=""
11048 if test "x$with_cups" != "xno"
11049 then
11050 ac_save_CPPFLAGS="$CPPFLAGS"
11051 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
11052 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
11053 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
11054 for ac_header in cups/cups.h
11055 do :
11056 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11057 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
11058 cat >>confdefs.h <<_ACEOF
11059 #define HAVE_CUPS_CUPS_H 1
11060 _ACEOF
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11062 $as_echo_n "checking for -lcups... " >&6; }
11063 if ${ac_cv_lib_soname_cups+:} false; then :
11064 $as_echo_n "(cached) " >&6
11065 else
11066 ac_check_soname_save_LIBS=$LIBS
11067 LIBS="-lcups $ac_cups_libs $LIBS"
11068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11071 /* Override any GCC internal prototype to avoid an error.
11072 Use char because int might match the return type of a GCC
11073 builtin and then its argument prototype would still apply. */
11074 #ifdef __cplusplus
11075 extern "C"
11076 #endif
11077 char cupsGetDefault ();
11079 main ()
11081 return cupsGetDefault ();
11083 return 0;
11085 _ACEOF
11086 if ac_fn_c_try_link "$LINENO"; then :
11087 case "$LIBEXT" in
11088 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11089 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'` ;;
11090 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11091 esac
11093 rm -f core conftest.err conftest.$ac_objext \
11094 conftest$ac_exeext conftest.$ac_ext
11095 LIBS=$ac_check_soname_save_LIBS
11097 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11099 $as_echo "not found" >&6; }
11101 else
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11103 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11105 cat >>confdefs.h <<_ACEOF
11106 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11107 _ACEOF
11109 CUPSINCL="$ac_cups_cflags"
11113 done
11115 CPPFLAGS="$ac_save_CPPFLAGS"
11117 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11118 case "x$with_cups" in
11119 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11120 xno) ;;
11121 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
11122 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11123 esac
11126 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11127 then
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11129 $as_echo_n "checking for -lfontconfig... " >&6; }
11130 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11131 $as_echo_n "(cached) " >&6
11132 else
11133 ac_check_soname_save_LIBS=$LIBS
11134 LIBS="-lfontconfig $LIBS"
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11138 /* Override any GCC internal prototype to avoid an error.
11139 Use char because int might match the return type of a GCC
11140 builtin and then its argument prototype would still apply. */
11141 #ifdef __cplusplus
11142 extern "C"
11143 #endif
11144 char FcInit ();
11146 main ()
11148 return FcInit ();
11150 return 0;
11152 _ACEOF
11153 if ac_fn_c_try_link "$LINENO"; then :
11154 case "$LIBEXT" in
11155 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11156 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'` ;;
11157 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11158 esac
11160 rm -f core conftest.err conftest.$ac_objext \
11161 conftest$ac_exeext conftest.$ac_ext
11162 LIBS=$ac_check_soname_save_LIBS
11164 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11166 $as_echo "not found" >&6; }
11168 else
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11170 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11172 cat >>confdefs.h <<_ACEOF
11173 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11174 _ACEOF
11178 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11179 then
11180 ac_save_CPPFLAGS="$CPPFLAGS"
11181 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11182 $as_unset ac_cv_header_fontconfig_fontconfig_h
11183 for ac_header in fontconfig/fontconfig.h
11184 do :
11185 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11186 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
11187 cat >>confdefs.h <<_ACEOF
11188 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11189 _ACEOF
11193 done
11195 CPPFLAGS="$ac_save_CPPFLAGS"
11196 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11197 then
11198 FONTCONFIGINCL="$X_CFLAGS"
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11201 $as_echo_n "checking for -lfontconfig... " >&6; }
11202 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11203 $as_echo_n "(cached) " >&6
11204 else
11205 ac_check_soname_save_LIBS=$LIBS
11206 LIBS="-lfontconfig $X_LIBS $LIBS"
11207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11208 /* end confdefs.h. */
11210 /* Override any GCC internal prototype to avoid an error.
11211 Use char because int might match the return type of a GCC
11212 builtin and then its argument prototype would still apply. */
11213 #ifdef __cplusplus
11214 extern "C"
11215 #endif
11216 char FcInit ();
11218 main ()
11220 return FcInit ();
11222 return 0;
11224 _ACEOF
11225 if ac_fn_c_try_link "$LINENO"; then :
11226 case "$LIBEXT" in
11227 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11228 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'` ;;
11229 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11230 esac
11232 rm -f core conftest.err conftest.$ac_objext \
11233 conftest$ac_exeext conftest.$ac_ext
11234 LIBS=$ac_check_soname_save_LIBS
11236 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11238 $as_echo "not found" >&6; }
11240 else
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11242 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11244 cat >>confdefs.h <<_ACEOF
11245 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11246 _ACEOF
11252 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11253 case "x$with_fontconfig" in
11254 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11255 xno) ;;
11256 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11257 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11258 esac
11261 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11262 then
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11264 $as_echo_n "checking for -lssl... " >&6; }
11265 if ${ac_cv_lib_soname_ssl+:} false; then :
11266 $as_echo_n "(cached) " >&6
11267 else
11268 ac_check_soname_save_LIBS=$LIBS
11269 LIBS="-lssl $LIBS"
11270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11271 /* end confdefs.h. */
11273 /* Override any GCC internal prototype to avoid an error.
11274 Use char because int might match the return type of a GCC
11275 builtin and then its argument prototype would still apply. */
11276 #ifdef __cplusplus
11277 extern "C"
11278 #endif
11279 char SSL_library_init ();
11281 main ()
11283 return SSL_library_init ();
11285 return 0;
11287 _ACEOF
11288 if ac_fn_c_try_link "$LINENO"; then :
11289 case "$LIBEXT" in
11290 dll) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11291 dylib) ac_cv_lib_soname_ssl=`otool -L conftest$ac_exeext | grep "libssl\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libssl\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11292 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11293 esac
11295 rm -f core conftest.err conftest.$ac_objext \
11296 conftest$ac_exeext conftest.$ac_ext
11297 LIBS=$ac_check_soname_save_LIBS
11299 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11301 $as_echo "not found" >&6; }
11303 else
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11305 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11307 cat >>confdefs.h <<_ACEOF
11308 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11309 _ACEOF
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11314 $as_echo_n "checking for -lcrypto... " >&6; }
11315 if ${ac_cv_lib_soname_crypto+:} false; then :
11316 $as_echo_n "(cached) " >&6
11317 else
11318 ac_check_soname_save_LIBS=$LIBS
11319 LIBS="-lcrypto $LIBS"
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11323 /* Override any GCC internal prototype to avoid an error.
11324 Use char because int might match the return type of a GCC
11325 builtin and then its argument prototype would still apply. */
11326 #ifdef __cplusplus
11327 extern "C"
11328 #endif
11329 char BIO_new_socket ();
11331 main ()
11333 return BIO_new_socket ();
11335 return 0;
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"; then :
11339 case "$LIBEXT" in
11340 dll) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11341 dylib) ac_cv_lib_soname_crypto=`otool -L conftest$ac_exeext | grep "libcrypto\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcrypto\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11342 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11343 esac
11345 rm -f core conftest.err conftest.$ac_objext \
11346 conftest$ac_exeext conftest.$ac_ext
11347 LIBS=$ac_check_soname_save_LIBS
11349 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11351 $as_echo "not found" >&6; }
11353 else
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11355 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11357 cat >>confdefs.h <<_ACEOF
11358 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11359 _ACEOF
11364 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11365 case "x$with_openssl" in
11366 x) as_fn_append wine_warnings "|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11367 xno) ;;
11368 *) as_fn_error $? "OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11369 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11370 esac
11373 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11374 then
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11376 $as_echo_n "checking for -lgsm... " >&6; }
11377 if ${ac_cv_lib_soname_gsm+:} false; then :
11378 $as_echo_n "(cached) " >&6
11379 else
11380 ac_check_soname_save_LIBS=$LIBS
11381 LIBS="-lgsm $LIBS"
11382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11383 /* end confdefs.h. */
11385 /* Override any GCC internal prototype to avoid an error.
11386 Use char because int might match the return type of a GCC
11387 builtin and then its argument prototype would still apply. */
11388 #ifdef __cplusplus
11389 extern "C"
11390 #endif
11391 char gsm_create ();
11393 main ()
11395 return gsm_create ();
11397 return 0;
11399 _ACEOF
11400 if ac_fn_c_try_link "$LINENO"; then :
11401 case "$LIBEXT" in
11402 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11403 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'` ;;
11404 *) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11405 esac
11407 rm -f core conftest.err conftest.$ac_objext \
11408 conftest$ac_exeext conftest.$ac_ext
11409 LIBS=$ac_check_soname_save_LIBS
11411 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11413 $as_echo "not found" >&6; }
11415 else
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11417 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11419 cat >>confdefs.h <<_ACEOF
11420 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11421 _ACEOF
11426 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11427 case "x$with_gsm" in
11428 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11429 xno) ;;
11430 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11431 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11432 esac
11435 if test "$ac_cv_header_jpeglib_h" = "yes"
11436 then
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11438 $as_echo_n "checking for -ljpeg... " >&6; }
11439 if ${ac_cv_lib_soname_jpeg+:} false; then :
11440 $as_echo_n "(cached) " >&6
11441 else
11442 ac_check_soname_save_LIBS=$LIBS
11443 LIBS="-ljpeg $LIBS"
11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h. */
11447 /* Override any GCC internal prototype to avoid an error.
11448 Use char because int might match the return type of a GCC
11449 builtin and then its argument prototype would still apply. */
11450 #ifdef __cplusplus
11451 extern "C"
11452 #endif
11453 char jpeg_start_decompress ();
11455 main ()
11457 return jpeg_start_decompress ();
11459 return 0;
11461 _ACEOF
11462 if ac_fn_c_try_link "$LINENO"; then :
11463 case "$LIBEXT" in
11464 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11465 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'` ;;
11466 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11467 esac
11469 rm -f core conftest.err conftest.$ac_objext \
11470 conftest$ac_exeext conftest.$ac_ext
11471 LIBS=$ac_check_soname_save_LIBS
11473 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11475 $as_echo "not found" >&6; }
11477 else
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11479 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11481 cat >>confdefs.h <<_ACEOF
11482 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11483 _ACEOF
11488 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11489 case "x$with_jpeg" in
11490 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11491 xno) ;;
11492 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11493 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11494 esac
11497 if test "$ac_cv_header_png_h" = "yes"
11498 then
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11500 $as_echo_n "checking for -lpng... " >&6; }
11501 if ${ac_cv_lib_soname_png+:} false; then :
11502 $as_echo_n "(cached) " >&6
11503 else
11504 ac_check_soname_save_LIBS=$LIBS
11505 LIBS="-lpng -lm -lz $LIBS"
11506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11509 /* Override any GCC internal prototype to avoid an error.
11510 Use char because int might match the return type of a GCC
11511 builtin and then its argument prototype would still apply. */
11512 #ifdef __cplusplus
11513 extern "C"
11514 #endif
11515 char png_create_read_struct ();
11517 main ()
11519 return png_create_read_struct ();
11521 return 0;
11523 _ACEOF
11524 if ac_fn_c_try_link "$LINENO"; then :
11525 case "$LIBEXT" in
11526 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11527 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'` ;;
11528 *) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11529 esac
11531 rm -f core conftest.err conftest.$ac_objext \
11532 conftest$ac_exeext conftest.$ac_ext
11533 LIBS=$ac_check_soname_save_LIBS
11535 if test "x$ac_cv_lib_soname_png" = "x"; then :
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11537 $as_echo "not found" >&6; }
11539 else
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11541 $as_echo "$ac_cv_lib_soname_png" >&6; }
11543 cat >>confdefs.h <<_ACEOF
11544 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11545 _ACEOF
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11550 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11551 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11552 $as_echo_n "(cached) " >&6
11553 else
11554 ac_check_lib_save_LIBS=$LIBS
11555 LIBS="-lpng -lm -lz $LIBS"
11556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11557 /* end confdefs.h. */
11559 /* Override any GCC internal prototype to avoid an error.
11560 Use char because int might match the return type of a GCC
11561 builtin and then its argument prototype would still apply. */
11562 #ifdef __cplusplus
11563 extern "C"
11564 #endif
11565 char png_set_expand_gray_1_2_4_to_8 ();
11567 main ()
11569 return png_set_expand_gray_1_2_4_to_8 ();
11571 return 0;
11573 _ACEOF
11574 if ac_fn_c_try_link "$LINENO"; then :
11575 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11576 else
11577 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11579 rm -f core conftest.err conftest.$ac_objext \
11580 conftest$ac_exeext conftest.$ac_ext
11581 LIBS=$ac_check_lib_save_LIBS
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11584 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11585 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11587 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11592 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11593 then
11594 ac_save_CPPFLAGS="$CPPFLAGS"
11595 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11596 $as_unset ac_cv_header_png_h
11597 for ac_header in png.h
11598 do :
11599 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11600 if test "x$ac_cv_header_png_h" = xyes; then :
11601 cat >>confdefs.h <<_ACEOF
11602 #define HAVE_PNG_H 1
11603 _ACEOF
11607 done
11609 CPPFLAGS="$ac_save_CPPFLAGS"
11610 if test "$ac_cv_header_png_h" = "yes"
11611 then
11612 PNGINCL="$X_CFLAGS"
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11615 $as_echo_n "checking for -lpng... " >&6; }
11616 if ${ac_cv_lib_soname_png+:} false; then :
11617 $as_echo_n "(cached) " >&6
11618 else
11619 ac_check_soname_save_LIBS=$LIBS
11620 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11622 /* end confdefs.h. */
11624 /* Override any GCC internal prototype to avoid an error.
11625 Use char because int might match the return type of a GCC
11626 builtin and then its argument prototype would still apply. */
11627 #ifdef __cplusplus
11628 extern "C"
11629 #endif
11630 char png_create_read_struct ();
11632 main ()
11634 return png_create_read_struct ();
11636 return 0;
11638 _ACEOF
11639 if ac_fn_c_try_link "$LINENO"; then :
11640 case "$LIBEXT" in
11641 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11642 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'` ;;
11643 *) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11644 esac
11646 rm -f core conftest.err conftest.$ac_objext \
11647 conftest$ac_exeext conftest.$ac_ext
11648 LIBS=$ac_check_soname_save_LIBS
11650 if test "x$ac_cv_lib_soname_png" = "x"; then :
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11652 $as_echo "not found" >&6; }
11654 else
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11656 $as_echo "$ac_cv_lib_soname_png" >&6; }
11658 cat >>confdefs.h <<_ACEOF
11659 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11660 _ACEOF
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11665 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11666 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11667 $as_echo_n "(cached) " >&6
11668 else
11669 ac_check_lib_save_LIBS=$LIBS
11670 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11672 /* end confdefs.h. */
11674 /* Override any GCC internal prototype to avoid an error.
11675 Use char because int might match the return type of a GCC
11676 builtin and then its argument prototype would still apply. */
11677 #ifdef __cplusplus
11678 extern "C"
11679 #endif
11680 char png_set_expand_gray_1_2_4_to_8 ();
11682 main ()
11684 return png_set_expand_gray_1_2_4_to_8 ();
11686 return 0;
11688 _ACEOF
11689 if ac_fn_c_try_link "$LINENO"; then :
11690 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11691 else
11692 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11694 rm -f core conftest.err conftest.$ac_objext \
11695 conftest$ac_exeext conftest.$ac_ext
11696 LIBS=$ac_check_lib_save_LIBS
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11699 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11700 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11701 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11707 if test "x$ac_cv_lib_soname_png" = "x"; then :
11708 case "x$with_png" in
11709 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11710 xno) ;;
11711 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
11712 This is an error since --with-png was requested." "$LINENO" 5 ;;
11713 esac
11716 if test "$ac_cv_header_tiffio_h" = "yes"
11717 then
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11719 $as_echo_n "checking for -ltiff... " >&6; }
11720 if ${ac_cv_lib_soname_tiff+:} false; then :
11721 $as_echo_n "(cached) " >&6
11722 else
11723 ac_check_soname_save_LIBS=$LIBS
11724 LIBS="-ltiff $LIBS"
11725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11726 /* end confdefs.h. */
11728 /* Override any GCC internal prototype to avoid an error.
11729 Use char because int might match the return type of a GCC
11730 builtin and then its argument prototype would still apply. */
11731 #ifdef __cplusplus
11732 extern "C"
11733 #endif
11734 char TIFFClientOpen ();
11736 main ()
11738 return TIFFClientOpen ();
11740 return 0;
11742 _ACEOF
11743 if ac_fn_c_try_link "$LINENO"; then :
11744 case "$LIBEXT" in
11745 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11746 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'` ;;
11747 *) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11748 esac
11750 rm -f core conftest.err conftest.$ac_objext \
11751 conftest$ac_exeext conftest.$ac_ext
11752 LIBS=$ac_check_soname_save_LIBS
11754 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11756 $as_echo "not found" >&6; }
11758 else
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11760 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11762 cat >>confdefs.h <<_ACEOF
11763 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11764 _ACEOF
11769 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11770 case "x$with_tiff" in
11771 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11772 xno) ;;
11773 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
11774 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11775 esac
11778 if test "$ac_cv_header_mpg123_h" = "yes"
11779 then
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11781 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11782 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
11783 $as_echo_n "(cached) " >&6
11784 else
11785 ac_check_lib_save_LIBS=$LIBS
11786 LIBS="-lmpg123 $LIBS"
11787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11788 /* end confdefs.h. */
11790 /* Override any GCC internal prototype to avoid an error.
11791 Use char because int might match the return type of a GCC
11792 builtin and then its argument prototype would still apply. */
11793 #ifdef __cplusplus
11794 extern "C"
11795 #endif
11796 char mpg123_feed ();
11798 main ()
11800 return mpg123_feed ();
11802 return 0;
11804 _ACEOF
11805 if ac_fn_c_try_link "$LINENO"; then :
11806 ac_cv_lib_mpg123_mpg123_feed=yes
11807 else
11808 ac_cv_lib_mpg123_mpg123_feed=no
11810 rm -f core conftest.err conftest.$ac_objext \
11811 conftest$ac_exeext conftest.$ac_ext
11812 LIBS=$ac_check_lib_save_LIBS
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11815 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11816 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
11817 LIBMPG123="-lmpg123"
11822 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
11823 case "x$with_mpg123" in
11824 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11825 xno) ;;
11826 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11827 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11828 esac
11830 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}
11832 if test "$ac_cv_header_AL_al_h" = "yes"
11833 then
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11835 $as_echo_n "checking for -lopenal... " >&6; }
11836 if ${ac_cv_lib_soname_openal+:} false; then :
11837 $as_echo_n "(cached) " >&6
11838 else
11839 ac_check_soname_save_LIBS=$LIBS
11840 LIBS="-lopenal $LIBS"
11841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11842 /* end confdefs.h. */
11844 /* Override any GCC internal prototype to avoid an error.
11845 Use char because int might match the return type of a GCC
11846 builtin and then its argument prototype would still apply. */
11847 #ifdef __cplusplus
11848 extern "C"
11849 #endif
11850 char alGetSource3i ();
11852 main ()
11854 return alGetSource3i ();
11856 return 0;
11858 _ACEOF
11859 if ac_fn_c_try_link "$LINENO"; then :
11860 case "$LIBEXT" in
11861 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11862 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'` ;;
11863 *) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11864 esac
11866 rm -f core conftest.err conftest.$ac_objext \
11867 conftest$ac_exeext conftest.$ac_ext
11868 LIBS=$ac_check_soname_save_LIBS
11870 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11872 $as_echo "not found" >&6; }
11874 else
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11876 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11878 cat >>confdefs.h <<_ACEOF
11879 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11880 _ACEOF
11882 LIBOPENAL="-lopenal"
11884 ac_cv_lib_openal=yes
11886 cat >>confdefs.h <<_ACEOF
11887 #define HAVE_OPENAL 1
11888 _ACEOF
11892 if test "x$ac_cv_lib_openal" != xyes; then :
11893 case "x$with_openal" in
11894 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11895 xno) ;;
11896 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11897 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11898 esac
11900 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
11902 if test "$ac_cv_header_kstat_h" = "yes"
11903 then
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11905 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11906 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
11907 $as_echo_n "(cached) " >&6
11908 else
11909 ac_check_lib_save_LIBS=$LIBS
11910 LIBS="-lkstat $LIBS"
11911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11912 /* end confdefs.h. */
11914 /* Override any GCC internal prototype to avoid an error.
11915 Use char because int might match the return type of a GCC
11916 builtin and then its argument prototype would still apply. */
11917 #ifdef __cplusplus
11918 extern "C"
11919 #endif
11920 char kstat_open ();
11922 main ()
11924 return kstat_open ();
11926 return 0;
11928 _ACEOF
11929 if ac_fn_c_try_link "$LINENO"; then :
11930 ac_cv_lib_kstat_kstat_open=yes
11931 else
11932 ac_cv_lib_kstat_kstat_open=no
11934 rm -f core conftest.err conftest.$ac_objext \
11935 conftest$ac_exeext conftest.$ac_ext
11936 LIBS=$ac_check_lib_save_LIBS
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11939 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11940 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
11942 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11944 LIBKSTAT="-lkstat"
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11951 $as_echo_n "checking for -lodbc... " >&6; }
11952 if ${ac_cv_lib_soname_odbc+:} false; then :
11953 $as_echo_n "(cached) " >&6
11954 else
11955 ac_check_soname_save_LIBS=$LIBS
11956 LIBS="-lodbc $LIBS"
11957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11958 /* end confdefs.h. */
11960 /* Override any GCC internal prototype to avoid an error.
11961 Use char because int might match the return type of a GCC
11962 builtin and then its argument prototype would still apply. */
11963 #ifdef __cplusplus
11964 extern "C"
11965 #endif
11966 char SQLConnect ();
11968 main ()
11970 return SQLConnect ();
11972 return 0;
11974 _ACEOF
11975 if ac_fn_c_try_link "$LINENO"; then :
11976 case "$LIBEXT" in
11977 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11978 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'` ;;
11979 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11980 esac
11982 rm -f core conftest.err conftest.$ac_objext \
11983 conftest$ac_exeext conftest.$ac_ext
11984 LIBS=$ac_check_soname_save_LIBS
11986 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11988 $as_echo "not found" >&6; }
11989 cat >>confdefs.h <<_ACEOF
11990 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11991 _ACEOF
11993 else
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11995 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11997 cat >>confdefs.h <<_ACEOF
11998 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
11999 _ACEOF
12004 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12005 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
12006 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12007 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
12009 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12010 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
12011 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12012 then
12013 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
12017 EXTRACFLAGS=""
12019 if test "x${GCC}" = "xyes"
12020 then
12021 EXTRACFLAGS="-Wall -pipe"
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12024 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12025 if ${ac_cv_c_gcc_strength_bug+:} false; then :
12026 $as_echo_n "(cached) " >&6
12027 else
12028 if test "$cross_compiling" = yes; then :
12029 ac_cv_c_gcc_strength_bug="yes"
12030 else
12031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12033 int L[4] = {0,1,2,3};
12035 main ()
12037 static int Array[3];
12038 unsigned int B = 3;
12039 int i;
12040 for(i=0; i<B; i++) Array[i] = i - 3;
12041 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12042 L[i] = 4;
12043 return (Array[1] != -2 || L[2] != 3)
12045 return 0;
12047 _ACEOF
12048 if ac_fn_c_try_run "$LINENO"; then :
12049 ac_cv_c_gcc_strength_bug="no"
12050 else
12051 ac_cv_c_gcc_strength_bug="yes"
12053 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12054 conftest.$ac_objext conftest.beam conftest.$ac_ext
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12059 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12060 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12061 then
12062 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12066 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12067 if ${ac_cv_cflags__fno_builtin+:} false; then :
12068 $as_echo_n "(cached) " >&6
12069 else
12070 ac_wine_try_cflags_saved=$CFLAGS
12071 CFLAGS="$CFLAGS -fno-builtin"
12072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12074 int main(int argc, char **argv) { return 0; }
12075 _ACEOF
12076 if ac_fn_c_try_link "$LINENO"; then :
12077 ac_cv_cflags__fno_builtin=yes
12078 else
12079 ac_cv_cflags__fno_builtin=no
12081 rm -f core conftest.err conftest.$ac_objext \
12082 conftest$ac_exeext conftest.$ac_ext
12083 CFLAGS=$ac_wine_try_cflags_saved
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12086 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12087 if test $ac_cv_cflags__fno_builtin = yes; then :
12088 BUILTINFLAG="-fno-builtin"
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12092 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12093 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
12094 $as_echo_n "(cached) " >&6
12095 else
12096 ac_wine_try_cflags_saved=$CFLAGS
12097 CFLAGS="$CFLAGS -fno-strict-aliasing"
12098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12100 int main(int argc, char **argv) { return 0; }
12101 _ACEOF
12102 if ac_fn_c_try_link "$LINENO"; then :
12103 ac_cv_cflags__fno_strict_aliasing=yes
12104 else
12105 ac_cv_cflags__fno_strict_aliasing=no
12107 rm -f core conftest.err conftest.$ac_objext \
12108 conftest$ac_exeext conftest.$ac_ext
12109 CFLAGS=$ac_wine_try_cflags_saved
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12112 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12113 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12114 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12117 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12118 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
12119 $as_echo_n "(cached) " >&6
12120 else
12121 ac_wine_try_cflags_saved=$CFLAGS
12122 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12124 /* end confdefs.h. */
12125 int main(int argc, char **argv) { return 0; }
12126 _ACEOF
12127 if ac_fn_c_try_link "$LINENO"; then :
12128 ac_cv_cflags__Wdeclaration_after_statement=yes
12129 else
12130 ac_cv_cflags__Wdeclaration_after_statement=no
12132 rm -f core conftest.err conftest.$ac_objext \
12133 conftest$ac_exeext conftest.$ac_ext
12134 CFLAGS=$ac_wine_try_cflags_saved
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12137 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12138 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12139 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12142 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12143 if ${ac_cv_cflags__Wempty_body+:} false; then :
12144 $as_echo_n "(cached) " >&6
12145 else
12146 ac_wine_try_cflags_saved=$CFLAGS
12147 CFLAGS="$CFLAGS -Wempty-body"
12148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149 /* end confdefs.h. */
12150 int main(int argc, char **argv) { return 0; }
12151 _ACEOF
12152 if ac_fn_c_try_link "$LINENO"; then :
12153 ac_cv_cflags__Wempty_body=yes
12154 else
12155 ac_cv_cflags__Wempty_body=no
12157 rm -f core conftest.err conftest.$ac_objext \
12158 conftest$ac_exeext conftest.$ac_ext
12159 CFLAGS=$ac_wine_try_cflags_saved
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12162 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12163 if test $ac_cv_cflags__Wempty_body = yes; then :
12164 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12167 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12168 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
12169 $as_echo_n "(cached) " >&6
12170 else
12171 ac_wine_try_cflags_saved=$CFLAGS
12172 CFLAGS="$CFLAGS -Wignored-qualifiers"
12173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12174 /* end confdefs.h. */
12175 int main(int argc, char **argv) { return 0; }
12176 _ACEOF
12177 if ac_fn_c_try_link "$LINENO"; then :
12178 ac_cv_cflags__Wignored_qualifiers=yes
12179 else
12180 ac_cv_cflags__Wignored_qualifiers=no
12182 rm -f core conftest.err conftest.$ac_objext \
12183 conftest$ac_exeext conftest.$ac_ext
12184 CFLAGS=$ac_wine_try_cflags_saved
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12187 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12188 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12189 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12192 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12193 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
12194 $as_echo_n "(cached) " >&6
12195 else
12196 ac_wine_try_cflags_saved=$CFLAGS
12197 CFLAGS="$CFLAGS -Wstrict-prototypes"
12198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12199 /* end confdefs.h. */
12200 int main(int argc, char **argv) { return 0; }
12201 _ACEOF
12202 if ac_fn_c_try_link "$LINENO"; then :
12203 ac_cv_cflags__Wstrict_prototypes=yes
12204 else
12205 ac_cv_cflags__Wstrict_prototypes=no
12207 rm -f core conftest.err conftest.$ac_objext \
12208 conftest$ac_exeext conftest.$ac_ext
12209 CFLAGS=$ac_wine_try_cflags_saved
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12212 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12213 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12214 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12217 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12218 if ${ac_cv_cflags__Wtype_limits+:} false; then :
12219 $as_echo_n "(cached) " >&6
12220 else
12221 ac_wine_try_cflags_saved=$CFLAGS
12222 CFLAGS="$CFLAGS -Wtype-limits"
12223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12224 /* end confdefs.h. */
12225 int main(int argc, char **argv) { return 0; }
12226 _ACEOF
12227 if ac_fn_c_try_link "$LINENO"; then :
12228 ac_cv_cflags__Wtype_limits=yes
12229 else
12230 ac_cv_cflags__Wtype_limits=no
12232 rm -f core conftest.err conftest.$ac_objext \
12233 conftest$ac_exeext conftest.$ac_ext
12234 CFLAGS=$ac_wine_try_cflags_saved
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12237 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12238 if test $ac_cv_cflags__Wtype_limits = yes; then :
12239 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12242 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12243 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
12244 $as_echo_n "(cached) " >&6
12245 else
12246 ac_wine_try_cflags_saved=$CFLAGS
12247 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
12248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12249 /* end confdefs.h. */
12250 int main(int argc, char **argv) { return 0; }
12251 _ACEOF
12252 if ac_fn_c_try_link "$LINENO"; then :
12253 ac_cv_cflags__Wunused_but_set_parameter=yes
12254 else
12255 ac_cv_cflags__Wunused_but_set_parameter=no
12257 rm -f core conftest.err conftest.$ac_objext \
12258 conftest$ac_exeext conftest.$ac_ext
12259 CFLAGS=$ac_wine_try_cflags_saved
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12262 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12263 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12264 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12267 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12268 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
12269 $as_echo_n "(cached) " >&6
12270 else
12271 ac_wine_try_cflags_saved=$CFLAGS
12272 CFLAGS="$CFLAGS -Wwrite-strings"
12273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12274 /* end confdefs.h. */
12275 int main(int argc, char **argv) { return 0; }
12276 _ACEOF
12277 if ac_fn_c_try_link "$LINENO"; then :
12278 ac_cv_cflags__Wwrite_strings=yes
12279 else
12280 ac_cv_cflags__Wwrite_strings=no
12282 rm -f core conftest.err conftest.$ac_objext \
12283 conftest$ac_exeext conftest.$ac_ext
12284 CFLAGS=$ac_wine_try_cflags_saved
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12287 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12288 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12289 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12292 for ac_flag in $CFLAGS; do
12293 case $ac_flag in
12294 -g) case $host_os in
12295 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12296 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12297 if ${ac_cv_cflags__gstabsp+:} false; then :
12298 $as_echo_n "(cached) " >&6
12299 else
12300 ac_wine_try_cflags_saved=$CFLAGS
12301 CFLAGS="$CFLAGS -gstabs+"
12302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12303 /* end confdefs.h. */
12304 int main(int argc, char **argv) { return 0; }
12305 _ACEOF
12306 if ac_fn_c_try_link "$LINENO"; then :
12307 ac_cv_cflags__gstabsp=yes
12308 else
12309 ac_cv_cflags__gstabsp=no
12311 rm -f core conftest.err conftest.$ac_objext \
12312 conftest$ac_exeext conftest.$ac_ext
12313 CFLAGS=$ac_wine_try_cflags_saved
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12316 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12317 if test $ac_cv_cflags__gstabsp = yes; then :
12318 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12319 fi ;;
12320 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12321 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12322 if ${ac_cv_cflags__gdwarf_2+:} false; then :
12323 $as_echo_n "(cached) " >&6
12324 else
12325 ac_wine_try_cflags_saved=$CFLAGS
12326 CFLAGS="$CFLAGS -gdwarf-2"
12327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12329 int main(int argc, char **argv) { return 0; }
12330 _ACEOF
12331 if ac_fn_c_try_link "$LINENO"; then :
12332 ac_cv_cflags__gdwarf_2=yes
12333 else
12334 ac_cv_cflags__gdwarf_2=no
12336 rm -f core conftest.err conftest.$ac_objext \
12337 conftest$ac_exeext conftest.$ac_ext
12338 CFLAGS=$ac_wine_try_cflags_saved
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12341 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12342 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12343 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12346 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12347 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
12348 $as_echo_n "(cached) " >&6
12349 else
12350 ac_wine_try_cflags_saved=$CFLAGS
12351 CFLAGS="$CFLAGS -gstrict-dwarf"
12352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12353 /* end confdefs.h. */
12354 int main(int argc, char **argv) { return 0; }
12355 _ACEOF
12356 if ac_fn_c_try_link "$LINENO"; then :
12357 ac_cv_cflags__gstrict_dwarf=yes
12358 else
12359 ac_cv_cflags__gstrict_dwarf=no
12361 rm -f core conftest.err conftest.$ac_objext \
12362 conftest$ac_exeext conftest.$ac_ext
12363 CFLAGS=$ac_wine_try_cflags_saved
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12366 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12367 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12368 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
12369 fi ;;
12370 esac ;;
12371 esac
12372 done
12374 case $host_cpu in
12375 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12376 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12377 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
12378 $as_echo_n "(cached) " >&6
12379 else
12380 ac_wine_try_cflags_saved=$CFLAGS
12381 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
12382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12384 int main(int argc, char **argv) { return 0; }
12385 _ACEOF
12386 if ac_fn_c_try_link "$LINENO"; then :
12387 ac_cv_cflags__fno_omit_frame_pointer=yes
12388 else
12389 ac_cv_cflags__fno_omit_frame_pointer=no
12391 rm -f core conftest.err conftest.$ac_objext \
12392 conftest$ac_exeext conftest.$ac_ext
12393 CFLAGS=$ac_wine_try_cflags_saved
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12396 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12397 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12398 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
12399 fi ;;
12400 esac
12402 case $host in
12403 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12404 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12405 if ${ac_cv_cflags__Wno_format+:} false; then :
12406 $as_echo_n "(cached) " >&6
12407 else
12408 ac_wine_try_cflags_saved=$CFLAGS
12409 CFLAGS="$CFLAGS -Wno-format"
12410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12411 /* end confdefs.h. */
12412 int main(int argc, char **argv) { return 0; }
12413 _ACEOF
12414 if ac_fn_c_try_link "$LINENO"; then :
12415 ac_cv_cflags__Wno_format=yes
12416 else
12417 ac_cv_cflags__Wno_format=no
12419 rm -f core conftest.err conftest.$ac_objext \
12420 conftest$ac_exeext conftest.$ac_ext
12421 CFLAGS=$ac_wine_try_cflags_saved
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12424 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12425 if test $ac_cv_cflags__Wno_format = yes; then :
12426 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
12427 fi ;;
12428 esac
12430 saved_CFLAGS="$CFLAGS"
12431 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12433 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12434 if ${ac_cv_c_string_h_warnings+:} false; then :
12435 $as_echo_n "(cached) " >&6
12436 else
12437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12438 /* end confdefs.h. */
12439 #include <string.h>
12441 main ()
12445 return 0;
12447 _ACEOF
12448 if ac_fn_c_try_compile "$LINENO"; then :
12449 ac_cv_c_string_h_warnings=no
12450 else
12451 ac_cv_c_string_h_warnings=yes
12453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12456 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12457 CFLAGS="$saved_CFLAGS"
12458 if test "$ac_cv_c_string_h_warnings" = "no"
12459 then
12460 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12463 saved_CFLAGS="$CFLAGS"
12464 CFLAGS="$CFLAGS -Wlogical-op -Werror"
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12466 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12467 if ${ac_cv_c_logicalop_noisy+:} false; then :
12468 $as_echo_n "(cached) " >&6
12469 else
12470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12471 /* end confdefs.h. */
12472 #include <string.h>
12474 main ()
12476 char*f(const char *h,char n) {return strchr(h,n);}
12478 return 0;
12480 _ACEOF
12481 if ac_fn_c_try_compile "$LINENO"; then :
12482 ac_cv_c_logicalop_noisy=no
12483 else
12484 ac_cv_c_logicalop_noisy=yes
12486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12489 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12490 CFLAGS="$saved_CFLAGS"
12491 if test "$ac_cv_c_logicalop_noisy" = "no"
12492 then
12493 EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
12496 if test "x$enable_maintainer_mode" = "xyes"
12497 then
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12499 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12500 if ${ac_cv_cflags__Werror+:} false; then :
12501 $as_echo_n "(cached) " >&6
12502 else
12503 ac_wine_try_cflags_saved=$CFLAGS
12504 CFLAGS="$CFLAGS -Werror"
12505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12507 int main(int argc, char **argv) { return 0; }
12508 _ACEOF
12509 if ac_fn_c_try_link "$LINENO"; then :
12510 ac_cv_cflags__Werror=yes
12511 else
12512 ac_cv_cflags__Werror=no
12514 rm -f core conftest.err conftest.$ac_objext \
12515 conftest$ac_exeext conftest.$ac_ext
12516 CFLAGS=$ac_wine_try_cflags_saved
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12519 $as_echo "$ac_cv_cflags__Werror" >&6; }
12520 if test $ac_cv_cflags__Werror = yes; then :
12521 EXTRACFLAGS="$EXTRACFLAGS -Werror"
12525 saved_CFLAGS="$CFLAGS"
12526 CFLAGS="$CFLAGS -Werror"
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12528 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12529 if ${ac_cv_have_ms_hook_prologue+:} false; then :
12530 $as_echo_n "(cached) " >&6
12531 else
12532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12533 /* end confdefs.h. */
12534 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12536 main ()
12540 return 0;
12542 _ACEOF
12543 if ac_fn_c_try_compile "$LINENO"; then :
12544 ac_cv_have_ms_hook_prologue="yes"
12545 else
12546 ac_cv_have_ms_hook_prologue="no"
12548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12551 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12552 CFLAGS="$saved_CFLAGS"
12553 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12554 then
12556 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12558 else
12559 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12566 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12567 if ${ac_cv_c_fortify_enabled+:} false; then :
12568 $as_echo_n "(cached) " >&6
12569 else
12570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12571 /* end confdefs.h. */
12572 #include <string.h>
12574 main ()
12576 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12577 #error Fortify enabled
12578 #endif
12580 return 0;
12582 _ACEOF
12583 if ac_fn_c_try_compile "$LINENO"; then :
12584 ac_cv_c_fortify_enabled=no
12585 else
12586 ac_cv_c_fortify_enabled=yes
12588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12591 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12592 if test "$ac_cv_c_fortify_enabled" = yes
12593 then
12594 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12599 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12600 if ${ac_cv_c_extern_prefix+:} false; then :
12601 $as_echo_n "(cached) " >&6
12602 else
12603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12604 /* end confdefs.h. */
12605 extern int ac_test;
12607 main ()
12609 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12611 return 0;
12613 _ACEOF
12614 if ac_fn_c_try_link "$LINENO"; then :
12615 ac_cv_c_extern_prefix="yes"
12616 else
12617 ac_cv_c_extern_prefix="no"
12619 rm -f core conftest.err conftest.$ac_objext \
12620 conftest$ac_exeext conftest.$ac_ext
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12623 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12625 case $host_cpu in
12626 *i[3456789]86*)
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12628 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12629 if ${ac_cv_c_stdcall_suffix+:} false; then :
12630 $as_echo_n "(cached) " >&6
12631 else
12632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h. */
12634 #ifndef _MSC_VER
12635 #define __stdcall __attribute__((__stdcall__))
12636 #endif
12637 int __stdcall ac_test(int i) { return i; }
12639 main ()
12641 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12643 return 0;
12645 _ACEOF
12646 if ac_fn_c_try_link "$LINENO"; then :
12647 ac_cv_c_stdcall_suffix="yes"
12648 else
12649 ac_cv_c_stdcall_suffix="no"
12651 rm -f core conftest.err conftest.$ac_objext \
12652 conftest$ac_exeext conftest.$ac_ext
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12655 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12656 *) ac_cv_c_stdcall_suffix="no" ;;
12657 esac
12660 if test "$ac_cv_c_extern_prefix" = "yes"
12661 then
12662 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12664 asm_name_prefix="_"
12665 else
12666 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12668 asm_name_prefix=""
12672 if test "$ac_cv_c_stdcall_suffix" = "yes"
12673 then
12674 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12676 else
12677 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12683 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12684 if ${ac_cv_asm_func_def+:} false; then :
12685 $as_echo_n "(cached) " >&6
12686 else
12687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12688 /* end confdefs.h. */
12691 main ()
12693 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12695 return 0;
12697 _ACEOF
12698 if ac_fn_c_try_link "$LINENO"; then :
12699 ac_cv_asm_func_def=".def"
12700 else
12701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12702 /* end confdefs.h. */
12705 main ()
12707 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12709 return 0;
12711 _ACEOF
12712 if ac_fn_c_try_link "$LINENO"; then :
12713 ac_cv_asm_func_def=".type @function"
12714 else
12715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12716 /* end confdefs.h. */
12719 main ()
12721 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12723 return 0;
12725 _ACEOF
12726 if ac_fn_c_try_link "$LINENO"; then :
12727 ac_cv_asm_func_def=".type 2"
12728 else
12729 ac_cv_asm_func_def="unknown"
12731 rm -f core conftest.err conftest.$ac_objext \
12732 conftest$ac_exeext conftest.$ac_ext
12734 rm -f core conftest.err conftest.$ac_objext \
12735 conftest$ac_exeext conftest.$ac_ext
12737 rm -f core conftest.err conftest.$ac_objext \
12738 conftest$ac_exeext conftest.$ac_ext
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12741 $as_echo "$ac_cv_asm_func_def" >&6; }
12744 case "$ac_cv_asm_func_def" in
12745 ".def")
12746 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12748 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12749 ".type @function")
12750 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12752 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
12753 ".type 2")
12754 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12756 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
12758 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12760 asm_func_header="" ;;
12761 esac
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12764 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12765 if ${ac_cv_c_asm_outside_funcs+:} false; then :
12766 $as_echo_n "(cached) " >&6
12767 else
12768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12769 /* end confdefs.h. */
12770 asm(".text\n\t.long 0");
12772 main ()
12776 return 0;
12778 _ACEOF
12779 if ac_fn_c_try_compile "$LINENO"; then :
12780 ac_cv_c_asm_outside_funcs="yes"
12781 else
12782 ac_cv_c_asm_outside_funcs="no"
12784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12787 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12790 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12791 if ${ac_cv_c_dot_previous+:} false; then :
12792 $as_echo_n "(cached) " >&6
12793 else
12794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h. */
12798 main ()
12800 asm(".text\nac_test:\t.long 0\n\t.previous");
12802 return 0;
12804 _ACEOF
12805 if ac_fn_c_try_link "$LINENO"; then :
12806 ac_cv_c_dot_previous="yes"
12807 else
12808 ac_cv_c_dot_previous="no"
12810 rm -f core conftest.err conftest.$ac_objext \
12811 conftest$ac_exeext conftest.$ac_ext
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12814 $as_echo "$ac_cv_c_dot_previous" >&6; }
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12817 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12818 if ${ac_cv_c_cfi_support+:} false; then :
12819 $as_echo_n "(cached) " >&6
12820 else
12821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12822 /* end confdefs.h. */
12823 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12825 main ()
12829 return 0;
12831 _ACEOF
12832 if ac_fn_c_try_compile "$LINENO"; then :
12833 ac_cv_c_cfi_support="yes"
12834 else
12835 ac_cv_c_cfi_support="no"
12837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12840 $as_echo "$ac_cv_c_cfi_support" >&6; }
12842 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12843 asm_func_trailer=""
12844 if test "$ac_cv_c_dot_previous" = "yes"
12845 then
12846 asm_func_trailer="\\n\\t.previous"
12848 if test "$ac_cv_c_cfi_support" = "yes"
12849 then
12850 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
12851 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
12853 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12855 UNWINDFLAGS=-fasynchronous-unwind-tables
12857 else
12858 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12862 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
12865 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12866 then
12867 cat >>confdefs.h <<_ACEOF
12868 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12869 _ACEOF
12871 else
12872 cat >>confdefs.h <<_ACEOF
12873 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12874 _ACEOF
12878 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12881 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12885 LDPATH=""
12887 case $build_os in
12888 cygwin*|mingw32*)
12889 TOOLSEXT=".exe"
12891 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12893 darwin*|macosx*)
12896 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12898 esac
12900 case $host_os in
12901 mingw32*)
12902 CRTLIBS="-lmsvcrt"
12904 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12907 esac
12909 MAIN_BINARY="wine"
12911 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
12913 case $host_os in
12914 linux*)
12915 case $host_cpu in
12916 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
12918 x86_64*) EXTRA_BINARIES="wine64-preloader"
12920 esac
12922 esac
12925 ac_save_CFLAGS="$CFLAGS"
12926 CFLAGS="$CFLAGS $BUILTINFLAG"
12927 for ac_func in \
12928 _finite \
12929 _isnan \
12930 _pclose \
12931 _popen \
12932 _snprintf \
12933 _spawnvp \
12934 _strdup \
12935 _stricmp \
12936 _strnicmp \
12937 _strtoi64 \
12938 _strtoui64 \
12939 _vsnprintf \
12940 asctime_r \
12941 chsize \
12942 dlopen \
12943 epoll_create \
12944 ffs \
12945 finite \
12946 fnmatch \
12947 fork \
12948 fpclass \
12949 fstatfs \
12950 fstatvfs \
12951 ftruncate \
12952 futimes \
12953 futimesat \
12954 getattrlist \
12955 getdirentries \
12956 getopt_long \
12957 getpagesize \
12958 getpwuid \
12959 gettimeofday \
12960 getuid \
12961 kqueue \
12962 lstat \
12963 memmove \
12964 mmap \
12965 pclose \
12966 pipe2 \
12967 poll \
12968 popen \
12969 port_create \
12970 prctl \
12971 pread \
12972 pwrite \
12973 readdir \
12974 readlink \
12975 sched_yield \
12976 select \
12977 setproctitle \
12978 setrlimit \
12979 settimeofday \
12980 sigaltstack \
12981 sigprocmask \
12982 snprintf \
12983 spawnvp \
12984 statfs \
12985 statvfs \
12986 strcasecmp \
12987 strdup \
12988 strerror \
12989 strncasecmp \
12990 strtold \
12991 strtoll \
12992 strtoull \
12993 symlink \
12994 tcgetattr \
12995 thr_kill2 \
12996 timegm \
12997 usleep \
12998 vsnprintf
13000 do :
13001 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13002 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13003 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13004 cat >>confdefs.h <<_ACEOF
13005 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13006 _ACEOF
13009 done
13011 CFLAGS="$ac_save_CFLAGS"
13013 if test "$ac_cv_func_dlopen" = no
13014 then
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13016 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13017 if ${ac_cv_lib_dl_dlopen+:} false; then :
13018 $as_echo_n "(cached) " >&6
13019 else
13020 ac_check_lib_save_LIBS=$LIBS
13021 LIBS="-ldl $LIBS"
13022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13025 /* Override any GCC internal prototype to avoid an error.
13026 Use char because int might match the return type of a GCC
13027 builtin and then its argument prototype would still apply. */
13028 #ifdef __cplusplus
13029 extern "C"
13030 #endif
13031 char dlopen ();
13033 main ()
13035 return dlopen ();
13037 return 0;
13039 _ACEOF
13040 if ac_fn_c_try_link "$LINENO"; then :
13041 ac_cv_lib_dl_dlopen=yes
13042 else
13043 ac_cv_lib_dl_dlopen=no
13045 rm -f core conftest.err conftest.$ac_objext \
13046 conftest$ac_exeext conftest.$ac_ext
13047 LIBS=$ac_check_lib_save_LIBS
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13050 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13051 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13052 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13053 LIBDL="-ldl"
13058 ac_wine_check_funcs_save_LIBS="$LIBS"
13059 LIBS="$LIBS $LIBDL"
13060 for ac_func in dladdr
13061 do :
13062 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
13063 if test "x$ac_cv_func_dladdr" = xyes; then :
13064 cat >>confdefs.h <<_ACEOF
13065 #define HAVE_DLADDR 1
13066 _ACEOF
13069 done
13071 LIBS="$ac_wine_check_funcs_save_LIBS"
13073 if test "$ac_cv_func_poll" = no
13074 then
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13076 $as_echo_n "checking for poll in -lpoll... " >&6; }
13077 if ${ac_cv_lib_poll_poll+:} false; then :
13078 $as_echo_n "(cached) " >&6
13079 else
13080 ac_check_lib_save_LIBS=$LIBS
13081 LIBS="-lpoll $LIBS"
13082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13085 /* Override any GCC internal prototype to avoid an error.
13086 Use char because int might match the return type of a GCC
13087 builtin and then its argument prototype would still apply. */
13088 #ifdef __cplusplus
13089 extern "C"
13090 #endif
13091 char poll ();
13093 main ()
13095 return poll ();
13097 return 0;
13099 _ACEOF
13100 if ac_fn_c_try_link "$LINENO"; then :
13101 ac_cv_lib_poll_poll=yes
13102 else
13103 ac_cv_lib_poll_poll=no
13105 rm -f core conftest.err conftest.$ac_objext \
13106 conftest$ac_exeext conftest.$ac_ext
13107 LIBS=$ac_check_lib_save_LIBS
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13110 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13111 if test "x$ac_cv_lib_poll_poll" = xyes; then :
13112 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13113 LIBPOLL="-lpoll"
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13120 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13121 if ${ac_cv_search_gethostbyname+:} false; then :
13122 $as_echo_n "(cached) " >&6
13123 else
13124 ac_func_search_save_LIBS=$LIBS
13125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13126 /* end confdefs.h. */
13128 /* Override any GCC internal prototype to avoid an error.
13129 Use char because int might match the return type of a GCC
13130 builtin and then its argument prototype would still apply. */
13131 #ifdef __cplusplus
13132 extern "C"
13133 #endif
13134 char gethostbyname ();
13136 main ()
13138 return gethostbyname ();
13140 return 0;
13142 _ACEOF
13143 for ac_lib in '' nsl; do
13144 if test -z "$ac_lib"; then
13145 ac_res="none required"
13146 else
13147 ac_res=-l$ac_lib
13148 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13150 if ac_fn_c_try_link "$LINENO"; then :
13151 ac_cv_search_gethostbyname=$ac_res
13153 rm -f core conftest.err conftest.$ac_objext \
13154 conftest$ac_exeext
13155 if ${ac_cv_search_gethostbyname+:} false; then :
13156 break
13158 done
13159 if ${ac_cv_search_gethostbyname+:} false; then :
13161 else
13162 ac_cv_search_gethostbyname=no
13164 rm conftest.$ac_ext
13165 LIBS=$ac_func_search_save_LIBS
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13168 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13169 ac_res=$ac_cv_search_gethostbyname
13170 if test "$ac_res" != no; then :
13171 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13177 $as_echo_n "checking for library containing connect... " >&6; }
13178 if ${ac_cv_search_connect+:} false; then :
13179 $as_echo_n "(cached) " >&6
13180 else
13181 ac_func_search_save_LIBS=$LIBS
13182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13183 /* end confdefs.h. */
13185 /* Override any GCC internal prototype to avoid an error.
13186 Use char because int might match the return type of a GCC
13187 builtin and then its argument prototype would still apply. */
13188 #ifdef __cplusplus
13189 extern "C"
13190 #endif
13191 char connect ();
13193 main ()
13195 return connect ();
13197 return 0;
13199 _ACEOF
13200 for ac_lib in '' socket; do
13201 if test -z "$ac_lib"; then
13202 ac_res="none required"
13203 else
13204 ac_res=-l$ac_lib
13205 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13207 if ac_fn_c_try_link "$LINENO"; then :
13208 ac_cv_search_connect=$ac_res
13210 rm -f core conftest.err conftest.$ac_objext \
13211 conftest$ac_exeext
13212 if ${ac_cv_search_connect+:} false; then :
13213 break
13215 done
13216 if ${ac_cv_search_connect+:} false; then :
13218 else
13219 ac_cv_search_connect=no
13221 rm conftest.$ac_ext
13222 LIBS=$ac_func_search_save_LIBS
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13225 $as_echo "$ac_cv_search_connect" >&6; }
13226 ac_res=$ac_cv_search_connect
13227 if test "$ac_res" != no; then :
13228 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13234 $as_echo_n "checking for library containing inet_aton... " >&6; }
13235 if ${ac_cv_search_inet_aton+:} false; then :
13236 $as_echo_n "(cached) " >&6
13237 else
13238 ac_func_search_save_LIBS=$LIBS
13239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13240 /* end confdefs.h. */
13242 /* Override any GCC internal prototype to avoid an error.
13243 Use char because int might match the return type of a GCC
13244 builtin and then its argument prototype would still apply. */
13245 #ifdef __cplusplus
13246 extern "C"
13247 #endif
13248 char inet_aton ();
13250 main ()
13252 return inet_aton ();
13254 return 0;
13256 _ACEOF
13257 for ac_lib in '' resolv; do
13258 if test -z "$ac_lib"; then
13259 ac_res="none required"
13260 else
13261 ac_res=-l$ac_lib
13262 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13264 if ac_fn_c_try_link "$LINENO"; then :
13265 ac_cv_search_inet_aton=$ac_res
13267 rm -f core conftest.err conftest.$ac_objext \
13268 conftest$ac_exeext
13269 if ${ac_cv_search_inet_aton+:} false; then :
13270 break
13272 done
13273 if ${ac_cv_search_inet_aton+:} false; then :
13275 else
13276 ac_cv_search_inet_aton=no
13278 rm conftest.$ac_ext
13279 LIBS=$ac_func_search_save_LIBS
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13282 $as_echo "$ac_cv_search_inet_aton" >&6; }
13283 ac_res=$ac_cv_search_inet_aton
13284 if test "$ac_res" != no; then :
13285 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13290 for ac_func in \
13291 getaddrinfo \
13292 getnameinfo \
13293 getnetbyname \
13294 getprotobyname \
13295 getprotobynumber \
13296 getservbyport \
13297 inet_network \
13298 inet_ntop \
13299 inet_pton \
13300 sendmsg \
13301 socketpair \
13303 do :
13304 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13305 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13306 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13307 cat >>confdefs.h <<_ACEOF
13308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13309 _ACEOF
13312 done
13315 LDAPLIBS=""
13317 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13318 then
13319 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13321 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13323 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13324 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
13325 $as_echo_n "(cached) " >&6
13326 else
13327 ac_check_lib_save_LIBS=$LIBS
13328 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13330 /* end confdefs.h. */
13332 /* Override any GCC internal prototype to avoid an error.
13333 Use char because int might match the return type of a GCC
13334 builtin and then its argument prototype would still apply. */
13335 #ifdef __cplusplus
13336 extern "C"
13337 #endif
13338 char ldap_initialize ();
13340 main ()
13342 return ldap_initialize ();
13344 return 0;
13346 _ACEOF
13347 if ac_fn_c_try_link "$LINENO"; then :
13348 ac_cv_lib_ldap_r_ldap_initialize=yes
13349 else
13350 ac_cv_lib_ldap_r_ldap_initialize=no
13352 rm -f core conftest.err conftest.$ac_objext \
13353 conftest$ac_exeext conftest.$ac_ext
13354 LIBS=$ac_check_lib_save_LIBS
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13357 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13358 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13360 $as_echo_n "checking for ber_init in -llber... " >&6; }
13361 if ${ac_cv_lib_lber_ber_init+:} false; then :
13362 $as_echo_n "(cached) " >&6
13363 else
13364 ac_check_lib_save_LIBS=$LIBS
13365 LIBS="-llber $LIBPTHREAD $LIBS"
13366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13367 /* end confdefs.h. */
13369 /* Override any GCC internal prototype to avoid an error.
13370 Use char because int might match the return type of a GCC
13371 builtin and then its argument prototype would still apply. */
13372 #ifdef __cplusplus
13373 extern "C"
13374 #endif
13375 char ber_init ();
13377 main ()
13379 return ber_init ();
13381 return 0;
13383 _ACEOF
13384 if ac_fn_c_try_link "$LINENO"; then :
13385 ac_cv_lib_lber_ber_init=yes
13386 else
13387 ac_cv_lib_lber_ber_init=no
13389 rm -f core conftest.err conftest.$ac_objext \
13390 conftest$ac_exeext conftest.$ac_ext
13391 LIBS=$ac_check_lib_save_LIBS
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13394 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13395 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
13397 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13399 LDAPLIBS="-lldap_r -llber"
13406 ac_wine_check_funcs_save_LIBS="$LIBS"
13407 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13408 for ac_func in \
13409 ldap_count_references \
13410 ldap_first_reference \
13411 ldap_next_reference \
13412 ldap_parse_reference \
13413 ldap_parse_sort_control \
13414 ldap_parse_sortresponse_control \
13415 ldap_parse_vlv_control \
13416 ldap_parse_vlvresponse_control
13417 do :
13418 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13419 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13420 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13421 cat >>confdefs.h <<_ACEOF
13422 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13423 _ACEOF
13426 done
13428 LIBS="$ac_wine_check_funcs_save_LIBS"
13430 if test "x$LDAPLIBS" = "x"; then :
13431 case "x$with_ldap" in
13432 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13433 xno) ;;
13434 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13435 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13436 esac
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13440 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13441 if ${wine_cv_one_arg_mkdir+:} false; then :
13442 $as_echo_n "(cached) " >&6
13443 else
13444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13445 /* end confdefs.h. */
13446 #include <sys/stat.h>
13448 main ()
13450 mkdir("foo");
13452 return 0;
13454 _ACEOF
13455 if ac_fn_c_try_compile "$LINENO"; then :
13456 wine_cv_one_arg_mkdir=yes
13457 else
13458 wine_cv_one_arg_mkdir=no
13460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13463 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13464 if test "$wine_cv_one_arg_mkdir" = "yes"
13465 then
13467 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13472 $as_echo_n "checking for sched_setaffinity... " >&6; }
13473 if ${wine_cv_have_sched_setaffinity+:} false; then :
13474 $as_echo_n "(cached) " >&6
13475 else
13476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13477 /* end confdefs.h. */
13478 #define _GNU_SOURCE
13479 #include <sched.h>
13481 main ()
13483 sched_setaffinity(0, 0, 0);
13485 return 0;
13487 _ACEOF
13488 if ac_fn_c_try_link "$LINENO"; then :
13489 wine_cv_have_sched_setaffinity=yes
13490 else
13491 wine_cv_have_sched_setaffinity=no
13493 rm -f core conftest.err conftest.$ac_objext \
13494 conftest$ac_exeext conftest.$ac_ext
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13497 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13498 if test "$wine_cv_have_sched_setaffinity" = "yes"
13499 then
13501 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13507 $as_echo_n "checking for inline... " >&6; }
13508 if ${ac_cv_c_inline+:} false; then :
13509 $as_echo_n "(cached) " >&6
13510 else
13511 ac_cv_c_inline=no
13512 for ac_kw in inline __inline__ __inline; do
13513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h. */
13515 #ifndef __cplusplus
13516 typedef int foo_t;
13517 static $ac_kw foo_t static_foo () {return 0; }
13518 $ac_kw foo_t foo () {return 0; }
13519 #endif
13521 _ACEOF
13522 if ac_fn_c_try_compile "$LINENO"; then :
13523 ac_cv_c_inline=$ac_kw
13525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13526 test "$ac_cv_c_inline" != no && break
13527 done
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13531 $as_echo "$ac_cv_c_inline" >&6; }
13533 case $ac_cv_c_inline in
13534 inline | yes) ;;
13536 case $ac_cv_c_inline in
13537 no) ac_val=;;
13538 *) ac_val=$ac_cv_c_inline;;
13539 esac
13540 cat >>confdefs.h <<_ACEOF
13541 #ifndef __cplusplus
13542 #define inline $ac_val
13543 #endif
13544 _ACEOF
13546 esac
13548 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13549 if test "x$ac_cv_type_mode_t" = xyes; then :
13551 cat >>confdefs.h <<_ACEOF
13552 #define HAVE_MODE_T 1
13553 _ACEOF
13557 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13558 if test "x$ac_cv_type_off_t" = xyes; then :
13560 cat >>confdefs.h <<_ACEOF
13561 #define HAVE_OFF_T 1
13562 _ACEOF
13566 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13567 if test "x$ac_cv_type_pid_t" = xyes; then :
13569 cat >>confdefs.h <<_ACEOF
13570 #define HAVE_PID_T 1
13571 _ACEOF
13575 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13576 if test "x$ac_cv_type_size_t" = xyes; then :
13578 cat >>confdefs.h <<_ACEOF
13579 #define HAVE_SIZE_T 1
13580 _ACEOF
13584 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13585 if test "x$ac_cv_type_ssize_t" = xyes; then :
13587 cat >>confdefs.h <<_ACEOF
13588 #define HAVE_SSIZE_T 1
13589 _ACEOF
13593 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13594 if test "x$ac_cv_type_long_long" = xyes; then :
13596 cat >>confdefs.h <<_ACEOF
13597 #define HAVE_LONG_LONG 1
13598 _ACEOF
13602 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13603 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
13605 cat >>confdefs.h <<_ACEOF
13606 #define HAVE_FSBLKCNT_T 1
13607 _ACEOF
13611 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13612 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
13614 cat >>confdefs.h <<_ACEOF
13615 #define HAVE_FSFILCNT_T 1
13616 _ACEOF
13621 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13622 #include <signal.h>
13624 if test "x$ac_cv_type_sigset_t" = xyes; then :
13626 cat >>confdefs.h <<_ACEOF
13627 #define HAVE_SIGSET_T 1
13628 _ACEOF
13633 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13635 if test "x$ac_cv_type_request_sense" = xyes; then :
13637 cat >>confdefs.h <<_ACEOF
13638 #define HAVE_REQUEST_SENSE 1
13639 _ACEOF
13645 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13646 #ifdef HAVE_SYS_SOCKET_H
13647 #include <sys/socket.h>
13648 #endif
13649 #ifdef HAVE_SYS_SOCKETVAR_H
13650 #include <sys/socketvar.h>
13651 #endif
13652 #ifdef HAVE_NET_ROUTE_H
13653 #include <net/route.h>
13654 #endif
13655 #ifdef HAVE_NETINET_IN_H
13656 #include <netinet/in.h>
13657 #endif
13658 #ifdef HAVE_NETINET_IN_SYSTM_H
13659 #include <netinet/in_systm.h>
13660 #endif
13661 #ifdef HAVE_NETINET_IP_H
13662 #include <netinet/ip.h>
13663 #endif
13664 #ifdef HAVE_NETINET_IN_PCB_H
13665 #include <netinet/in_pcb.h>
13666 #endif
13668 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
13670 cat >>confdefs.h <<_ACEOF
13671 #define HAVE_STRUCT_XINPGEN 1
13672 _ACEOF
13678 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13679 #include <linux/input.h>
13680 #endif
13682 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
13684 cat >>confdefs.h <<_ACEOF
13685 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13686 _ACEOF
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13693 $as_echo_n "checking for sigaddset... " >&6; }
13694 if ${wine_cv_have_sigaddset+:} false; then :
13695 $as_echo_n "(cached) " >&6
13696 else
13697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13699 #include <signal.h>
13701 main ()
13703 sigset_t set; sigaddset(&set,SIGTERM);
13705 return 0;
13707 _ACEOF
13708 if ac_fn_c_try_link "$LINENO"; then :
13709 wine_cv_have_sigaddset=yes
13710 else
13711 wine_cv_have_sigaddset=no
13713 rm -f core conftest.err conftest.$ac_objext \
13714 conftest$ac_exeext conftest.$ac_ext
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13717 $as_echo "$wine_cv_have_sigaddset" >&6; }
13718 if test "$wine_cv_have_sigaddset" = "yes"
13719 then
13721 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13727 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13728 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
13729 $as_echo_n "(cached) " >&6
13730 else
13731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13732 /* end confdefs.h. */
13733 #include <netdb.h>
13735 main ()
13738 char *name=0;
13739 struct hostent he;
13740 struct hostent *result;
13741 char *buf=0;
13742 int bufsize=0;
13743 int errnr;
13744 char *addr=0;
13745 int addrlen=0;
13746 int addrtype=0;
13747 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13748 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13751 return 0;
13753 _ACEOF
13754 if ac_fn_c_try_link "$LINENO"; then :
13755 wine_cv_linux_gethostbyname_r_6=yes
13756 else
13757 wine_cv_linux_gethostbyname_r_6=no
13760 rm -f core conftest.err conftest.$ac_objext \
13761 conftest$ac_exeext conftest.$ac_ext
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13765 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13766 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13767 then
13769 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13773 if test "$ac_cv_header_linux_joystick_h" = "yes"
13774 then
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13776 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13777 if ${wine_cv_linux_joystick_22_api+:} false; then :
13778 $as_echo_n "(cached) " >&6
13779 else
13780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13783 #include <sys/ioctl.h>
13784 #include <sys/types.h>
13785 #include <linux/joystick.h>
13787 struct js_event blub;
13788 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13789 #error "no 2.2 header"
13790 #endif
13793 main ()
13795 /*empty*/
13797 return 0;
13799 _ACEOF
13800 if ac_fn_c_try_compile "$LINENO"; then :
13801 wine_cv_linux_joystick_22_api=yes
13802 else
13803 wine_cv_linux_joystick_22_api=no
13805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13809 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13810 if test "$wine_cv_linux_joystick_22_api" = "yes"
13811 then
13813 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13819 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13820 #ifdef HAVE_SYS_PARAM_H
13821 # include <sys/param.h>
13822 #endif
13823 #ifdef HAVE_SYS_MOUNT_H
13824 # include <sys/mount.h>
13825 #endif
13826 #ifdef HAVE_SYS_VFS_H
13827 # include <sys/vfs.h>
13828 #endif
13829 #ifdef HAVE_SYS_STATFS_H
13830 # include <sys/statfs.h>
13831 #endif
13833 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
13835 cat >>confdefs.h <<_ACEOF
13836 #define HAVE_STRUCT_STATFS_F_BFREE 1
13837 _ACEOF
13841 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13842 #ifdef HAVE_SYS_PARAM_H
13843 # include <sys/param.h>
13844 #endif
13845 #ifdef HAVE_SYS_MOUNT_H
13846 # include <sys/mount.h>
13847 #endif
13848 #ifdef HAVE_SYS_VFS_H
13849 # include <sys/vfs.h>
13850 #endif
13851 #ifdef HAVE_SYS_STATFS_H
13852 # include <sys/statfs.h>
13853 #endif
13855 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
13857 cat >>confdefs.h <<_ACEOF
13858 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13859 _ACEOF
13863 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13864 #ifdef HAVE_SYS_PARAM_H
13865 # include <sys/param.h>
13866 #endif
13867 #ifdef HAVE_SYS_MOUNT_H
13868 # include <sys/mount.h>
13869 #endif
13870 #ifdef HAVE_SYS_VFS_H
13871 # include <sys/vfs.h>
13872 #endif
13873 #ifdef HAVE_SYS_STATFS_H
13874 # include <sys/statfs.h>
13875 #endif
13877 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
13879 cat >>confdefs.h <<_ACEOF
13880 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13881 _ACEOF
13885 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13886 #ifdef HAVE_SYS_PARAM_H
13887 # include <sys/param.h>
13888 #endif
13889 #ifdef HAVE_SYS_MOUNT_H
13890 # include <sys/mount.h>
13891 #endif
13892 #ifdef HAVE_SYS_VFS_H
13893 # include <sys/vfs.h>
13894 #endif
13895 #ifdef HAVE_SYS_STATFS_H
13896 # include <sys/statfs.h>
13897 #endif
13899 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
13901 cat >>confdefs.h <<_ACEOF
13902 #define HAVE_STRUCT_STATFS_F_FFREE 1
13903 _ACEOF
13907 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13908 #ifdef HAVE_SYS_PARAM_H
13909 # include <sys/param.h>
13910 #endif
13911 #ifdef HAVE_SYS_MOUNT_H
13912 # include <sys/mount.h>
13913 #endif
13914 #ifdef HAVE_SYS_VFS_H
13915 # include <sys/vfs.h>
13916 #endif
13917 #ifdef HAVE_SYS_STATFS_H
13918 # include <sys/statfs.h>
13919 #endif
13921 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
13923 cat >>confdefs.h <<_ACEOF
13924 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13925 _ACEOF
13929 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13930 #ifdef HAVE_SYS_PARAM_H
13931 # include <sys/param.h>
13932 #endif
13933 #ifdef HAVE_SYS_MOUNT_H
13934 # include <sys/mount.h>
13935 #endif
13936 #ifdef HAVE_SYS_VFS_H
13937 # include <sys/vfs.h>
13938 #endif
13939 #ifdef HAVE_SYS_STATFS_H
13940 # include <sys/statfs.h>
13941 #endif
13943 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
13945 cat >>confdefs.h <<_ACEOF
13946 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13947 _ACEOF
13953 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13954 #include <sys/statvfs.h>
13955 #endif
13957 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
13959 cat >>confdefs.h <<_ACEOF
13960 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13961 _ACEOF
13967 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
13968 #include <dirent.h>
13969 #endif
13971 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
13973 cat >>confdefs.h <<_ACEOF
13974 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
13975 _ACEOF
13981 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13982 #ifdef HAVE_SYS_SOCKET_H
13983 # include <sys/socket.h>
13984 #endif
13985 #ifdef HAVE_SYS_UN_H
13986 # include <sys/un.h>
13987 #endif
13989 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
13991 cat >>confdefs.h <<_ACEOF
13992 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13993 _ACEOF
13997 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13998 #ifdef HAVE_SYS_SOCKET_H
13999 # include <sys/socket.h>
14000 #endif
14001 #ifdef HAVE_SYS_UN_H
14002 # include <sys/un.h>
14003 #endif
14005 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
14007 cat >>confdefs.h <<_ACEOF
14008 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14009 _ACEOF
14013 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14014 #ifdef HAVE_SYS_SOCKET_H
14015 # include <sys/socket.h>
14016 #endif
14017 #ifdef HAVE_SYS_UN_H
14018 # include <sys/un.h>
14019 #endif
14021 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
14023 cat >>confdefs.h <<_ACEOF
14024 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14025 _ACEOF
14031 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14032 #ifdef HAVE_SCSI_SG_H
14033 #include <scsi/sg.h>
14034 #endif
14036 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
14038 cat >>confdefs.h <<_ACEOF
14039 #define HAVE_SCSIREQ_T_CMD 1
14040 _ACEOF
14044 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>
14045 #ifdef HAVE_SCSI_SG_H
14046 #include <scsi/sg.h>
14047 #endif
14049 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
14051 cat >>confdefs.h <<_ACEOF
14052 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14053 _ACEOF
14059 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14061 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
14063 cat >>confdefs.h <<_ACEOF
14064 #define HAVE_SIGINFO_T_SI_FD 1
14065 _ACEOF
14071 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14072 #ifdef HAVE_SYS_MTIO_H
14073 #include <sys/mtio.h>
14074 #endif
14076 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
14078 cat >>confdefs.h <<_ACEOF
14079 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14080 _ACEOF
14084 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14085 #ifdef HAVE_SYS_MTIO_H
14086 #include <sys/mtio.h>
14087 #endif
14089 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
14091 cat >>confdefs.h <<_ACEOF
14092 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14093 _ACEOF
14097 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14098 #ifdef HAVE_SYS_MTIO_H
14099 #include <sys/mtio.h>
14100 #endif
14102 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
14104 cat >>confdefs.h <<_ACEOF
14105 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14106 _ACEOF
14112 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14113 #include <getopt.h>
14114 #endif
14116 if test "x$ac_cv_member_struct_option_name" = xyes; then :
14118 cat >>confdefs.h <<_ACEOF
14119 #define HAVE_STRUCT_OPTION_NAME 1
14120 _ACEOF
14126 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14127 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
14129 cat >>confdefs.h <<_ACEOF
14130 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14131 _ACEOF
14135 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14136 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
14138 cat >>confdefs.h <<_ACEOF
14139 #define HAVE_STRUCT_STAT_ST_MTIM 1
14140 _ACEOF
14144 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14145 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
14147 cat >>confdefs.h <<_ACEOF
14148 #define HAVE_STRUCT_STAT_ST_CTIM 1
14149 _ACEOF
14153 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14154 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
14156 cat >>confdefs.h <<_ACEOF
14157 #define HAVE_STRUCT_STAT_ST_ATIM 1
14158 _ACEOF
14164 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
14165 #include <sys/types.h>
14166 #endif
14167 #ifdef HAVE_NETINET_IN_H
14168 #include <netinet/in.h>
14169 #endif
14171 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
14173 cat >>confdefs.h <<_ACEOF
14174 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14175 _ACEOF
14181 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14182 #include <sys/types.h>
14183 #endif
14184 #ifdef HAVE_NETINET_IN_H
14185 # include <netinet/in.h>
14186 #endif
14187 #ifdef HAVE_ARPA_NAMESER_H
14188 # include <arpa/nameser.h>
14189 #endif
14191 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
14193 cat >>confdefs.h <<_ACEOF
14194 #define HAVE_NS_MSG__MSG_PTR 1
14195 _ACEOF
14201 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14202 #include <sys/types.h>
14203 #endif
14204 #ifdef HAVE_NETINET_IP_H
14205 #include <netinet/ip.h>
14206 #endif
14207 #ifdef HAVE_NETINET_IP_ICMP_H
14208 #include <netinet/ip_icmp.h>
14209 #endif
14210 #ifdef HAVE_NETINET_ICMP_VAR_H
14211 #include <netinet/icmp_var.h>
14212 #endif
14214 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
14216 cat >>confdefs.h <<_ACEOF
14217 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14218 _ACEOF
14224 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14225 #include <sys/types.h>
14226 #endif
14227 #ifdef HAVE_ALIAS_H
14228 #include <alias.h>
14229 #endif
14230 #ifdef HAVE_SYS_SOCKET_H
14231 #include <sys/socket.h>
14232 #endif
14233 #ifdef HAVE_SYS_SOCKETVAR_H
14234 #include <sys/socketvar.h>
14235 #endif
14236 #ifdef HAVE_SYS_TIMEOUT_H
14237 #include <sys/timeout.h>
14238 #endif
14239 #ifdef HAVE_NETINET_IN_H
14240 #include <netinet/in.h>
14241 #endif
14242 #ifdef HAVE_NETINET_IN_SYSTM_H
14243 #include <netinet/in_systm.h>
14244 #endif
14245 #ifdef HAVE_NETINET_IP_H
14246 #include <netinet/ip.h>
14247 #endif
14248 #ifdef HAVE_NETINET_IP_VAR_H
14249 #include <netinet/ip_var.h>
14250 #endif
14251 #ifdef HAVE_NETINET_IP_ICMP_H
14252 #include <netinet/ip_icmp.h>
14253 #endif
14254 #ifdef HAVE_NETINET_ICMP_VAR_H
14255 #include <netinet/icmp_var.h>
14256 #endif
14258 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
14260 cat >>confdefs.h <<_ACEOF
14261 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14262 _ACEOF
14268 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14269 #include <sys/types.h>
14270 #endif
14271 #ifdef HAVE_SYS_SOCKETVAR_H
14272 #include <sys/socketvar.h>
14273 #endif
14274 #ifdef HAVE_NETINET_IN_H
14275 #include <netinet/in.h>
14276 #endif
14277 #ifdef HAVE_NETINET_IP_VAR_H
14278 #include <netinet/ip_var.h>
14279 #endif
14281 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
14283 cat >>confdefs.h <<_ACEOF
14284 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14285 _ACEOF
14291 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
14292 #include <netinet/ip_var.h>
14293 #endif
14295 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
14297 cat >>confdefs.h <<_ACEOF
14298 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14299 _ACEOF
14305 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14306 #include <sys/types.h>
14307 #endif
14308 #ifdef HAVE_SYS_SOCKETVAR_H
14309 #include <sys/socketvar.h>
14310 #endif
14311 #ifdef HAVE_NETINET_IN_H
14312 #include <netinet/in.h>
14313 #endif
14314 #ifdef HAVE_NETINET_TCP_H
14315 #include <netinet/tcp.h>
14316 #endif
14317 #ifdef HAVE_NETINET_TCP_VAR_H
14318 #include <netinet/tcp_var.h>
14319 #endif
14321 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
14323 cat >>confdefs.h <<_ACEOF
14324 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14325 _ACEOF
14331 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
14332 #include <netinet/tcp_var.h>
14333 #endif
14335 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
14337 cat >>confdefs.h <<_ACEOF
14338 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14339 _ACEOF
14345 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14346 #include <sys/types.h>
14347 #endif
14348 #ifdef HAVE_NETINET_IN_H
14349 #include <netinet/in.h>
14350 #endif
14351 #ifdef HAVE_NETINET_IP_VAR_H
14352 #include <netinet/ip_var.h>
14353 #endif
14354 #ifdef HAVE_NETINET_UDP_H
14355 #include <netinet/udp.h>
14356 #endif
14357 #ifdef HAVE_NETINET_UDP_VAR_H
14358 #include <netinet/udp_var.h>
14359 #endif
14361 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
14363 cat >>confdefs.h <<_ACEOF
14364 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14365 _ACEOF
14371 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14372 #include <sys/types.h>
14373 #endif
14374 #ifdef HAVE_NET_IF_H
14375 # include <net/if.h>
14376 #endif
14378 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
14380 cat >>confdefs.h <<_ACEOF
14381 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14382 _ACEOF
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14389 $as_echo_n "checking for timezone variable... " >&6; }
14390 if ${ac_cv_have_timezone+:} false; then :
14391 $as_echo_n "(cached) " >&6
14392 else
14393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14394 /* end confdefs.h. */
14395 #include <time.h>
14397 main ()
14399 timezone = 1
14401 return 0;
14403 _ACEOF
14404 if ac_fn_c_try_link "$LINENO"; then :
14405 ac_cv_have_timezone="yes"
14406 else
14407 ac_cv_have_timezone="no"
14409 rm -f core conftest.err conftest.$ac_objext \
14410 conftest$ac_exeext conftest.$ac_ext
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14413 $as_echo "$ac_cv_have_timezone" >&6; }
14414 if test "$ac_cv_have_timezone" = "yes"
14415 then
14417 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14421 $as_echo_n "checking for daylight variable... " >&6; }
14422 if ${ac_cv_have_daylight+:} false; then :
14423 $as_echo_n "(cached) " >&6
14424 else
14425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14426 /* end confdefs.h. */
14427 #include <time.h>
14429 main ()
14431 daylight = 1
14433 return 0;
14435 _ACEOF
14436 if ac_fn_c_try_link "$LINENO"; then :
14437 ac_cv_have_daylight="yes"
14438 else
14439 ac_cv_have_daylight="no"
14441 rm -f core conftest.err conftest.$ac_objext \
14442 conftest$ac_exeext conftest.$ac_ext
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14445 $as_echo "$ac_cv_have_daylight" >&6; }
14446 if test "$ac_cv_have_daylight" = "yes"
14447 then
14449 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14453 ac_save_LIBS="$LIBS"
14454 LIBS="$LIBS -lm"
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14456 $as_echo_n "checking for isinf... " >&6; }
14457 if ${ac_cv_have_isinf+:} false; then :
14458 $as_echo_n "(cached) " >&6
14459 else
14460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14461 /* end confdefs.h. */
14462 #include <math.h>
14464 main ()
14466 float f = 0.0; return isinf(f)
14468 return 0;
14470 _ACEOF
14471 if ac_fn_c_try_link "$LINENO"; then :
14472 ac_cv_have_isinf="yes"
14473 else
14474 ac_cv_have_isinf="no"
14476 rm -f core conftest.err conftest.$ac_objext \
14477 conftest$ac_exeext conftest.$ac_ext
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14480 $as_echo "$ac_cv_have_isinf" >&6; }
14481 if test "$ac_cv_have_isinf" = "yes"
14482 then
14484 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14489 $as_echo_n "checking for isnan... " >&6; }
14490 if ${ac_cv_have_isnan+:} false; then :
14491 $as_echo_n "(cached) " >&6
14492 else
14493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14494 /* end confdefs.h. */
14495 #include <math.h>
14497 main ()
14499 float f = 0.0; return isnan(f)
14501 return 0;
14503 _ACEOF
14504 if ac_fn_c_try_link "$LINENO"; then :
14505 ac_cv_have_isnan="yes"
14506 else
14507 ac_cv_have_isnan="no"
14509 rm -f core conftest.err conftest.$ac_objext \
14510 conftest$ac_exeext conftest.$ac_ext
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14513 $as_echo "$ac_cv_have_isnan" >&6; }
14514 if test "$ac_cv_have_isnan" = "yes"
14515 then
14517 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14520 LIBS="$ac_save_LIBS"
14523 case $host_cpu in
14524 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14525 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14526 if ${ac_cv_cpp_def___i386__+:} false; then :
14527 $as_echo_n "(cached) " >&6
14528 else
14529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14530 /* end confdefs.h. */
14531 #ifndef __i386__
14533 #endif
14534 _ACEOF
14535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14536 $EGREP "yes" >/dev/null 2>&1; then :
14537 ac_cv_cpp_def___i386__=yes
14538 else
14539 ac_cv_cpp_def___i386__=no
14541 rm -f conftest*
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14545 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14546 if test $ac_cv_cpp_def___i386__ = yes; then :
14547 CFLAGS="$CFLAGS -D__i386__"
14548 LINTFLAGS="$LINTFLAGS -D__i386__"
14549 fi ;;
14550 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14551 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14552 if ${ac_cv_cpp_def___x86_64__+:} false; then :
14553 $as_echo_n "(cached) " >&6
14554 else
14555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14556 /* end confdefs.h. */
14557 #ifndef __x86_64__
14559 #endif
14560 _ACEOF
14561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14562 $EGREP "yes" >/dev/null 2>&1; then :
14563 ac_cv_cpp_def___x86_64__=yes
14564 else
14565 ac_cv_cpp_def___x86_64__=no
14567 rm -f conftest*
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14571 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14572 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14573 CFLAGS="$CFLAGS -D__x86_64__"
14574 LINTFLAGS="$LINTFLAGS -D__x86_64__"
14575 fi ;;
14576 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
14577 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
14578 if ${ac_cv_cpp_def___sparc64__+:} false; then :
14579 $as_echo_n "(cached) " >&6
14580 else
14581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14583 #ifndef __sparc64__
14585 #endif
14586 _ACEOF
14587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14588 $EGREP "yes" >/dev/null 2>&1; then :
14589 ac_cv_cpp_def___sparc64__=yes
14590 else
14591 ac_cv_cpp_def___sparc64__=no
14593 rm -f conftest*
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
14597 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
14598 if test $ac_cv_cpp_def___sparc64__ = yes; then :
14599 CFLAGS="$CFLAGS -D__sparc64__"
14600 LINTFLAGS="$LINTFLAGS -D__sparc64__"
14601 fi ;;
14602 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14603 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14604 if ${ac_cv_cpp_def___sparc__+:} false; then :
14605 $as_echo_n "(cached) " >&6
14606 else
14607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14608 /* end confdefs.h. */
14609 #ifndef __sparc__
14611 #endif
14612 _ACEOF
14613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14614 $EGREP "yes" >/dev/null 2>&1; then :
14615 ac_cv_cpp_def___sparc__=yes
14616 else
14617 ac_cv_cpp_def___sparc__=no
14619 rm -f conftest*
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14623 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14624 if test $ac_cv_cpp_def___sparc__ = yes; then :
14625 CFLAGS="$CFLAGS -D__sparc__"
14626 LINTFLAGS="$LINTFLAGS -D__sparc__"
14627 fi ;;
14628 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
14629 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
14630 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
14631 $as_echo_n "(cached) " >&6
14632 else
14633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14634 /* end confdefs.h. */
14635 #ifndef __powerpc64__
14637 #endif
14638 _ACEOF
14639 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14640 $EGREP "yes" >/dev/null 2>&1; then :
14641 ac_cv_cpp_def___powerpc64__=yes
14642 else
14643 ac_cv_cpp_def___powerpc64__=no
14645 rm -f conftest*
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
14649 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
14650 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
14651 CFLAGS="$CFLAGS -D__powerpc64__"
14652 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
14653 fi ;;
14654 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14655 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14656 if ${ac_cv_cpp_def___powerpc__+:} false; then :
14657 $as_echo_n "(cached) " >&6
14658 else
14659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14660 /* end confdefs.h. */
14661 #ifndef __powerpc__
14663 #endif
14664 _ACEOF
14665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14666 $EGREP "yes" >/dev/null 2>&1; then :
14667 ac_cv_cpp_def___powerpc__=yes
14668 else
14669 ac_cv_cpp_def___powerpc__=no
14671 rm -f conftest*
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14675 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14676 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14677 CFLAGS="$CFLAGS -D__powerpc__"
14678 LINTFLAGS="$LINTFLAGS -D__powerpc__"
14679 fi ;;
14680 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14681 $as_echo_n "checking whether we need to define __arm__... " >&6; }
14682 if ${ac_cv_cpp_def___arm__+:} false; then :
14683 $as_echo_n "(cached) " >&6
14684 else
14685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14686 /* end confdefs.h. */
14687 #ifndef __arm__
14689 #endif
14690 _ACEOF
14691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14692 $EGREP "yes" >/dev/null 2>&1; then :
14693 ac_cv_cpp_def___arm__=yes
14694 else
14695 ac_cv_cpp_def___arm__=no
14697 rm -f conftest*
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
14701 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
14702 if test $ac_cv_cpp_def___arm__ = yes; then :
14703 CFLAGS="$CFLAGS -D__arm__"
14704 LINTFLAGS="$LINTFLAGS -D__arm__"
14705 fi ;;
14706 esac
14708 case $host_vendor in
14709 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14710 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14711 if ${ac_cv_cpp_def___sun__+:} false; then :
14712 $as_echo_n "(cached) " >&6
14713 else
14714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14715 /* end confdefs.h. */
14716 #ifndef __sun__
14718 #endif
14719 _ACEOF
14720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14721 $EGREP "yes" >/dev/null 2>&1; then :
14722 ac_cv_cpp_def___sun__=yes
14723 else
14724 ac_cv_cpp_def___sun__=no
14726 rm -f conftest*
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14730 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14731 if test $ac_cv_cpp_def___sun__ = yes; then :
14732 CFLAGS="$CFLAGS -D__sun__"
14733 LINTFLAGS="$LINTFLAGS -D__sun__"
14734 fi ;;
14735 esac
14741 ac_config_commands="$ac_config_commands include/stamp-h"
14744 ALL_MAKEFILE_DEPENDS="
14745 # Rules automatically generated by configure
14747 .INIT: Makefile
14748 .MAKEFILEDEPS:
14749 all: Makefile
14750 Makefile: Makefile.in Make.vars.in Make.rules config.status
14751 @./config.status Make.tmp Makefile"
14753 ALL_POT_FILES=""
14754 ALL_TEST_RESOURCES=""
14757 wine_fn_append_file ()
14759 as_fn_append $1 " \\$as_nl $2"
14762 wine_fn_append_rule ()
14764 as_fn_append $1 "$as_nl$2"
14767 wine_fn_has_flag ()
14769 expr ",$2," : ".*,$1,.*" >/dev/null
14772 wine_fn_all_dir_rules ()
14774 ac_dir=$1
14775 ac_alldeps=$2
14776 ac_makedep="\$(MAKEDEP)"
14777 ac_input=Make.vars.in:$ac_dir/Makefile.in
14778 if test $ac_dir != tools
14779 then
14780 ac_alldeps="$2 $ac_makedep"
14782 case $2 in
14783 *.in) ac_input=$ac_input:$2 ;;
14784 *) ac_makedep="$2 $ac_makedep" ;;
14785 esac
14787 wine_fn_append_file ALL_DIRS $ac_dir
14788 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14789 "__clean__: $ac_dir/__clean__
14790 .PHONY: $ac_dir/__clean__
14791 $ac_dir/__clean__: $ac_dir/Makefile
14792 @cd $ac_dir && \$(MAKE) clean
14793 \$(RM) $ac_dir/Makefile
14794 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14795 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14796 depend: $ac_dir/__depend__
14797 .PHONY: $ac_dir/__depend__
14798 $ac_dir/__depend__: $ac_makedep dummy
14799 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14802 wine_fn_pot_rules ()
14804 ac_dir=$1
14805 ac_flags=$2
14807 test "x$with_gettextpo" = xyes || return
14809 if wine_fn_has_flag mc $ac_flags
14810 then
14811 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
14812 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14813 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
14814 @cd $ac_dir && \$(MAKE) msg.pot
14815 $ac_dir/msg.pot: tools/wmc include"
14817 if wine_fn_has_flag po $ac_flags
14818 then
14819 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
14820 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14821 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
14822 @cd $ac_dir && \$(MAKE) rsrc.pot
14823 $ac_dir/rsrc.pot: tools/wrc include"
14827 wine_fn_config_makefile ()
14829 ac_dir=$1
14830 ac_enable=$2
14831 ac_flags=$3
14832 ac_rules=$4
14833 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14834 return 0
14837 wine_fn_all_dir_rules $ac_dir ${ac_rules:-Make.rules}
14838 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14839 "all: $ac_dir
14840 .PHONY: $ac_dir
14841 $ac_dir: $ac_dir/Makefile dummy
14842 @cd $ac_dir && \$(MAKE)"
14844 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
14846 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14847 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14848 $ac_dir/__install__:: $ac_dir
14849 @cd $ac_dir && \$(MAKE) install
14850 $ac_dir/__uninstall__:: $ac_dir/Makefile
14851 @cd $ac_dir && \$(MAKE) uninstall
14852 install:: $ac_dir/__install__
14853 __uninstall__: $ac_dir/__uninstall__"
14855 if wine_fn_has_flag install-lib $ac_flags
14856 then
14857 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14858 ".PHONY: $ac_dir/__install-lib__
14859 $ac_dir/__install-lib__:: $ac_dir
14860 @cd $ac_dir && \$(MAKE) install-lib
14861 install-lib:: $ac_dir/__install-lib__"
14864 if wine_fn_has_flag install-dev $ac_flags
14865 then
14866 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14867 ".PHONY: $ac_dir/__install-dev
14868 $ac_dir/__install-dev__:: $ac_dir
14869 @cd $ac_dir && \$(MAKE) install-dev
14870 install-dev:: $ac_dir/__install-dev__"
14874 wine_fn_config_lib ()
14876 ac_name=$1
14877 ac_flags=$2
14878 ac_dir=dlls/$ac_name
14879 wine_fn_config_makefile $ac_dir enable_$ac_name "$ac_flags" dlls/Makeimplib.rules
14881 if wine_fn_has_flag install-dev $ac_flags
14882 then :
14883 else
14884 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14885 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14886 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
14887 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14888 $ac_dir/__uninstall__::
14889 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14890 install install-dev:: $ac_dir/__install__
14891 __uninstall__: $ac_dir/__uninstall__"
14894 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: $ac_dir"
14895 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: tools/widl tools/winebuild tools/winegcc include"
14898 wine_fn_config_dll ()
14900 ac_name=$1
14901 ac_dir=dlls/$ac_name
14902 ac_enable=$2
14903 ac_flags=$3
14904 ac_implib=${4:-$ac_name}
14905 ac_file=$ac_dir/lib$ac_implib
14906 ac_dll=$ac_name
14907 ac_deps="tools/widl tools/winebuild tools/winegcc include"
14908 ac_implibflags=""
14910 case $ac_name in
14911 *16) ac_implibflags=" -m16" ;;
14912 *.*) ;;
14913 *) ac_dll=$ac_dll.dll ;;
14914 esac
14916 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" dlls/Makedll.rules
14918 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14919 test "$ac_enable" != enable_win16 || return 0
14920 wine_fn_has_flag implib $ac_flags && wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
14921 else
14922 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14923 "$ac_dir: __builddeps__
14924 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14925 @cd $ac_dir && \$(MAKE) \$@"
14927 if wine_fn_has_flag install-lib $ac_flags
14928 then :
14929 else
14930 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14931 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
14932 install install-lib:: $ac_dir/__install-lib__
14933 __uninstall__: $ac_dir/__uninstall__"
14934 if test -n "$DLLEXT"
14935 then
14936 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14937 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14938 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
14939 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
14940 $ac_dir/__uninstall__::
14941 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
14942 else
14943 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14944 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14945 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
14946 $ac_dir/__uninstall__::
14947 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
14951 wine_fn_pot_rules $ac_dir $ac_flags
14954 if wine_fn_has_flag staticimplib $ac_flags
14955 then
14956 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14957 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14958 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14959 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14960 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14961 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14962 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14963 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14964 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14965 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14966 $ac_dir/__uninstall__::
14967 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14968 install install-dev:: $ac_dir/__install-dev__
14969 __uninstall__: $ac_dir/__uninstall__"
14971 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
14972 then
14973 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14974 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
14975 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
14976 $ac_dir/__uninstall__::
14977 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
14980 if test "x$CROSSTEST_DISABLE" = x
14981 then
14982 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14983 "__builddeps__: $ac_file.cross.a
14984 $ac_file.cross.a: $ac_dir/Makefile dummy
14985 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14988 elif wine_fn_has_flag implib $ac_flags
14989 then
14990 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14991 "__builddeps__: $ac_file.$IMPLIBEXT
14992 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14993 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14994 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14995 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14996 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14997 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14998 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14999 $ac_dir/__uninstall__::
15000 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15001 install install-dev:: $ac_dir/__install-dev__
15002 __uninstall__: $ac_dir/__uninstall__"
15003 if test "x$CROSSTEST_DISABLE" = x
15004 then
15005 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15006 "__builddeps__: $ac_file.cross.a
15007 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15008 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15011 if test "$ac_name" != "$ac_implib"
15012 then
15013 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15014 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15015 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15016 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15017 clean::
15018 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15019 if test "x$CROSSTEST_DISABLE" = x
15020 then
15021 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15022 "__builddeps__: dlls/lib$ac_implib.cross.a
15023 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15024 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15030 wine_fn_config_program ()
15032 ac_name=$1
15033 ac_dir=programs/$ac_name
15034 ac_enable=$2
15035 ac_flags=$3
15036 ac_program=$ac_name
15038 case $ac_name in
15039 *.*) ;;
15040 *) ac_program=$ac_program.exe ;;
15041 esac
15043 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" programs/Makeprog.rules
15045 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15047 else
15048 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15049 "$ac_dir: __builddeps__"
15051 wine_fn_pot_rules $ac_dir $ac_flags
15053 wine_fn_has_flag install $ac_flags || return
15054 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15055 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15056 install install-lib:: $ac_dir/__install__
15057 __uninstall__: $ac_dir/__uninstall__"
15059 if test -n "$DLLEXT"
15060 then
15061 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15062 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15063 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15064 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15065 $ac_dir/__uninstall__::
15066 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15068 if test "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
15069 then
15070 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15071 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15072 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15073 $ac_dir/__uninstall__::
15074 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15076 else
15077 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15078 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15079 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15080 $ac_dir/__uninstall__::
15081 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15084 if test "x$enable_tools" != xno && wine_fn_has_flag manpage $ac_flags
15085 then
15086 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15087 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15088 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15089 $ac_dir/__uninstall__::
15090 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15095 wine_fn_config_test ()
15097 ac_dir=$1
15098 ac_name=$2
15099 ac_flags=$3
15100 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
15101 wine_fn_all_dir_rules $ac_dir Maketest.rules
15103 if test "x$enable_tests" = xno; then :
15105 else
15106 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15107 "all: $ac_dir
15108 .PHONY: $ac_dir
15109 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15110 @cd $ac_dir && \$(MAKE)
15111 programs/winetest: $ac_dir
15112 check test: $ac_dir/__test__
15113 .PHONY: $ac_dir/__test__
15114 $ac_dir/__test__: dummy
15115 @cd $ac_dir && \$(MAKE) test
15116 testclean::
15117 \$(RM) $ac_dir/*.ok"
15119 if test "x$CROSSTEST_DISABLE" = x
15120 then
15121 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15122 "crosstest: $ac_dir/__crosstest__
15123 .PHONY: $ac_dir/__crosstest__
15124 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15125 @cd $ac_dir && \$(MAKE) crosstest"
15130 wine_fn_config_tool ()
15132 ac_dir=$1
15133 ac_flags=$2
15134 if test "x$enable_tools" = xno; then :
15135 return 0
15138 wine_fn_config_makefile $ac_dir enable_tools $ac_flags
15140 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__tooldeps__: $ac_dir"
15141 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: libs/port"
15142 case $ac_dir in
15143 tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
15144 esac
15147 wine_fn_config_makerules ()
15149 ac_rules=$1
15150 ac_deps=$2
15151 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15152 "$ac_rules: $ac_rules.in $ac_deps config.status
15153 @./config.status $ac_rules
15154 distclean::
15155 \$(RM) $ac_rules"
15158 wine_fn_config_symlink ()
15160 ac_link=$1
15161 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15162 "$ac_link:
15163 @./config.status $ac_link
15164 distclean::
15165 \$(RM) $ac_link"
15168 if test "x$CROSSTEST_DISABLE" != x
15169 then
15170 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15171 "crosstest:
15172 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15174 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15175 wine_fn_config_symlink dlls/shell32/AUTHORS
15176 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15177 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
15178 if test "x$enable_fonts" != xno; then
15179 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15180 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf
15182 if test "x$enable_fonts" != xno; then
15183 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15184 test "$srcdir" = "." || wine_fn_config_symlink fonts/symbol.ttf
15186 if test "x$enable_fonts" != xno; then
15187 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15188 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahoma.ttf
15190 if test "x$enable_fonts" != xno; then
15191 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15192 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
15194 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
15195 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
15196 if test "x$enable_tools" != xno; then
15197 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15198 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
15200 ac_config_links="$ac_config_links wine:tools/winewrapper"
15201 wine_fn_config_symlink wine
15202 if test "x$enable_win64" != xno; then
15203 ac_config_links="$ac_config_links wine64:tools/winewrapper"
15204 wine_fn_config_symlink wine64
15207 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
15209 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
15211 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
15213 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
15215 ac_config_commands="$ac_config_commands dlls/user32/resources"
15217 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
15219 ac_config_commands="$ac_config_commands include/wine"
15222 wine_fn_config_makerules Make.rules
15223 MAKE_RULES=Make.rules
15224 ac_config_files="$ac_config_files Make.rules"
15226 wine_fn_config_makerules Maketest.rules Make.rules
15227 MAKE_TEST_RULES=Maketest.rules
15228 ac_config_files="$ac_config_files Maketest.rules"
15230 wine_fn_config_makerules dlls/Makedll.rules Make.rules
15231 MAKE_DLL_RULES=dlls/Makedll.rules
15232 ac_config_files="$ac_config_files dlls/Makedll.rules"
15234 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
15235 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
15236 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
15238 wine_fn_config_makerules programs/Makeprog.rules Make.rules
15239 MAKE_PROG_RULES=programs/Makeprog.rules
15240 ac_config_files="$ac_config_files programs/Makeprog.rules"
15243 wine_fn_config_dll acledit enable_acledit
15244 wine_fn_config_dll aclui enable_aclui implib
15245 wine_fn_config_dll activeds enable_activeds implib
15246 wine_fn_config_dll actxprxy enable_actxprxy
15247 wine_fn_config_lib adsiid
15248 wine_fn_config_dll advapi32 enable_advapi32 implib
15249 wine_fn_config_test dlls/advapi32/tests advapi32_test
15250 wine_fn_config_dll advpack enable_advpack implib
15251 wine_fn_config_test dlls/advpack/tests advpack_test
15252 wine_fn_config_dll amstream enable_amstream
15253 wine_fn_config_test dlls/amstream/tests amstream_test
15254 wine_fn_config_dll apphelp enable_apphelp
15255 wine_fn_config_test dlls/apphelp/tests apphelp_test
15256 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15257 wine_fn_config_dll atl enable_atl implib
15258 wine_fn_config_test dlls/atl/tests atl_test
15259 wine_fn_config_dll atl80 enable_atl80
15260 wine_fn_config_dll authz enable_authz
15261 wine_fn_config_dll avicap32 enable_avicap32 implib
15262 wine_fn_config_dll avifil32 enable_avifil32 implib,po
15263 wine_fn_config_test dlls/avifil32/tests avifil32_test
15264 wine_fn_config_dll avifile.dll16 enable_win16
15265 wine_fn_config_dll avrt enable_avrt implib
15266 wine_fn_config_dll bcrypt enable_bcrypt
15267 wine_fn_config_dll browseui enable_browseui po
15268 wine_fn_config_test dlls/browseui/tests browseui_test
15269 wine_fn_config_dll cabinet enable_cabinet implib
15270 wine_fn_config_test dlls/cabinet/tests cabinet_test
15271 wine_fn_config_dll capi2032 enable_capi2032 implib
15272 wine_fn_config_dll cards enable_cards implib
15273 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15274 wine_fn_config_dll clusapi enable_clusapi implib
15275 wine_fn_config_dll comcat enable_comcat
15276 wine_fn_config_test dlls/comcat/tests comcat_test
15277 wine_fn_config_dll comctl32 enable_comctl32 implib,po
15278 wine_fn_config_test dlls/comctl32/tests comctl32_test
15279 wine_fn_config_dll comdlg32 enable_comdlg32 implib,po
15280 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
15281 wine_fn_config_dll comm.drv16 enable_win16
15282 wine_fn_config_dll commdlg.dll16 enable_win16
15283 wine_fn_config_dll compobj.dll16 enable_win16
15284 wine_fn_config_dll compstui enable_compstui implib
15285 wine_fn_config_dll credui enable_credui implib,po
15286 wine_fn_config_test dlls/credui/tests credui_test
15287 wine_fn_config_dll crtdll enable_crtdll implib
15288 wine_fn_config_dll crypt32 enable_crypt32 implib,po
15289 wine_fn_config_test dlls/crypt32/tests crypt32_test
15290 wine_fn_config_dll cryptdlg enable_cryptdlg po
15291 wine_fn_config_dll cryptdll enable_cryptdll implib
15292 wine_fn_config_dll cryptnet enable_cryptnet implib
15293 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
15294 wine_fn_config_dll cryptui enable_cryptui implib,po
15295 wine_fn_config_test dlls/cryptui/tests cryptui_test
15296 wine_fn_config_dll ctapi32 enable_ctapi32
15297 wine_fn_config_dll ctl3d.dll16 enable_win16
15298 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15299 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15300 wine_fn_config_dll d3d10 enable_d3d10 implib
15301 wine_fn_config_test dlls/d3d10/tests d3d10_test
15302 wine_fn_config_dll d3d10core enable_d3d10core implib
15303 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
15304 wine_fn_config_dll d3d8 enable_d3d8 implib
15305 wine_fn_config_test dlls/d3d8/tests d3d8_test
15306 wine_fn_config_dll d3d9 enable_d3d9 implib
15307 wine_fn_config_test dlls/d3d9/tests d3d9_test
15308 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15309 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15310 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15311 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15312 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15313 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15314 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15315 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15316 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15317 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15318 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15319 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
15320 wine_fn_config_dll d3dim enable_d3dim implib
15321 wine_fn_config_dll d3drm enable_d3drm implib
15322 wine_fn_config_test dlls/d3drm/tests d3drm_test
15323 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15324 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15325 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15326 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15327 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15328 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15329 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15330 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15331 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15332 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15333 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15334 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15335 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15336 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15337 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15338 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15339 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15340 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15341 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15342 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15343 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15344 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15345 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15346 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15347 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
15348 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15349 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15350 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15351 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15352 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15353 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15354 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15355 wine_fn_config_dll d3dxof enable_d3dxof implib
15356 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
15357 wine_fn_config_dll dbgeng enable_dbgeng implib
15358 wine_fn_config_dll dbghelp enable_dbghelp implib
15359 wine_fn_config_dll dciman32 enable_dciman32 implib
15360 wine_fn_config_dll ddeml.dll16 enable_win16
15361 wine_fn_config_dll ddraw enable_ddraw implib
15362 wine_fn_config_test dlls/ddraw/tests ddraw_test
15363 wine_fn_config_dll ddrawex enable_ddrawex
15364 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
15365 wine_fn_config_dll devenum enable_devenum po
15366 wine_fn_config_test dlls/devenum/tests devenum_test
15367 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15368 wine_fn_config_dll dinput enable_dinput implib,po,staticimplib
15369 wine_fn_config_test dlls/dinput/tests dinput_test
15370 wine_fn_config_dll dinput8 enable_dinput8 implib
15371 wine_fn_config_test dlls/dinput8/tests dinput8_test
15372 wine_fn_config_dll dispdib.dll16 enable_win16
15373 wine_fn_config_dll dispex enable_dispex
15374 wine_fn_config_test dlls/dispex/tests dispex_test
15375 wine_fn_config_dll display.drv16 enable_win16
15376 wine_fn_config_dll dmband enable_dmband
15377 wine_fn_config_test dlls/dmband/tests dmband_test
15378 wine_fn_config_dll dmcompos enable_dmcompos
15379 wine_fn_config_dll dmime enable_dmime
15380 wine_fn_config_test dlls/dmime/tests dmime_test
15381 wine_fn_config_dll dmloader enable_dmloader
15382 wine_fn_config_test dlls/dmloader/tests dmloader_test
15383 wine_fn_config_dll dmscript enable_dmscript
15384 wine_fn_config_dll dmstyle enable_dmstyle
15385 wine_fn_config_dll dmsynth enable_dmsynth
15386 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
15387 wine_fn_config_dll dmusic enable_dmusic
15388 wine_fn_config_test dlls/dmusic/tests dmusic_test
15389 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15390 wine_fn_config_dll dnsapi enable_dnsapi implib
15391 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
15392 wine_fn_config_dll dplay enable_dplay implib
15393 wine_fn_config_dll dplayx enable_dplayx implib
15394 wine_fn_config_test dlls/dplayx/tests dplayx_test
15395 wine_fn_config_dll dpnaddr enable_dpnaddr
15396 wine_fn_config_dll dpnet enable_dpnet implib
15397 wine_fn_config_test dlls/dpnet/tests dpnet_test
15398 wine_fn_config_dll dpnhpast enable_dpnhpast
15399 wine_fn_config_dll dpnlobby enable_dpnlobby
15400 wine_fn_config_dll dpwsockx enable_dpwsockx
15401 wine_fn_config_dll drmclien enable_drmclien
15402 wine_fn_config_dll dsound enable_dsound implib
15403 wine_fn_config_test dlls/dsound/tests dsound_test
15404 wine_fn_config_dll dssenh enable_dssenh
15405 wine_fn_config_test dlls/dssenh/tests dssenh_test
15406 wine_fn_config_dll dswave enable_dswave
15407 wine_fn_config_dll dwmapi enable_dwmapi implib
15408 wine_fn_config_dll dwrite enable_dwrite implib
15409 wine_fn_config_test dlls/dwrite/tests dwrite_test
15410 wine_fn_config_dll dxdiagn enable_dxdiagn po
15411 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
15412 wine_fn_config_lib dxerr8
15413 wine_fn_config_lib dxerr9
15414 wine_fn_config_dll dxgi enable_dxgi implib
15415 wine_fn_config_test dlls/dxgi/tests dxgi_test
15416 wine_fn_config_lib dxguid
15417 wine_fn_config_dll explorerframe enable_explorerframe
15418 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
15419 wine_fn_config_dll faultrep enable_faultrep implib
15420 wine_fn_config_test dlls/faultrep/tests faultrep_test
15421 wine_fn_config_dll fltlib enable_fltlib
15422 wine_fn_config_dll fusion enable_fusion
15423 wine_fn_config_test dlls/fusion/tests fusion_test
15424 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15425 wine_fn_config_dll gameux enable_gameux
15426 wine_fn_config_test dlls/gameux/tests gameux_test
15427 wine_fn_config_dll gdi.exe16 enable_win16
15428 wine_fn_config_dll gdi32 enable_gdi32 implib,po
15429 wine_fn_config_test dlls/gdi32/tests gdi32_test
15430 wine_fn_config_dll gdiplus enable_gdiplus implib
15431 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
15432 wine_fn_config_dll glu32 enable_glu32 implib
15433 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15434 wine_fn_config_dll gpkcsp enable_gpkcsp
15435 wine_fn_config_dll hal enable_hal
15436 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx po
15437 wine_fn_config_dll hid enable_hid implib
15438 wine_fn_config_dll hlink enable_hlink implib
15439 wine_fn_config_test dlls/hlink/tests hlink_test
15440 wine_fn_config_dll hnetcfg enable_hnetcfg
15441 wine_fn_config_dll httpapi enable_httpapi
15442 wine_fn_config_dll iccvid enable_iccvid po
15443 wine_fn_config_dll icmp enable_icmp
15444 wine_fn_config_dll ieframe enable_ieframe implib,po
15445 wine_fn_config_test dlls/ieframe/tests ieframe_test
15446 wine_fn_config_dll ifsmgr.vxd enable_win16
15447 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15448 wine_fn_config_dll imagehlp enable_imagehlp implib
15449 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
15450 wine_fn_config_dll imm.dll16 enable_win16
15451 wine_fn_config_dll imm32 enable_imm32 implib
15452 wine_fn_config_test dlls/imm32/tests imm32_test
15453 wine_fn_config_dll inetcomm enable_inetcomm implib
15454 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
15455 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15456 wine_fn_config_dll inetmib1 enable_inetmib1
15457 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
15458 wine_fn_config_dll infosoft enable_infosoft
15459 wine_fn_config_test dlls/infosoft/tests infosoft_test
15460 wine_fn_config_dll initpki enable_initpki
15461 wine_fn_config_dll inkobj enable_inkobj
15462 wine_fn_config_dll inseng enable_inseng
15463 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15464 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
15465 wine_fn_config_dll itircl enable_itircl
15466 wine_fn_config_dll itss enable_itss
15467 wine_fn_config_test dlls/itss/tests itss_test
15468 wine_fn_config_dll joy.cpl enable_joy_cpl po
15469 wine_fn_config_dll jscript enable_jscript po
15470 wine_fn_config_test dlls/jscript/tests jscript_test
15471 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
15472 wine_fn_config_test dlls/kernel32/tests kernel32_test
15473 wine_fn_config_dll keyboard.drv16 enable_win16
15474 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15475 wine_fn_config_dll ktmw32 enable_ktmw32
15476 wine_fn_config_dll loadperf enable_loadperf implib
15477 wine_fn_config_dll localspl enable_localspl po
15478 wine_fn_config_test dlls/localspl/tests localspl_test
15479 wine_fn_config_dll localui enable_localui po
15480 wine_fn_config_test dlls/localui/tests localui_test
15481 wine_fn_config_dll lz32 enable_lz32 implib
15482 wine_fn_config_test dlls/lz32/tests lz32_test
15483 wine_fn_config_dll lzexpand.dll16 enable_win16
15484 wine_fn_config_dll mapi32 enable_mapi32 implib,po
15485 wine_fn_config_test dlls/mapi32/tests mapi32_test
15486 wine_fn_config_dll mapistub enable_mapistub
15487 wine_fn_config_dll mciavi32 enable_mciavi32
15488 wine_fn_config_dll mcicda enable_mcicda
15489 wine_fn_config_dll mciqtz32 enable_mciqtz32
15490 wine_fn_config_dll mciseq enable_mciseq
15491 wine_fn_config_dll mciwave enable_mciwave
15492 wine_fn_config_dll mgmtapi enable_mgmtapi
15493 wine_fn_config_dll midimap enable_midimap
15494 wine_fn_config_dll mlang enable_mlang implib
15495 wine_fn_config_test dlls/mlang/tests mlang_test
15496 wine_fn_config_dll mmcndmgr enable_mmcndmgr
15497 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
15498 wine_fn_config_dll mmdevapi enable_mmdevapi
15499 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
15500 wine_fn_config_dll mmdevldr.vxd enable_win16
15501 wine_fn_config_dll mmsystem.dll16 enable_win16
15502 wine_fn_config_dll monodebg.vxd enable_win16
15503 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15504 wine_fn_config_dll mouse.drv16 enable_win16
15505 wine_fn_config_dll mpr enable_mpr implib,po
15506 wine_fn_config_test dlls/mpr/tests mpr_test
15507 wine_fn_config_dll mprapi enable_mprapi implib
15508 wine_fn_config_dll msacm.dll16 enable_win16
15509 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15510 wine_fn_config_dll msacm32 enable_msacm32 implib,po
15511 wine_fn_config_test dlls/msacm32/tests msacm32_test
15512 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15513 wine_fn_config_dll mscat32 enable_mscat32
15514 wine_fn_config_dll mscms enable_mscms implib
15515 wine_fn_config_test dlls/mscms/tests mscms_test
15516 wine_fn_config_dll mscoree enable_mscoree
15517 wine_fn_config_test dlls/mscoree/tests mscoree_test
15518 wine_fn_config_dll msctf enable_msctf
15519 wine_fn_config_test dlls/msctf/tests msctf_test
15520 wine_fn_config_dll msdaps enable_msdaps
15521 wine_fn_config_dll msdmo enable_msdmo implib
15522 wine_fn_config_dll msftedit enable_msftedit
15523 wine_fn_config_dll msg711.acm enable_msg711_acm
15524 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15525 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15526 wine_fn_config_dll mshtml enable_mshtml implib,po
15527 wine_fn_config_test dlls/mshtml/tests mshtml_test
15528 wine_fn_config_dll msi enable_msi implib,po
15529 wine_fn_config_test dlls/msi/tests msi_test
15530 wine_fn_config_dll msident enable_msident
15531 wine_fn_config_dll msimg32 enable_msimg32 implib
15532 wine_fn_config_dll msimsg enable_msimsg
15533 wine_fn_config_dll msimtf enable_msimtf
15534 wine_fn_config_dll msisip enable_msisip
15535 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15536 wine_fn_config_dll msls31 enable_msls31
15537 wine_fn_config_dll msnet32 enable_msnet32
15538 wine_fn_config_dll mspatcha enable_mspatcha
15539 wine_fn_config_dll msrle32 enable_msrle32 po
15540 wine_fn_config_dll mssign32 enable_mssign32
15541 wine_fn_config_dll mssip32 enable_mssip32
15542 wine_fn_config_dll mstask enable_mstask
15543 wine_fn_config_test dlls/mstask/tests mstask_test
15544 wine_fn_config_dll msvcirt enable_msvcirt
15545 wine_fn_config_dll msvcm80 enable_msvcm80
15546 wine_fn_config_dll msvcm90 enable_msvcm90
15547 wine_fn_config_dll msvcp100 enable_msvcp100
15548 wine_fn_config_dll msvcp60 enable_msvcp60
15549 wine_fn_config_dll msvcp70 enable_msvcp70
15550 wine_fn_config_dll msvcp71 enable_msvcp71
15551 wine_fn_config_dll msvcp80 enable_msvcp80
15552 wine_fn_config_dll msvcp90 enable_msvcp90
15553 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
15554 wine_fn_config_dll msvcr100 enable_msvcr100
15555 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
15556 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15557 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15558 wine_fn_config_dll msvcr80 enable_msvcr80
15559 wine_fn_config_dll msvcr90 enable_msvcr90
15560 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
15561 wine_fn_config_dll msvcrt enable_msvcrt implib
15562 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
15563 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15564 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15565 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15566 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
15567 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
15568 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
15569 wine_fn_config_dll msvidc32 enable_msvidc32 po
15570 wine_fn_config_dll msvideo.dll16 enable_win16
15571 wine_fn_config_dll mswsock enable_mswsock implib
15572 wine_fn_config_dll msxml enable_msxml
15573 wine_fn_config_dll msxml2 enable_msxml2
15574 wine_fn_config_dll msxml3 enable_msxml3
15575 wine_fn_config_test dlls/msxml3/tests msxml3_test
15576 wine_fn_config_dll msxml4 enable_msxml4
15577 wine_fn_config_dll msxml6 enable_msxml6
15578 wine_fn_config_dll nddeapi enable_nddeapi implib
15579 wine_fn_config_dll netapi32 enable_netapi32 implib
15580 wine_fn_config_test dlls/netapi32/tests netapi32_test
15581 wine_fn_config_dll newdev enable_newdev implib
15582 wine_fn_config_dll normaliz enable_normaliz implib
15583 wine_fn_config_dll npmshtml enable_npmshtml
15584 wine_fn_config_dll ntdll enable_ntdll implib
15585 wine_fn_config_test dlls/ntdll/tests ntdll_test
15586 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15587 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
15588 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15589 wine_fn_config_dll ntprint enable_ntprint
15590 wine_fn_config_test dlls/ntprint/tests ntprint_test
15591 wine_fn_config_dll objsel enable_objsel
15592 wine_fn_config_dll odbc32 enable_odbc32 implib
15593 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15594 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
15595 wine_fn_config_dll odbccu32 enable_odbccu32
15596 wine_fn_config_dll ole2.dll16 enable_win16
15597 wine_fn_config_dll ole2conv.dll16 enable_win16
15598 wine_fn_config_dll ole2disp.dll16 enable_win16
15599 wine_fn_config_dll ole2nls.dll16 enable_win16
15600 wine_fn_config_dll ole2prox.dll16 enable_win16
15601 wine_fn_config_dll ole2thk.dll16 enable_win16
15602 wine_fn_config_dll ole32 enable_ole32 implib
15603 wine_fn_config_test dlls/ole32/tests ole32_test
15604 wine_fn_config_dll oleacc enable_oleacc implib,po
15605 wine_fn_config_test dlls/oleacc/tests oleacc_test
15606 wine_fn_config_dll oleaut32 enable_oleaut32 implib,po
15607 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
15608 wine_fn_config_dll olecli.dll16 enable_win16
15609 wine_fn_config_dll olecli32 enable_olecli32 implib
15610 wine_fn_config_dll oledb32 enable_oledb32
15611 wine_fn_config_test dlls/oledb32/tests oledb32_test
15612 wine_fn_config_dll oledlg enable_oledlg implib,po
15613 wine_fn_config_dll olepro32 enable_olepro32 implib
15614 wine_fn_config_dll olesvr.dll16 enable_win16
15615 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15616 wine_fn_config_dll olethk32 enable_olethk32
15617 wine_fn_config_dll openal32 enable_openal32
15618 wine_fn_config_dll opencl enable_opencl
15619 wine_fn_config_dll opengl32 enable_opengl32 implib
15620 wine_fn_config_test dlls/opengl32/tests opengl32_test
15621 wine_fn_config_dll pdh enable_pdh implib
15622 wine_fn_config_test dlls/pdh/tests pdh_test
15623 wine_fn_config_dll photometadatahandler enable_photometadatahandler
15624 wine_fn_config_dll pidgen enable_pidgen
15625 wine_fn_config_dll powrprof enable_powrprof implib
15626 wine_fn_config_dll printui enable_printui
15627 wine_fn_config_dll propsys enable_propsys implib
15628 wine_fn_config_test dlls/propsys/tests propsys_test
15629 wine_fn_config_dll psapi enable_psapi implib
15630 wine_fn_config_test dlls/psapi/tests psapi_test
15631 wine_fn_config_dll pstorec enable_pstorec
15632 wine_fn_config_dll qcap enable_qcap
15633 wine_fn_config_dll qedit enable_qedit
15634 wine_fn_config_test dlls/qedit/tests qedit_test
15635 wine_fn_config_dll qmgr enable_qmgr
15636 wine_fn_config_test dlls/qmgr/tests qmgr_test
15637 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15638 wine_fn_config_dll quartz enable_quartz implib
15639 wine_fn_config_test dlls/quartz/tests quartz_test
15640 wine_fn_config_dll query enable_query
15641 wine_fn_config_dll rasapi16.dll16 enable_win16
15642 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15643 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
15644 wine_fn_config_dll rasdlg enable_rasdlg implib
15645 wine_fn_config_dll regapi enable_regapi
15646 wine_fn_config_dll resutils enable_resutils implib
15647 wine_fn_config_dll riched20 enable_riched20 implib
15648 wine_fn_config_test dlls/riched20/tests riched20_test
15649 wine_fn_config_dll riched32 enable_riched32
15650 wine_fn_config_test dlls/riched32/tests riched32_test
15651 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15652 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
15653 wine_fn_config_dll rsabase enable_rsabase
15654 wine_fn_config_dll rsaenh enable_rsaenh implib
15655 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
15656 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15657 wine_fn_config_dll rtutils enable_rtutils implib
15658 wine_fn_config_dll samlib enable_samlib
15659 wine_fn_config_dll sane.ds enable_sane_ds po
15660 wine_fn_config_dll scarddlg enable_scarddlg
15661 wine_fn_config_dll sccbase enable_sccbase
15662 wine_fn_config_dll schannel enable_schannel
15663 wine_fn_config_test dlls/schannel/tests schannel_test
15664 wine_fn_config_dll scrrun enable_scrrun
15665 wine_fn_config_test dlls/scrrun/tests scrrun_test
15666 wine_fn_config_dll scsiport.sys enable_scsiport_sys
15667 wine_fn_config_dll secur32 enable_secur32 implib
15668 wine_fn_config_test dlls/secur32/tests secur32_test
15669 wine_fn_config_dll security enable_security
15670 wine_fn_config_dll sensapi enable_sensapi implib
15671 wine_fn_config_dll serialui enable_serialui implib,po
15672 wine_fn_config_test dlls/serialui/tests serialui_test
15673 wine_fn_config_dll setupapi enable_setupapi implib,po
15674 wine_fn_config_test dlls/setupapi/tests setupapi_test
15675 wine_fn_config_dll setupx.dll16 enable_win16
15676 wine_fn_config_dll sfc enable_sfc implib
15677 wine_fn_config_dll sfc_os enable_sfc_os implib
15678 wine_fn_config_dll shdoclc enable_shdoclc po
15679 wine_fn_config_dll shdocvw enable_shdocvw implib
15680 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
15681 wine_fn_config_dll shell.dll16 enable_win16
15682 wine_fn_config_dll shell32 enable_shell32 implib,po
15683 wine_fn_config_test dlls/shell32/tests shell32_test
15684 wine_fn_config_dll shfolder enable_shfolder implib
15685 wine_fn_config_dll shlwapi enable_shlwapi implib,po
15686 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
15687 wine_fn_config_dll slbcsp enable_slbcsp
15688 wine_fn_config_dll slc enable_slc implib
15689 wine_fn_config_dll snmpapi enable_snmpapi implib
15690 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
15691 wine_fn_config_dll softpub enable_softpub
15692 wine_fn_config_dll sound.drv16 enable_win16
15693 wine_fn_config_dll spoolss enable_spoolss implib
15694 wine_fn_config_test dlls/spoolss/tests spoolss_test
15695 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15696 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15697 wine_fn_config_dll sti enable_sti implib
15698 wine_fn_config_test dlls/sti/tests sti_test
15699 wine_fn_config_dll storage.dll16 enable_win16
15700 wine_fn_config_dll stress.dll16 enable_win16
15701 wine_fn_config_lib strmbase
15702 wine_fn_config_lib strmiids
15703 wine_fn_config_dll svrapi enable_svrapi
15704 wine_fn_config_dll sxs enable_sxs implib
15705 wine_fn_config_test dlls/sxs/tests sxs_test
15706 wine_fn_config_dll system.drv16 enable_win16
15707 wine_fn_config_dll t2embed enable_t2embed
15708 wine_fn_config_dll tapi32 enable_tapi32 implib
15709 wine_fn_config_dll toolhelp.dll16 enable_win16
15710 wine_fn_config_dll traffic enable_traffic
15711 wine_fn_config_dll twain.dll16 enable_win16
15712 wine_fn_config_dll twain_32 enable_twain_32
15713 wine_fn_config_test dlls/twain_32/tests twain_32_test
15714 wine_fn_config_dll typelib.dll16 enable_win16
15715 wine_fn_config_dll unicows enable_unicows implib
15716 wine_fn_config_dll updspapi enable_updspapi
15717 wine_fn_config_dll url enable_url implib
15718 wine_fn_config_dll urlmon enable_urlmon implib
15719 wine_fn_config_test dlls/urlmon/tests urlmon_test
15720 wine_fn_config_dll usbd.sys enable_usbd_sys implib
15721 wine_fn_config_dll user.exe16 enable_win16
15722 wine_fn_config_dll user32 enable_user32 implib,po
15723 wine_fn_config_test dlls/user32/tests user32_test
15724 wine_fn_config_dll userenv enable_userenv implib
15725 wine_fn_config_test dlls/userenv/tests userenv_test
15726 wine_fn_config_dll usp10 enable_usp10 implib
15727 wine_fn_config_test dlls/usp10/tests usp10_test
15728 wine_fn_config_lib uuid
15729 wine_fn_config_dll uxtheme enable_uxtheme implib
15730 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
15731 wine_fn_config_dll vbscript enable_vbscript
15732 wine_fn_config_test dlls/vbscript/tests vbscript_test
15733 wine_fn_config_dll vcomp enable_vcomp
15734 wine_fn_config_dll vcomp100 enable_vcomp100
15735 wine_fn_config_dll vcomp90 enable_vcomp90
15736 wine_fn_config_dll vdhcp.vxd enable_win16
15737 wine_fn_config_dll vdmdbg enable_vdmdbg implib
15738 wine_fn_config_dll ver.dll16 enable_win16
15739 wine_fn_config_dll version enable_version implib
15740 wine_fn_config_test dlls/version/tests version_test
15741 wine_fn_config_dll vmm.vxd enable_win16
15742 wine_fn_config_dll vnbt.vxd enable_win16
15743 wine_fn_config_dll vnetbios.vxd enable_win16
15744 wine_fn_config_dll vtdapi.vxd enable_win16
15745 wine_fn_config_dll vwin32.vxd enable_win16
15746 wine_fn_config_dll w32skrnl enable_win16
15747 wine_fn_config_dll w32sys.dll16 enable_win16
15748 wine_fn_config_dll wbemprox enable_wbemprox
15749 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
15750 wine_fn_config_dll wer enable_wer implib
15751 wine_fn_config_test dlls/wer/tests wer_test
15752 wine_fn_config_dll wevtapi enable_wevtapi
15753 wine_fn_config_dll wiaservc enable_wiaservc
15754 wine_fn_config_dll win32s16.dll16 enable_win16
15755 wine_fn_config_dll win87em.dll16 enable_win16
15756 wine_fn_config_dll winaspi.dll16 enable_win16
15757 wine_fn_config_dll windebug.dll16 enable_win16
15758 wine_fn_config_dll windowscodecs enable_windowscodecs implib
15759 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
15760 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15761 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15762 wine_fn_config_lib winecrt0
15763 wine_fn_config_dll wined3d enable_wined3d implib
15764 wine_fn_config_dll winegstreamer enable_winegstreamer
15765 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15766 wine_fn_config_dll winemapi enable_winemapi
15767 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15768 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15769 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib,po
15770 wine_fn_config_dll wineps16.drv16 enable_win16
15771 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15772 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15773 wine_fn_config_dll winex11.drv enable_winex11_drv
15774 wine_fn_config_dll wing.dll16 enable_win16
15775 wine_fn_config_dll wing32 enable_wing32
15776 wine_fn_config_dll winhttp enable_winhttp implib
15777 wine_fn_config_test dlls/winhttp/tests winhttp_test
15778 wine_fn_config_dll wininet enable_wininet implib,po
15779 wine_fn_config_test dlls/wininet/tests wininet_test
15780 wine_fn_config_dll winmm enable_winmm implib,po
15781 wine_fn_config_test dlls/winmm/tests winmm_test
15782 wine_fn_config_dll winnls.dll16 enable_win16
15783 wine_fn_config_dll winnls32 enable_winnls32 implib
15784 wine_fn_config_dll winscard enable_winscard implib
15785 wine_fn_config_dll winsock.dll16 enable_win16
15786 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
15787 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
15788 wine_fn_config_dll winsta enable_winsta
15789 wine_fn_config_dll wintab.dll16 enable_win16
15790 wine_fn_config_dll wintab32 enable_wintab32 implib
15791 wine_fn_config_test dlls/wintab32/tests wintab32_test
15792 wine_fn_config_dll wintrust enable_wintrust implib
15793 wine_fn_config_test dlls/wintrust/tests wintrust_test
15794 wine_fn_config_dll wlanapi enable_wlanapi
15795 wine_fn_config_dll wldap32 enable_wldap32 implib,po
15796 wine_fn_config_test dlls/wldap32/tests wldap32_test
15797 wine_fn_config_dll wmi enable_wmi
15798 wine_fn_config_dll wmiutils enable_wmiutils
15799 wine_fn_config_dll wmvcore enable_wmvcore
15800 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
15801 wine_fn_config_dll wow32 enable_win16 implib
15802 wine_fn_config_dll ws2_32 enable_ws2_32 implib
15803 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
15804 wine_fn_config_dll wshom.ocx enable_wshom_ocx
15805 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
15806 wine_fn_config_dll wsnmp32 enable_wsnmp32
15807 wine_fn_config_dll wsock32 enable_wsock32 implib
15808 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
15809 wine_fn_config_dll wuapi enable_wuapi
15810 wine_fn_config_dll wuaueng enable_wuaueng
15811 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15812 wine_fn_config_dll xinput1_1 enable_xinput1_1
15813 wine_fn_config_dll xinput1_2 enable_xinput1_2
15814 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
15815 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
15816 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15817 wine_fn_config_dll xmllite enable_xmllite
15818 wine_fn_config_test dlls/xmllite/tests xmllite_test
15819 wine_fn_config_dll xolehlp enable_xolehlp
15820 wine_fn_config_dll xpsprint enable_xpsprint
15821 wine_fn_config_makefile documentation enable_documentation
15822 wine_fn_config_makefile fonts enable_fonts install-lib
15823 wine_fn_config_makefile include enable_include install-dev
15824 wine_fn_config_makefile libs/port enable_libs_port
15825 wine_fn_config_makefile libs/wine enable_libs_wine install-dev,install-lib
15826 wine_fn_config_makefile libs/wpp enable_libs_wpp
15827 wine_fn_config_makefile loader enable_loader install-lib,manpage
15828 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
15829 wine_fn_config_program attrib enable_attrib install,po
15830 wine_fn_config_program cabarc enable_cabarc install
15831 wine_fn_config_program cacls enable_cacls install
15832 wine_fn_config_program clock enable_clock install,po
15833 wine_fn_config_program cmd enable_cmd install,po
15834 wine_fn_config_test programs/cmd/tests cmd.exe_test
15835 wine_fn_config_program control enable_control install
15836 wine_fn_config_program cscript enable_cscript install
15837 wine_fn_config_program dxdiag enable_dxdiag install,po
15838 wine_fn_config_program eject enable_eject install
15839 wine_fn_config_program expand enable_expand install
15840 wine_fn_config_program explorer enable_explorer install,po
15841 wine_fn_config_program extrac32 enable_extrac32 install
15842 wine_fn_config_program hh enable_hh install
15843 wine_fn_config_program hostname enable_hostname install,po
15844 wine_fn_config_program icinfo enable_icinfo install
15845 wine_fn_config_program iexplore enable_iexplore install
15846 wine_fn_config_program ipconfig enable_ipconfig install,po
15847 wine_fn_config_program lodctr enable_lodctr install
15848 wine_fn_config_program mofcomp enable_mofcomp install
15849 wine_fn_config_program mshta enable_mshta install
15850 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
15851 wine_fn_config_program net enable_net install,po
15852 wine_fn_config_program netsh enable_netsh install
15853 wine_fn_config_program ngen enable_ngen install
15854 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
15855 wine_fn_config_program oleview enable_oleview install,po
15856 wine_fn_config_program ping enable_ping install
15857 wine_fn_config_program plugplay enable_plugplay install
15858 wine_fn_config_program presentationfontcache enable_presentationfontcache install
15859 wine_fn_config_program progman enable_progman install,po
15860 wine_fn_config_program reg enable_reg install,po
15861 wine_fn_config_program regasm enable_regasm install
15862 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
15863 wine_fn_config_test programs/regedit/tests regedit.exe_test
15864 wine_fn_config_program regsvcs enable_regsvcs install
15865 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
15866 wine_fn_config_program rpcss enable_rpcss install
15867 wine_fn_config_program rundll.exe16 enable_win16 install
15868 wine_fn_config_program rundll32 enable_rundll32 install
15869 wine_fn_config_program sc enable_sc install
15870 wine_fn_config_program secedit enable_secedit install
15871 wine_fn_config_program servicemodelreg enable_servicemodelreg install
15872 wine_fn_config_program services enable_services install
15873 wine_fn_config_test programs/services/tests services.exe_test
15874 wine_fn_config_program spoolsv enable_spoolsv install
15875 wine_fn_config_program start enable_start install,po
15876 wine_fn_config_program svchost enable_svchost install
15877 wine_fn_config_program taskkill enable_taskkill install,po
15878 wine_fn_config_program taskmgr enable_taskmgr install,po
15879 wine_fn_config_program termsv enable_termsv install
15880 wine_fn_config_program uninstaller enable_uninstaller install,po
15881 wine_fn_config_program unlodctr enable_unlodctr install
15882 wine_fn_config_program view enable_view install,po
15883 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
15884 wine_fn_config_program winebrowser enable_winebrowser install
15885 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
15886 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
15887 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
15888 wine_fn_config_program winedevice enable_winedevice install
15889 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
15890 wine_fn_config_program winemenubuilder enable_winemenubuilder install
15891 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
15892 wine_fn_config_program winemsibuilder enable_winemsibuilder install
15893 wine_fn_config_program winepath enable_winepath install,installbin,manpage
15894 wine_fn_config_program winetest enable_winetest
15895 wine_fn_config_program winevdm enable_win16 install
15896 wine_fn_config_program winhelp.exe16 enable_win16 install
15897 wine_fn_config_program winhlp32 enable_winhlp32 install,po
15898 wine_fn_config_program winoldap.mod16 enable_win16 install
15899 wine_fn_config_program winver enable_winver install
15900 wine_fn_config_program wmic enable_wmic install,po
15901 wine_fn_config_program wordpad enable_wordpad install,po
15902 wine_fn_config_program write enable_write install,po
15903 wine_fn_config_program wscript enable_wscript install
15904 wine_fn_config_test programs/wscript/tests wscript.exe_test
15905 wine_fn_config_program wusa enable_wusa install
15906 wine_fn_config_program xcopy enable_xcopy install,po
15907 wine_fn_config_makefile server enable_server install-lib,manpage
15908 wine_fn_config_tool tools install-dev,install-lib,manpage
15909 wine_fn_config_tool tools/widl install-dev,manpage
15910 wine_fn_config_tool tools/winebuild install-dev,manpage
15911 wine_fn_config_tool tools/winedump install-dev,manpage
15912 wine_fn_config_tool tools/winegcc install-dev,manpage
15913 wine_fn_config_tool tools/wmc install-dev,manpage
15914 wine_fn_config_tool tools/wrc install-dev,manpage
15916 LINGUAS="\
15917 ar \
15918 bg \
15919 ca \
15920 cs \
15921 da \
15922 de \
15923 el \
15924 en \
15925 en_US \
15926 eo \
15927 es \
15928 fa \
15929 fi \
15930 fr \
15931 he \
15932 hi \
15933 hu \
15934 it \
15935 ja \
15936 ko \
15937 lt \
15938 ml \
15939 nb_NO \
15940 nl \
15941 or \
15942 pa \
15943 pl \
15944 pt_BR \
15945 pt_PT \
15946 rm \
15947 ro \
15948 ru \
15949 sk \
15950 sl \
15951 sr_RS@cyrillic \
15952 sr_RS@latin \
15953 sv \
15954 te \
15955 th \
15956 tr \
15957 uk \
15958 wa \
15959 zh_CN \
15960 zh_TW"
15964 ac_config_commands="$ac_config_commands Makefile"
15967 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15971 if test "x$enable_maintainer_mode" = xyes
15972 then
15973 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(srcdir)/configure: configure.ac aclocal.m4
15974 cd \$(srcdir) && autoconf --warnings=all
15975 \$(srcdir)/include/config.h.in: include/stamp-h.in
15976 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
15977 cd \$(srcdir) && autoheader --warnings=all
15978 @echo timestamp > \$@"
15981 if test "x$with_gettextpo" = xyes
15982 then
15983 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
15984 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "ALL_POT_FILES =$ALL_POT_FILES
15985 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
15986 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
15987 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
15988 msgcat -o \$@ \$(ALL_POT_FILES)"
15991 if test "$MSGFMT" != false
15992 then
15993 PORCFLAGS="--po-dir=\$(top_builddir)/po"
15995 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: \$(ALL_MO_FILES)"
15996 else
15997 LINGUAS=
16000 if test "x$enable_tools" != xno
16001 then
16002 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(MAKEDEP): tools/Makefile
16003 clean:: __clean__
16004 \$(RM) tools/makedep\$(EXEEXT)"
16007 if test -n "$with_wine64"
16008 then
16009 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16010 fonts server tools:
16011 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16012 $with_wine64/loader/wine:
16013 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16014 $with_wine64/loader/wine-preloader:
16015 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16016 clean::
16017 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16020 cat >confcache <<\_ACEOF
16021 # This file is a shell script that caches the results of configure
16022 # tests run on this system so they can be shared between configure
16023 # scripts and configure runs, see configure's option --config-cache.
16024 # It is not useful on other systems. If it contains results you don't
16025 # want to keep, you may remove or edit it.
16027 # config.status only pays attention to the cache file if you give it
16028 # the --recheck option to rerun configure.
16030 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16031 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16032 # following values.
16034 _ACEOF
16036 # The following way of writing the cache mishandles newlines in values,
16037 # but we know of no workaround that is simple, portable, and efficient.
16038 # So, we kill variables containing newlines.
16039 # Ultrix sh set writes to stderr and can't be redirected directly,
16040 # and sets the high bit in the cache file unless we assign to the vars.
16042 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16043 eval ac_val=\$$ac_var
16044 case $ac_val in #(
16045 *${as_nl}*)
16046 case $ac_var in #(
16047 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16048 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16049 esac
16050 case $ac_var in #(
16051 _ | IFS | as_nl) ;; #(
16052 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16053 *) { eval $ac_var=; unset $ac_var;} ;;
16054 esac ;;
16055 esac
16056 done
16058 (set) 2>&1 |
16059 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16060 *${as_nl}ac_space=\ *)
16061 # `set' does not quote correctly, so add quotes: double-quote
16062 # substitution turns \\\\ into \\, and sed turns \\ into \.
16063 sed -n \
16064 "s/'/'\\\\''/g;
16065 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16066 ;; #(
16068 # `set' quotes correctly as required by POSIX, so do not add quotes.
16069 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16071 esac |
16072 sort
16074 sed '
16075 /^ac_cv_env_/b end
16076 t clear
16077 :clear
16078 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16079 t end
16080 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16081 :end' >>confcache
16082 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16083 if test -w "$cache_file"; then
16084 if test "x$cache_file" != "x/dev/null"; then
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16086 $as_echo "$as_me: updating cache $cache_file" >&6;}
16087 if test ! -f "$cache_file" || test -h "$cache_file"; then
16088 cat confcache >"$cache_file"
16089 else
16090 case $cache_file in #(
16091 */* | ?:*)
16092 mv -f confcache "$cache_file"$$ &&
16093 mv -f "$cache_file"$$ "$cache_file" ;; #(
16095 mv -f confcache "$cache_file" ;;
16096 esac
16099 else
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16101 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16104 rm -f confcache
16106 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16107 # Let make expand exec_prefix.
16108 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16110 DEFS=-DHAVE_CONFIG_H
16112 ac_libobjs=
16113 ac_ltlibobjs=
16115 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16116 # 1. Remove the extension, and $U if already installed.
16117 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16118 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16119 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16120 # will be set to the directory where LIBOBJS objects are built.
16121 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16122 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16123 done
16124 LIBOBJS=$ac_libobjs
16126 LTLIBOBJS=$ac_ltlibobjs
16130 : "${CONFIG_STATUS=./config.status}"
16131 ac_write_fail=0
16132 ac_clean_files_save=$ac_clean_files
16133 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16135 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16136 as_write_fail=0
16137 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16138 #! $SHELL
16139 # Generated by $as_me.
16140 # Run this file to recreate the current configuration.
16141 # Compiler output produced by configure, useful for debugging
16142 # configure, is in config.log if it exists.
16144 debug=false
16145 ac_cs_recheck=false
16146 ac_cs_silent=false
16148 SHELL=\${CONFIG_SHELL-$SHELL}
16149 export SHELL
16150 _ASEOF
16151 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16152 ## -------------------- ##
16153 ## M4sh Initialization. ##
16154 ## -------------------- ##
16156 # Be more Bourne compatible
16157 DUALCASE=1; export DUALCASE # for MKS sh
16158 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16159 emulate sh
16160 NULLCMD=:
16161 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16162 # is contrary to our usage. Disable this feature.
16163 alias -g '${1+"$@"}'='"$@"'
16164 setopt NO_GLOB_SUBST
16165 else
16166 case `(set -o) 2>/dev/null` in #(
16167 *posix*) :
16168 set -o posix ;; #(
16169 *) :
16171 esac
16175 as_nl='
16177 export as_nl
16178 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16179 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16180 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16181 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16182 # Prefer a ksh shell builtin over an external printf program on Solaris,
16183 # but without wasting forks for bash or zsh.
16184 if test -z "$BASH_VERSION$ZSH_VERSION" \
16185 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16186 as_echo='print -r --'
16187 as_echo_n='print -rn --'
16188 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16189 as_echo='printf %s\n'
16190 as_echo_n='printf %s'
16191 else
16192 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16193 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16194 as_echo_n='/usr/ucb/echo -n'
16195 else
16196 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16197 as_echo_n_body='eval
16198 arg=$1;
16199 case $arg in #(
16200 *"$as_nl"*)
16201 expr "X$arg" : "X\\(.*\\)$as_nl";
16202 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16203 esac;
16204 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16206 export as_echo_n_body
16207 as_echo_n='sh -c $as_echo_n_body as_echo'
16209 export as_echo_body
16210 as_echo='sh -c $as_echo_body as_echo'
16213 # The user is always right.
16214 if test "${PATH_SEPARATOR+set}" != set; then
16215 PATH_SEPARATOR=:
16216 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16217 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16218 PATH_SEPARATOR=';'
16223 # IFS
16224 # We need space, tab and new line, in precisely that order. Quoting is
16225 # there to prevent editors from complaining about space-tab.
16226 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16227 # splitting by setting IFS to empty value.)
16228 IFS=" "" $as_nl"
16230 # Find who we are. Look in the path if we contain no directory separator.
16231 as_myself=
16232 case $0 in #((
16233 *[\\/]* ) as_myself=$0 ;;
16234 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16235 for as_dir in $PATH
16237 IFS=$as_save_IFS
16238 test -z "$as_dir" && as_dir=.
16239 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16240 done
16241 IFS=$as_save_IFS
16244 esac
16245 # We did not find ourselves, most probably we were run as `sh COMMAND'
16246 # in which case we are not to be found in the path.
16247 if test "x$as_myself" = x; then
16248 as_myself=$0
16250 if test ! -f "$as_myself"; then
16251 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16252 exit 1
16255 # Unset variables that we do not need and which cause bugs (e.g. in
16256 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16257 # suppresses any "Segmentation fault" message there. '((' could
16258 # trigger a bug in pdksh 5.2.14.
16259 for as_var in BASH_ENV ENV MAIL MAILPATH
16260 do eval test x\${$as_var+set} = xset \
16261 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16262 done
16263 PS1='$ '
16264 PS2='> '
16265 PS4='+ '
16267 # NLS nuisances.
16268 LC_ALL=C
16269 export LC_ALL
16270 LANGUAGE=C
16271 export LANGUAGE
16273 # CDPATH.
16274 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16277 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16278 # ----------------------------------------
16279 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16280 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16281 # script with STATUS, using 1 if that was 0.
16282 as_fn_error ()
16284 as_status=$1; test $as_status -eq 0 && as_status=1
16285 if test "$4"; then
16286 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16287 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16289 $as_echo "$as_me: error: $2" >&2
16290 as_fn_exit $as_status
16291 } # as_fn_error
16294 # as_fn_set_status STATUS
16295 # -----------------------
16296 # Set $? to STATUS, without forking.
16297 as_fn_set_status ()
16299 return $1
16300 } # as_fn_set_status
16302 # as_fn_exit STATUS
16303 # -----------------
16304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16305 as_fn_exit ()
16307 set +e
16308 as_fn_set_status $1
16309 exit $1
16310 } # as_fn_exit
16312 # as_fn_unset VAR
16313 # ---------------
16314 # Portably unset VAR.
16315 as_fn_unset ()
16317 { eval $1=; unset $1;}
16319 as_unset=as_fn_unset
16320 # as_fn_append VAR VALUE
16321 # ----------------------
16322 # Append the text in VALUE to the end of the definition contained in VAR. Take
16323 # advantage of any shell optimizations that allow amortized linear growth over
16324 # repeated appends, instead of the typical quadratic growth present in naive
16325 # implementations.
16326 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16327 eval 'as_fn_append ()
16329 eval $1+=\$2
16331 else
16332 as_fn_append ()
16334 eval $1=\$$1\$2
16336 fi # as_fn_append
16338 # as_fn_arith ARG...
16339 # ------------------
16340 # Perform arithmetic evaluation on the ARGs, and store the result in the
16341 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16342 # must be portable across $(()) and expr.
16343 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16344 eval 'as_fn_arith ()
16346 as_val=$(( $* ))
16348 else
16349 as_fn_arith ()
16351 as_val=`expr "$@" || test $? -eq 1`
16353 fi # as_fn_arith
16356 if expr a : '\(a\)' >/dev/null 2>&1 &&
16357 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16358 as_expr=expr
16359 else
16360 as_expr=false
16363 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16364 as_basename=basename
16365 else
16366 as_basename=false
16369 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16370 as_dirname=dirname
16371 else
16372 as_dirname=false
16375 as_me=`$as_basename -- "$0" ||
16376 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16377 X"$0" : 'X\(//\)$' \| \
16378 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16379 $as_echo X/"$0" |
16380 sed '/^.*\/\([^/][^/]*\)\/*$/{
16381 s//\1/
16384 /^X\/\(\/\/\)$/{
16385 s//\1/
16388 /^X\/\(\/\).*/{
16389 s//\1/
16392 s/.*/./; q'`
16394 # Avoid depending upon Character Ranges.
16395 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16396 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16397 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16398 as_cr_digits='0123456789'
16399 as_cr_alnum=$as_cr_Letters$as_cr_digits
16401 ECHO_C= ECHO_N= ECHO_T=
16402 case `echo -n x` in #(((((
16403 -n*)
16404 case `echo 'xy\c'` in
16405 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16406 xy) ECHO_C='\c';;
16407 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16408 ECHO_T=' ';;
16409 esac;;
16411 ECHO_N='-n';;
16412 esac
16414 rm -f conf$$ conf$$.exe conf$$.file
16415 if test -d conf$$.dir; then
16416 rm -f conf$$.dir/conf$$.file
16417 else
16418 rm -f conf$$.dir
16419 mkdir conf$$.dir 2>/dev/null
16421 if (echo >conf$$.file) 2>/dev/null; then
16422 if ln -s conf$$.file conf$$ 2>/dev/null; then
16423 as_ln_s='ln -s'
16424 # ... but there are two gotchas:
16425 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16426 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16427 # In both cases, we have to default to `cp -pR'.
16428 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16429 as_ln_s='cp -pR'
16430 elif ln conf$$.file conf$$ 2>/dev/null; then
16431 as_ln_s=ln
16432 else
16433 as_ln_s='cp -pR'
16435 else
16436 as_ln_s='cp -pR'
16438 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16439 rmdir conf$$.dir 2>/dev/null
16442 # as_fn_mkdir_p
16443 # -------------
16444 # Create "$as_dir" as a directory, including parents if necessary.
16445 as_fn_mkdir_p ()
16448 case $as_dir in #(
16449 -*) as_dir=./$as_dir;;
16450 esac
16451 test -d "$as_dir" || eval $as_mkdir_p || {
16452 as_dirs=
16453 while :; do
16454 case $as_dir in #(
16455 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16456 *) as_qdir=$as_dir;;
16457 esac
16458 as_dirs="'$as_qdir' $as_dirs"
16459 as_dir=`$as_dirname -- "$as_dir" ||
16460 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16461 X"$as_dir" : 'X\(//\)[^/]' \| \
16462 X"$as_dir" : 'X\(//\)$' \| \
16463 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16464 $as_echo X"$as_dir" |
16465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16466 s//\1/
16469 /^X\(\/\/\)[^/].*/{
16470 s//\1/
16473 /^X\(\/\/\)$/{
16474 s//\1/
16477 /^X\(\/\).*/{
16478 s//\1/
16481 s/.*/./; q'`
16482 test -d "$as_dir" && break
16483 done
16484 test -z "$as_dirs" || eval "mkdir $as_dirs"
16485 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16488 } # as_fn_mkdir_p
16489 if mkdir -p . 2>/dev/null; then
16490 as_mkdir_p='mkdir -p "$as_dir"'
16491 else
16492 test -d ./-p && rmdir ./-p
16493 as_mkdir_p=false
16497 # as_fn_executable_p FILE
16498 # -----------------------
16499 # Test if FILE is an executable regular file.
16500 as_fn_executable_p ()
16502 test -f "$1" && test -x "$1"
16503 } # as_fn_executable_p
16504 as_test_x='test -x'
16505 as_executable_p=as_fn_executable_p
16507 # Sed expression to map a string onto a valid CPP name.
16508 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16510 # Sed expression to map a string onto a valid variable name.
16511 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16514 exec 6>&1
16515 ## ----------------------------------- ##
16516 ## Main body of $CONFIG_STATUS script. ##
16517 ## ----------------------------------- ##
16518 _ASEOF
16519 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16522 # Save the log message, to keep $0 and so on meaningful, and to
16523 # report actual input values of CONFIG_FILES etc. instead of their
16524 # values after options handling.
16525 ac_log="
16526 This file was extended by Wine $as_me 1.5.14, which was
16527 generated by GNU Autoconf 2.69. Invocation command line was
16529 CONFIG_FILES = $CONFIG_FILES
16530 CONFIG_HEADERS = $CONFIG_HEADERS
16531 CONFIG_LINKS = $CONFIG_LINKS
16532 CONFIG_COMMANDS = $CONFIG_COMMANDS
16533 $ $0 $@
16535 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16538 _ACEOF
16540 case $ac_config_files in *"
16541 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16542 esac
16544 case $ac_config_headers in *"
16545 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16546 esac
16549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16550 # Files that config.status was made for.
16551 config_files="$ac_config_files"
16552 config_headers="$ac_config_headers"
16553 config_links="$ac_config_links"
16554 config_commands="$ac_config_commands"
16556 _ACEOF
16558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16559 ac_cs_usage="\
16560 \`$as_me' instantiates files and other configuration actions
16561 from templates according to the current configuration. Unless the files
16562 and actions are specified as TAGs, all are instantiated by default.
16564 Usage: $0 [OPTION]... [TAG]...
16566 -h, --help print this help, then exit
16567 -V, --version print version number and configuration settings, then exit
16568 --config print configuration, then exit
16569 -q, --quiet, --silent
16570 do not print progress messages
16571 -d, --debug don't remove temporary files
16572 --recheck update $as_me by reconfiguring in the same conditions
16573 --file=FILE[:TEMPLATE]
16574 instantiate the configuration file FILE
16575 --header=FILE[:TEMPLATE]
16576 instantiate the configuration header FILE
16578 Configuration files:
16579 $config_files
16581 Configuration headers:
16582 $config_headers
16584 Configuration links:
16585 $config_links
16587 Configuration commands:
16588 $config_commands
16590 Report bugs to <wine-devel@winehq.org>.
16591 Wine home page: <http://www.winehq.org>."
16593 _ACEOF
16594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16595 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16596 ac_cs_version="\\
16597 Wine config.status 1.5.14
16598 configured by $0, generated by GNU Autoconf 2.69,
16599 with options \\"\$ac_cs_config\\"
16601 Copyright (C) 2012 Free Software Foundation, Inc.
16602 This config.status script is free software; the Free Software Foundation
16603 gives unlimited permission to copy, distribute and modify it."
16605 ac_pwd='$ac_pwd'
16606 srcdir='$srcdir'
16607 INSTALL='$INSTALL'
16608 test -n "\$AWK" || AWK=awk
16609 _ACEOF
16611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16612 # The default lists apply if the user does not specify any file.
16613 ac_need_defaults=:
16614 while test $# != 0
16616 case $1 in
16617 --*=?*)
16618 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16619 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16620 ac_shift=:
16622 --*=)
16623 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16624 ac_optarg=
16625 ac_shift=:
16628 ac_option=$1
16629 ac_optarg=$2
16630 ac_shift=shift
16632 esac
16634 case $ac_option in
16635 # Handling of the options.
16636 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16637 ac_cs_recheck=: ;;
16638 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16639 $as_echo "$ac_cs_version"; exit ;;
16640 --config | --confi | --conf | --con | --co | --c )
16641 $as_echo "$ac_cs_config"; exit ;;
16642 --debug | --debu | --deb | --de | --d | -d )
16643 debug=: ;;
16644 --file | --fil | --fi | --f )
16645 $ac_shift
16646 case $ac_optarg in
16647 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16648 '') as_fn_error $? "missing file argument" ;;
16649 esac
16650 as_fn_append CONFIG_FILES " '$ac_optarg'"
16651 ac_need_defaults=false;;
16652 --header | --heade | --head | --hea )
16653 $ac_shift
16654 case $ac_optarg in
16655 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16656 esac
16657 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16658 ac_need_defaults=false;;
16659 --he | --h)
16660 # Conflict between --help and --header
16661 as_fn_error $? "ambiguous option: \`$1'
16662 Try \`$0 --help' for more information.";;
16663 --help | --hel | -h )
16664 $as_echo "$ac_cs_usage"; exit ;;
16665 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16666 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16667 ac_cs_silent=: ;;
16669 # This is an error.
16670 -*) as_fn_error $? "unrecognized option: \`$1'
16671 Try \`$0 --help' for more information." ;;
16673 *) as_fn_append ac_config_targets " $1"
16674 ac_need_defaults=false ;;
16676 esac
16677 shift
16678 done
16680 ac_configure_extra_args=
16682 if $ac_cs_silent; then
16683 exec 6>/dev/null
16684 ac_configure_extra_args="$ac_configure_extra_args --silent"
16687 _ACEOF
16688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16689 if \$ac_cs_recheck; then
16690 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16691 shift
16692 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16693 CONFIG_SHELL='$SHELL'
16694 export CONFIG_SHELL
16695 exec "\$@"
16698 _ACEOF
16699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16700 exec 5>>config.log
16702 echo
16703 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16704 ## Running $as_me. ##
16705 _ASBOX
16706 $as_echo "$ac_log"
16707 } >&5
16709 _ACEOF
16710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16712 # INIT-COMMANDS
16714 wine_fn_output_makefile ()
16716 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16717 $ALL_MAKEFILE_DEPENDS
16718 _WINE_EOF
16719 as_fn_error $? "could not create Makefile" "$LINENO" 5
16722 _ACEOF
16724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16726 # Handling of arguments.
16727 for ac_config_target in $ac_config_targets
16729 case $ac_config_target in
16730 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
16731 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
16732 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16733 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16734 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16735 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16736 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16737 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16738 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
16739 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16740 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
16741 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
16742 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
16743 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16744 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16745 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16746 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
16747 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16748 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
16749 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
16750 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
16751 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
16752 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16753 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
16754 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
16755 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16757 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16758 esac
16759 done
16762 # If the user did not use the arguments to specify the items to instantiate,
16763 # then the envvar interface is used. Set only those that are not.
16764 # We use the long form for the default assignment because of an extremely
16765 # bizarre bug on SunOS 4.1.3.
16766 if $ac_need_defaults; then
16767 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16768 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16769 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
16770 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16773 # Have a temporary directory for convenience. Make it in the build tree
16774 # simply because there is no reason against having it here, and in addition,
16775 # creating and moving files from /tmp can sometimes cause problems.
16776 # Hook for its removal unless debugging.
16777 # Note that there is a small window in which the directory will not be cleaned:
16778 # after its creation but before its name has been assigned to `$tmp'.
16779 $debug ||
16781 tmp= ac_tmp=
16782 trap 'exit_status=$?
16783 : "${ac_tmp:=$tmp}"
16784 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16786 trap 'as_fn_exit 1' 1 2 13 15
16788 # Create a (secure) tmp directory for tmp files.
16791 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16792 test -d "$tmp"
16793 } ||
16795 tmp=./conf$$-$RANDOM
16796 (umask 077 && mkdir "$tmp")
16797 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16798 ac_tmp=$tmp
16800 # Set up the scripts for CONFIG_FILES section.
16801 # No need to generate them if there are no CONFIG_FILES.
16802 # This happens for instance with `./config.status config.h'.
16803 if test -n "$CONFIG_FILES"; then
16805 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
16806 ac_cs_awk_getline=:
16807 ac_cs_awk_pipe_init=
16808 ac_cs_awk_read_file='
16809 while ((getline aline < (F[key])) > 0)
16810 print(aline)
16811 close(F[key])'
16812 ac_cs_awk_pipe_fini=
16813 else
16814 ac_cs_awk_getline=false
16815 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
16816 ac_cs_awk_read_file='
16817 print "|#_!!_#|"
16818 print "cat " F[key] " &&"
16819 '$ac_cs_awk_pipe_init
16820 # The final `:' finishes the AND list.
16821 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
16823 ac_cr=`echo X | tr X '\015'`
16824 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16825 # But we know of no other shell where ac_cr would be empty at this
16826 # point, so we can use a bashism as a fallback.
16827 if test "x$ac_cr" = x; then
16828 eval ac_cr=\$\'\\r\'
16830 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16831 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16832 ac_cs_awk_cr='\\r'
16833 else
16834 ac_cs_awk_cr=$ac_cr
16837 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16838 _ACEOF
16840 # Create commands to substitute file output variables.
16842 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16843 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16844 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
16845 echo "_ACAWK" &&
16846 echo "_ACEOF"
16847 } >conf$$files.sh &&
16848 . ./conf$$files.sh ||
16849 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16850 rm -f conf$$files.sh
16853 echo "cat >conf$$subs.awk <<_ACEOF" &&
16854 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16855 echo "_ACEOF"
16856 } >conf$$subs.sh ||
16857 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16858 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16859 ac_delim='%!_!# '
16860 for ac_last_try in false false false false false :; do
16861 . ./conf$$subs.sh ||
16862 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16864 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16865 if test $ac_delim_n = $ac_delim_num; then
16866 break
16867 elif $ac_last_try; then
16868 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16869 else
16870 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16872 done
16873 rm -f conf$$subs.sh
16875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16876 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16877 _ACEOF
16878 sed -n '
16880 s/^/S["/; s/!.*/"]=/
16883 s/^[^!]*!//
16884 :repl
16885 t repl
16886 s/'"$ac_delim"'$//
16887 t delim
16890 s/\(.\{148\}\)..*/\1/
16891 t more1
16892 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16895 b repl
16896 :more1
16897 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16900 s/.\{148\}//
16901 t nl
16902 :delim
16904 s/\(.\{148\}\)..*/\1/
16905 t more2
16906 s/["\\]/\\&/g; s/^/"/; s/$/"/
16909 :more2
16910 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16913 s/.\{148\}//
16914 t delim
16915 ' <conf$$subs.awk | sed '
16916 /^[^""]/{
16918 s/\n//
16920 ' >>$CONFIG_STATUS || ac_write_fail=1
16921 rm -f conf$$subs.awk
16922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16923 _ACAWK
16924 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16925 for (key in S) S_is_set[key] = 1
16926 FS = "\a"
16927 \$ac_cs_awk_pipe_init
16930 line = $ 0
16931 nfields = split(line, field, "@")
16932 substed = 0
16933 len = length(field[1])
16934 for (i = 2; i < nfields; i++) {
16935 key = field[i]
16936 keylen = length(key)
16937 if (S_is_set[key]) {
16938 value = S[key]
16939 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16940 len += length(value) + length(field[++i])
16941 substed = 1
16942 } else
16943 len += 1 + keylen
16945 if (nfields == 3 && !substed) {
16946 key = field[2]
16947 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16948 \$ac_cs_awk_read_file
16949 next
16952 print line
16954 \$ac_cs_awk_pipe_fini
16955 _ACAWK
16956 _ACEOF
16957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16958 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16959 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16960 else
16962 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16963 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16964 _ACEOF
16966 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16967 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16968 # trailing colons and then remove the whole line if VPATH becomes empty
16969 # (actually we leave an empty line to preserve line numbers).
16970 if test "x$srcdir" = x.; then
16971 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16973 s///
16974 s/^/:/
16975 s/[ ]*$/:/
16976 s/:\$(srcdir):/:/g
16977 s/:\${srcdir}:/:/g
16978 s/:@srcdir@:/:/g
16979 s/^:*//
16980 s/:*$//
16982 s/\(=[ ]*\).*/\1/
16984 s/\n//
16985 s/^[^=]*=[ ]*$//
16989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16990 fi # test -n "$CONFIG_FILES"
16992 # Set up the scripts for CONFIG_HEADERS section.
16993 # No need to generate them if there are no CONFIG_HEADERS.
16994 # This happens for instance with `./config.status Makefile'.
16995 if test -n "$CONFIG_HEADERS"; then
16996 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16997 BEGIN {
16998 _ACEOF
17000 # Transform confdefs.h into an awk script `defines.awk', embedded as
17001 # here-document in config.status, that substitutes the proper values into
17002 # config.h.in to produce config.h.
17004 # Create a delimiter string that does not exist in confdefs.h, to ease
17005 # handling of long lines.
17006 ac_delim='%!_!# '
17007 for ac_last_try in false false :; do
17008 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17009 if test -z "$ac_tt"; then
17010 break
17011 elif $ac_last_try; then
17012 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17013 else
17014 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17016 done
17018 # For the awk script, D is an array of macro values keyed by name,
17019 # likewise P contains macro parameters if any. Preserve backslash
17020 # newline sequences.
17022 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17023 sed -n '
17024 s/.\{148\}/&'"$ac_delim"'/g
17025 t rset
17026 :rset
17027 s/^[ ]*#[ ]*define[ ][ ]*/ /
17028 t def
17030 :def
17031 s/\\$//
17032 t bsnl
17033 s/["\\]/\\&/g
17034 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17035 D["\1"]=" \3"/p
17036 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17038 :bsnl
17039 s/["\\]/\\&/g
17040 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17041 D["\1"]=" \3\\\\\\n"\\/p
17042 t cont
17043 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17044 t cont
17046 :cont
17048 s/.\{148\}/&'"$ac_delim"'/g
17049 t clear
17050 :clear
17051 s/\\$//
17052 t bsnlc
17053 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17055 :bsnlc
17056 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17057 b cont
17058 ' <confdefs.h | sed '
17059 s/'"$ac_delim"'/"\\\
17060 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17063 for (key in D) D_is_set[key] = 1
17064 FS = "\a"
17066 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17067 line = \$ 0
17068 split(line, arg, " ")
17069 if (arg[1] == "#") {
17070 defundef = arg[2]
17071 mac1 = arg[3]
17072 } else {
17073 defundef = substr(arg[1], 2)
17074 mac1 = arg[2]
17076 split(mac1, mac2, "(") #)
17077 macro = mac2[1]
17078 prefix = substr(line, 1, index(line, defundef) - 1)
17079 if (D_is_set[macro]) {
17080 # Preserve the white space surrounding the "#".
17081 print prefix "define", macro P[macro] D[macro]
17082 next
17083 } else {
17084 # Replace #undef with comments. This is necessary, for example,
17085 # in the case of _POSIX_SOURCE, which is predefined and required
17086 # on some systems where configure will not decide to define it.
17087 if (defundef == "undef") {
17088 print "/*", prefix defundef, macro, "*/"
17089 next
17093 { print }
17094 _ACAWK
17095 _ACEOF
17096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17097 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17098 fi # test -n "$CONFIG_HEADERS"
17101 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17102 shift
17103 for ac_tag
17105 case $ac_tag in
17106 :[FHLC]) ac_mode=$ac_tag; continue;;
17107 esac
17108 case $ac_mode$ac_tag in
17109 :[FHL]*:*);;
17110 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17111 :[FH]-) ac_tag=-:-;;
17112 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17113 esac
17114 ac_save_IFS=$IFS
17115 IFS=:
17116 set x $ac_tag
17117 IFS=$ac_save_IFS
17118 shift
17119 ac_file=$1
17120 shift
17122 case $ac_mode in
17123 :L) ac_source=$1;;
17124 :[FH])
17125 ac_file_inputs=
17126 for ac_f
17128 case $ac_f in
17129 -) ac_f="$ac_tmp/stdin";;
17130 *) # Look for the file first in the build tree, then in the source tree
17131 # (if the path is not absolute). The absolute path cannot be DOS-style,
17132 # because $ac_f cannot contain `:'.
17133 test -f "$ac_f" ||
17134 case $ac_f in
17135 [\\/$]*) false;;
17136 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17137 esac ||
17138 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17139 esac
17140 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17141 as_fn_append ac_file_inputs " '$ac_f'"
17142 done
17144 # Let's still pretend it is `configure' which instantiates (i.e., don't
17145 # use $as_me), people would be surprised to read:
17146 # /* config.h. Generated by config.status. */
17147 configure_input='Generated from '`
17148 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17149 `' by configure.'
17150 if test x"$ac_file" != x-; then
17151 configure_input="$ac_file. $configure_input"
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17153 $as_echo "$as_me: creating $ac_file" >&6;}
17155 # Neutralize special characters interpreted by sed in replacement strings.
17156 case $configure_input in #(
17157 *\&* | *\|* | *\\* )
17158 ac_sed_conf_input=`$as_echo "$configure_input" |
17159 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17160 *) ac_sed_conf_input=$configure_input;;
17161 esac
17163 case $ac_tag in
17164 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17165 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17166 esac
17168 esac
17170 ac_dir=`$as_dirname -- "$ac_file" ||
17171 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17172 X"$ac_file" : 'X\(//\)[^/]' \| \
17173 X"$ac_file" : 'X\(//\)$' \| \
17174 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17175 $as_echo X"$ac_file" |
17176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17177 s//\1/
17180 /^X\(\/\/\)[^/].*/{
17181 s//\1/
17184 /^X\(\/\/\)$/{
17185 s//\1/
17188 /^X\(\/\).*/{
17189 s//\1/
17192 s/.*/./; q'`
17193 as_dir="$ac_dir"; as_fn_mkdir_p
17194 ac_builddir=.
17196 case "$ac_dir" in
17197 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17199 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17200 # A ".." for each directory in $ac_dir_suffix.
17201 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17202 case $ac_top_builddir_sub in
17203 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17204 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17205 esac ;;
17206 esac
17207 ac_abs_top_builddir=$ac_pwd
17208 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17209 # for backward compatibility:
17210 ac_top_builddir=$ac_top_build_prefix
17212 case $srcdir in
17213 .) # We are building in place.
17214 ac_srcdir=.
17215 ac_top_srcdir=$ac_top_builddir_sub
17216 ac_abs_top_srcdir=$ac_pwd ;;
17217 [\\/]* | ?:[\\/]* ) # Absolute name.
17218 ac_srcdir=$srcdir$ac_dir_suffix;
17219 ac_top_srcdir=$srcdir
17220 ac_abs_top_srcdir=$srcdir ;;
17221 *) # Relative name.
17222 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17223 ac_top_srcdir=$ac_top_build_prefix$srcdir
17224 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17225 esac
17226 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17229 case $ac_mode in
17232 # CONFIG_FILE
17235 case $INSTALL in
17236 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17237 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17238 esac
17239 _ACEOF
17241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17242 # If the template does not know about datarootdir, expand it.
17243 # FIXME: This hack should be removed a few years after 2.60.
17244 ac_datarootdir_hack=; ac_datarootdir_seen=
17245 ac_sed_dataroot='
17246 /datarootdir/ {
17250 /@datadir@/p
17251 /@docdir@/p
17252 /@infodir@/p
17253 /@localedir@/p
17254 /@mandir@/p'
17255 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17256 *datarootdir*) ac_datarootdir_seen=yes;;
17257 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17259 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17260 _ACEOF
17261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17262 ac_datarootdir_hack='
17263 s&@datadir@&$datadir&g
17264 s&@docdir@&$docdir&g
17265 s&@infodir@&$infodir&g
17266 s&@localedir@&$localedir&g
17267 s&@mandir@&$mandir&g
17268 s&\\\${datarootdir}&$datarootdir&g' ;;
17269 esac
17270 _ACEOF
17272 # Neutralize VPATH when `$srcdir' = `.'.
17273 # Shell code in configure.ac might set extrasub.
17274 # FIXME: do we really want to maintain this feature?
17275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17276 ac_sed_extra="$ac_vpsub
17277 $extrasub
17278 _ACEOF
17279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17281 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17282 s|@configure_input@|$ac_sed_conf_input|;t t
17283 s&@top_builddir@&$ac_top_builddir_sub&;t t
17284 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17285 s&@srcdir@&$ac_srcdir&;t t
17286 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17287 s&@top_srcdir@&$ac_top_srcdir&;t t
17288 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17289 s&@builddir@&$ac_builddir&;t t
17290 s&@abs_builddir@&$ac_abs_builddir&;t t
17291 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17292 s&@INSTALL@&$ac_INSTALL&;t t
17293 $ac_datarootdir_hack
17295 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17296 if $ac_cs_awk_getline; then
17297 $AWK -f "$ac_tmp/subs.awk"
17298 else
17299 $AWK -f "$ac_tmp/subs.awk" | $SHELL
17300 fi \
17301 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17303 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17304 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17305 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17306 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17308 which seems to be undefined. Please make sure it is defined" >&5
17309 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17310 which seems to be undefined. Please make sure it is defined" >&2;}
17312 rm -f "$ac_tmp/stdin"
17313 case $ac_file in
17314 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17315 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17316 esac \
17317 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17321 # CONFIG_HEADER
17323 if test x"$ac_file" != x-; then
17325 $as_echo "/* $configure_input */" \
17326 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17327 } >"$ac_tmp/config.h" \
17328 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17329 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17331 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17332 else
17333 rm -f "$ac_file"
17334 mv "$ac_tmp/config.h" "$ac_file" \
17335 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17337 else
17338 $as_echo "/* $configure_input */" \
17339 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17340 || as_fn_error $? "could not create -" "$LINENO" 5
17345 # CONFIG_LINK
17348 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
17350 else
17351 # Prefer the file from the source tree if names are identical.
17352 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17353 ac_source=$srcdir/$ac_source
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17357 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17359 if test ! -r "$ac_source"; then
17360 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17362 rm -f "$ac_file"
17364 # Try a relative symlink, then a hard link, then a copy.
17365 case $ac_source in
17366 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17367 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17368 esac
17369 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17370 ln "$ac_source" "$ac_file" 2>/dev/null ||
17371 cp -p "$ac_source" "$ac_file" ||
17372 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17375 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17376 $as_echo "$as_me: executing $ac_file commands" >&6;}
17378 esac
17381 case $ac_file$ac_mode in
17382 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17383 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17384 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17385 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17386 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17387 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17388 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17389 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17390 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17391 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17392 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17393 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17394 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17395 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17396 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17397 "Makefile":C) wine_fn_output_makefile Makefile ;;
17399 esac
17400 done # for ac_tag
17403 as_fn_exit 0
17404 _ACEOF
17405 ac_clean_files=$ac_clean_files_save
17407 test $ac_write_fail = 0 ||
17408 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17411 # configure is writing to config.log, and then calls config.status.
17412 # config.status does its own redirection, appending to config.log.
17413 # Unfortunately, on DOS this fails, as config.log is still kept open
17414 # by configure, so config.status won't be able to write to it; its
17415 # output is simply discarded. So we exec the FD to /dev/null,
17416 # effectively closing config.log, so it can be properly (re)opened and
17417 # appended to by config.status. When coming back to configure, we
17418 # need to make the FD available again.
17419 if test "$no_create" != yes; then
17420 ac_cs_success=:
17421 ac_config_status_args=
17422 test "$silent" = yes &&
17423 ac_config_status_args="$ac_config_status_args --quiet"
17424 exec 5>/dev/null
17425 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17426 exec 5>>config.log
17427 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17428 # would make configure fail if this is the last instruction.
17429 $ac_cs_success || as_fn_exit 1
17431 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17433 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17437 if test "$no_create" = "yes"
17438 then
17439 exit 0
17442 ac_save_IFS="$IFS"
17443 if test "x$wine_notices != "x; then
17444 echo >&6
17445 IFS="|"
17446 for msg in $wine_notices; do
17447 IFS="$ac_save_IFS"
17448 if test -n "$msg"; then
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17450 $as_echo "$as_me: $msg" >&6;}
17452 done
17454 IFS="|"
17455 for msg in $wine_warnings; do
17456 IFS="$ac_save_IFS"
17457 if test -n "$msg"; then
17458 echo >&2
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17460 $as_echo "$as_me: WARNING: $msg" >&2;}
17462 done
17463 IFS="$ac_save_IFS"
17465 echo "
17466 $as_me: Finished. Do '${ac_make}' to compile Wine.
17467 " >&6