hid: Add HidD_GetManufacturerString stub.
[wine.git] / configure
blob6997375a351b85282db01831a669b24fb79cb51e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.5.27.
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.27'
584 PACKAGE_STRING='Wine 1.5.27'
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 LIBRT
632 LIBPOLL
633 LIBDL
634 EXTRA_BINARIES
635 MAIN_BINARY
636 SOCKETLIBS
637 CRTLIBS
638 TOOLSEXT
639 LDPATH
640 UNWINDFLAGS
641 BUILTINFLAG
642 EXTRACFLAGS
643 LIBKSTAT
644 LIBOPENAL
645 LIBMPG123
646 PNGINCL
647 FONTCONFIGINCL
648 CUPSINCL
649 OSS4INCL
650 ALSALIBS
651 GSTREAMER_INCL
652 GSTREAMER_LIBS
653 LIBGETTEXTPO
654 ZLIB
655 FREETYPEINCL
656 FREETYPELIBS
657 ft_devel
658 LCMSLIBS
659 RESOLVLIBS
660 GPHOTO2INCL
661 GPHOTO2LIBS
662 gphoto2port_devel
663 gphoto2_devel
664 SANEINCL
665 sane_devel
666 GNUTLSINCL
667 HALINCL
668 DBUSINCL
669 XSLTINCL
670 XML2INCL
671 XML2LIBS
672 X_EXTRA_LIBS
673 X_LIBS
674 X_PRE_LIBS
675 X_CFLAGS
676 XMKMF
677 LIBPTHREAD
678 CROSSTARGET
679 CROSSCC
680 CROSSTEST_DISABLE
681 PRELINK
682 CARBONLIB
683 QUICKTIMELIB
684 LIBOPENCL
685 FRAMEWORK_OPENAL
686 COREAUDIO
687 SECURITYLIB
688 DISKARBITRATIONLIB
689 LDEXECFLAGS
690 CORESERVICESLIB
691 APPLICATIONSERVICESLIB
692 IOKITLIB
693 COREFOUNDATIONLIB
694 DLLWRAP
695 DLLTOOL
696 ac_ct_READELF
697 READELF
699 LDRPATH_LOCAL
700 LDRPATH_INSTALL
701 IMPLIBEXT
702 LIBEXT
703 LDDLLFLAGS
704 LDSHARED
705 DLLFLAGS
706 DLLEXT
708 OPENGL_LIBS
709 XLIB
710 MAINTAINER_MODE
711 MSGFMT
712 ICOTOOL
713 CONVERT
714 RSVG
715 PKG_CONFIG
716 FONTFORGE
717 LINTFLAGS
718 LINT
719 INSTALL_DATA
720 INSTALL_SCRIPT
721 INSTALL_PROGRAM
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 ac_ct_AR
730 BISON
731 FLEX
732 TOOLSDIR
733 WOW64_DISABLE
734 TARGETFLAGS
735 CPPBIN
736 ac_ct_CXX
737 CXXFLAGS
739 OBJEXT
740 EXEEXT
741 ac_ct_CC
742 CPPFLAGS
743 LDFLAGS
744 CFLAGS
746 SET_MAKE
747 host_os
748 host_vendor
749 host_cpu
750 host
751 build_os
752 build_vendor
753 build_cpu
754 build
755 target_alias
756 host_alias
757 build_alias
758 LIBS
759 ECHO_T
760 ECHO_N
761 ECHO_C
762 DEFS
763 mandir
764 localedir
765 libdir
766 psdir
767 pdfdir
768 dvidir
769 htmldir
770 infodir
771 docdir
772 oldincludedir
773 includedir
774 localstatedir
775 sharedstatedir
776 sysconfdir
777 datadir
778 datarootdir
779 libexecdir
780 sbindir
781 bindir
782 program_transform_name
783 prefix
784 exec_prefix
785 PACKAGE_URL
786 PACKAGE_BUGREPORT
787 PACKAGE_STRING
788 PACKAGE_VERSION
789 PACKAGE_TARNAME
790 PACKAGE_NAME
791 PATH_SEPARATOR
792 SHELL'
793 ac_subst_files='MAKE_RULES
794 MAKE_TEST_RULES
795 MAKE_DLL_RULES
796 MAKE_IMPLIB_RULES
797 MAKE_PROG_RULES'
798 ac_user_opts='
799 enable_option_checking
800 enable_win16
801 enable_win64
802 enable_tests
803 enable_maintainer_mode
804 with_alsa
805 with_capi
806 with_cms
807 with_coreaudio
808 with_cups
809 with_curses
810 with_dbus
811 with_fontconfig
812 with_freetype
813 with_gettext
814 with_gettextpo
815 with_gphoto
816 with_glu
817 with_gnutls
818 with_gsm
819 with_gstreamer
820 with_hal
821 with_jpeg
822 with_ldap
823 with_mpg123
824 with_openal
825 with_opencl
826 with_opengl
827 with_osmesa
828 with_oss
829 with_png
830 with_pthread
831 with_sane
832 with_tiff
833 with_v4l
834 with_xcomposite
835 with_xcursor
836 with_xinerama
837 with_xinput
838 with_xinput2
839 with_xml
840 with_xrandr
841 with_xrender
842 with_xshape
843 with_xshm
844 with_xslt
845 with_xxf86vm
846 with_zlib
847 with_wine_tools
848 with_wine64
849 enable_largefile
850 with_x
852 ac_precious_vars='build_alias
853 host_alias
854 target_alias
856 CFLAGS
857 LDFLAGS
858 LIBS
859 CPPFLAGS
861 CXXFLAGS
864 XMKMF'
867 # Initialize some variables set by options.
868 ac_init_help=
869 ac_init_version=false
870 ac_unrecognized_opts=
871 ac_unrecognized_sep=
872 # The variables have the same names as the options, with
873 # dashes changed to underlines.
874 cache_file=/dev/null
875 exec_prefix=NONE
876 no_create=
877 no_recursion=
878 prefix=NONE
879 program_prefix=NONE
880 program_suffix=NONE
881 program_transform_name=s,x,x,
882 silent=
883 site=
884 srcdir=
885 verbose=
886 x_includes=NONE
887 x_libraries=NONE
889 # Installation directory options.
890 # These are left unexpanded so users can "make install exec_prefix=/foo"
891 # and all the variables that are supposed to be based on exec_prefix
892 # by default will actually change.
893 # Use braces instead of parens because sh, perl, etc. also accept them.
894 # (The list follows the same order as the GNU Coding Standards.)
895 bindir='${exec_prefix}/bin'
896 sbindir='${exec_prefix}/sbin'
897 libexecdir='${exec_prefix}/libexec'
898 datarootdir='${prefix}/share'
899 datadir='${datarootdir}'
900 sysconfdir='${prefix}/etc'
901 sharedstatedir='${prefix}/com'
902 localstatedir='${prefix}/var'
903 includedir='${prefix}/include'
904 oldincludedir='/usr/include'
905 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
906 infodir='${datarootdir}/info'
907 htmldir='${docdir}'
908 dvidir='${docdir}'
909 pdfdir='${docdir}'
910 psdir='${docdir}'
911 libdir='${exec_prefix}/lib'
912 localedir='${datarootdir}/locale'
913 mandir='${datarootdir}/man'
915 ac_prev=
916 ac_dashdash=
917 for ac_option
919 # If the previous option needs an argument, assign it.
920 if test -n "$ac_prev"; then
921 eval $ac_prev=\$ac_option
922 ac_prev=
923 continue
926 case $ac_option in
927 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
928 *=) ac_optarg= ;;
929 *) ac_optarg=yes ;;
930 esac
932 # Accept the important Cygnus configure options, so we can diagnose typos.
934 case $ac_dashdash$ac_option in
936 ac_dashdash=yes ;;
938 -bindir | --bindir | --bindi | --bind | --bin | --bi)
939 ac_prev=bindir ;;
940 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
941 bindir=$ac_optarg ;;
943 -build | --build | --buil | --bui | --bu)
944 ac_prev=build_alias ;;
945 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
946 build_alias=$ac_optarg ;;
948 -cache-file | --cache-file | --cache-fil | --cache-fi \
949 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
950 ac_prev=cache_file ;;
951 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
952 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
953 cache_file=$ac_optarg ;;
955 --config-cache | -C)
956 cache_file=config.cache ;;
958 -datadir | --datadir | --datadi | --datad)
959 ac_prev=datadir ;;
960 -datadir=* | --datadir=* | --datadi=* | --datad=*)
961 datadir=$ac_optarg ;;
963 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
964 | --dataroo | --dataro | --datar)
965 ac_prev=datarootdir ;;
966 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
967 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
968 datarootdir=$ac_optarg ;;
970 -disable-* | --disable-*)
971 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
974 as_fn_error $? "invalid feature name: $ac_useropt"
975 ac_useropt_orig=$ac_useropt
976 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
979 "enable_$ac_useropt"
980 "*) ;;
981 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
982 ac_unrecognized_sep=', ';;
983 esac
984 eval enable_$ac_useropt=no ;;
986 -docdir | --docdir | --docdi | --doc | --do)
987 ac_prev=docdir ;;
988 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
989 docdir=$ac_optarg ;;
991 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
992 ac_prev=dvidir ;;
993 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
994 dvidir=$ac_optarg ;;
996 -enable-* | --enable-*)
997 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1000 as_fn_error $? "invalid feature name: $ac_useropt"
1001 ac_useropt_orig=$ac_useropt
1002 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1003 case $ac_user_opts in
1005 "enable_$ac_useropt"
1006 "*) ;;
1007 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1008 ac_unrecognized_sep=', ';;
1009 esac
1010 eval enable_$ac_useropt=\$ac_optarg ;;
1012 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1013 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1014 | --exec | --exe | --ex)
1015 ac_prev=exec_prefix ;;
1016 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1017 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1018 | --exec=* | --exe=* | --ex=*)
1019 exec_prefix=$ac_optarg ;;
1021 -gas | --gas | --ga | --g)
1022 # Obsolete; use --with-gas.
1023 with_gas=yes ;;
1025 -help | --help | --hel | --he | -h)
1026 ac_init_help=long ;;
1027 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1028 ac_init_help=recursive ;;
1029 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1030 ac_init_help=short ;;
1032 -host | --host | --hos | --ho)
1033 ac_prev=host_alias ;;
1034 -host=* | --host=* | --hos=* | --ho=*)
1035 host_alias=$ac_optarg ;;
1037 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1038 ac_prev=htmldir ;;
1039 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1040 | --ht=*)
1041 htmldir=$ac_optarg ;;
1043 -includedir | --includedir | --includedi | --included | --include \
1044 | --includ | --inclu | --incl | --inc)
1045 ac_prev=includedir ;;
1046 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1047 | --includ=* | --inclu=* | --incl=* | --inc=*)
1048 includedir=$ac_optarg ;;
1050 -infodir | --infodir | --infodi | --infod | --info | --inf)
1051 ac_prev=infodir ;;
1052 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1053 infodir=$ac_optarg ;;
1055 -libdir | --libdir | --libdi | --libd)
1056 ac_prev=libdir ;;
1057 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1058 libdir=$ac_optarg ;;
1060 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1061 | --libexe | --libex | --libe)
1062 ac_prev=libexecdir ;;
1063 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1064 | --libexe=* | --libex=* | --libe=*)
1065 libexecdir=$ac_optarg ;;
1067 -localedir | --localedir | --localedi | --localed | --locale)
1068 ac_prev=localedir ;;
1069 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1070 localedir=$ac_optarg ;;
1072 -localstatedir | --localstatedir | --localstatedi | --localstated \
1073 | --localstate | --localstat | --localsta | --localst | --locals)
1074 ac_prev=localstatedir ;;
1075 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1076 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1077 localstatedir=$ac_optarg ;;
1079 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1080 ac_prev=mandir ;;
1081 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1082 mandir=$ac_optarg ;;
1084 -nfp | --nfp | --nf)
1085 # Obsolete; use --without-fp.
1086 with_fp=no ;;
1088 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1089 | --no-cr | --no-c | -n)
1090 no_create=yes ;;
1092 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1093 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1094 no_recursion=yes ;;
1096 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1097 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1098 | --oldin | --oldi | --old | --ol | --o)
1099 ac_prev=oldincludedir ;;
1100 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1101 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1102 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1103 oldincludedir=$ac_optarg ;;
1105 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1106 ac_prev=prefix ;;
1107 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1108 prefix=$ac_optarg ;;
1110 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1111 | --program-pre | --program-pr | --program-p)
1112 ac_prev=program_prefix ;;
1113 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1114 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1115 program_prefix=$ac_optarg ;;
1117 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1118 | --program-suf | --program-su | --program-s)
1119 ac_prev=program_suffix ;;
1120 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1121 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1122 program_suffix=$ac_optarg ;;
1124 -program-transform-name | --program-transform-name \
1125 | --program-transform-nam | --program-transform-na \
1126 | --program-transform-n | --program-transform- \
1127 | --program-transform | --program-transfor \
1128 | --program-transfo | --program-transf \
1129 | --program-trans | --program-tran \
1130 | --progr-tra | --program-tr | --program-t)
1131 ac_prev=program_transform_name ;;
1132 -program-transform-name=* | --program-transform-name=* \
1133 | --program-transform-nam=* | --program-transform-na=* \
1134 | --program-transform-n=* | --program-transform-=* \
1135 | --program-transform=* | --program-transfor=* \
1136 | --program-transfo=* | --program-transf=* \
1137 | --program-trans=* | --program-tran=* \
1138 | --progr-tra=* | --program-tr=* | --program-t=*)
1139 program_transform_name=$ac_optarg ;;
1141 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1142 ac_prev=pdfdir ;;
1143 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1144 pdfdir=$ac_optarg ;;
1146 -psdir | --psdir | --psdi | --psd | --ps)
1147 ac_prev=psdir ;;
1148 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1149 psdir=$ac_optarg ;;
1151 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1152 | -silent | --silent | --silen | --sile | --sil)
1153 silent=yes ;;
1155 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1156 ac_prev=sbindir ;;
1157 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1158 | --sbi=* | --sb=*)
1159 sbindir=$ac_optarg ;;
1161 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1162 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1163 | --sharedst | --shareds | --shared | --share | --shar \
1164 | --sha | --sh)
1165 ac_prev=sharedstatedir ;;
1166 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1167 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1168 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1169 | --sha=* | --sh=*)
1170 sharedstatedir=$ac_optarg ;;
1172 -site | --site | --sit)
1173 ac_prev=site ;;
1174 -site=* | --site=* | --sit=*)
1175 site=$ac_optarg ;;
1177 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1178 ac_prev=srcdir ;;
1179 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1180 srcdir=$ac_optarg ;;
1182 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1183 | --syscon | --sysco | --sysc | --sys | --sy)
1184 ac_prev=sysconfdir ;;
1185 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1186 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1187 sysconfdir=$ac_optarg ;;
1189 -target | --target | --targe | --targ | --tar | --ta | --t)
1190 ac_prev=target_alias ;;
1191 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1192 target_alias=$ac_optarg ;;
1194 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1195 verbose=yes ;;
1197 -version | --version | --versio | --versi | --vers | -V)
1198 ac_init_version=: ;;
1200 -with-* | --with-*)
1201 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1204 as_fn_error $? "invalid package name: $ac_useropt"
1205 ac_useropt_orig=$ac_useropt
1206 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1207 case $ac_user_opts in
1209 "with_$ac_useropt"
1210 "*) ;;
1211 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1212 ac_unrecognized_sep=', ';;
1213 esac
1214 eval with_$ac_useropt=\$ac_optarg ;;
1216 -without-* | --without-*)
1217 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1218 # Reject names that are not valid shell variable names.
1219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1220 as_fn_error $? "invalid package name: $ac_useropt"
1221 ac_useropt_orig=$ac_useropt
1222 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1223 case $ac_user_opts in
1225 "with_$ac_useropt"
1226 "*) ;;
1227 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1228 ac_unrecognized_sep=', ';;
1229 esac
1230 eval with_$ac_useropt=no ;;
1232 --x)
1233 # Obsolete; use --with-x.
1234 with_x=yes ;;
1236 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1237 | --x-incl | --x-inc | --x-in | --x-i)
1238 ac_prev=x_includes ;;
1239 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1240 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1241 x_includes=$ac_optarg ;;
1243 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1244 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1245 ac_prev=x_libraries ;;
1246 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1247 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1248 x_libraries=$ac_optarg ;;
1250 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1251 Try \`$0 --help' for more information"
1254 *=*)
1255 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1256 # Reject names that are not valid shell variable names.
1257 case $ac_envvar in #(
1258 '' | [0-9]* | *[!_$as_cr_alnum]* )
1259 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1260 esac
1261 eval $ac_envvar=\$ac_optarg
1262 export $ac_envvar ;;
1265 # FIXME: should be removed in autoconf 3.0.
1266 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1267 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1268 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1269 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1272 esac
1273 done
1275 if test -n "$ac_prev"; then
1276 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1277 as_fn_error $? "missing argument to $ac_option"
1280 if test -n "$ac_unrecognized_opts"; then
1281 case $enable_option_checking in
1282 no) ;;
1283 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1284 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1285 esac
1288 # Check all directory arguments for consistency.
1289 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1290 datadir sysconfdir sharedstatedir localstatedir includedir \
1291 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1292 libdir localedir mandir
1294 eval ac_val=\$$ac_var
1295 # Remove trailing slashes.
1296 case $ac_val in
1297 */ )
1298 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1299 eval $ac_var=\$ac_val;;
1300 esac
1301 # Be sure to have absolute directory names.
1302 case $ac_val in
1303 [\\/$]* | ?:[\\/]* ) continue;;
1304 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1305 esac
1306 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1307 done
1309 # There might be people who depend on the old broken behavior: `$host'
1310 # used to hold the argument of --host etc.
1311 # FIXME: To remove some day.
1312 build=$build_alias
1313 host=$host_alias
1314 target=$target_alias
1316 # FIXME: To remove some day.
1317 if test "x$host_alias" != x; then
1318 if test "x$build_alias" = x; then
1319 cross_compiling=maybe
1320 elif test "x$build_alias" != "x$host_alias"; then
1321 cross_compiling=yes
1325 ac_tool_prefix=
1326 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1328 test "$silent" = yes && exec 6>/dev/null
1331 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1332 ac_ls_di=`ls -di .` &&
1333 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1334 as_fn_error $? "working directory cannot be determined"
1335 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1336 as_fn_error $? "pwd does not report name of working directory"
1339 # Find the source files, if location was not specified.
1340 if test -z "$srcdir"; then
1341 ac_srcdir_defaulted=yes
1342 # Try the directory containing this script, then the parent directory.
1343 ac_confdir=`$as_dirname -- "$as_myself" ||
1344 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1345 X"$as_myself" : 'X\(//\)[^/]' \| \
1346 X"$as_myself" : 'X\(//\)$' \| \
1347 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1348 $as_echo X"$as_myself" |
1349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1350 s//\1/
1353 /^X\(\/\/\)[^/].*/{
1354 s//\1/
1357 /^X\(\/\/\)$/{
1358 s//\1/
1361 /^X\(\/\).*/{
1362 s//\1/
1365 s/.*/./; q'`
1366 srcdir=$ac_confdir
1367 if test ! -r "$srcdir/$ac_unique_file"; then
1368 srcdir=..
1370 else
1371 ac_srcdir_defaulted=no
1373 if test ! -r "$srcdir/$ac_unique_file"; then
1374 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1375 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1377 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1378 ac_abs_confdir=`(
1379 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1380 pwd)`
1381 # When building in place, set srcdir=.
1382 if test "$ac_abs_confdir" = "$ac_pwd"; then
1383 srcdir=.
1385 # Remove unnecessary trailing slashes from srcdir.
1386 # Double slashes in file names in object file debugging info
1387 # mess up M-x gdb in Emacs.
1388 case $srcdir in
1389 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1390 esac
1391 for ac_var in $ac_precious_vars; do
1392 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1393 eval ac_env_${ac_var}_value=\$${ac_var}
1394 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1395 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1396 done
1399 # Report the --help message.
1401 if test "$ac_init_help" = "long"; then
1402 # Omit some internal or obsolete options to make the list less imposing.
1403 # This message is too long to be a string in the A/UX 3.1 sh.
1404 cat <<_ACEOF
1405 \`configure' configures Wine 1.5.27 to adapt to many kinds of systems.
1407 Usage: $0 [OPTION]... [VAR=VALUE]...
1409 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1410 VAR=VALUE. See below for descriptions of some of the useful variables.
1412 Defaults for the options are specified in brackets.
1414 Configuration:
1415 -h, --help display this help and exit
1416 --help=short display options specific to this package
1417 --help=recursive display the short help of all the included packages
1418 -V, --version display version information and exit
1419 -q, --quiet, --silent do not print \`checking ...' messages
1420 --cache-file=FILE cache test results in FILE [disabled]
1421 -C, --config-cache alias for \`--cache-file=config.cache'
1422 -n, --no-create do not create output files
1423 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1425 Installation directories:
1426 --prefix=PREFIX install architecture-independent files in PREFIX
1427 [$ac_default_prefix]
1428 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1429 [PREFIX]
1431 By default, \`make install' will install all the files in
1432 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1433 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1434 for instance \`--prefix=\$HOME'.
1436 For better control, use the options below.
1438 Fine tuning of the installation directories:
1439 --bindir=DIR user executables [EPREFIX/bin]
1440 --sbindir=DIR system admin executables [EPREFIX/sbin]
1441 --libexecdir=DIR program executables [EPREFIX/libexec]
1442 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1443 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1444 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1445 --libdir=DIR object code libraries [EPREFIX/lib]
1446 --includedir=DIR C header files [PREFIX/include]
1447 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1448 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1449 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1450 --infodir=DIR info documentation [DATAROOTDIR/info]
1451 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1452 --mandir=DIR man documentation [DATAROOTDIR/man]
1453 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1454 --htmldir=DIR html documentation [DOCDIR]
1455 --dvidir=DIR dvi documentation [DOCDIR]
1456 --pdfdir=DIR pdf documentation [DOCDIR]
1457 --psdir=DIR ps documentation [DOCDIR]
1458 _ACEOF
1460 cat <<\_ACEOF
1462 X features:
1463 --x-includes=DIR X include files are in DIR
1464 --x-libraries=DIR X library files are in DIR
1466 System types:
1467 --build=BUILD configure for building on BUILD [guessed]
1468 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1469 _ACEOF
1472 if test -n "$ac_init_help"; then
1473 case $ac_init_help in
1474 short | recursive ) echo "Configuration of Wine 1.5.27:";;
1475 esac
1476 cat <<\_ACEOF
1478 Optional Features:
1479 --disable-option-checking ignore unrecognized --enable/--with options
1480 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1481 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1482 --disable-win16 do not include Win16 support
1483 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1484 binaries)
1485 --disable-tests do not build the regression tests
1486 --enable-maintainer-mode
1487 enable maintainer-specific build rules
1488 --disable-largefile omit support for large files
1490 Optional Packages:
1491 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1492 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1493 --without-alsa do not use the Alsa sound support
1494 --without-capi do not use CAPI (ISDN support)
1495 --without-cms do not use CMS (color management support)
1496 --without-coreaudio do not use the CoreAudio sound support
1497 --without-cups do not use CUPS
1498 --without-curses do not use (n)curses
1499 --without-dbus do not use DBus (dynamic device support)
1500 --without-fontconfig do not use fontconfig
1501 --without-freetype do not use the FreeType library
1502 --without-gettext do not use gettext
1503 --with-gettextpo use the GetTextPO library to rebuild po files
1504 --without-gphoto do not use gphoto (Digital Camera support)
1505 --without-glu do not use the GLU library
1506 --without-gnutls do not use GnuTLS (schannel support)
1507 --without-gsm do not use libgsm (GSM 06.10 codec support)
1508 --without-gstreamer do not use GStreamer (codecs support)
1509 --without-hal do not use HAL (dynamic device support)
1510 --without-jpeg do not use JPEG
1511 --without-ldap do not use LDAP
1512 --without-mpg123 do not use the mpg123 library
1513 --without-openal do not use OpenAL
1514 --without-opencl do not use OpenCL
1515 --without-opengl do not use OpenGL
1516 --without-osmesa do not use the OSMesa library
1517 --without-oss do not use the OSS sound support
1518 --without-png do not use PNG
1519 --without-pthread do not use the pthread library
1520 --without-sane do not use SANE (scanner support)
1521 --without-tiff do not use TIFF
1522 --without-v4l do not use v4l1 (v4l support)
1523 --without-xcomposite do not use the Xcomposite extension
1524 --without-xcursor do not use the Xcursor extension
1525 --without-xinerama do not use Xinerama (multi-monitor support)
1526 --without-xinput do not use the Xinput extension
1527 --without-xinput2 do not use the Xinput 2 extension
1528 --without-xml do not use XML
1529 --without-xrandr do not use Xrandr (resolution changes)
1530 --without-xrender do not use the Xrender extension
1531 --without-xshape do not use the Xshape extension
1532 --without-xshm do not use XShm (shared memory extension)
1533 --without-xslt do not use XSLT
1534 --without-xxf86vm do not use XFree video mode extension
1535 --without-zlib do not use Zlib (data compression)
1536 --with-wine-tools=DIR use Wine tools from directory DIR
1537 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1538 --with-x use the X Window System
1540 Some influential environment variables:
1541 CC C compiler command
1542 CFLAGS C compiler flags
1543 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1544 nonstandard directory <lib dir>
1545 LIBS libraries to pass to the linker, e.g. -l<library>
1546 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1547 you have headers in a nonstandard directory <include dir>
1548 CXX C++ compiler command
1549 CXXFLAGS C++ compiler flags
1550 CPP C preprocessor
1551 XMKMF Path to xmkmf, Makefile generator for X Window System
1553 Use these variables to override the choices made by `configure' or to help
1554 it to find libraries and programs with nonstandard names/locations.
1556 Report bugs to <wine-devel@winehq.org>.
1557 Wine home page: <http://www.winehq.org>.
1558 _ACEOF
1559 ac_status=$?
1562 if test "$ac_init_help" = "recursive"; then
1563 # If there are subdirs, report their specific --help.
1564 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1565 test -d "$ac_dir" ||
1566 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1567 continue
1568 ac_builddir=.
1570 case "$ac_dir" in
1571 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1573 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1574 # A ".." for each directory in $ac_dir_suffix.
1575 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1576 case $ac_top_builddir_sub in
1577 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1578 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1579 esac ;;
1580 esac
1581 ac_abs_top_builddir=$ac_pwd
1582 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1583 # for backward compatibility:
1584 ac_top_builddir=$ac_top_build_prefix
1586 case $srcdir in
1587 .) # We are building in place.
1588 ac_srcdir=.
1589 ac_top_srcdir=$ac_top_builddir_sub
1590 ac_abs_top_srcdir=$ac_pwd ;;
1591 [\\/]* | ?:[\\/]* ) # Absolute name.
1592 ac_srcdir=$srcdir$ac_dir_suffix;
1593 ac_top_srcdir=$srcdir
1594 ac_abs_top_srcdir=$srcdir ;;
1595 *) # Relative name.
1596 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1597 ac_top_srcdir=$ac_top_build_prefix$srcdir
1598 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1599 esac
1600 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1602 cd "$ac_dir" || { ac_status=$?; continue; }
1603 # Check for guested configure.
1604 if test -f "$ac_srcdir/configure.gnu"; then
1605 echo &&
1606 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1607 elif test -f "$ac_srcdir/configure"; then
1608 echo &&
1609 $SHELL "$ac_srcdir/configure" --help=recursive
1610 else
1611 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1612 fi || ac_status=$?
1613 cd "$ac_pwd" || { ac_status=$?; break; }
1614 done
1617 test -n "$ac_init_help" && exit $ac_status
1618 if $ac_init_version; then
1619 cat <<\_ACEOF
1620 Wine configure 1.5.27
1621 generated by GNU Autoconf 2.69
1623 Copyright (C) 2012 Free Software Foundation, Inc.
1624 This configure script is free software; the Free Software Foundation
1625 gives unlimited permission to copy, distribute and modify it.
1626 _ACEOF
1627 exit
1630 ## ------------------------ ##
1631 ## Autoconf initialization. ##
1632 ## ------------------------ ##
1634 # ac_fn_c_try_compile LINENO
1635 # --------------------------
1636 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1637 ac_fn_c_try_compile ()
1639 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1640 rm -f conftest.$ac_objext
1641 if { { ac_try="$ac_compile"
1642 case "(($ac_try" in
1643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1644 *) ac_try_echo=$ac_try;;
1645 esac
1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1647 $as_echo "$ac_try_echo"; } >&5
1648 (eval "$ac_compile") 2>conftest.err
1649 ac_status=$?
1650 if test -s conftest.err; then
1651 grep -v '^ *+' conftest.err >conftest.er1
1652 cat conftest.er1 >&5
1653 mv -f conftest.er1 conftest.err
1655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1656 test $ac_status = 0; } && {
1657 test -z "$ac_c_werror_flag" ||
1658 test ! -s conftest.err
1659 } && test -s conftest.$ac_objext; then :
1660 ac_retval=0
1661 else
1662 $as_echo "$as_me: failed program was:" >&5
1663 sed 's/^/| /' conftest.$ac_ext >&5
1665 ac_retval=1
1667 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1668 as_fn_set_status $ac_retval
1670 } # ac_fn_c_try_compile
1672 # ac_fn_cxx_try_compile LINENO
1673 # ----------------------------
1674 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1675 ac_fn_cxx_try_compile ()
1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678 rm -f conftest.$ac_objext
1679 if { { ac_try="$ac_compile"
1680 case "(($ac_try" in
1681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1682 *) ac_try_echo=$ac_try;;
1683 esac
1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685 $as_echo "$ac_try_echo"; } >&5
1686 (eval "$ac_compile") 2>conftest.err
1687 ac_status=$?
1688 if test -s conftest.err; then
1689 grep -v '^ *+' conftest.err >conftest.er1
1690 cat conftest.er1 >&5
1691 mv -f conftest.er1 conftest.err
1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694 test $ac_status = 0; } && {
1695 test -z "$ac_cxx_werror_flag" ||
1696 test ! -s conftest.err
1697 } && test -s conftest.$ac_objext; then :
1698 ac_retval=0
1699 else
1700 $as_echo "$as_me: failed program was:" >&5
1701 sed 's/^/| /' conftest.$ac_ext >&5
1703 ac_retval=1
1705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706 as_fn_set_status $ac_retval
1708 } # ac_fn_cxx_try_compile
1710 # ac_fn_c_try_link LINENO
1711 # -----------------------
1712 # Try to link conftest.$ac_ext, and return whether this succeeded.
1713 ac_fn_c_try_link ()
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 rm -f conftest.$ac_objext conftest$ac_exeext
1717 if { { ac_try="$ac_link"
1718 case "(($ac_try" in
1719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720 *) ac_try_echo=$ac_try;;
1721 esac
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_link") 2>conftest.err
1725 ac_status=$?
1726 if test -s conftest.err; then
1727 grep -v '^ *+' conftest.err >conftest.er1
1728 cat conftest.er1 >&5
1729 mv -f conftest.er1 conftest.err
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; } && {
1733 test -z "$ac_c_werror_flag" ||
1734 test ! -s conftest.err
1735 } && test -s conftest$ac_exeext && {
1736 test "$cross_compiling" = yes ||
1737 test -x conftest$ac_exeext
1738 }; then :
1739 ac_retval=0
1740 else
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1744 ac_retval=1
1746 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1747 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1748 # interfere with the next link command; also delete a directory that is
1749 # left behind by Apple's compiler. We do this before executing the actions.
1750 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752 as_fn_set_status $ac_retval
1754 } # ac_fn_c_try_link
1756 # ac_fn_c_try_cpp LINENO
1757 # ----------------------
1758 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1759 ac_fn_c_try_cpp ()
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 if { { ac_try="$ac_cpp conftest.$ac_ext"
1763 case "(($ac_try" in
1764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765 *) ac_try_echo=$ac_try;;
1766 esac
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1770 ac_status=$?
1771 if test -s conftest.err; then
1772 grep -v '^ *+' conftest.err >conftest.er1
1773 cat conftest.er1 >&5
1774 mv -f conftest.er1 conftest.err
1776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1777 test $ac_status = 0; } > conftest.i && {
1778 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1779 test ! -s conftest.err
1780 }; then :
1781 ac_retval=0
1782 else
1783 $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1786 ac_retval=1
1788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1789 as_fn_set_status $ac_retval
1791 } # ac_fn_c_try_cpp
1793 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1794 # -------------------------------------------------------
1795 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1796 # the include files in INCLUDES and setting the cache variable VAR
1797 # accordingly.
1798 ac_fn_c_check_header_mongrel ()
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 if eval \${$3+:} false; then :
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1803 $as_echo_n "checking for $2... " >&6; }
1804 if eval \${$3+:} false; then :
1805 $as_echo_n "(cached) " >&6
1807 eval ac_res=\$$3
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1809 $as_echo "$ac_res" >&6; }
1810 else
1811 # Is the header compilable?
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1813 $as_echo_n "checking $2 usability... " >&6; }
1814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1815 /* end confdefs.h. */
1817 #include <$2>
1818 _ACEOF
1819 if ac_fn_c_try_compile "$LINENO"; then :
1820 ac_header_compiler=yes
1821 else
1822 ac_header_compiler=no
1824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1826 $as_echo "$ac_header_compiler" >&6; }
1828 # Is the header present?
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1830 $as_echo_n "checking $2 presence... " >&6; }
1831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1832 /* end confdefs.h. */
1833 #include <$2>
1834 _ACEOF
1835 if ac_fn_c_try_cpp "$LINENO"; then :
1836 ac_header_preproc=yes
1837 else
1838 ac_header_preproc=no
1840 rm -f conftest.err conftest.i conftest.$ac_ext
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1842 $as_echo "$ac_header_preproc" >&6; }
1844 # So? What about this header?
1845 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1846 yes:no: )
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1848 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1850 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1852 no:yes:* )
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1854 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1856 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1858 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1860 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1862 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1863 ( $as_echo "## ------------------------------------ ##
1864 ## Report this to wine-devel@winehq.org ##
1865 ## ------------------------------------ ##"
1866 ) | sed "s/^/$as_me: WARNING: /" >&2
1868 esac
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1870 $as_echo_n "checking for $2... " >&6; }
1871 if eval \${$3+:} false; then :
1872 $as_echo_n "(cached) " >&6
1873 else
1874 eval "$3=\$ac_header_compiler"
1876 eval ac_res=\$$3
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1878 $as_echo "$ac_res" >&6; }
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 } # ac_fn_c_check_header_mongrel
1884 # ac_fn_c_try_run LINENO
1885 # ----------------------
1886 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1887 # that executables *can* be run.
1888 ac_fn_c_try_run ()
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 if { { ac_try="$ac_link"
1892 case "(($ac_try" in
1893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1894 *) ac_try_echo=$ac_try;;
1895 esac
1896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1897 $as_echo "$ac_try_echo"; } >&5
1898 (eval "$ac_link") 2>&5
1899 ac_status=$?
1900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1901 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1902 { { case "(($ac_try" in
1903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1904 *) ac_try_echo=$ac_try;;
1905 esac
1906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1907 $as_echo "$ac_try_echo"; } >&5
1908 (eval "$ac_try") 2>&5
1909 ac_status=$?
1910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1911 test $ac_status = 0; }; }; then :
1912 ac_retval=0
1913 else
1914 $as_echo "$as_me: program exited with status $ac_status" >&5
1915 $as_echo "$as_me: failed program was:" >&5
1916 sed 's/^/| /' conftest.$ac_ext >&5
1918 ac_retval=$ac_status
1920 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1921 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1922 as_fn_set_status $ac_retval
1924 } # ac_fn_c_try_run
1926 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1927 # -------------------------------------------------------
1928 # Tests whether HEADER exists and can be compiled using the include files in
1929 # INCLUDES, setting the cache variable VAR accordingly.
1930 ac_fn_c_check_header_compile ()
1932 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1934 $as_echo_n "checking for $2... " >&6; }
1935 if eval \${$3+:} false; then :
1936 $as_echo_n "(cached) " >&6
1937 else
1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1939 /* end confdefs.h. */
1941 #include <$2>
1942 _ACEOF
1943 if ac_fn_c_try_compile "$LINENO"; then :
1944 eval "$3=yes"
1945 else
1946 eval "$3=no"
1948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1950 eval ac_res=\$$3
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1952 $as_echo "$ac_res" >&6; }
1953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955 } # ac_fn_c_check_header_compile
1957 # ac_fn_c_check_func LINENO FUNC VAR
1958 # ----------------------------------
1959 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1960 ac_fn_c_check_func ()
1962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1964 $as_echo_n "checking for $2... " >&6; }
1965 if eval \${$3+:} false; then :
1966 $as_echo_n "(cached) " >&6
1967 else
1968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1969 /* end confdefs.h. */
1970 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1972 #define $2 innocuous_$2
1974 /* System header to define __stub macros and hopefully few prototypes,
1975 which can conflict with char $2 (); below.
1976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1977 <limits.h> exists even on freestanding compilers. */
1979 #ifdef __STDC__
1980 # include <limits.h>
1981 #else
1982 # include <assert.h>
1983 #endif
1985 #undef $2
1987 /* Override any GCC internal prototype to avoid an error.
1988 Use char because int might match the return type of a GCC
1989 builtin and then its argument prototype would still apply. */
1990 #ifdef __cplusplus
1991 extern "C"
1992 #endif
1993 char $2 ();
1994 /* The GNU C library defines this for functions which it implements
1995 to always fail with ENOSYS. Some functions are actually named
1996 something starting with __ and the normal name is an alias. */
1997 #if defined __stub_$2 || defined __stub___$2
1998 choke me
1999 #endif
2002 main ()
2004 return $2 ();
2006 return 0;
2008 _ACEOF
2009 if ac_fn_c_try_link "$LINENO"; then :
2010 eval "$3=yes"
2011 else
2012 eval "$3=no"
2014 rm -f core conftest.err conftest.$ac_objext \
2015 conftest$ac_exeext conftest.$ac_ext
2017 eval ac_res=\$$3
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2019 $as_echo "$ac_res" >&6; }
2020 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2022 } # ac_fn_c_check_func
2024 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2025 # ----------------------------------------------------
2026 # Tries to find if the field MEMBER exists in type AGGR, after including
2027 # INCLUDES, setting cache variable VAR accordingly.
2028 ac_fn_c_check_member ()
2030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2032 $as_echo_n "checking for $2.$3... " >&6; }
2033 if eval \${$4+:} false; then :
2034 $as_echo_n "(cached) " >&6
2035 else
2036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2037 /* end confdefs.h. */
2040 main ()
2042 static $2 ac_aggr;
2043 if (ac_aggr.$3)
2044 return 0;
2046 return 0;
2048 _ACEOF
2049 if ac_fn_c_try_compile "$LINENO"; then :
2050 eval "$4=yes"
2051 else
2052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2053 /* end confdefs.h. */
2056 main ()
2058 static $2 ac_aggr;
2059 if (sizeof ac_aggr.$3)
2060 return 0;
2062 return 0;
2064 _ACEOF
2065 if ac_fn_c_try_compile "$LINENO"; then :
2066 eval "$4=yes"
2067 else
2068 eval "$4=no"
2070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2074 eval ac_res=\$$4
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2076 $as_echo "$ac_res" >&6; }
2077 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079 } # ac_fn_c_check_member
2081 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2082 # -------------------------------------------
2083 # Tests whether TYPE exists after having included INCLUDES, setting cache
2084 # variable VAR accordingly.
2085 ac_fn_c_check_type ()
2087 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2089 $as_echo_n "checking for $2... " >&6; }
2090 if eval \${$3+:} false; then :
2091 $as_echo_n "(cached) " >&6
2092 else
2093 eval "$3=no"
2094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h. */
2098 main ()
2100 if (sizeof ($2))
2101 return 0;
2103 return 0;
2105 _ACEOF
2106 if ac_fn_c_try_compile "$LINENO"; then :
2107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2108 /* end confdefs.h. */
2111 main ()
2113 if (sizeof (($2)))
2114 return 0;
2116 return 0;
2118 _ACEOF
2119 if ac_fn_c_try_compile "$LINENO"; then :
2121 else
2122 eval "$3=yes"
2124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128 eval ac_res=\$$3
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2130 $as_echo "$ac_res" >&6; }
2131 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2133 } # ac_fn_c_check_type
2134 cat >config.log <<_ACEOF
2135 This file contains any messages produced by compilers while
2136 running configure, to aid debugging if configure makes a mistake.
2138 It was created by Wine $as_me 1.5.27, which was
2139 generated by GNU Autoconf 2.69. Invocation command line was
2141 $ $0 $@
2143 _ACEOF
2144 exec 5>>config.log
2146 cat <<_ASUNAME
2147 ## --------- ##
2148 ## Platform. ##
2149 ## --------- ##
2151 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2152 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2153 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2154 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2155 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2157 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2158 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2160 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2161 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2162 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2163 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2164 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2165 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2166 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2168 _ASUNAME
2170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171 for as_dir in $PATH
2173 IFS=$as_save_IFS
2174 test -z "$as_dir" && as_dir=.
2175 $as_echo "PATH: $as_dir"
2176 done
2177 IFS=$as_save_IFS
2179 } >&5
2181 cat >&5 <<_ACEOF
2184 ## ----------- ##
2185 ## Core tests. ##
2186 ## ----------- ##
2188 _ACEOF
2191 # Keep a trace of the command line.
2192 # Strip out --no-create and --no-recursion so they do not pile up.
2193 # Strip out --silent because we don't want to record it for future runs.
2194 # Also quote any args containing shell meta-characters.
2195 # Make two passes to allow for proper duplicate-argument suppression.
2196 ac_configure_args=
2197 ac_configure_args0=
2198 ac_configure_args1=
2199 ac_must_keep_next=false
2200 for ac_pass in 1 2
2202 for ac_arg
2204 case $ac_arg in
2205 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2206 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2207 | -silent | --silent | --silen | --sile | --sil)
2208 continue ;;
2209 *\'*)
2210 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2211 esac
2212 case $ac_pass in
2213 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2215 as_fn_append ac_configure_args1 " '$ac_arg'"
2216 if test $ac_must_keep_next = true; then
2217 ac_must_keep_next=false # Got value, back to normal.
2218 else
2219 case $ac_arg in
2220 *=* | --config-cache | -C | -disable-* | --disable-* \
2221 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2222 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2223 | -with-* | --with-* | -without-* | --without-* | --x)
2224 case "$ac_configure_args0 " in
2225 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2226 esac
2228 -* ) ac_must_keep_next=true ;;
2229 esac
2231 as_fn_append ac_configure_args " '$ac_arg'"
2233 esac
2234 done
2235 done
2236 { ac_configure_args0=; unset ac_configure_args0;}
2237 { ac_configure_args1=; unset ac_configure_args1;}
2239 # When interrupted or exit'd, cleanup temporary files, and complete
2240 # config.log. We remove comments because anyway the quotes in there
2241 # would cause problems or look ugly.
2242 # WARNING: Use '\'' to represent an apostrophe within the trap.
2243 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2244 trap 'exit_status=$?
2245 # Save into config.log some information that might help in debugging.
2247 echo
2249 $as_echo "## ---------------- ##
2250 ## Cache variables. ##
2251 ## ---------------- ##"
2252 echo
2253 # The following way of writing the cache mishandles newlines in values,
2255 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2256 eval ac_val=\$$ac_var
2257 case $ac_val in #(
2258 *${as_nl}*)
2259 case $ac_var in #(
2260 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2261 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2262 esac
2263 case $ac_var in #(
2264 _ | IFS | as_nl) ;; #(
2265 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2266 *) { eval $ac_var=; unset $ac_var;} ;;
2267 esac ;;
2268 esac
2269 done
2270 (set) 2>&1 |
2271 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2272 *${as_nl}ac_space=\ *)
2273 sed -n \
2274 "s/'\''/'\''\\\\'\'''\''/g;
2275 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2276 ;; #(
2278 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2280 esac |
2281 sort
2283 echo
2285 $as_echo "## ----------------- ##
2286 ## Output variables. ##
2287 ## ----------------- ##"
2288 echo
2289 for ac_var in $ac_subst_vars
2291 eval ac_val=\$$ac_var
2292 case $ac_val in
2293 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2294 esac
2295 $as_echo "$ac_var='\''$ac_val'\''"
2296 done | sort
2297 echo
2299 if test -n "$ac_subst_files"; then
2300 $as_echo "## ------------------- ##
2301 ## File substitutions. ##
2302 ## ------------------- ##"
2303 echo
2304 for ac_var in $ac_subst_files
2306 eval ac_val=\$$ac_var
2307 case $ac_val in
2308 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2309 esac
2310 $as_echo "$ac_var='\''$ac_val'\''"
2311 done | sort
2312 echo
2315 if test -s confdefs.h; then
2316 $as_echo "## ----------- ##
2317 ## confdefs.h. ##
2318 ## ----------- ##"
2319 echo
2320 cat confdefs.h
2321 echo
2323 test "$ac_signal" != 0 &&
2324 $as_echo "$as_me: caught signal $ac_signal"
2325 $as_echo "$as_me: exit $exit_status"
2326 } >&5
2327 rm -f core *.core core.conftest.* &&
2328 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2329 exit $exit_status
2331 for ac_signal in 1 2 13 15; do
2332 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2333 done
2334 ac_signal=0
2336 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2337 rm -f -r conftest* confdefs.h
2339 $as_echo "/* confdefs.h */" > confdefs.h
2341 # Predefined preprocessor variables.
2343 cat >>confdefs.h <<_ACEOF
2344 #define PACKAGE_NAME "$PACKAGE_NAME"
2345 _ACEOF
2347 cat >>confdefs.h <<_ACEOF
2348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2349 _ACEOF
2351 cat >>confdefs.h <<_ACEOF
2352 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2353 _ACEOF
2355 cat >>confdefs.h <<_ACEOF
2356 #define PACKAGE_STRING "$PACKAGE_STRING"
2357 _ACEOF
2359 cat >>confdefs.h <<_ACEOF
2360 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2361 _ACEOF
2363 cat >>confdefs.h <<_ACEOF
2364 #define PACKAGE_URL "$PACKAGE_URL"
2365 _ACEOF
2368 # Let the site file select an alternate cache file if it wants to.
2369 # Prefer an explicitly selected file to automatically selected ones.
2370 ac_site_file1=NONE
2371 ac_site_file2=NONE
2372 if test -n "$CONFIG_SITE"; then
2373 # We do not want a PATH search for config.site.
2374 case $CONFIG_SITE in #((
2375 -*) ac_site_file1=./$CONFIG_SITE;;
2376 */*) ac_site_file1=$CONFIG_SITE;;
2377 *) ac_site_file1=./$CONFIG_SITE;;
2378 esac
2379 elif test "x$prefix" != xNONE; then
2380 ac_site_file1=$prefix/share/config.site
2381 ac_site_file2=$prefix/etc/config.site
2382 else
2383 ac_site_file1=$ac_default_prefix/share/config.site
2384 ac_site_file2=$ac_default_prefix/etc/config.site
2386 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2388 test "x$ac_site_file" = xNONE && continue
2389 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2391 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2392 sed 's/^/| /' "$ac_site_file" >&5
2393 . "$ac_site_file" \
2394 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2396 as_fn_error $? "failed to load site script $ac_site_file
2397 See \`config.log' for more details" "$LINENO" 5; }
2399 done
2401 if test -r "$cache_file"; then
2402 # Some versions of bash will fail to source /dev/null (special files
2403 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2404 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2406 $as_echo "$as_me: loading cache $cache_file" >&6;}
2407 case $cache_file in
2408 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2409 *) . "./$cache_file";;
2410 esac
2412 else
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2414 $as_echo "$as_me: creating cache $cache_file" >&6;}
2415 >$cache_file
2418 # Check that the precious variables saved in the cache have kept the same
2419 # value.
2420 ac_cache_corrupted=false
2421 for ac_var in $ac_precious_vars; do
2422 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2423 eval ac_new_set=\$ac_env_${ac_var}_set
2424 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2425 eval ac_new_val=\$ac_env_${ac_var}_value
2426 case $ac_old_set,$ac_new_set in
2427 set,)
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2429 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2430 ac_cache_corrupted=: ;;
2431 ,set)
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2433 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2434 ac_cache_corrupted=: ;;
2435 ,);;
2437 if test "x$ac_old_val" != "x$ac_new_val"; then
2438 # differences in whitespace do not lead to failure.
2439 ac_old_val_w=`echo x $ac_old_val`
2440 ac_new_val_w=`echo x $ac_new_val`
2441 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2443 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2444 ac_cache_corrupted=:
2445 else
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2447 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2448 eval $ac_var=\$ac_old_val
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2451 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2453 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2454 fi;;
2455 esac
2456 # Pass precious variables to config.status.
2457 if test "$ac_new_set" = set; then
2458 case $ac_new_val in
2459 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2460 *) ac_arg=$ac_var=$ac_new_val ;;
2461 esac
2462 case " $ac_configure_args " in
2463 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2464 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2465 esac
2467 done
2468 if $ac_cache_corrupted; then
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2472 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2473 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2475 ## -------------------- ##
2476 ## Main body of script. ##
2477 ## -------------------- ##
2479 ac_ext=c
2480 ac_cpp='$CPP $CPPFLAGS'
2481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2487 ac_config_headers="$ac_config_headers include/config.h"
2489 ac_aux_dir=
2490 for ac_dir in tools "$srcdir"/tools; do
2491 if test -f "$ac_dir/install-sh"; then
2492 ac_aux_dir=$ac_dir
2493 ac_install_sh="$ac_aux_dir/install-sh -c"
2494 break
2495 elif test -f "$ac_dir/install.sh"; then
2496 ac_aux_dir=$ac_dir
2497 ac_install_sh="$ac_aux_dir/install.sh -c"
2498 break
2499 elif test -f "$ac_dir/shtool"; then
2500 ac_aux_dir=$ac_dir
2501 ac_install_sh="$ac_aux_dir/shtool install -c"
2502 break
2504 done
2505 if test -z "$ac_aux_dir"; then
2506 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2509 # These three variables are undocumented and unsupported,
2510 # and are intended to be withdrawn in a future Autoconf release.
2511 # They can cause serious problems if a builder's source tree is in a directory
2512 # whose full name contains unusual characters.
2513 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2514 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2515 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2521 # Check whether --enable-win16 was given.
2522 if test "${enable_win16+set}" = set; then :
2523 enableval=$enable_win16;
2526 # Check whether --enable-win64 was given.
2527 if test "${enable_win64+set}" = set; then :
2528 enableval=$enable_win64;
2531 # Check whether --enable-tests was given.
2532 if test "${enable_tests+set}" = set; then :
2533 enableval=$enable_tests;
2536 # Check whether --enable-maintainer-mode was given.
2537 if test "${enable_maintainer_mode+set}" = set; then :
2538 enableval=$enable_maintainer_mode;
2543 # Check whether --with-alsa was given.
2544 if test "${with_alsa+set}" = set; then :
2545 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2549 # Check whether --with-capi was given.
2550 if test "${with_capi+set}" = set; then :
2551 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
2555 # Check whether --with-cms was given.
2556 if test "${with_cms+set}" = set; then :
2557 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
2561 # Check whether --with-coreaudio was given.
2562 if test "${with_coreaudio+set}" = set; then :
2563 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2567 # Check whether --with-cups was given.
2568 if test "${with_cups+set}" = set; then :
2569 withval=$with_cups;
2573 # Check whether --with-curses was given.
2574 if test "${with_curses+set}" = set; then :
2575 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2579 # Check whether --with-dbus was given.
2580 if test "${with_dbus+set}" = set; then :
2581 withval=$with_dbus;
2585 # Check whether --with-fontconfig was given.
2586 if test "${with_fontconfig+set}" = set; then :
2587 withval=$with_fontconfig;
2591 # Check whether --with-freetype was given.
2592 if test "${with_freetype+set}" = set; then :
2593 withval=$with_freetype;
2597 # Check whether --with-gettext was given.
2598 if test "${with_gettext+set}" = set; then :
2599 withval=$with_gettext;
2603 # Check whether --with-gettextpo was given.
2604 if test "${with_gettextpo+set}" = set; then :
2605 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
2609 # Check whether --with-gphoto was given.
2610 if test "${with_gphoto+set}" = set; then :
2611 withval=$with_gphoto;
2615 # Check whether --with-glu was given.
2616 if test "${with_glu+set}" = set; then :
2617 withval=$with_glu;
2621 # Check whether --with-gnutls was given.
2622 if test "${with_gnutls+set}" = set; then :
2623 withval=$with_gnutls;
2627 # Check whether --with-gsm was given.
2628 if test "${with_gsm+set}" = set; then :
2629 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2633 # Check whether --with-gstreamer was given.
2634 if test "${with_gstreamer+set}" = set; then :
2635 withval=$with_gstreamer;
2639 # Check whether --with-hal was given.
2640 if test "${with_hal+set}" = set; then :
2641 withval=$with_hal;
2645 # Check whether --with-jpeg was given.
2646 if test "${with_jpeg+set}" = set; then :
2647 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2651 # Check whether --with-ldap was given.
2652 if test "${with_ldap+set}" = set; then :
2653 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2657 # Check whether --with-mpg123 was given.
2658 if test "${with_mpg123+set}" = set; then :
2659 withval=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h=no; fi
2663 # Check whether --with-openal was given.
2664 if test "${with_openal+set}" = set; then :
2665 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2669 # Check whether --with-opencl was given.
2670 if test "${with_opencl+set}" = set; then :
2671 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
2675 # Check whether --with-opengl was given.
2676 if test "${with_opengl+set}" = set; then :
2677 withval=$with_opengl;
2681 # Check whether --with-osmesa was given.
2682 if test "${with_osmesa+set}" = set; then :
2683 withval=$with_osmesa;
2687 # Check whether --with-oss was given.
2688 if test "${with_oss+set}" = set; then :
2689 withval=$with_oss;
2693 # Check whether --with-png was given.
2694 if test "${with_png+set}" = set; then :
2695 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2699 # Check whether --with-pthread was given.
2700 if test "${with_pthread+set}" = set; then :
2701 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2705 # Check whether --with-sane was given.
2706 if test "${with_sane+set}" = set; then :
2707 withval=$with_sane;
2711 # Check whether --with-tiff was given.
2712 if test "${with_tiff+set}" = set; then :
2713 withval=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h=no; fi
2717 # Check whether --with-v4l was given.
2718 if test "${with_v4l+set}" = set; then :
2719 withval=$with_v4l;
2723 # Check whether --with-xcomposite was given.
2724 if test "${with_xcomposite+set}" = set; then :
2725 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2729 # Check whether --with-xcursor was given.
2730 if test "${with_xcursor+set}" = set; then :
2731 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2735 # Check whether --with-xinerama was given.
2736 if test "${with_xinerama+set}" = set; then :
2737 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2741 # Check whether --with-xinput was given.
2742 if test "${with_xinput+set}" = set; then :
2743 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2747 # Check whether --with-xinput2 was given.
2748 if test "${with_xinput2+set}" = set; then :
2749 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
2753 # Check whether --with-xml was given.
2754 if test "${with_xml+set}" = set; then :
2755 withval=$with_xml;
2759 # Check whether --with-xrandr was given.
2760 if test "${with_xrandr+set}" = set; then :
2761 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2765 # Check whether --with-xrender was given.
2766 if test "${with_xrender+set}" = set; then :
2767 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2771 # Check whether --with-xshape was given.
2772 if test "${with_xshape+set}" = set; then :
2773 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2777 # Check whether --with-xshm was given.
2778 if test "${with_xshm+set}" = set; then :
2779 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2783 # Check whether --with-xslt was given.
2784 if test "${with_xslt+set}" = set; then :
2785 withval=$with_xslt;
2789 # Check whether --with-xxf86vm was given.
2790 if test "${with_xxf86vm+set}" = set; then :
2791 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
2795 # Check whether --with-zlib was given.
2796 if test "${with_zlib+set}" = set; then :
2797 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
2802 # Check whether --with-wine-tools was given.
2803 if test "${with_wine_tools+set}" = set; then :
2804 withval=$with_wine_tools;
2808 # Check whether --with-wine64 was given.
2809 if test "${with_wine64+set}" = set; then :
2810 withval=$with_wine64;
2814 # Make sure we can run config.sub.
2815 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2816 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2819 $as_echo_n "checking build system type... " >&6; }
2820 if ${ac_cv_build+:} false; then :
2821 $as_echo_n "(cached) " >&6
2822 else
2823 ac_build_alias=$build_alias
2824 test "x$ac_build_alias" = x &&
2825 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2826 test "x$ac_build_alias" = x &&
2827 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2828 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2829 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2833 $as_echo "$ac_cv_build" >&6; }
2834 case $ac_cv_build in
2835 *-*-*) ;;
2836 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2837 esac
2838 build=$ac_cv_build
2839 ac_save_IFS=$IFS; IFS='-'
2840 set x $ac_cv_build
2841 shift
2842 build_cpu=$1
2843 build_vendor=$2
2844 shift; shift
2845 # Remember, the first character of IFS is used to create $*,
2846 # except with old shells:
2847 build_os=$*
2848 IFS=$ac_save_IFS
2849 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2853 $as_echo_n "checking host system type... " >&6; }
2854 if ${ac_cv_host+:} false; then :
2855 $as_echo_n "(cached) " >&6
2856 else
2857 if test "x$host_alias" = x; then
2858 ac_cv_host=$ac_cv_build
2859 else
2860 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2861 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2866 $as_echo "$ac_cv_host" >&6; }
2867 case $ac_cv_host in
2868 *-*-*) ;;
2869 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2870 esac
2871 host=$ac_cv_host
2872 ac_save_IFS=$IFS; IFS='-'
2873 set x $ac_cv_host
2874 shift
2875 host_cpu=$1
2876 host_vendor=$2
2877 shift; shift
2878 # Remember, the first character of IFS is used to create $*,
2879 # except with old shells:
2880 host_os=$*
2881 IFS=$ac_save_IFS
2882 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2886 case "$srcdir" in
2887 .) ;;
2888 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2889 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
2890 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2891 fi ;;
2892 esac
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2896 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2897 set x ${MAKE-make}
2898 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2899 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2900 $as_echo_n "(cached) " >&6
2901 else
2902 cat >conftest.make <<\_ACEOF
2903 SHELL = /bin/sh
2904 all:
2905 @echo '@@@%%%=$(MAKE)=@@@%%%'
2906 _ACEOF
2907 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2908 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2909 *@@@%%%=?*=@@@%%%*)
2910 eval ac_cv_prog_make_${ac_make}_set=yes;;
2912 eval ac_cv_prog_make_${ac_make}_set=no;;
2913 esac
2914 rm -f conftest.make
2916 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2918 $as_echo "yes" >&6; }
2919 SET_MAKE=
2920 else
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2922 $as_echo "no" >&6; }
2923 SET_MAKE="MAKE=${MAKE-make}"
2926 ac_ext=c
2927 ac_cpp='$CPP $CPPFLAGS'
2928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2931 if test -n "$ac_tool_prefix"; then
2932 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2933 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935 $as_echo_n "checking for $ac_word... " >&6; }
2936 if ${ac_cv_prog_CC+:} false; then :
2937 $as_echo_n "(cached) " >&6
2938 else
2939 if test -n "$CC"; then
2940 ac_cv_prog_CC="$CC" # Let the user override the test.
2941 else
2942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943 for as_dir in $PATH
2945 IFS=$as_save_IFS
2946 test -z "$as_dir" && as_dir=.
2947 for ac_exec_ext in '' $ac_executable_extensions; do
2948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2949 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2951 break 2
2953 done
2954 done
2955 IFS=$as_save_IFS
2959 CC=$ac_cv_prog_CC
2960 if test -n "$CC"; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2962 $as_echo "$CC" >&6; }
2963 else
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965 $as_echo "no" >&6; }
2970 if test -z "$ac_cv_prog_CC"; then
2971 ac_ct_CC=$CC
2972 # Extract the first word of "gcc", so it can be a program name with args.
2973 set dummy gcc; ac_word=$2
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2975 $as_echo_n "checking for $ac_word... " >&6; }
2976 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2977 $as_echo_n "(cached) " >&6
2978 else
2979 if test -n "$ac_ct_CC"; then
2980 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2981 else
2982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2983 for as_dir in $PATH
2985 IFS=$as_save_IFS
2986 test -z "$as_dir" && as_dir=.
2987 for ac_exec_ext in '' $ac_executable_extensions; do
2988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2989 ac_cv_prog_ac_ct_CC="gcc"
2990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2991 break 2
2993 done
2994 done
2995 IFS=$as_save_IFS
2999 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3000 if test -n "$ac_ct_CC"; then
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3002 $as_echo "$ac_ct_CC" >&6; }
3003 else
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3005 $as_echo "no" >&6; }
3008 if test "x$ac_ct_CC" = x; then
3009 CC=""
3010 else
3011 case $cross_compiling:$ac_tool_warned in
3012 yes:)
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3015 ac_tool_warned=yes ;;
3016 esac
3017 CC=$ac_ct_CC
3019 else
3020 CC="$ac_cv_prog_CC"
3023 if test -z "$CC"; then
3024 if test -n "$ac_tool_prefix"; then
3025 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3026 set dummy ${ac_tool_prefix}cc; ac_word=$2
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028 $as_echo_n "checking for $ac_word... " >&6; }
3029 if ${ac_cv_prog_CC+:} false; then :
3030 $as_echo_n "(cached) " >&6
3031 else
3032 if test -n "$CC"; then
3033 ac_cv_prog_CC="$CC" # Let the user override the test.
3034 else
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 for as_dir in $PATH
3038 IFS=$as_save_IFS
3039 test -z "$as_dir" && as_dir=.
3040 for ac_exec_ext in '' $ac_executable_extensions; do
3041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3042 ac_cv_prog_CC="${ac_tool_prefix}cc"
3043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 break 2
3046 done
3047 done
3048 IFS=$as_save_IFS
3052 CC=$ac_cv_prog_CC
3053 if test -n "$CC"; then
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3055 $as_echo "$CC" >&6; }
3056 else
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058 $as_echo "no" >&6; }
3064 if test -z "$CC"; then
3065 # Extract the first word of "cc", so it can be a program name with args.
3066 set dummy cc; ac_word=$2
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3068 $as_echo_n "checking for $ac_word... " >&6; }
3069 if ${ac_cv_prog_CC+:} false; then :
3070 $as_echo_n "(cached) " >&6
3071 else
3072 if test -n "$CC"; then
3073 ac_cv_prog_CC="$CC" # Let the user override the test.
3074 else
3075 ac_prog_rejected=no
3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3077 for as_dir in $PATH
3079 IFS=$as_save_IFS
3080 test -z "$as_dir" && as_dir=.
3081 for ac_exec_ext in '' $ac_executable_extensions; do
3082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3083 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3084 ac_prog_rejected=yes
3085 continue
3087 ac_cv_prog_CC="cc"
3088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 break 2
3091 done
3092 done
3093 IFS=$as_save_IFS
3095 if test $ac_prog_rejected = yes; then
3096 # We found a bogon in the path, so make sure we never use it.
3097 set dummy $ac_cv_prog_CC
3098 shift
3099 if test $# != 0; then
3100 # We chose a different compiler from the bogus one.
3101 # However, it has the same basename, so the bogon will be chosen
3102 # first if we set CC to just the basename; use the full file name.
3103 shift
3104 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3109 CC=$ac_cv_prog_CC
3110 if test -n "$CC"; then
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3112 $as_echo "$CC" >&6; }
3113 else
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115 $as_echo "no" >&6; }
3120 if test -z "$CC"; then
3121 if test -n "$ac_tool_prefix"; then
3122 for ac_prog in cl.exe
3124 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3125 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3127 $as_echo_n "checking for $ac_word... " >&6; }
3128 if ${ac_cv_prog_CC+:} false; then :
3129 $as_echo_n "(cached) " >&6
3130 else
3131 if test -n "$CC"; then
3132 ac_cv_prog_CC="$CC" # Let the user override the test.
3133 else
3134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3135 for as_dir in $PATH
3137 IFS=$as_save_IFS
3138 test -z "$as_dir" && as_dir=.
3139 for ac_exec_ext in '' $ac_executable_extensions; do
3140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3141 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3143 break 2
3145 done
3146 done
3147 IFS=$as_save_IFS
3151 CC=$ac_cv_prog_CC
3152 if test -n "$CC"; then
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3154 $as_echo "$CC" >&6; }
3155 else
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3157 $as_echo "no" >&6; }
3161 test -n "$CC" && break
3162 done
3164 if test -z "$CC"; then
3165 ac_ct_CC=$CC
3166 for ac_prog in cl.exe
3168 # Extract the first word of "$ac_prog", so it can be a program name with args.
3169 set dummy $ac_prog; ac_word=$2
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3171 $as_echo_n "checking for $ac_word... " >&6; }
3172 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3173 $as_echo_n "(cached) " >&6
3174 else
3175 if test -n "$ac_ct_CC"; then
3176 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3177 else
3178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3179 for as_dir in $PATH
3181 IFS=$as_save_IFS
3182 test -z "$as_dir" && as_dir=.
3183 for ac_exec_ext in '' $ac_executable_extensions; do
3184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3185 ac_cv_prog_ac_ct_CC="$ac_prog"
3186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3187 break 2
3189 done
3190 done
3191 IFS=$as_save_IFS
3195 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3196 if test -n "$ac_ct_CC"; then
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3198 $as_echo "$ac_ct_CC" >&6; }
3199 else
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3201 $as_echo "no" >&6; }
3205 test -n "$ac_ct_CC" && break
3206 done
3208 if test "x$ac_ct_CC" = x; then
3209 CC=""
3210 else
3211 case $cross_compiling:$ac_tool_warned in
3212 yes:)
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3215 ac_tool_warned=yes ;;
3216 esac
3217 CC=$ac_ct_CC
3224 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3226 as_fn_error $? "no acceptable C compiler found in \$PATH
3227 See \`config.log' for more details" "$LINENO" 5; }
3229 # Provide some information about the compiler.
3230 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3231 set X $ac_compile
3232 ac_compiler=$2
3233 for ac_option in --version -v -V -qversion; do
3234 { { ac_try="$ac_compiler $ac_option >&5"
3235 case "(($ac_try" in
3236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237 *) ac_try_echo=$ac_try;;
3238 esac
3239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3240 $as_echo "$ac_try_echo"; } >&5
3241 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3242 ac_status=$?
3243 if test -s conftest.err; then
3244 sed '10a\
3245 ... rest of stderr output deleted ...
3246 10q' conftest.err >conftest.er1
3247 cat conftest.er1 >&5
3249 rm -f conftest.er1 conftest.err
3250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3251 test $ac_status = 0; }
3252 done
3254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3255 /* end confdefs.h. */
3258 main ()
3262 return 0;
3264 _ACEOF
3265 ac_clean_files_save=$ac_clean_files
3266 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3267 # Try to create an executable without -o first, disregard a.out.
3268 # It will help us diagnose broken compilers, and finding out an intuition
3269 # of exeext.
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3271 $as_echo_n "checking whether the C compiler works... " >&6; }
3272 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3274 # The possible output files:
3275 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3277 ac_rmfiles=
3278 for ac_file in $ac_files
3280 case $ac_file in
3281 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3282 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3283 esac
3284 done
3285 rm -f $ac_rmfiles
3287 if { { ac_try="$ac_link_default"
3288 case "(($ac_try" in
3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290 *) ac_try_echo=$ac_try;;
3291 esac
3292 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3293 $as_echo "$ac_try_echo"; } >&5
3294 (eval "$ac_link_default") 2>&5
3295 ac_status=$?
3296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3297 test $ac_status = 0; }; then :
3298 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3299 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3300 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3301 # so that the user can short-circuit this test for compilers unknown to
3302 # Autoconf.
3303 for ac_file in $ac_files ''
3305 test -f "$ac_file" || continue
3306 case $ac_file in
3307 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3309 [ab].out )
3310 # We found the default executable, but exeext='' is most
3311 # certainly right.
3312 break;;
3313 *.* )
3314 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3315 then :; else
3316 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3318 # We set ac_cv_exeext here because the later test for it is not
3319 # safe: cross compilers may not add the suffix if given an `-o'
3320 # argument, so we may need to know it at that point already.
3321 # Even if this section looks crufty: it has the advantage of
3322 # actually working.
3323 break;;
3325 break;;
3326 esac
3327 done
3328 test "$ac_cv_exeext" = no && ac_cv_exeext=
3330 else
3331 ac_file=''
3333 if test -z "$ac_file"; then :
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3335 $as_echo "no" >&6; }
3336 $as_echo "$as_me: failed program was:" >&5
3337 sed 's/^/| /' conftest.$ac_ext >&5
3339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3341 as_fn_error 77 "C compiler cannot create executables
3342 See \`config.log' for more details" "$LINENO" 5; }
3343 else
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3345 $as_echo "yes" >&6; }
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3348 $as_echo_n "checking for C compiler default output file name... " >&6; }
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3350 $as_echo "$ac_file" >&6; }
3351 ac_exeext=$ac_cv_exeext
3353 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3354 ac_clean_files=$ac_clean_files_save
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3356 $as_echo_n "checking for suffix of executables... " >&6; }
3357 if { { ac_try="$ac_link"
3358 case "(($ac_try" in
3359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360 *) ac_try_echo=$ac_try;;
3361 esac
3362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3363 $as_echo "$ac_try_echo"; } >&5
3364 (eval "$ac_link") 2>&5
3365 ac_status=$?
3366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3367 test $ac_status = 0; }; then :
3368 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3369 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3370 # work properly (i.e., refer to `conftest.exe'), while it won't with
3371 # `rm'.
3372 for ac_file in conftest.exe conftest conftest.*; do
3373 test -f "$ac_file" || continue
3374 case $ac_file in
3375 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3376 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3377 break;;
3378 * ) break;;
3379 esac
3380 done
3381 else
3382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3384 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3385 See \`config.log' for more details" "$LINENO" 5; }
3387 rm -f conftest conftest$ac_cv_exeext
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3389 $as_echo "$ac_cv_exeext" >&6; }
3391 rm -f conftest.$ac_ext
3392 EXEEXT=$ac_cv_exeext
3393 ac_exeext=$EXEEXT
3394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3395 /* end confdefs.h. */
3396 #include <stdio.h>
3398 main ()
3400 FILE *f = fopen ("conftest.out", "w");
3401 return ferror (f) || fclose (f) != 0;
3404 return 0;
3406 _ACEOF
3407 ac_clean_files="$ac_clean_files conftest.out"
3408 # Check that the compiler produces executables we can run. If not, either
3409 # the compiler is broken, or we cross compile.
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3411 $as_echo_n "checking whether we are cross compiling... " >&6; }
3412 if test "$cross_compiling" != yes; then
3413 { { ac_try="$ac_link"
3414 case "(($ac_try" in
3415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3416 *) ac_try_echo=$ac_try;;
3417 esac
3418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3419 $as_echo "$ac_try_echo"; } >&5
3420 (eval "$ac_link") 2>&5
3421 ac_status=$?
3422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3423 test $ac_status = 0; }
3424 if { ac_try='./conftest$ac_cv_exeext'
3425 { { case "(($ac_try" in
3426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3427 *) ac_try_echo=$ac_try;;
3428 esac
3429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3430 $as_echo "$ac_try_echo"; } >&5
3431 (eval "$ac_try") 2>&5
3432 ac_status=$?
3433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3434 test $ac_status = 0; }; }; then
3435 cross_compiling=no
3436 else
3437 if test "$cross_compiling" = maybe; then
3438 cross_compiling=yes
3439 else
3440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3442 as_fn_error $? "cannot run C compiled programs.
3443 If you meant to cross compile, use \`--host'.
3444 See \`config.log' for more details" "$LINENO" 5; }
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3449 $as_echo "$cross_compiling" >&6; }
3451 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3452 ac_clean_files=$ac_clean_files_save
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3454 $as_echo_n "checking for suffix of object files... " >&6; }
3455 if ${ac_cv_objext+:} false; then :
3456 $as_echo_n "(cached) " >&6
3457 else
3458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459 /* end confdefs.h. */
3462 main ()
3466 return 0;
3468 _ACEOF
3469 rm -f conftest.o conftest.obj
3470 if { { ac_try="$ac_compile"
3471 case "(($ac_try" in
3472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3473 *) ac_try_echo=$ac_try;;
3474 esac
3475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3476 $as_echo "$ac_try_echo"; } >&5
3477 (eval "$ac_compile") 2>&5
3478 ac_status=$?
3479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3480 test $ac_status = 0; }; then :
3481 for ac_file in conftest.o conftest.obj conftest.*; do
3482 test -f "$ac_file" || continue;
3483 case $ac_file in
3484 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3485 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3486 break;;
3487 esac
3488 done
3489 else
3490 $as_echo "$as_me: failed program was:" >&5
3491 sed 's/^/| /' conftest.$ac_ext >&5
3493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3495 as_fn_error $? "cannot compute suffix of object files: cannot compile
3496 See \`config.log' for more details" "$LINENO" 5; }
3498 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3501 $as_echo "$ac_cv_objext" >&6; }
3502 OBJEXT=$ac_cv_objext
3503 ac_objext=$OBJEXT
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3505 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3506 if ${ac_cv_c_compiler_gnu+:} false; then :
3507 $as_echo_n "(cached) " >&6
3508 else
3509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3510 /* end confdefs.h. */
3513 main ()
3515 #ifndef __GNUC__
3516 choke me
3517 #endif
3520 return 0;
3522 _ACEOF
3523 if ac_fn_c_try_compile "$LINENO"; then :
3524 ac_compiler_gnu=yes
3525 else
3526 ac_compiler_gnu=no
3528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3529 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3533 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3534 if test $ac_compiler_gnu = yes; then
3535 GCC=yes
3536 else
3537 GCC=
3539 ac_test_CFLAGS=${CFLAGS+set}
3540 ac_save_CFLAGS=$CFLAGS
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3542 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3543 if ${ac_cv_prog_cc_g+:} false; then :
3544 $as_echo_n "(cached) " >&6
3545 else
3546 ac_save_c_werror_flag=$ac_c_werror_flag
3547 ac_c_werror_flag=yes
3548 ac_cv_prog_cc_g=no
3549 CFLAGS="-g"
3550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551 /* end confdefs.h. */
3554 main ()
3558 return 0;
3560 _ACEOF
3561 if ac_fn_c_try_compile "$LINENO"; then :
3562 ac_cv_prog_cc_g=yes
3563 else
3564 CFLAGS=""
3565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h. */
3569 main ()
3573 return 0;
3575 _ACEOF
3576 if ac_fn_c_try_compile "$LINENO"; then :
3578 else
3579 ac_c_werror_flag=$ac_save_c_werror_flag
3580 CFLAGS="-g"
3581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582 /* end confdefs.h. */
3585 main ()
3589 return 0;
3591 _ACEOF
3592 if ac_fn_c_try_compile "$LINENO"; then :
3593 ac_cv_prog_cc_g=yes
3595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3600 ac_c_werror_flag=$ac_save_c_werror_flag
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3603 $as_echo "$ac_cv_prog_cc_g" >&6; }
3604 if test "$ac_test_CFLAGS" = set; then
3605 CFLAGS=$ac_save_CFLAGS
3606 elif test $ac_cv_prog_cc_g = yes; then
3607 if test "$GCC" = yes; then
3608 CFLAGS="-g -O2"
3609 else
3610 CFLAGS="-g"
3612 else
3613 if test "$GCC" = yes; then
3614 CFLAGS="-O2"
3615 else
3616 CFLAGS=
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3620 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3621 if ${ac_cv_prog_cc_c89+:} false; then :
3622 $as_echo_n "(cached) " >&6
3623 else
3624 ac_cv_prog_cc_c89=no
3625 ac_save_CC=$CC
3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h. */
3628 #include <stdarg.h>
3629 #include <stdio.h>
3630 struct stat;
3631 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3632 struct buf { int x; };
3633 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3634 static char *e (p, i)
3635 char **p;
3636 int i;
3638 return p[i];
3640 static char *f (char * (*g) (char **, int), char **p, ...)
3642 char *s;
3643 va_list v;
3644 va_start (v,p);
3645 s = g (p, va_arg (v,int));
3646 va_end (v);
3647 return s;
3650 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3651 function prototypes and stuff, but not '\xHH' hex character constants.
3652 These don't provoke an error unfortunately, instead are silently treated
3653 as 'x'. The following induces an error, until -std is added to get
3654 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3655 array size at least. It's necessary to write '\x00'==0 to get something
3656 that's true only with -std. */
3657 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3659 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3660 inside strings and character constants. */
3661 #define FOO(x) 'x'
3662 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3664 int test (int i, double x);
3665 struct s1 {int (*f) (int a);};
3666 struct s2 {int (*f) (double a);};
3667 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3668 int argc;
3669 char **argv;
3671 main ()
3673 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3675 return 0;
3677 _ACEOF
3678 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3679 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3681 CC="$ac_save_CC $ac_arg"
3682 if ac_fn_c_try_compile "$LINENO"; then :
3683 ac_cv_prog_cc_c89=$ac_arg
3685 rm -f core conftest.err conftest.$ac_objext
3686 test "x$ac_cv_prog_cc_c89" != "xno" && break
3687 done
3688 rm -f conftest.$ac_ext
3689 CC=$ac_save_CC
3692 # AC_CACHE_VAL
3693 case "x$ac_cv_prog_cc_c89" in
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3696 $as_echo "none needed" >&6; } ;;
3697 xno)
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3699 $as_echo "unsupported" >&6; } ;;
3701 CC="$CC $ac_cv_prog_cc_c89"
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3703 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3704 esac
3705 if test "x$ac_cv_prog_cc_c89" != xno; then :
3709 ac_ext=c
3710 ac_cpp='$CPP $CPPFLAGS'
3711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3715 ac_ext=cpp
3716 ac_cpp='$CXXCPP $CPPFLAGS'
3717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3720 if test -z "$CXX"; then
3721 if test -n "$CCC"; then
3722 CXX=$CCC
3723 else
3724 if test -n "$ac_tool_prefix"; then
3725 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3727 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3728 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if ${ac_cv_prog_CXX+:} false; then :
3732 $as_echo_n "(cached) " >&6
3733 else
3734 if test -n "$CXX"; then
3735 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3736 else
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 for as_dir in $PATH
3740 IFS=$as_save_IFS
3741 test -z "$as_dir" && as_dir=.
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3744 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3746 break 2
3748 done
3749 done
3750 IFS=$as_save_IFS
3754 CXX=$ac_cv_prog_CXX
3755 if test -n "$CXX"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3757 $as_echo "$CXX" >&6; }
3758 else
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3764 test -n "$CXX" && break
3765 done
3767 if test -z "$CXX"; then
3768 ac_ct_CXX=$CXX
3769 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3771 # Extract the first word of "$ac_prog", so it can be a program name with args.
3772 set dummy $ac_prog; ac_word=$2
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3774 $as_echo_n "checking for $ac_word... " >&6; }
3775 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3776 $as_echo_n "(cached) " >&6
3777 else
3778 if test -n "$ac_ct_CXX"; then
3779 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3780 else
3781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3782 for as_dir in $PATH
3784 IFS=$as_save_IFS
3785 test -z "$as_dir" && as_dir=.
3786 for ac_exec_ext in '' $ac_executable_extensions; do
3787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3788 ac_cv_prog_ac_ct_CXX="$ac_prog"
3789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3790 break 2
3792 done
3793 done
3794 IFS=$as_save_IFS
3798 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3799 if test -n "$ac_ct_CXX"; then
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3801 $as_echo "$ac_ct_CXX" >&6; }
3802 else
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3804 $as_echo "no" >&6; }
3808 test -n "$ac_ct_CXX" && break
3809 done
3811 if test "x$ac_ct_CXX" = x; then
3812 CXX="g++"
3813 else
3814 case $cross_compiling:$ac_tool_warned in
3815 yes:)
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3818 ac_tool_warned=yes ;;
3819 esac
3820 CXX=$ac_ct_CXX
3826 # Provide some information about the compiler.
3827 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3828 set X $ac_compile
3829 ac_compiler=$2
3830 for ac_option in --version -v -V -qversion; do
3831 { { ac_try="$ac_compiler $ac_option >&5"
3832 case "(($ac_try" in
3833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3834 *) ac_try_echo=$ac_try;;
3835 esac
3836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3837 $as_echo "$ac_try_echo"; } >&5
3838 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3839 ac_status=$?
3840 if test -s conftest.err; then
3841 sed '10a\
3842 ... rest of stderr output deleted ...
3843 10q' conftest.err >conftest.er1
3844 cat conftest.er1 >&5
3846 rm -f conftest.er1 conftest.err
3847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3848 test $ac_status = 0; }
3849 done
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3852 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3853 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3854 $as_echo_n "(cached) " >&6
3855 else
3856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3857 /* end confdefs.h. */
3860 main ()
3862 #ifndef __GNUC__
3863 choke me
3864 #endif
3867 return 0;
3869 _ACEOF
3870 if ac_fn_cxx_try_compile "$LINENO"; then :
3871 ac_compiler_gnu=yes
3872 else
3873 ac_compiler_gnu=no
3875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3876 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3880 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3881 if test $ac_compiler_gnu = yes; then
3882 GXX=yes
3883 else
3884 GXX=
3886 ac_test_CXXFLAGS=${CXXFLAGS+set}
3887 ac_save_CXXFLAGS=$CXXFLAGS
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3889 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3890 if ${ac_cv_prog_cxx_g+:} false; then :
3891 $as_echo_n "(cached) " >&6
3892 else
3893 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3894 ac_cxx_werror_flag=yes
3895 ac_cv_prog_cxx_g=no
3896 CXXFLAGS="-g"
3897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3898 /* end confdefs.h. */
3901 main ()
3905 return 0;
3907 _ACEOF
3908 if ac_fn_cxx_try_compile "$LINENO"; then :
3909 ac_cv_prog_cxx_g=yes
3910 else
3911 CXXFLAGS=""
3912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3913 /* end confdefs.h. */
3916 main ()
3920 return 0;
3922 _ACEOF
3923 if ac_fn_cxx_try_compile "$LINENO"; then :
3925 else
3926 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3927 CXXFLAGS="-g"
3928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3929 /* end confdefs.h. */
3932 main ()
3936 return 0;
3938 _ACEOF
3939 if ac_fn_cxx_try_compile "$LINENO"; then :
3940 ac_cv_prog_cxx_g=yes
3942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3947 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3950 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3951 if test "$ac_test_CXXFLAGS" = set; then
3952 CXXFLAGS=$ac_save_CXXFLAGS
3953 elif test $ac_cv_prog_cxx_g = yes; then
3954 if test "$GXX" = yes; then
3955 CXXFLAGS="-g -O2"
3956 else
3957 CXXFLAGS="-g"
3959 else
3960 if test "$GXX" = yes; then
3961 CXXFLAGS="-O2"
3962 else
3963 CXXFLAGS=
3966 ac_ext=c
3967 ac_cpp='$CPP $CPPFLAGS'
3968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3972 if test -n "$ac_tool_prefix"; then
3973 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3974 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3976 $as_echo_n "checking for $ac_word... " >&6; }
3977 if ${ac_cv_prog_CPPBIN+:} false; then :
3978 $as_echo_n "(cached) " >&6
3979 else
3980 if test -n "$CPPBIN"; then
3981 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3982 else
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 for as_dir in $PATH
3986 IFS=$as_save_IFS
3987 test -z "$as_dir" && as_dir=.
3988 for ac_exec_ext in '' $ac_executable_extensions; do
3989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3990 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 break 2
3994 done
3995 done
3996 IFS=$as_save_IFS
4000 CPPBIN=$ac_cv_prog_CPPBIN
4001 if test -n "$CPPBIN"; then
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4003 $as_echo "$CPPBIN" >&6; }
4004 else
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 $as_echo "no" >&6; }
4011 if test -z "$ac_cv_prog_CPPBIN"; then
4012 ac_ct_CPPBIN=$CPPBIN
4013 # Extract the first word of "cpp", so it can be a program name with args.
4014 set dummy cpp; ac_word=$2
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4016 $as_echo_n "checking for $ac_word... " >&6; }
4017 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4018 $as_echo_n "(cached) " >&6
4019 else
4020 if test -n "$ac_ct_CPPBIN"; then
4021 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4022 else
4023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4024 for as_dir in $PATH
4026 IFS=$as_save_IFS
4027 test -z "$as_dir" && as_dir=.
4028 for ac_exec_ext in '' $ac_executable_extensions; do
4029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4030 ac_cv_prog_ac_ct_CPPBIN="cpp"
4031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4032 break 2
4034 done
4035 done
4036 IFS=$as_save_IFS
4040 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4041 if test -n "$ac_ct_CPPBIN"; then
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4043 $as_echo "$ac_ct_CPPBIN" >&6; }
4044 else
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4046 $as_echo "no" >&6; }
4049 if test "x$ac_ct_CPPBIN" = x; then
4050 CPPBIN="cpp"
4051 else
4052 case $cross_compiling:$ac_tool_warned in
4053 yes:)
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4056 ac_tool_warned=yes ;;
4057 esac
4058 CPPBIN=$ac_ct_CPPBIN
4060 else
4061 CPPBIN="$ac_cv_prog_CPPBIN"
4065 cat >>confdefs.h <<_ACEOF
4066 #define EXEEXT "$ac_exeext"
4067 _ACEOF
4070 case $host in
4071 *-darwin*)
4072 if test "x$enable_win64" = "xyes"
4073 then
4074 CC="$CC -m64"
4075 CXX="$CXX -m64"
4076 host_cpu="x86_64"
4077 notice_platform="64-bit "
4078 TARGETFLAGS="-m64"
4080 else
4081 CC="$CC -m32"
4082 CXX="$CXX -m32"
4083 host_cpu="i386"
4084 notice_platform="32-bit "
4085 TARGETFLAGS="-m32"
4087 enable_win16=${enable_win16:-yes}
4089 with_fontconfig=${with_fontconfig:-no}
4091 x86_64*)
4092 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4093 then
4094 CC="$CC -m32"
4095 CXX="$CXX -m32"
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4097 $as_echo_n "checking whether $CC works... " >&6; }
4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4103 main ()
4107 return 0;
4109 _ACEOF
4110 if ac_fn_c_try_link "$LINENO"; then :
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4112 $as_echo "yes" >&6; }
4113 else
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4115 $as_echo "no" >&6; }
4116 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4118 rm -f core conftest.err conftest.$ac_objext \
4119 conftest$ac_exeext conftest.$ac_ext
4120 host_cpu="i386"
4121 notice_platform="32-bit "
4122 TARGETFLAGS="-m32"
4124 enable_win16=${enable_win16:-yes}
4125 else
4126 if test "x${GCC}" = "xyes"
4127 then
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4129 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4132 #include <stdarg.h>
4134 main ()
4136 void func(__builtin_ms_va_list *args);
4138 return 0;
4140 _ACEOF
4141 if ac_fn_c_try_compile "$LINENO"; then :
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4143 $as_echo "yes" >&6; }
4144 else
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4146 $as_echo "no" >&6; }
4147 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4151 TARGETFLAGS="-m64"
4155 arm*)
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4157 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4159 /* end confdefs.h. */
4160 int ac_test(int i) { return i; }
4162 main ()
4164 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4166 return 0;
4168 _ACEOF
4169 if ac_fn_c_try_link "$LINENO"; then :
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4171 $as_echo "yes" >&6; }
4172 else
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4174 $as_echo "no" >&6; }
4175 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4177 rm -f core conftest.err conftest.$ac_objext \
4178 conftest$ac_exeext conftest.$ac_ext
4179 CFLAGS="$CFLAGS -marm"
4181 *-mingw32*|*-cygwin*)
4182 enable_win16=${enable_win16:-no}
4183 CFLAGS="$CFLAGS -D_WIN32"
4185 i[3456789]86*)
4186 enable_win16=${enable_win16:-yes}
4188 esac
4190 enable_win16=${enable_win16:-no}
4191 enable_win64=${enable_win64:-no}
4193 enable_winetest=${enable_winetest:-$enable_tests}
4195 if test -n "$with_wine64"
4196 then
4197 if test "x$enable_win64" = "xyes"
4198 then
4199 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4200 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4202 WOW64_DISABLE=\#
4204 enable_fonts=${enable_fonts:-no}
4205 enable_server=${enable_server:-no}
4206 enable_tools=${enable_tools:-no}
4207 elif test "x$enable_win64" = "xyes"
4208 then
4209 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4213 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4214 if ${wine_cv_toolsdir+:} false; then :
4215 $as_echo_n "(cached) " >&6
4216 else
4217 wine_cv_toolsdir="$with_wine_tools"
4218 if test -z "$with_wine_tools"; then
4219 if test "$cross_compiling" = "yes"; then
4220 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4221 elif test -n "$with_wine64"; then
4222 wine_cv_toolsdir="$with_wine64"
4225 if test -z "$wine_cv_toolsdir"; then
4226 wine_cv_toolsdir="\$(top_builddir)"
4227 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4228 case "$wine_cv_toolsdir" in
4229 /*) ;;
4230 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4231 esac
4232 else
4233 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4237 $as_echo "$wine_cv_toolsdir" >&6; }
4238 TOOLSDIR=$wine_cv_toolsdir
4240 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4241 then
4242 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4246 for ac_prog in flex
4248 # Extract the first word of "$ac_prog", so it can be a program name with args.
4249 set dummy $ac_prog; ac_word=$2
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4251 $as_echo_n "checking for $ac_word... " >&6; }
4252 if ${ac_cv_prog_FLEX+:} false; then :
4253 $as_echo_n "(cached) " >&6
4254 else
4255 if test -n "$FLEX"; then
4256 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4257 else
4258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4259 for as_dir in $PATH
4261 IFS=$as_save_IFS
4262 test -z "$as_dir" && as_dir=.
4263 for ac_exec_ext in '' $ac_executable_extensions; do
4264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4265 ac_cv_prog_FLEX="$ac_prog"
4266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4267 break 2
4269 done
4270 done
4271 IFS=$as_save_IFS
4275 FLEX=$ac_cv_prog_FLEX
4276 if test -n "$FLEX"; then
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4278 $as_echo "$FLEX" >&6; }
4279 else
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4281 $as_echo "no" >&6; }
4285 test -n "$FLEX" && break
4286 done
4287 test -n "$FLEX" || FLEX="none"
4289 if test "$FLEX" = "none"
4290 then
4291 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4294 $as_echo_n "checking whether flex is recent enough... " >&6; }
4295 cat >conftest.l <<EOF
4296 %top{
4297 #include "prediluvian.h"
4301 if $FLEX -t conftest.l >/dev/null 2>&5
4302 then
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4304 $as_echo "yes" >&6; }
4305 else
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4307 $as_echo "no" >&6; }
4308 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4311 for ac_prog in bison
4313 # Extract the first word of "$ac_prog", so it can be a program name with args.
4314 set dummy $ac_prog; ac_word=$2
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4316 $as_echo_n "checking for $ac_word... " >&6; }
4317 if ${ac_cv_prog_BISON+:} false; then :
4318 $as_echo_n "(cached) " >&6
4319 else
4320 if test -n "$BISON"; then
4321 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4322 else
4323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4324 for as_dir in $PATH
4326 IFS=$as_save_IFS
4327 test -z "$as_dir" && as_dir=.
4328 for ac_exec_ext in '' $ac_executable_extensions; do
4329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4330 ac_cv_prog_BISON="$ac_prog"
4331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4332 break 2
4334 done
4335 done
4336 IFS=$as_save_IFS
4340 BISON=$ac_cv_prog_BISON
4341 if test -n "$BISON"; then
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4343 $as_echo "$BISON" >&6; }
4344 else
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4346 $as_echo "no" >&6; }
4350 test -n "$BISON" && break
4351 done
4352 test -n "$BISON" || BISON="none"
4354 if test "$BISON" = "none"
4355 then
4356 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4359 if test -n "$ac_tool_prefix"; then
4360 for ac_prog in ar gar
4362 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4363 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4365 $as_echo_n "checking for $ac_word... " >&6; }
4366 if ${ac_cv_prog_AR+:} false; then :
4367 $as_echo_n "(cached) " >&6
4368 else
4369 if test -n "$AR"; then
4370 ac_cv_prog_AR="$AR" # Let the user override the test.
4371 else
4372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4373 for as_dir in $PATH
4375 IFS=$as_save_IFS
4376 test -z "$as_dir" && as_dir=.
4377 for ac_exec_ext in '' $ac_executable_extensions; do
4378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4379 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4381 break 2
4383 done
4384 done
4385 IFS=$as_save_IFS
4389 AR=$ac_cv_prog_AR
4390 if test -n "$AR"; then
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4392 $as_echo "$AR" >&6; }
4393 else
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4395 $as_echo "no" >&6; }
4399 test -n "$AR" && break
4400 done
4402 if test -z "$AR"; then
4403 ac_ct_AR=$AR
4404 for ac_prog in ar gar
4406 # Extract the first word of "$ac_prog", so it can be a program name with args.
4407 set dummy $ac_prog; ac_word=$2
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4409 $as_echo_n "checking for $ac_word... " >&6; }
4410 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4411 $as_echo_n "(cached) " >&6
4412 else
4413 if test -n "$ac_ct_AR"; then
4414 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4415 else
4416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4417 for as_dir in $PATH
4419 IFS=$as_save_IFS
4420 test -z "$as_dir" && as_dir=.
4421 for ac_exec_ext in '' $ac_executable_extensions; do
4422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4423 ac_cv_prog_ac_ct_AR="$ac_prog"
4424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4425 break 2
4427 done
4428 done
4429 IFS=$as_save_IFS
4433 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4434 if test -n "$ac_ct_AR"; then
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4436 $as_echo "$ac_ct_AR" >&6; }
4437 else
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4439 $as_echo "no" >&6; }
4443 test -n "$ac_ct_AR" && break
4444 done
4446 if test "x$ac_ct_AR" = x; then
4447 AR="ar"
4448 else
4449 case $cross_compiling:$ac_tool_warned in
4450 yes:)
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4453 ac_tool_warned=yes ;;
4454 esac
4455 AR=$ac_ct_AR
4459 ARFLAGS=rc
4461 if test -n "$ac_tool_prefix"; then
4462 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4463 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4465 $as_echo_n "checking for $ac_word... " >&6; }
4466 if ${ac_cv_prog_RANLIB+:} false; then :
4467 $as_echo_n "(cached) " >&6
4468 else
4469 if test -n "$RANLIB"; then
4470 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4471 else
4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4473 for as_dir in $PATH
4475 IFS=$as_save_IFS
4476 test -z "$as_dir" && as_dir=.
4477 for ac_exec_ext in '' $ac_executable_extensions; do
4478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4479 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4481 break 2
4483 done
4484 done
4485 IFS=$as_save_IFS
4489 RANLIB=$ac_cv_prog_RANLIB
4490 if test -n "$RANLIB"; then
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4492 $as_echo "$RANLIB" >&6; }
4493 else
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4495 $as_echo "no" >&6; }
4500 if test -z "$ac_cv_prog_RANLIB"; then
4501 ac_ct_RANLIB=$RANLIB
4502 # Extract the first word of "ranlib", so it can be a program name with args.
4503 set dummy ranlib; ac_word=$2
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4505 $as_echo_n "checking for $ac_word... " >&6; }
4506 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4507 $as_echo_n "(cached) " >&6
4508 else
4509 if test -n "$ac_ct_RANLIB"; then
4510 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4511 else
4512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513 for as_dir in $PATH
4515 IFS=$as_save_IFS
4516 test -z "$as_dir" && as_dir=.
4517 for ac_exec_ext in '' $ac_executable_extensions; do
4518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4519 ac_cv_prog_ac_ct_RANLIB="ranlib"
4520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4521 break 2
4523 done
4524 done
4525 IFS=$as_save_IFS
4529 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4530 if test -n "$ac_ct_RANLIB"; then
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4532 $as_echo "$ac_ct_RANLIB" >&6; }
4533 else
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535 $as_echo "no" >&6; }
4538 if test "x$ac_ct_RANLIB" = x; then
4539 RANLIB=":"
4540 else
4541 case $cross_compiling:$ac_tool_warned in
4542 yes:)
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4544 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4545 ac_tool_warned=yes ;;
4546 esac
4547 RANLIB=$ac_ct_RANLIB
4549 else
4550 RANLIB="$ac_cv_prog_RANLIB"
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4554 $as_echo_n "checking whether ln -s works... " >&6; }
4555 LN_S=$as_ln_s
4556 if test "$LN_S" = "ln -s"; then
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4558 $as_echo "yes" >&6; }
4559 else
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4561 $as_echo "no, using $LN_S" >&6; }
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4565 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4566 if ${ac_cv_path_GREP+:} false; then :
4567 $as_echo_n "(cached) " >&6
4568 else
4569 if test -z "$GREP"; then
4570 ac_path_GREP_found=false
4571 # Loop through the user's path and test for each of PROGNAME-LIST
4572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4573 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4575 IFS=$as_save_IFS
4576 test -z "$as_dir" && as_dir=.
4577 for ac_prog in grep ggrep; do
4578 for ac_exec_ext in '' $ac_executable_extensions; do
4579 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4580 as_fn_executable_p "$ac_path_GREP" || continue
4581 # Check for GNU ac_path_GREP and select it if it is found.
4582 # Check for GNU $ac_path_GREP
4583 case `"$ac_path_GREP" --version 2>&1` in
4584 *GNU*)
4585 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4587 ac_count=0
4588 $as_echo_n 0123456789 >"conftest.in"
4589 while :
4591 cat "conftest.in" "conftest.in" >"conftest.tmp"
4592 mv "conftest.tmp" "conftest.in"
4593 cp "conftest.in" "conftest.nl"
4594 $as_echo 'GREP' >> "conftest.nl"
4595 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4596 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4597 as_fn_arith $ac_count + 1 && ac_count=$as_val
4598 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4599 # Best one so far, save it but keep looking for a better one
4600 ac_cv_path_GREP="$ac_path_GREP"
4601 ac_path_GREP_max=$ac_count
4603 # 10*(2^10) chars as input seems more than enough
4604 test $ac_count -gt 10 && break
4605 done
4606 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4607 esac
4609 $ac_path_GREP_found && break 3
4610 done
4611 done
4612 done
4613 IFS=$as_save_IFS
4614 if test -z "$ac_cv_path_GREP"; then
4615 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4617 else
4618 ac_cv_path_GREP=$GREP
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4623 $as_echo "$ac_cv_path_GREP" >&6; }
4624 GREP="$ac_cv_path_GREP"
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4628 $as_echo_n "checking for egrep... " >&6; }
4629 if ${ac_cv_path_EGREP+:} false; then :
4630 $as_echo_n "(cached) " >&6
4631 else
4632 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4633 then ac_cv_path_EGREP="$GREP -E"
4634 else
4635 if test -z "$EGREP"; then
4636 ac_path_EGREP_found=false
4637 # Loop through the user's path and test for each of PROGNAME-LIST
4638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4639 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4641 IFS=$as_save_IFS
4642 test -z "$as_dir" && as_dir=.
4643 for ac_prog in egrep; do
4644 for ac_exec_ext in '' $ac_executable_extensions; do
4645 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4646 as_fn_executable_p "$ac_path_EGREP" || continue
4647 # Check for GNU ac_path_EGREP and select it if it is found.
4648 # Check for GNU $ac_path_EGREP
4649 case `"$ac_path_EGREP" --version 2>&1` in
4650 *GNU*)
4651 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4653 ac_count=0
4654 $as_echo_n 0123456789 >"conftest.in"
4655 while :
4657 cat "conftest.in" "conftest.in" >"conftest.tmp"
4658 mv "conftest.tmp" "conftest.in"
4659 cp "conftest.in" "conftest.nl"
4660 $as_echo 'EGREP' >> "conftest.nl"
4661 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4662 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4663 as_fn_arith $ac_count + 1 && ac_count=$as_val
4664 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4665 # Best one so far, save it but keep looking for a better one
4666 ac_cv_path_EGREP="$ac_path_EGREP"
4667 ac_path_EGREP_max=$ac_count
4669 # 10*(2^10) chars as input seems more than enough
4670 test $ac_count -gt 10 && break
4671 done
4672 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4673 esac
4675 $ac_path_EGREP_found && break 3
4676 done
4677 done
4678 done
4679 IFS=$as_save_IFS
4680 if test -z "$ac_cv_path_EGREP"; then
4681 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4683 else
4684 ac_cv_path_EGREP=$EGREP
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4690 $as_echo "$ac_cv_path_EGREP" >&6; }
4691 EGREP="$ac_cv_path_EGREP"
4694 # Extract the first word of "ldconfig", so it can be a program name with args.
4695 set dummy ldconfig; ac_word=$2
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4697 $as_echo_n "checking for $ac_word... " >&6; }
4698 if ${ac_cv_path_LDCONFIG+:} false; then :
4699 $as_echo_n "(cached) " >&6
4700 else
4701 case $LDCONFIG in
4702 [\\/]* | ?:[\\/]*)
4703 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4707 for as_dir in /sbin /usr/sbin $PATH
4709 IFS=$as_save_IFS
4710 test -z "$as_dir" && as_dir=.
4711 for ac_exec_ext in '' $ac_executable_extensions; do
4712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4713 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4715 break 2
4717 done
4718 done
4719 IFS=$as_save_IFS
4721 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4723 esac
4725 LDCONFIG=$ac_cv_path_LDCONFIG
4726 if test -n "$LDCONFIG"; then
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4728 $as_echo "$LDCONFIG" >&6; }
4729 else
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4731 $as_echo "no" >&6; }
4735 # Find a good install program. We prefer a C program (faster),
4736 # so one script is as good as another. But avoid the broken or
4737 # incompatible versions:
4738 # SysV /etc/install, /usr/sbin/install
4739 # SunOS /usr/etc/install
4740 # IRIX /sbin/install
4741 # AIX /bin/install
4742 # AmigaOS /C/install, which installs bootblocks on floppy discs
4743 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4744 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4745 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4746 # OS/2's system install, which has a completely different semantic
4747 # ./install, which can be erroneously created by make from ./install.sh.
4748 # Reject install programs that cannot install multiple files.
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4750 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4751 if test -z "$INSTALL"; then
4752 if ${ac_cv_path_install+:} false; then :
4753 $as_echo_n "(cached) " >&6
4754 else
4755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4756 for as_dir in $PATH
4758 IFS=$as_save_IFS
4759 test -z "$as_dir" && as_dir=.
4760 # Account for people who put trailing slashes in PATH elements.
4761 case $as_dir/ in #((
4762 ./ | .// | /[cC]/* | \
4763 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4764 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4765 /usr/ucb/* ) ;;
4767 # OSF1 and SCO ODT 3.0 have their own names for install.
4768 # Don't use installbsd from OSF since it installs stuff as root
4769 # by default.
4770 for ac_prog in ginstall scoinst install; do
4771 for ac_exec_ext in '' $ac_executable_extensions; do
4772 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4773 if test $ac_prog = install &&
4774 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4775 # AIX install. It has an incompatible calling convention.
4777 elif test $ac_prog = install &&
4778 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4779 # program-specific install script used by HP pwplus--don't use.
4781 else
4782 rm -rf conftest.one conftest.two conftest.dir
4783 echo one > conftest.one
4784 echo two > conftest.two
4785 mkdir conftest.dir
4786 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4787 test -s conftest.one && test -s conftest.two &&
4788 test -s conftest.dir/conftest.one &&
4789 test -s conftest.dir/conftest.two
4790 then
4791 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4792 break 3
4796 done
4797 done
4799 esac
4801 done
4802 IFS=$as_save_IFS
4804 rm -rf conftest.one conftest.two conftest.dir
4807 if test "${ac_cv_path_install+set}" = set; then
4808 INSTALL=$ac_cv_path_install
4809 else
4810 # As a last resort, use the slow shell script. Don't cache a
4811 # value for INSTALL within a source directory, because that will
4812 # break other packages using the cache if that directory is
4813 # removed, or if the value is a relative name.
4814 INSTALL=$ac_install_sh
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4818 $as_echo "$INSTALL" >&6; }
4820 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4821 # It thinks the first close brace ends the variable substitution.
4822 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4824 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4826 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4828 case "$INSTALL" in
4829 [\\/$]* | ?:[\\/]* ) ;;
4830 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
4831 esac
4833 for ac_prog in lclint lint
4835 # Extract the first word of "$ac_prog", so it can be a program name with args.
4836 set dummy $ac_prog; ac_word=$2
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4838 $as_echo_n "checking for $ac_word... " >&6; }
4839 if ${ac_cv_prog_LINT+:} false; then :
4840 $as_echo_n "(cached) " >&6
4841 else
4842 if test -n "$LINT"; then
4843 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4844 else
4845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4846 for as_dir in $PATH
4848 IFS=$as_save_IFS
4849 test -z "$as_dir" && as_dir=.
4850 for ac_exec_ext in '' $ac_executable_extensions; do
4851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4852 ac_cv_prog_LINT="$ac_prog"
4853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4854 break 2
4856 done
4857 done
4858 IFS=$as_save_IFS
4862 LINT=$ac_cv_prog_LINT
4863 if test -n "$LINT"; then
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4865 $as_echo "$LINT" >&6; }
4866 else
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4868 $as_echo "no" >&6; }
4872 test -n "$LINT" && break
4873 done
4875 if test "$LINT" = "lint"
4876 then
4877 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4881 for ac_prog in fontforge
4883 # Extract the first word of "$ac_prog", so it can be a program name with args.
4884 set dummy $ac_prog; ac_word=$2
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4886 $as_echo_n "checking for $ac_word... " >&6; }
4887 if ${ac_cv_prog_FONTFORGE+:} false; then :
4888 $as_echo_n "(cached) " >&6
4889 else
4890 if test -n "$FONTFORGE"; then
4891 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4892 else
4893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894 for as_dir in $PATH
4896 IFS=$as_save_IFS
4897 test -z "$as_dir" && as_dir=.
4898 for ac_exec_ext in '' $ac_executable_extensions; do
4899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4900 ac_cv_prog_FONTFORGE="$ac_prog"
4901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4902 break 2
4904 done
4905 done
4906 IFS=$as_save_IFS
4910 FONTFORGE=$ac_cv_prog_FONTFORGE
4911 if test -n "$FONTFORGE"; then
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4913 $as_echo "$FONTFORGE" >&6; }
4914 else
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4916 $as_echo "no" >&6; }
4920 test -n "$FONTFORGE" && break
4921 done
4922 test -n "$FONTFORGE" || FONTFORGE="false"
4924 for ac_prog in pkg-config
4926 # Extract the first word of "$ac_prog", so it can be a program name with args.
4927 set dummy $ac_prog; ac_word=$2
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 $as_echo_n "checking for $ac_word... " >&6; }
4930 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
4931 $as_echo_n "(cached) " >&6
4932 else
4933 if test -n "$PKG_CONFIG"; then
4934 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4935 else
4936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4937 for as_dir in $PATH
4939 IFS=$as_save_IFS
4940 test -z "$as_dir" && as_dir=.
4941 for ac_exec_ext in '' $ac_executable_extensions; do
4942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4943 ac_cv_prog_PKG_CONFIG="$ac_prog"
4944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4945 break 2
4947 done
4948 done
4949 IFS=$as_save_IFS
4953 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4954 if test -n "$PKG_CONFIG"; then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4956 $as_echo "$PKG_CONFIG" >&6; }
4957 else
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959 $as_echo "no" >&6; }
4963 test -n "$PKG_CONFIG" && break
4964 done
4965 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
4967 for ac_prog in rsvg
4969 # Extract the first word of "$ac_prog", so it can be a program name with args.
4970 set dummy $ac_prog; ac_word=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if ${ac_cv_prog_RSVG+:} false; then :
4974 $as_echo_n "(cached) " >&6
4975 else
4976 if test -n "$RSVG"; then
4977 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
4978 else
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980 for as_dir in $PATH
4982 IFS=$as_save_IFS
4983 test -z "$as_dir" && as_dir=.
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4986 ac_cv_prog_RSVG="$ac_prog"
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4988 break 2
4990 done
4991 done
4992 IFS=$as_save_IFS
4996 RSVG=$ac_cv_prog_RSVG
4997 if test -n "$RSVG"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
4999 $as_echo "$RSVG" >&6; }
5000 else
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5006 test -n "$RSVG" && break
5007 done
5008 test -n "$RSVG" || RSVG="false"
5010 for ac_prog in convert
5012 # Extract the first word of "$ac_prog", so it can be a program name with args.
5013 set dummy $ac_prog; ac_word=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if ${ac_cv_prog_CONVERT+:} false; then :
5017 $as_echo_n "(cached) " >&6
5018 else
5019 if test -n "$CONVERT"; then
5020 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5021 else
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 for as_dir in $PATH
5025 IFS=$as_save_IFS
5026 test -z "$as_dir" && as_dir=.
5027 for ac_exec_ext in '' $ac_executable_extensions; do
5028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5029 ac_cv_prog_CONVERT="$ac_prog"
5030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031 break 2
5033 done
5034 done
5035 IFS=$as_save_IFS
5039 CONVERT=$ac_cv_prog_CONVERT
5040 if test -n "$CONVERT"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5042 $as_echo "$CONVERT" >&6; }
5043 else
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5049 test -n "$CONVERT" && break
5050 done
5051 test -n "$CONVERT" || CONVERT="false"
5053 for ac_prog in icotool
5055 # Extract the first word of "$ac_prog", so it can be a program name with args.
5056 set dummy $ac_prog; ac_word=$2
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5058 $as_echo_n "checking for $ac_word... " >&6; }
5059 if ${ac_cv_prog_ICOTOOL+:} false; then :
5060 $as_echo_n "(cached) " >&6
5061 else
5062 if test -n "$ICOTOOL"; then
5063 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5064 else
5065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5066 for as_dir in $PATH
5068 IFS=$as_save_IFS
5069 test -z "$as_dir" && as_dir=.
5070 for ac_exec_ext in '' $ac_executable_extensions; do
5071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5072 ac_cv_prog_ICOTOOL="$ac_prog"
5073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5074 break 2
5076 done
5077 done
5078 IFS=$as_save_IFS
5082 ICOTOOL=$ac_cv_prog_ICOTOOL
5083 if test -n "$ICOTOOL"; then
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5085 $as_echo "$ICOTOOL" >&6; }
5086 else
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5088 $as_echo "no" >&6; }
5092 test -n "$ICOTOOL" && break
5093 done
5094 test -n "$ICOTOOL" || ICOTOOL="false"
5096 for ac_prog in msgfmt
5098 # Extract the first word of "$ac_prog", so it can be a program name with args.
5099 set dummy $ac_prog; ac_word=$2
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5101 $as_echo_n "checking for $ac_word... " >&6; }
5102 if ${ac_cv_prog_MSGFMT+:} false; then :
5103 $as_echo_n "(cached) " >&6
5104 else
5105 if test -n "$MSGFMT"; then
5106 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5107 else
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109 for as_dir in $PATH
5111 IFS=$as_save_IFS
5112 test -z "$as_dir" && as_dir=.
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5115 ac_cv_prog_MSGFMT="$ac_prog"
5116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5117 break 2
5119 done
5120 done
5121 IFS=$as_save_IFS
5125 MSGFMT=$ac_cv_prog_MSGFMT
5126 if test -n "$MSGFMT"; then
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5128 $as_echo "$MSGFMT" >&6; }
5129 else
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5131 $as_echo "no" >&6; }
5135 test -n "$MSGFMT" && break
5136 done
5137 test -n "$MSGFMT" || MSGFMT="false"
5140 if test "x$enable_maintainer_mode" != "xyes"
5141 then
5142 MAINTAINER_MODE=\#
5144 else
5145 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5146 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5148 if test "$CONVERT" = false
5149 then
5150 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5151 else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5153 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5154 convert_version=`convert --version | head -n1`
5155 if test "x$convert_version" != "x"
5156 then
5157 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5158 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5159 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5160 then
5161 CONVERT=false
5164 if test "$CONVERT" = false
5165 then
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5167 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5168 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5169 else
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5171 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5175 if test "$ICOTOOL" = false
5176 then
5177 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5178 else
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5180 $as_echo_n "checking for recent enough icotool... " >&6; }
5181 icotool_version=`icotool --version | head -n1`
5182 if test "x$icotool_version" != "x"
5183 then
5184 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5185 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5186 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5187 then
5188 ICOTOOL=false
5189 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5192 if test "$ICOTOOL" = false
5193 then
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5195 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5196 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5197 else
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5199 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5203 with_gettext=yes
5204 with_gettextpo=yes
5205 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5208 test "x$with_gettext" != xno || MSGFMT=false
5209 if test "$MSGFMT" != "false"
5210 then
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5212 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5213 cat >conftest.po <<EOF
5214 # comment
5215 msgctxt "ctxt"
5216 msgid "id"
5217 msgstr "str"
5219 if $MSGFMT -o /dev/null conftest.po 2>&5
5220 then
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5222 $as_echo "yes" >&6; }
5223 else
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5225 $as_echo "no" >&6; }
5226 MSGFMT=false
5229 if test "$MSGFMT" = false; then :
5230 case "x$with_gettext" in
5231 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5232 xno) ;;
5233 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5234 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5235 esac
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5240 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5241 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5242 $as_echo_n "(cached) " >&6
5243 else
5244 ac_check_lib_save_LIBS=$LIBS
5245 LIBS="-li386 $LIBS"
5246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5247 /* end confdefs.h. */
5249 /* Override any GCC internal prototype to avoid an error.
5250 Use char because int might match the return type of a GCC
5251 builtin and then its argument prototype would still apply. */
5252 #ifdef __cplusplus
5253 extern "C"
5254 #endif
5255 char i386_set_ldt ();
5257 main ()
5259 return i386_set_ldt ();
5261 return 0;
5263 _ACEOF
5264 if ac_fn_c_try_link "$LINENO"; then :
5265 ac_cv_lib_i386_i386_set_ldt=yes
5266 else
5267 ac_cv_lib_i386_i386_set_ldt=no
5269 rm -f core conftest.err conftest.$ac_objext \
5270 conftest$ac_exeext conftest.$ac_ext
5271 LIBS=$ac_check_lib_save_LIBS
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5274 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5275 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5276 cat >>confdefs.h <<_ACEOF
5277 #define HAVE_LIBI386 1
5278 _ACEOF
5280 LIBS="-li386 $LIBS"
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5285 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5286 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5287 $as_echo_n "(cached) " >&6
5288 else
5289 ac_check_lib_save_LIBS=$LIBS
5290 LIBS="-lossaudio $LIBS"
5291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5292 /* end confdefs.h. */
5294 /* Override any GCC internal prototype to avoid an error.
5295 Use char because int might match the return type of a GCC
5296 builtin and then its argument prototype would still apply. */
5297 #ifdef __cplusplus
5298 extern "C"
5299 #endif
5300 char _oss_ioctl ();
5302 main ()
5304 return _oss_ioctl ();
5306 return 0;
5308 _ACEOF
5309 if ac_fn_c_try_link "$LINENO"; then :
5310 ac_cv_lib_ossaudio__oss_ioctl=yes
5311 else
5312 ac_cv_lib_ossaudio__oss_ioctl=no
5314 rm -f core conftest.err conftest.$ac_objext \
5315 conftest$ac_exeext conftest.$ac_ext
5316 LIBS=$ac_check_lib_save_LIBS
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5319 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5320 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5321 cat >>confdefs.h <<_ACEOF
5322 #define HAVE_LIBOSSAUDIO 1
5323 _ACEOF
5325 LIBS="-lossaudio $LIBS"
5330 XLIB=""
5332 OPENGL_LIBS=""
5336 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
5338 # Check whether --enable-largefile was given.
5339 if test "${enable_largefile+set}" = set; then :
5340 enableval=$enable_largefile;
5343 if test "$enable_largefile" != no; then
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5346 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5347 if ${ac_cv_sys_largefile_CC+:} false; then :
5348 $as_echo_n "(cached) " >&6
5349 else
5350 ac_cv_sys_largefile_CC=no
5351 if test "$GCC" != yes; then
5352 ac_save_CC=$CC
5353 while :; do
5354 # IRIX 6.2 and later do not support large files by default,
5355 # so use the C compiler's -n32 option if that helps.
5356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5357 /* end confdefs.h. */
5358 #include <sys/types.h>
5359 /* Check that off_t can represent 2**63 - 1 correctly.
5360 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5361 since some C++ compilers masquerading as C compilers
5362 incorrectly reject 9223372036854775807. */
5363 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5364 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5365 && LARGE_OFF_T % 2147483647 == 1)
5366 ? 1 : -1];
5368 main ()
5372 return 0;
5374 _ACEOF
5375 if ac_fn_c_try_compile "$LINENO"; then :
5376 break
5378 rm -f core conftest.err conftest.$ac_objext
5379 CC="$CC -n32"
5380 if ac_fn_c_try_compile "$LINENO"; then :
5381 ac_cv_sys_largefile_CC=' -n32'; break
5383 rm -f core conftest.err conftest.$ac_objext
5384 break
5385 done
5386 CC=$ac_save_CC
5387 rm -f conftest.$ac_ext
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5391 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5392 if test "$ac_cv_sys_largefile_CC" != no; then
5393 CC=$CC$ac_cv_sys_largefile_CC
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5397 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5398 if ${ac_cv_sys_file_offset_bits+:} false; then :
5399 $as_echo_n "(cached) " >&6
5400 else
5401 while :; do
5402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5403 /* end confdefs.h. */
5404 #include <sys/types.h>
5405 /* Check that off_t can represent 2**63 - 1 correctly.
5406 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5407 since some C++ compilers masquerading as C compilers
5408 incorrectly reject 9223372036854775807. */
5409 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5410 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5411 && LARGE_OFF_T % 2147483647 == 1)
5412 ? 1 : -1];
5414 main ()
5418 return 0;
5420 _ACEOF
5421 if ac_fn_c_try_compile "$LINENO"; then :
5422 ac_cv_sys_file_offset_bits=no; break
5424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5426 /* end confdefs.h. */
5427 #define _FILE_OFFSET_BITS 64
5428 #include <sys/types.h>
5429 /* Check that off_t can represent 2**63 - 1 correctly.
5430 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5431 since some C++ compilers masquerading as C compilers
5432 incorrectly reject 9223372036854775807. */
5433 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5434 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5435 && LARGE_OFF_T % 2147483647 == 1)
5436 ? 1 : -1];
5438 main ()
5442 return 0;
5444 _ACEOF
5445 if ac_fn_c_try_compile "$LINENO"; then :
5446 ac_cv_sys_file_offset_bits=64; break
5448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5449 ac_cv_sys_file_offset_bits=unknown
5450 break
5451 done
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5454 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5455 case $ac_cv_sys_file_offset_bits in #(
5456 no | unknown) ;;
5458 cat >>confdefs.h <<_ACEOF
5459 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5460 _ACEOF
5462 esac
5463 rm -rf conftest*
5464 if test $ac_cv_sys_file_offset_bits = unknown; then
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5466 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5467 if ${ac_cv_sys_large_files+:} false; then :
5468 $as_echo_n "(cached) " >&6
5469 else
5470 while :; do
5471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5472 /* end confdefs.h. */
5473 #include <sys/types.h>
5474 /* Check that off_t can represent 2**63 - 1 correctly.
5475 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5476 since some C++ compilers masquerading as C compilers
5477 incorrectly reject 9223372036854775807. */
5478 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5479 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5480 && LARGE_OFF_T % 2147483647 == 1)
5481 ? 1 : -1];
5483 main ()
5487 return 0;
5489 _ACEOF
5490 if ac_fn_c_try_compile "$LINENO"; then :
5491 ac_cv_sys_large_files=no; break
5493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5495 /* end confdefs.h. */
5496 #define _LARGE_FILES 1
5497 #include <sys/types.h>
5498 /* Check that off_t can represent 2**63 - 1 correctly.
5499 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5500 since some C++ compilers masquerading as C compilers
5501 incorrectly reject 9223372036854775807. */
5502 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5503 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5504 && LARGE_OFF_T % 2147483647 == 1)
5505 ? 1 : -1];
5507 main ()
5511 return 0;
5513 _ACEOF
5514 if ac_fn_c_try_compile "$LINENO"; then :
5515 ac_cv_sys_large_files=1; break
5517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5518 ac_cv_sys_large_files=unknown
5519 break
5520 done
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5523 $as_echo "$ac_cv_sys_large_files" >&6; }
5524 case $ac_cv_sys_large_files in #(
5525 no | unknown) ;;
5527 cat >>confdefs.h <<_ACEOF
5528 #define _LARGE_FILES $ac_cv_sys_large_files
5529 _ACEOF
5531 esac
5532 rm -rf conftest*
5539 ac_ext=c
5540 ac_cpp='$CPP $CPPFLAGS'
5541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5545 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5546 # On Suns, sometimes $CPP names a directory.
5547 if test -n "$CPP" && test -d "$CPP"; then
5548 CPP=
5550 if test -z "$CPP"; then
5551 if ${ac_cv_prog_CPP+:} false; then :
5552 $as_echo_n "(cached) " >&6
5553 else
5554 # Double quotes because CPP needs to be expanded
5555 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5557 ac_preproc_ok=false
5558 for ac_c_preproc_warn_flag in '' yes
5560 # Use a header file that comes with gcc, so configuring glibc
5561 # with a fresh cross-compiler works.
5562 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5563 # <limits.h> exists even on freestanding compilers.
5564 # On the NeXT, cc -E runs the code through the compiler's parser,
5565 # not just through cpp. "Syntax error" is here to catch this case.
5566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5567 /* end confdefs.h. */
5568 #ifdef __STDC__
5569 # include <limits.h>
5570 #else
5571 # include <assert.h>
5572 #endif
5573 Syntax error
5574 _ACEOF
5575 if ac_fn_c_try_cpp "$LINENO"; then :
5577 else
5578 # Broken: fails on valid input.
5579 continue
5581 rm -f conftest.err conftest.i conftest.$ac_ext
5583 # OK, works on sane cases. Now check whether nonexistent headers
5584 # can be detected and how.
5585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5586 /* end confdefs.h. */
5587 #include <ac_nonexistent.h>
5588 _ACEOF
5589 if ac_fn_c_try_cpp "$LINENO"; then :
5590 # Broken: success on invalid input.
5591 continue
5592 else
5593 # Passes both tests.
5594 ac_preproc_ok=:
5595 break
5597 rm -f conftest.err conftest.i conftest.$ac_ext
5599 done
5600 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5601 rm -f conftest.i conftest.err conftest.$ac_ext
5602 if $ac_preproc_ok; then :
5603 break
5606 done
5607 ac_cv_prog_CPP=$CPP
5610 CPP=$ac_cv_prog_CPP
5611 else
5612 ac_cv_prog_CPP=$CPP
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5615 $as_echo "$CPP" >&6; }
5616 ac_preproc_ok=false
5617 for ac_c_preproc_warn_flag in '' yes
5619 # Use a header file that comes with gcc, so configuring glibc
5620 # with a fresh cross-compiler works.
5621 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5622 # <limits.h> exists even on freestanding compilers.
5623 # On the NeXT, cc -E runs the code through the compiler's parser,
5624 # not just through cpp. "Syntax error" is here to catch this case.
5625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5626 /* end confdefs.h. */
5627 #ifdef __STDC__
5628 # include <limits.h>
5629 #else
5630 # include <assert.h>
5631 #endif
5632 Syntax error
5633 _ACEOF
5634 if ac_fn_c_try_cpp "$LINENO"; then :
5636 else
5637 # Broken: fails on valid input.
5638 continue
5640 rm -f conftest.err conftest.i conftest.$ac_ext
5642 # OK, works on sane cases. Now check whether nonexistent headers
5643 # can be detected and how.
5644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5645 /* end confdefs.h. */
5646 #include <ac_nonexistent.h>
5647 _ACEOF
5648 if ac_fn_c_try_cpp "$LINENO"; then :
5649 # Broken: success on invalid input.
5650 continue
5651 else
5652 # Passes both tests.
5653 ac_preproc_ok=:
5654 break
5656 rm -f conftest.err conftest.i conftest.$ac_ext
5658 done
5659 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5660 rm -f conftest.i conftest.err conftest.$ac_ext
5661 if $ac_preproc_ok; then :
5663 else
5664 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5666 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5667 See \`config.log' for more details" "$LINENO" 5; }
5670 ac_ext=c
5671 ac_cpp='$CPP $CPPFLAGS'
5672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5678 $as_echo_n "checking for ANSI C header files... " >&6; }
5679 if ${ac_cv_header_stdc+:} false; then :
5680 $as_echo_n "(cached) " >&6
5681 else
5682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5683 /* end confdefs.h. */
5684 #include <stdlib.h>
5685 #include <stdarg.h>
5686 #include <string.h>
5687 #include <float.h>
5690 main ()
5694 return 0;
5696 _ACEOF
5697 if ac_fn_c_try_compile "$LINENO"; then :
5698 ac_cv_header_stdc=yes
5699 else
5700 ac_cv_header_stdc=no
5702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5704 if test $ac_cv_header_stdc = yes; then
5705 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5707 /* end confdefs.h. */
5708 #include <string.h>
5710 _ACEOF
5711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5712 $EGREP "memchr" >/dev/null 2>&1; then :
5714 else
5715 ac_cv_header_stdc=no
5717 rm -f conftest*
5721 if test $ac_cv_header_stdc = yes; then
5722 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5724 /* end confdefs.h. */
5725 #include <stdlib.h>
5727 _ACEOF
5728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5729 $EGREP "free" >/dev/null 2>&1; then :
5731 else
5732 ac_cv_header_stdc=no
5734 rm -f conftest*
5738 if test $ac_cv_header_stdc = yes; then
5739 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5740 if test "$cross_compiling" = yes; then :
5742 else
5743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5744 /* end confdefs.h. */
5745 #include <ctype.h>
5746 #include <stdlib.h>
5747 #if ((' ' & 0x0FF) == 0x020)
5748 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5749 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5750 #else
5751 # define ISLOWER(c) \
5752 (('a' <= (c) && (c) <= 'i') \
5753 || ('j' <= (c) && (c) <= 'r') \
5754 || ('s' <= (c) && (c) <= 'z'))
5755 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5756 #endif
5758 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5760 main ()
5762 int i;
5763 for (i = 0; i < 256; i++)
5764 if (XOR (islower (i), ISLOWER (i))
5765 || toupper (i) != TOUPPER (i))
5766 return 2;
5767 return 0;
5769 _ACEOF
5770 if ac_fn_c_try_run "$LINENO"; then :
5772 else
5773 ac_cv_header_stdc=no
5775 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5776 conftest.$ac_objext conftest.beam conftest.$ac_ext
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5782 $as_echo "$ac_cv_header_stdc" >&6; }
5783 if test $ac_cv_header_stdc = yes; then
5785 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5789 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5790 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5791 inttypes.h stdint.h unistd.h
5792 do :
5793 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5794 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5796 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5797 cat >>confdefs.h <<_ACEOF
5798 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5799 _ACEOF
5803 done
5806 for ac_header in \
5807 AL/al.h \
5808 ApplicationServices/ApplicationServices.h \
5809 AudioToolbox/AudioConverter.h \
5810 AudioUnit/AudioUnit.h \
5811 AudioUnit/AudioComponent.h \
5812 CL/cl.h \
5813 Carbon/Carbon.h \
5814 CoreAudio/CoreAudio.h \
5815 CoreServices/CoreServices.h \
5816 DiskArbitration/DiskArbitration.h \
5817 IOKit/IOKitLib.h \
5818 IOKit/hid/IOHIDLib.h \
5819 OpenAL/al.h \
5820 OpenCL/opencl.h \
5821 QuickTime/ImageCompression.h \
5822 Security/Security.h \
5823 alias.h \
5824 alsa/asoundlib.h \
5825 arpa/inet.h \
5826 arpa/nameser.h \
5827 asm/types.h \
5828 capi20.h \
5829 curses.h \
5830 direct.h \
5831 dirent.h \
5832 dlfcn.h \
5833 elf.h \
5834 float.h \
5835 fnmatch.h \
5836 fontconfig/fontconfig.h \
5837 getopt.h \
5838 gettext-po.h \
5839 grp.h \
5840 gsm.h \
5841 gsm/gsm.h \
5842 ieeefp.h \
5843 inet/mib2.h \
5844 io.h \
5845 jpeglib.h \
5846 kstat.h \
5847 lber.h \
5848 lcms.h \
5849 lcms/lcms.h \
5850 ldap.h \
5851 link.h \
5852 linux/cdrom.h \
5853 linux/compiler.h \
5854 linux/filter.h \
5855 linux/hdreg.h \
5856 linux/input.h \
5857 linux/ioctl.h \
5858 linux/joystick.h \
5859 linux/major.h \
5860 linux/param.h \
5861 linux/serial.h \
5862 linux/types.h \
5863 linux/ucdrom.h \
5864 lwp.h \
5865 mach-o/nlist.h \
5866 mach-o/loader.h \
5867 mach/mach.h \
5868 mach/machine.h \
5869 machine/cpu.h \
5870 machine/limits.h \
5871 machine/sysarch.h \
5872 mntent.h \
5873 mpg123.h \
5874 ncurses.h \
5875 netdb.h \
5876 netinet/in.h \
5877 netinet/in_systm.h \
5878 netinet/tcp.h \
5879 netinet/tcp_fsm.h \
5880 png.h \
5881 poll.h \
5882 port.h \
5883 process.h \
5884 pthread.h \
5885 pwd.h \
5886 sched.h \
5887 scsi/scsi.h \
5888 scsi/scsi_ioctl.h \
5889 scsi/sg.h \
5890 stdbool.h \
5891 stdint.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/utsname.h \
5931 sys/vm86.h \
5932 sys/wait.h \
5933 syscall.h \
5934 termios.h \
5935 tiffio.h \
5936 unistd.h \
5937 utime.h \
5938 valgrind/memcheck.h \
5939 valgrind/valgrind.h \
5940 zlib.h
5942 do :
5943 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5944 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5945 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5946 cat >>confdefs.h <<_ACEOF
5947 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5948 _ACEOF
5952 done
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5955 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5956 if ${ac_cv_header_stat_broken+:} false; then :
5957 $as_echo_n "(cached) " >&6
5958 else
5959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5960 /* end confdefs.h. */
5961 #include <sys/types.h>
5962 #include <sys/stat.h>
5964 #if defined S_ISBLK && defined S_IFDIR
5965 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5966 #endif
5968 #if defined S_ISBLK && defined S_IFCHR
5969 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5970 #endif
5972 #if defined S_ISLNK && defined S_IFREG
5973 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5974 #endif
5976 #if defined S_ISSOCK && defined S_IFREG
5977 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5978 #endif
5980 _ACEOF
5981 if ac_fn_c_try_compile "$LINENO"; then :
5982 ac_cv_header_stat_broken=no
5983 else
5984 ac_cv_header_stat_broken=yes
5986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5989 $as_echo "$ac_cv_header_stat_broken" >&6; }
5990 if test $ac_cv_header_stat_broken = yes; then
5992 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5998 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
5999 do :
6000 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6001 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6002 #ifdef HAVE_SYS_PARAM_H
6003 # include <sys/param.h>
6004 #endif
6006 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6007 cat >>confdefs.h <<_ACEOF
6008 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6009 _ACEOF
6013 done
6016 for ac_header in \
6017 netinet/ip.h \
6018 net/if.h \
6019 net/if_arp.h \
6020 net/if_dl.h \
6021 net/if_types.h \
6022 net/route.h \
6023 netinet/if_ether.h \
6024 netinet/if_inarp.h \
6025 netinet/in_pcb.h \
6026 netinet/ip_icmp.h \
6027 netinet/ip_var.h \
6028 netinet/udp.h \
6029 netipx/ipx.h \
6030 sys/un.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 libv4l1.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; }
6340 if test -n "$ac_tool_prefix"; then
6341 for ac_prog in readelf
6343 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6344 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6346 $as_echo_n "checking for $ac_word... " >&6; }
6347 if ${ac_cv_prog_READELF+:} false; then :
6348 $as_echo_n "(cached) " >&6
6349 else
6350 if test -n "$READELF"; then
6351 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6352 else
6353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6354 for as_dir in $PATH
6356 IFS=$as_save_IFS
6357 test -z "$as_dir" && as_dir=.
6358 for ac_exec_ext in '' $ac_executable_extensions; do
6359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6360 ac_cv_prog_READELF="$ac_tool_prefix$ac_prog"
6361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6362 break 2
6364 done
6365 done
6366 IFS=$as_save_IFS
6370 READELF=$ac_cv_prog_READELF
6371 if test -n "$READELF"; then
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6373 $as_echo "$READELF" >&6; }
6374 else
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6376 $as_echo "no" >&6; }
6380 test -n "$READELF" && break
6381 done
6383 if test -z "$READELF"; then
6384 ac_ct_READELF=$READELF
6385 for ac_prog in readelf
6387 # Extract the first word of "$ac_prog", so it can be a program name with args.
6388 set dummy $ac_prog; ac_word=$2
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6390 $as_echo_n "checking for $ac_word... " >&6; }
6391 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
6392 $as_echo_n "(cached) " >&6
6393 else
6394 if test -n "$ac_ct_READELF"; then
6395 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
6396 else
6397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6398 for as_dir in $PATH
6400 IFS=$as_save_IFS
6401 test -z "$as_dir" && as_dir=.
6402 for ac_exec_ext in '' $ac_executable_extensions; do
6403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6404 ac_cv_prog_ac_ct_READELF="$ac_prog"
6405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6406 break 2
6408 done
6409 done
6410 IFS=$as_save_IFS
6414 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
6415 if test -n "$ac_ct_READELF"; then
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6417 $as_echo "$ac_ct_READELF" >&6; }
6418 else
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6420 $as_echo "no" >&6; }
6424 test -n "$ac_ct_READELF" && break
6425 done
6427 if test "x$ac_ct_READELF" = x; then
6428 READELF="true"
6429 else
6430 case $cross_compiling:$ac_tool_warned in
6431 yes:)
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6434 ac_tool_warned=yes ;;
6435 esac
6436 READELF=$ac_ct_READELF
6441 case $host_os in
6442 cygwin*|mingw32*)
6443 if test -n "$ac_tool_prefix"; then
6444 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6445 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6447 $as_echo_n "checking for $ac_word... " >&6; }
6448 if ${ac_cv_prog_DLLTOOL+:} false; then :
6449 $as_echo_n "(cached) " >&6
6450 else
6451 if test -n "$DLLTOOL"; then
6452 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6453 else
6454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6455 for as_dir in $PATH
6457 IFS=$as_save_IFS
6458 test -z "$as_dir" && as_dir=.
6459 for ac_exec_ext in '' $ac_executable_extensions; do
6460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6461 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6463 break 2
6465 done
6466 done
6467 IFS=$as_save_IFS
6471 DLLTOOL=$ac_cv_prog_DLLTOOL
6472 if test -n "$DLLTOOL"; then
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6474 $as_echo "$DLLTOOL" >&6; }
6475 else
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6477 $as_echo "no" >&6; }
6482 if test -z "$ac_cv_prog_DLLTOOL"; then
6483 ac_ct_DLLTOOL=$DLLTOOL
6484 # Extract the first word of "dlltool", so it can be a program name with args.
6485 set dummy dlltool; ac_word=$2
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6487 $as_echo_n "checking for $ac_word... " >&6; }
6488 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6489 $as_echo_n "(cached) " >&6
6490 else
6491 if test -n "$ac_ct_DLLTOOL"; then
6492 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6493 else
6494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6495 for as_dir in $PATH
6497 IFS=$as_save_IFS
6498 test -z "$as_dir" && as_dir=.
6499 for ac_exec_ext in '' $ac_executable_extensions; do
6500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6501 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6503 break 2
6505 done
6506 done
6507 IFS=$as_save_IFS
6511 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6512 if test -n "$ac_ct_DLLTOOL"; then
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6514 $as_echo "$ac_ct_DLLTOOL" >&6; }
6515 else
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6517 $as_echo "no" >&6; }
6520 if test "x$ac_ct_DLLTOOL" = x; then
6521 DLLTOOL="false"
6522 else
6523 case $cross_compiling:$ac_tool_warned in
6524 yes:)
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6527 ac_tool_warned=yes ;;
6528 esac
6529 DLLTOOL=$ac_ct_DLLTOOL
6531 else
6532 DLLTOOL="$ac_cv_prog_DLLTOOL"
6535 if test -n "$ac_tool_prefix"; then
6536 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6537 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6539 $as_echo_n "checking for $ac_word... " >&6; }
6540 if ${ac_cv_prog_DLLWRAP+:} false; then :
6541 $as_echo_n "(cached) " >&6
6542 else
6543 if test -n "$DLLWRAP"; then
6544 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
6545 else
6546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6547 for as_dir in $PATH
6549 IFS=$as_save_IFS
6550 test -z "$as_dir" && as_dir=.
6551 for ac_exec_ext in '' $ac_executable_extensions; do
6552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6553 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
6554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6555 break 2
6557 done
6558 done
6559 IFS=$as_save_IFS
6563 DLLWRAP=$ac_cv_prog_DLLWRAP
6564 if test -n "$DLLWRAP"; then
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6566 $as_echo "$DLLWRAP" >&6; }
6567 else
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6569 $as_echo "no" >&6; }
6574 if test -z "$ac_cv_prog_DLLWRAP"; then
6575 ac_ct_DLLWRAP=$DLLWRAP
6576 # Extract the first word of "dllwrap", so it can be a program name with args.
6577 set dummy dllwrap; ac_word=$2
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6579 $as_echo_n "checking for $ac_word... " >&6; }
6580 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false; then :
6581 $as_echo_n "(cached) " >&6
6582 else
6583 if test -n "$ac_ct_DLLWRAP"; then
6584 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
6585 else
6586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6587 for as_dir in $PATH
6589 IFS=$as_save_IFS
6590 test -z "$as_dir" && as_dir=.
6591 for ac_exec_ext in '' $ac_executable_extensions; do
6592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6593 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
6594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6595 break 2
6597 done
6598 done
6599 IFS=$as_save_IFS
6603 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
6604 if test -n "$ac_ct_DLLWRAP"; then
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6606 $as_echo "$ac_ct_DLLWRAP" >&6; }
6607 else
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6609 $as_echo "no" >&6; }
6612 if test "x$ac_ct_DLLWRAP" = x; then
6613 DLLWRAP="false"
6614 else
6615 case $cross_compiling:$ac_tool_warned in
6616 yes:)
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6619 ac_tool_warned=yes ;;
6620 esac
6621 DLLWRAP=$ac_ct_DLLWRAP
6623 else
6624 DLLWRAP="$ac_cv_prog_DLLWRAP"
6627 if test "$DLLWRAP" = "false"; then
6628 LIBEXT="a"
6629 else
6630 LIBEXT="dll"
6632 IMPLIBEXT="a"
6633 STATIC_IMPLIBEXT="a"
6634 enable_iphlpapi=${enable_iphlpapi:-no}
6635 enable_kernel32=${enable_kernel32:-no}
6636 enable_msvcrt=${enable_msvcrt:-no}
6637 enable_ntdll=${enable_ntdll:-no}
6638 enable_ws2_32=${enable_ws2_32:-no}
6639 enable_loader=${enable_loader:-no}
6640 enable_server=${enable_server:-no}
6641 with_x=${with_x:-no}
6642 with_pthread=${with_pthread:-no}
6644 darwin*|macosx*)
6645 DLLEXT=".so"
6646 LIBEXT="dylib"
6647 DLLFLAGS="$DLLFLAGS -fPIC"
6648 LDDLLFLAGS="-bundle -multiply_defined suppress"
6649 LIBWINE_LDFLAGS="-multiply_defined suppress"
6650 LDSHARED="\$(CC) -dynamiclib"
6651 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6652 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
6653 COREFOUNDATIONLIB="-framework CoreFoundation"
6655 IOKITLIB="-framework IOKit -framework CoreFoundation"
6657 APPLICATIONSERVICESLIB="-framework ApplicationServices"
6659 CORESERVICESLIB="-framework CoreServices"
6661 case $host_os in
6662 darwin11*)
6663 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6666 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6668 esac
6669 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6670 then
6671 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6674 if test "$ac_cv_header_Security_Security_h" = "yes"
6675 then
6676 SECURITYLIB="-framework Security -framework CoreFoundation"
6678 ac_save_LIBS="$LIBS"
6679 LIBS="$LIBS $SECURITYLIB"
6680 for ac_func in SSLCopyPeerCertificates
6681 do :
6682 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6683 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
6684 cat >>confdefs.h <<_ACEOF
6685 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6686 _ACEOF
6689 done
6691 LIBS="$ac_save_LIBS"
6692 with_gnutls=${with_gnutls:-no}
6694 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6695 then
6696 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6697 then
6698 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6700 else
6701 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6704 ac_save_LIBS="$LIBS"
6705 LIBS="$LIBS $COREAUDIO"
6706 for ac_func in AUGraphAddNode
6707 do :
6708 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6709 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
6710 cat >>confdefs.h <<_ACEOF
6711 #define HAVE_AUGRAPHADDNODE 1
6712 _ACEOF
6715 done
6717 LIBS="$ac_save_LIBS"
6719 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6720 then
6721 FRAMEWORK_OPENAL="-framework OpenAL"
6724 cat >>confdefs.h <<_ACEOF
6725 #define HAVE_OPENAL 1
6726 _ACEOF
6728 ac_cv_lib_openal=yes
6730 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6731 then
6732 LIBOPENCL="-framework OpenCL"
6734 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
6736 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6737 then
6738 ac_save_LIBS="$LIBS"
6739 LIBS="$LIBS $IOKITLIB"
6740 for ac_func in IOHIDManagerCreate
6741 do :
6742 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6743 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
6744 cat >>confdefs.h <<_ACEOF
6745 #define HAVE_IOHIDMANAGERCREATE 1
6746 _ACEOF
6749 done
6751 LIBS="$ac_save_LIBS"
6753 case $host_cpu in
6754 *powerpc*)
6755 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
6756 esac
6757 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6758 then
6759 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6761 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
6762 else
6763 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6765 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6766 then
6767 CARBONLIB="-framework Carbon"
6771 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6772 then
6773 ac_save_LIBS="$LIBS"
6774 LIBS="$LIBS $APPLICATIONSERVICESLIB"
6775 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6776 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
6777 enable_winemac_drv=${enable_winemac_drv:-yes}
6780 LIBS="$ac_save_LIBS"
6783 if test "x$enable_win16" = "xyes"
6784 then
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6786 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6787 if test "$cross_compiling" = yes; then :
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6789 $as_echo "cross-compiling, assuming yes" >&6; }
6790 else
6791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6792 /* end confdefs.h. */
6793 asm(".text\n"
6794 "bad:\tnop;nop\n"
6795 "good:\tnop;nop\n\t"
6796 ".globl _testfunc\n"
6797 "_testfunc:\tcallw good");
6798 extern void testfunc();
6800 main ()
6802 unsigned short *p = (unsigned short *)testfunc;
6803 return p[0] != 0xe866 || p[1] != 0xfffa
6805 return 0;
6807 _ACEOF
6808 if ac_fn_c_try_run "$LINENO"; then :
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6810 $as_echo "yes" >&6; }
6811 else
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6813 $as_echo "no" >&6; }
6814 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
6816 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6817 conftest.$ac_objext conftest.beam conftest.$ac_ext
6823 DLLFLAGS="$DLLFLAGS -fPIC"
6824 DLLEXT=".so"
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6826 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6827 if ${ac_cv_c_dll_gnuelf+:} false; then :
6828 $as_echo_n "(cached) " >&6
6829 else
6830 ac_wine_try_cflags_saved=$CFLAGS
6831 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6833 /* end confdefs.h. */
6834 void myfunc() {}
6835 _ACEOF
6836 if ac_fn_c_try_link "$LINENO"; then :
6837 ac_cv_c_dll_gnuelf="yes"
6838 else
6839 ac_cv_c_dll_gnuelf="no"
6841 rm -f core conftest.err conftest.$ac_objext \
6842 conftest$ac_exeext conftest.$ac_ext
6843 CFLAGS=$ac_wine_try_cflags_saved
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6846 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6847 if test "$ac_cv_c_dll_gnuelf" = "yes"
6848 then
6849 LDSHARED="\$(CC) -shared"
6850 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6852 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6853 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
6854 $as_echo_n "(cached) " >&6
6855 else
6856 ac_wine_try_cflags_saved=$CFLAGS
6857 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6859 /* end confdefs.h. */
6860 int main(int argc, char **argv) { return 0; }
6861 _ACEOF
6862 if ac_fn_c_try_link "$LINENO"; then :
6863 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
6864 else
6865 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
6867 rm -f core conftest.err conftest.$ac_objext \
6868 conftest$ac_exeext conftest.$ac_ext
6869 CFLAGS=$ac_wine_try_cflags_saved
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6872 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6873 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6874 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6875 else
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6877 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6878 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
6879 $as_echo_n "(cached) " >&6
6880 else
6881 ac_wine_try_cflags_saved=$CFLAGS
6882 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6884 /* end confdefs.h. */
6885 int main(int argc, char **argv) { return 0; }
6886 _ACEOF
6887 if ac_fn_c_try_link "$LINENO"; then :
6888 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
6889 else
6890 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
6892 rm -f core conftest.err conftest.$ac_objext \
6893 conftest$ac_exeext conftest.$ac_ext
6894 CFLAGS=$ac_wine_try_cflags_saved
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6897 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6898 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6899 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6904 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6905 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false; then :
6906 $as_echo_n "(cached) " >&6
6907 else
6908 ac_wine_try_cflags_saved=$CFLAGS
6909 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6911 /* end confdefs.h. */
6912 int main(int argc, char **argv) { return 0; }
6913 _ACEOF
6914 if ac_fn_c_try_link "$LINENO"; then :
6915 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6916 else
6917 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6919 rm -f core conftest.err conftest.$ac_objext \
6920 conftest$ac_exeext conftest.$ac_ext
6921 CFLAGS=$ac_wine_try_cflags_saved
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6924 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6925 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6926 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6929 { $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
6930 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6931 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false; then :
6932 $as_echo_n "(cached) " >&6
6933 else
6934 ac_wine_try_cflags_saved=$CFLAGS
6935 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6937 /* end confdefs.h. */
6938 int main(int argc, char **argv) { return 0; }
6939 _ACEOF
6940 if ac_fn_c_try_link "$LINENO"; then :
6941 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6942 else
6943 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6945 rm -f core conftest.err conftest.$ac_objext \
6946 conftest$ac_exeext conftest.$ac_ext
6947 CFLAGS=$ac_wine_try_cflags_saved
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6950 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6951 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6952 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6955 echo '{ global: *; };' >conftest.map
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6957 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6958 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
6959 $as_echo_n "(cached) " >&6
6960 else
6961 ac_wine_try_cflags_saved=$CFLAGS
6962 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6964 /* end confdefs.h. */
6965 int main(int argc, char **argv) { return 0; }
6966 _ACEOF
6967 if ac_fn_c_try_link "$LINENO"; then :
6968 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
6969 else
6970 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
6972 rm -f core conftest.err conftest.$ac_objext \
6973 conftest$ac_exeext conftest.$ac_ext
6974 CFLAGS=$ac_wine_try_cflags_saved
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
6977 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
6978 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
6979 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6981 rm -f conftest.map
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6984 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6985 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
6986 $as_echo_n "(cached) " >&6
6987 else
6988 ac_wine_try_cflags_saved=$CFLAGS
6989 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
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__fPIC__Wl___export_dynamic=yes
6996 else
6997 ac_cv_cflags__fPIC__Wl___export_dynamic=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__fPIC__Wl___export_dynamic" >&5
7004 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7005 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7006 LDEXECFLAGS="-Wl,--export-dynamic"
7010 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7012 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7013 if eval \${$as_ac_var+:} false; then :
7014 $as_echo_n "(cached) " >&6
7015 else
7016 ac_wine_try_cflags_saved=$CFLAGS
7017 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7019 /* end confdefs.h. */
7020 int main(int argc, char **argv) { return 0; }
7021 _ACEOF
7022 if ac_fn_c_try_link "$LINENO"; then :
7023 eval "$as_ac_var=yes"
7024 else
7025 eval "$as_ac_var=no"
7027 rm -f core conftest.err conftest.$ac_objext \
7028 conftest$ac_exeext conftest.$ac_ext
7029 CFLAGS=$ac_wine_try_cflags_saved
7031 eval ac_res=\$$as_ac_var
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7033 $as_echo "$ac_res" >&6; }
7034 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7035 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7036 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7037 else
7038 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7040 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7041 if eval \${$as_ac_var+:} false; then :
7042 $as_echo_n "(cached) " >&6
7043 else
7044 ac_wine_try_cflags_saved=$CFLAGS
7045 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7047 /* end confdefs.h. */
7048 int main(int argc, char **argv) { return 0; }
7049 _ACEOF
7050 if ac_fn_c_try_link "$LINENO"; then :
7051 eval "$as_ac_var=yes"
7052 else
7053 eval "$as_ac_var=no"
7055 rm -f core conftest.err conftest.$ac_objext \
7056 conftest$ac_exeext conftest.$ac_ext
7057 CFLAGS=$ac_wine_try_cflags_saved
7059 eval ac_res=\$$as_ac_var
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7061 $as_echo "$ac_res" >&6; }
7062 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7063 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7064 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7069 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7070 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7071 $as_echo_n "(cached) " >&6
7072 else
7073 ac_wine_try_cflags_saved=$CFLAGS
7074 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7076 /* end confdefs.h. */
7077 int main(int argc, char **argv) { return 0; }
7078 _ACEOF
7079 if ac_fn_c_try_link "$LINENO"; then :
7080 ac_cv_cflags__Wl___enable_new_dtags=yes
7081 else
7082 ac_cv_cflags__Wl___enable_new_dtags=no
7084 rm -f core conftest.err conftest.$ac_objext \
7085 conftest$ac_exeext conftest.$ac_ext
7086 CFLAGS=$ac_wine_try_cflags_saved
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7089 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7090 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7091 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7094 case $host_cpu in
7095 *i[3456789]86* | x86_64)
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7097 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7098 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7099 $as_echo_n "(cached) " >&6
7100 else
7101 ac_wine_try_cflags_saved=$CFLAGS
7102 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7104 /* end confdefs.h. */
7105 int main(int argc, char **argv) { return 0; }
7106 _ACEOF
7107 if ac_fn_c_try_link "$LINENO"; then :
7108 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7109 else
7110 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7112 rm -f core conftest.err conftest.$ac_objext \
7113 conftest$ac_exeext conftest.$ac_ext
7114 CFLAGS=$ac_wine_try_cflags_saved
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7117 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7118 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7119 case $host_os in
7120 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7121 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7122 esac
7125 # Extract the first word of "prelink", so it can be a program name with args.
7126 set dummy prelink; ac_word=$2
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7128 $as_echo_n "checking for $ac_word... " >&6; }
7129 if ${ac_cv_path_PRELINK+:} false; then :
7130 $as_echo_n "(cached) " >&6
7131 else
7132 case $PRELINK in
7133 [\\/]* | ?:[\\/]*)
7134 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
7137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7138 for as_dir in /sbin /usr/sbin $PATH
7140 IFS=$as_save_IFS
7141 test -z "$as_dir" && as_dir=.
7142 for ac_exec_ext in '' $ac_executable_extensions; do
7143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7144 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
7145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7146 break 2
7148 done
7149 done
7150 IFS=$as_save_IFS
7152 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7154 esac
7156 PRELINK=$ac_cv_path_PRELINK
7157 if test -n "$PRELINK"; then
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7159 $as_echo "$PRELINK" >&6; }
7160 else
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7162 $as_echo "no" >&6; }
7166 if test "x$PRELINK" = xfalse
7167 then
7168 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7171 esac
7173 else
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7175 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7176 if ${ac_cv_c_dll_unixware+:} false; then :
7177 $as_echo_n "(cached) " >&6
7178 else
7179 ac_wine_try_cflags_saved=$CFLAGS
7180 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7182 /* end confdefs.h. */
7183 void myfunc() {}
7184 _ACEOF
7185 if ac_fn_c_try_link "$LINENO"; then :
7186 ac_cv_c_dll_unixware="yes"
7187 else
7188 ac_cv_c_dll_unixware="no"
7190 rm -f core conftest.err conftest.$ac_objext \
7191 conftest$ac_exeext conftest.$ac_ext
7192 CFLAGS=$ac_wine_try_cflags_saved
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7195 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7196 if test "$ac_cv_c_dll_unixware" = "yes"
7197 then
7198 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7199 LDDLLFLAGS="-Wl,-G,-B,symbolic"
7201 else
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7203 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7204 if ${ac_cv_c_dll_hpux+:} false; then :
7205 $as_echo_n "(cached) " >&6
7206 else
7207 ac_wine_try_cflags_saved=$CFLAGS
7208 CFLAGS="$CFLAGS -shared"
7209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7210 /* end confdefs.h. */
7211 void myfunc() {}
7212 _ACEOF
7213 if ac_fn_c_try_link "$LINENO"; then :
7214 ac_cv_c_dll_hpux="yes"
7215 else
7216 ac_cv_c_dll_hpux="no"
7218 rm -f core conftest.err conftest.$ac_objext \
7219 conftest$ac_exeext conftest.$ac_ext
7220 CFLAGS=$ac_wine_try_cflags_saved
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7223 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7224 if test "$ac_cv_c_dll_hpux" = "yes"
7225 then
7226 LIBEXT="sl"
7227 DLLEXT=".sl"
7228 LDDLLFLAGS="-shared -fPIC"
7229 LDSHARED="\$(CC) -shared"
7234 esac
7236 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
7237 enable_winemac_drv=${enable_winemac_drv:-no}
7239 if test "$LIBEXT" = "a"; then
7240 as_fn_error $? "could not find a way to build shared libraries.
7241 It is currently not possible to build Wine without shared library
7242 (.so) support to allow transparent switch between .so and .dll files.
7243 If you are using Linux, you will need a newer binutils.
7244 " "$LINENO" 5
7247 CROSSTEST_DISABLE=\#
7249 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
7250 then
7251 case "$host_cpu" in
7252 i[3456789]86*)
7253 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
7254 mingw32-gcc" ;;
7255 x86_64)
7256 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 " ;;
7258 ac_prefix_list="" ;;
7259 esac
7260 for ac_prog in $ac_prefix_list
7262 # Extract the first word of "$ac_prog", so it can be a program name with args.
7263 set dummy $ac_prog; ac_word=$2
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7265 $as_echo_n "checking for $ac_word... " >&6; }
7266 if ${ac_cv_prog_CROSSCC+:} false; then :
7267 $as_echo_n "(cached) " >&6
7268 else
7269 if test -n "$CROSSCC"; then
7270 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7271 else
7272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7273 for as_dir in $PATH
7275 IFS=$as_save_IFS
7276 test -z "$as_dir" && as_dir=.
7277 for ac_exec_ext in '' $ac_executable_extensions; do
7278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7279 ac_cv_prog_CROSSCC="$ac_prog"
7280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7281 break 2
7283 done
7284 done
7285 IFS=$as_save_IFS
7289 CROSSCC=$ac_cv_prog_CROSSCC
7290 if test -n "$CROSSCC"; then
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7292 $as_echo "$CROSSCC" >&6; }
7293 else
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7295 $as_echo "no" >&6; }
7299 test -n "$CROSSCC" && break
7300 done
7301 test -n "$CROSSCC" || CROSSCC="false"
7303 if test "$CROSSCC" != "false"
7304 then
7305 ac_save_CC="$CC"
7306 CC="$CROSSCC"
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7308 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7310 /* end confdefs.h. */
7313 main ()
7317 return 0;
7319 _ACEOF
7320 if ac_fn_c_try_compile "$LINENO"; then :
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7322 $as_echo "yes" >&6; }
7323 set x $CROSSCC
7324 shift
7325 target=""
7326 while test $# -ge 1
7328 case "$1" in
7329 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7330 esac
7331 shift
7332 done
7333 if test -n "$target"
7334 then
7335 CROSSTEST_DISABLE=""
7336 CROSSTARGET="$target"
7339 else
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7344 CC="$ac_save_CC"
7349 if test "$ac_cv_header_pthread_h" = "yes"
7350 then
7351 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7352 if test "x$ac_cv_func_pthread_create" = xyes; then :
7354 else
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7356 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7357 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7358 $as_echo_n "(cached) " >&6
7359 else
7360 ac_check_lib_save_LIBS=$LIBS
7361 LIBS="-lpthread $LIBS"
7362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7363 /* end confdefs.h. */
7365 /* Override any GCC internal prototype to avoid an error.
7366 Use char because int might match the return type of a GCC
7367 builtin and then its argument prototype would still apply. */
7368 #ifdef __cplusplus
7369 extern "C"
7370 #endif
7371 char pthread_create ();
7373 main ()
7375 return pthread_create ();
7377 return 0;
7379 _ACEOF
7380 if ac_fn_c_try_link "$LINENO"; then :
7381 ac_cv_lib_pthread_pthread_create=yes
7382 else
7383 ac_cv_lib_pthread_pthread_create=no
7385 rm -f core conftest.err conftest.$ac_objext \
7386 conftest$ac_exeext conftest.$ac_ext
7387 LIBS=$ac_check_lib_save_LIBS
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7390 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7391 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7392 LIBPTHREAD="-lpthread"
7399 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
7400 case "x$with_pthread" in
7401 xno) ;;
7402 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7403 Wine cannot support threads without libpthread.
7404 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7405 esac
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7410 $as_echo_n "checking for X... " >&6; }
7413 # Check whether --with-x was given.
7414 if test "${with_x+set}" = set; then :
7415 withval=$with_x;
7418 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7419 if test "x$with_x" = xno; then
7420 # The user explicitly disabled X.
7421 have_x=disabled
7422 else
7423 case $x_includes,$x_libraries in #(
7424 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7425 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7426 $as_echo_n "(cached) " >&6
7427 else
7428 # One or both of the vars are not set, and there is no cached value.
7429 ac_x_includes=no ac_x_libraries=no
7430 rm -f -r conftest.dir
7431 if mkdir conftest.dir; then
7432 cd conftest.dir
7433 cat >Imakefile <<'_ACEOF'
7434 incroot:
7435 @echo incroot='${INCROOT}'
7436 usrlibdir:
7437 @echo usrlibdir='${USRLIBDIR}'
7438 libdir:
7439 @echo libdir='${LIBDIR}'
7440 _ACEOF
7441 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7442 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7443 for ac_var in incroot usrlibdir libdir; do
7444 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7445 done
7446 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7447 for ac_extension in a so sl dylib la dll; do
7448 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7449 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7450 ac_im_usrlibdir=$ac_im_libdir; break
7452 done
7453 # Screen out bogus values from the imake configuration. They are
7454 # bogus both because they are the default anyway, and because
7455 # using them would break gcc on systems where it needs fixed includes.
7456 case $ac_im_incroot in
7457 /usr/include) ac_x_includes= ;;
7458 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7459 esac
7460 case $ac_im_usrlibdir in
7461 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7462 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7463 esac
7465 cd ..
7466 rm -f -r conftest.dir
7469 # Standard set of common directories for X headers.
7470 # Check X11 before X11Rn because it is often a symlink to the current release.
7471 ac_x_header_dirs='
7472 /usr/X11/include
7473 /usr/X11R7/include
7474 /usr/X11R6/include
7475 /usr/X11R5/include
7476 /usr/X11R4/include
7478 /usr/include/X11
7479 /usr/include/X11R7
7480 /usr/include/X11R6
7481 /usr/include/X11R5
7482 /usr/include/X11R4
7484 /usr/local/X11/include
7485 /usr/local/X11R7/include
7486 /usr/local/X11R6/include
7487 /usr/local/X11R5/include
7488 /usr/local/X11R4/include
7490 /usr/local/include/X11
7491 /usr/local/include/X11R7
7492 /usr/local/include/X11R6
7493 /usr/local/include/X11R5
7494 /usr/local/include/X11R4
7496 /usr/X386/include
7497 /usr/x386/include
7498 /usr/XFree86/include/X11
7500 /usr/include
7501 /usr/local/include
7502 /usr/unsupported/include
7503 /usr/athena/include
7504 /usr/local/x11r5/include
7505 /usr/lpp/Xamples/include
7507 /usr/openwin/include
7508 /usr/openwin/share/include'
7510 if test "$ac_x_includes" = no; then
7511 # Guess where to find include files, by looking for Xlib.h.
7512 # First, try using that file with no special directory specified.
7513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7514 /* end confdefs.h. */
7515 #include <X11/Xlib.h>
7516 _ACEOF
7517 if ac_fn_c_try_cpp "$LINENO"; then :
7518 # We can compile using X headers with no special include directory.
7519 ac_x_includes=
7520 else
7521 for ac_dir in $ac_x_header_dirs; do
7522 if test -r "$ac_dir/X11/Xlib.h"; then
7523 ac_x_includes=$ac_dir
7524 break
7526 done
7528 rm -f conftest.err conftest.i conftest.$ac_ext
7529 fi # $ac_x_includes = no
7531 if test "$ac_x_libraries" = no; then
7532 # Check for the libraries.
7533 # See if we find them without any special options.
7534 # Don't add to $LIBS permanently.
7535 ac_save_LIBS=$LIBS
7536 LIBS="-lX11 $LIBS"
7537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7538 /* end confdefs.h. */
7539 #include <X11/Xlib.h>
7541 main ()
7543 XrmInitialize ()
7545 return 0;
7547 _ACEOF
7548 if ac_fn_c_try_link "$LINENO"; then :
7549 LIBS=$ac_save_LIBS
7550 # We can link X programs with no special library path.
7551 ac_x_libraries=
7552 else
7553 LIBS=$ac_save_LIBS
7554 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7556 # Don't even attempt the hair of trying to link an X program!
7557 for ac_extension in a so sl dylib la dll; do
7558 if test -r "$ac_dir/libX11.$ac_extension"; then
7559 ac_x_libraries=$ac_dir
7560 break 2
7562 done
7563 done
7565 rm -f core conftest.err conftest.$ac_objext \
7566 conftest$ac_exeext conftest.$ac_ext
7567 fi # $ac_x_libraries = no
7569 case $ac_x_includes,$ac_x_libraries in #(
7570 no,* | *,no | *\'*)
7571 # Didn't find X, or a directory has "'" in its name.
7572 ac_cv_have_x="have_x=no";; #(
7574 # Record where we found X for the cache.
7575 ac_cv_have_x="have_x=yes\
7576 ac_x_includes='$ac_x_includes'\
7577 ac_x_libraries='$ac_x_libraries'"
7578 esac
7580 ;; #(
7581 *) have_x=yes;;
7582 esac
7583 eval "$ac_cv_have_x"
7584 fi # $with_x != no
7586 if test "$have_x" != yes; then
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7588 $as_echo "$have_x" >&6; }
7589 no_x=yes
7590 else
7591 # If each of the values was on the command line, it overrides each guess.
7592 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7593 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7594 # Update the cache value to reflect the command line values.
7595 ac_cv_have_x="have_x=yes\
7596 ac_x_includes='$x_includes'\
7597 ac_x_libraries='$x_libraries'"
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7599 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7602 if test "$no_x" = yes; then
7603 # Not all programs may use this symbol, but it does not hurt to define it.
7605 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7607 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7608 else
7609 if test -n "$x_includes"; then
7610 X_CFLAGS="$X_CFLAGS -I$x_includes"
7613 # It would also be nice to do this for all -L options, not just this one.
7614 if test -n "$x_libraries"; then
7615 X_LIBS="$X_LIBS -L$x_libraries"
7616 # For Solaris; some versions of Sun CC require a space after -R and
7617 # others require no space. Words are not sufficient . . . .
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7619 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7620 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7621 ac_xsave_c_werror_flag=$ac_c_werror_flag
7622 ac_c_werror_flag=yes
7623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7624 /* end confdefs.h. */
7627 main ()
7631 return 0;
7633 _ACEOF
7634 if ac_fn_c_try_link "$LINENO"; then :
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7636 $as_echo "no" >&6; }
7637 X_LIBS="$X_LIBS -R$x_libraries"
7638 else
7639 LIBS="$ac_xsave_LIBS -R $x_libraries"
7640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7641 /* end confdefs.h. */
7644 main ()
7648 return 0;
7650 _ACEOF
7651 if ac_fn_c_try_link "$LINENO"; then :
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7653 $as_echo "yes" >&6; }
7654 X_LIBS="$X_LIBS -R $x_libraries"
7655 else
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7657 $as_echo "neither works" >&6; }
7659 rm -f core conftest.err conftest.$ac_objext \
7660 conftest$ac_exeext conftest.$ac_ext
7662 rm -f core conftest.err conftest.$ac_objext \
7663 conftest$ac_exeext conftest.$ac_ext
7664 ac_c_werror_flag=$ac_xsave_c_werror_flag
7665 LIBS=$ac_xsave_LIBS
7668 # Check for system-dependent libraries X programs must link with.
7669 # Do this before checking for the system-independent R6 libraries
7670 # (-lICE), since we may need -lsocket or whatever for X linking.
7672 if test "$ISC" = yes; then
7673 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7674 else
7675 # Martyn Johnson says this is needed for Ultrix, if the X
7676 # libraries were built with DECnet support. And Karl Berry says
7677 # the Alpha needs dnet_stub (dnet does not exist).
7678 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7680 /* end confdefs.h. */
7682 /* Override any GCC internal prototype to avoid an error.
7683 Use char because int might match the return type of a GCC
7684 builtin and then its argument prototype would still apply. */
7685 #ifdef __cplusplus
7686 extern "C"
7687 #endif
7688 char XOpenDisplay ();
7690 main ()
7692 return XOpenDisplay ();
7694 return 0;
7696 _ACEOF
7697 if ac_fn_c_try_link "$LINENO"; then :
7699 else
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7701 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7702 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
7703 $as_echo_n "(cached) " >&6
7704 else
7705 ac_check_lib_save_LIBS=$LIBS
7706 LIBS="-ldnet $LIBS"
7707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7708 /* end confdefs.h. */
7710 /* Override any GCC internal prototype to avoid an error.
7711 Use char because int might match the return type of a GCC
7712 builtin and then its argument prototype would still apply. */
7713 #ifdef __cplusplus
7714 extern "C"
7715 #endif
7716 char dnet_ntoa ();
7718 main ()
7720 return dnet_ntoa ();
7722 return 0;
7724 _ACEOF
7725 if ac_fn_c_try_link "$LINENO"; then :
7726 ac_cv_lib_dnet_dnet_ntoa=yes
7727 else
7728 ac_cv_lib_dnet_dnet_ntoa=no
7730 rm -f core conftest.err conftest.$ac_objext \
7731 conftest$ac_exeext conftest.$ac_ext
7732 LIBS=$ac_check_lib_save_LIBS
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7735 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7736 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
7737 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7740 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7742 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7743 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
7744 $as_echo_n "(cached) " >&6
7745 else
7746 ac_check_lib_save_LIBS=$LIBS
7747 LIBS="-ldnet_stub $LIBS"
7748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7749 /* end confdefs.h. */
7751 /* Override any GCC internal prototype to avoid an error.
7752 Use char because int might match the return type of a GCC
7753 builtin and then its argument prototype would still apply. */
7754 #ifdef __cplusplus
7755 extern "C"
7756 #endif
7757 char dnet_ntoa ();
7759 main ()
7761 return dnet_ntoa ();
7763 return 0;
7765 _ACEOF
7766 if ac_fn_c_try_link "$LINENO"; then :
7767 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7768 else
7769 ac_cv_lib_dnet_stub_dnet_ntoa=no
7771 rm -f core conftest.err conftest.$ac_objext \
7772 conftest$ac_exeext conftest.$ac_ext
7773 LIBS=$ac_check_lib_save_LIBS
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7776 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7777 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
7778 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7783 rm -f core conftest.err conftest.$ac_objext \
7784 conftest$ac_exeext conftest.$ac_ext
7785 LIBS="$ac_xsave_LIBS"
7787 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7788 # to get the SysV transport functions.
7789 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7790 # needs -lnsl.
7791 # The nsl library prevents programs from opening the X display
7792 # on Irix 5.2, according to T.E. Dickey.
7793 # The functions gethostbyname, getservbyname, and inet_addr are
7794 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7795 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7796 if test "x$ac_cv_func_gethostbyname" = xyes; then :
7800 if test $ac_cv_func_gethostbyname = no; then
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7802 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7803 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7804 $as_echo_n "(cached) " >&6
7805 else
7806 ac_check_lib_save_LIBS=$LIBS
7807 LIBS="-lnsl $LIBS"
7808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7809 /* end confdefs.h. */
7811 /* Override any GCC internal prototype to avoid an error.
7812 Use char because int might match the return type of a GCC
7813 builtin and then its argument prototype would still apply. */
7814 #ifdef __cplusplus
7815 extern "C"
7816 #endif
7817 char gethostbyname ();
7819 main ()
7821 return gethostbyname ();
7823 return 0;
7825 _ACEOF
7826 if ac_fn_c_try_link "$LINENO"; then :
7827 ac_cv_lib_nsl_gethostbyname=yes
7828 else
7829 ac_cv_lib_nsl_gethostbyname=no
7831 rm -f core conftest.err conftest.$ac_objext \
7832 conftest$ac_exeext conftest.$ac_ext
7833 LIBS=$ac_check_lib_save_LIBS
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7836 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7837 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7838 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7841 if test $ac_cv_lib_nsl_gethostbyname = no; then
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7843 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7844 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
7845 $as_echo_n "(cached) " >&6
7846 else
7847 ac_check_lib_save_LIBS=$LIBS
7848 LIBS="-lbsd $LIBS"
7849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7850 /* end confdefs.h. */
7852 /* Override any GCC internal prototype to avoid an error.
7853 Use char because int might match the return type of a GCC
7854 builtin and then its argument prototype would still apply. */
7855 #ifdef __cplusplus
7856 extern "C"
7857 #endif
7858 char gethostbyname ();
7860 main ()
7862 return gethostbyname ();
7864 return 0;
7866 _ACEOF
7867 if ac_fn_c_try_link "$LINENO"; then :
7868 ac_cv_lib_bsd_gethostbyname=yes
7869 else
7870 ac_cv_lib_bsd_gethostbyname=no
7872 rm -f core conftest.err conftest.$ac_objext \
7873 conftest$ac_exeext conftest.$ac_ext
7874 LIBS=$ac_check_lib_save_LIBS
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7877 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7878 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
7879 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7885 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7886 # socket/setsockopt and other routines are undefined under SCO ODT
7887 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7888 # on later versions), says Simon Leinen: it contains gethostby*
7889 # variants that don't use the name server (or something). -lsocket
7890 # must be given before -lnsl if both are needed. We assume that
7891 # if connect needs -lnsl, so does gethostbyname.
7892 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
7893 if test "x$ac_cv_func_connect" = xyes; then :
7897 if test $ac_cv_func_connect = no; then
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7899 $as_echo_n "checking for connect in -lsocket... " >&6; }
7900 if ${ac_cv_lib_socket_connect+:} false; then :
7901 $as_echo_n "(cached) " >&6
7902 else
7903 ac_check_lib_save_LIBS=$LIBS
7904 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7906 /* end confdefs.h. */
7908 /* Override any GCC internal prototype to avoid an error.
7909 Use char because int might match the return type of a GCC
7910 builtin and then its argument prototype would still apply. */
7911 #ifdef __cplusplus
7912 extern "C"
7913 #endif
7914 char connect ();
7916 main ()
7918 return connect ();
7920 return 0;
7922 _ACEOF
7923 if ac_fn_c_try_link "$LINENO"; then :
7924 ac_cv_lib_socket_connect=yes
7925 else
7926 ac_cv_lib_socket_connect=no
7928 rm -f core conftest.err conftest.$ac_objext \
7929 conftest$ac_exeext conftest.$ac_ext
7930 LIBS=$ac_check_lib_save_LIBS
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7933 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7934 if test "x$ac_cv_lib_socket_connect" = xyes; then :
7935 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7940 # Guillermo Gomez says -lposix is necessary on A/UX.
7941 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
7942 if test "x$ac_cv_func_remove" = xyes; then :
7946 if test $ac_cv_func_remove = no; then
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7948 $as_echo_n "checking for remove in -lposix... " >&6; }
7949 if ${ac_cv_lib_posix_remove+:} false; then :
7950 $as_echo_n "(cached) " >&6
7951 else
7952 ac_check_lib_save_LIBS=$LIBS
7953 LIBS="-lposix $LIBS"
7954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7955 /* end confdefs.h. */
7957 /* Override any GCC internal prototype to avoid an error.
7958 Use char because int might match the return type of a GCC
7959 builtin and then its argument prototype would still apply. */
7960 #ifdef __cplusplus
7961 extern "C"
7962 #endif
7963 char remove ();
7965 main ()
7967 return remove ();
7969 return 0;
7971 _ACEOF
7972 if ac_fn_c_try_link "$LINENO"; then :
7973 ac_cv_lib_posix_remove=yes
7974 else
7975 ac_cv_lib_posix_remove=no
7977 rm -f core conftest.err conftest.$ac_objext \
7978 conftest$ac_exeext conftest.$ac_ext
7979 LIBS=$ac_check_lib_save_LIBS
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7982 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7983 if test "x$ac_cv_lib_posix_remove" = xyes; then :
7984 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7989 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7990 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
7991 if test "x$ac_cv_func_shmat" = xyes; then :
7995 if test $ac_cv_func_shmat = no; then
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7997 $as_echo_n "checking for shmat in -lipc... " >&6; }
7998 if ${ac_cv_lib_ipc_shmat+:} false; then :
7999 $as_echo_n "(cached) " >&6
8000 else
8001 ac_check_lib_save_LIBS=$LIBS
8002 LIBS="-lipc $LIBS"
8003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8004 /* end confdefs.h. */
8006 /* Override any GCC internal prototype to avoid an error.
8007 Use char because int might match the return type of a GCC
8008 builtin and then its argument prototype would still apply. */
8009 #ifdef __cplusplus
8010 extern "C"
8011 #endif
8012 char shmat ();
8014 main ()
8016 return shmat ();
8018 return 0;
8020 _ACEOF
8021 if ac_fn_c_try_link "$LINENO"; then :
8022 ac_cv_lib_ipc_shmat=yes
8023 else
8024 ac_cv_lib_ipc_shmat=no
8026 rm -f core conftest.err conftest.$ac_objext \
8027 conftest$ac_exeext conftest.$ac_ext
8028 LIBS=$ac_check_lib_save_LIBS
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8031 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8032 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
8033 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8039 # Check for libraries that X11R6 Xt/Xaw programs need.
8040 ac_save_LDFLAGS=$LDFLAGS
8041 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8042 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8043 # check for ICE first), but we must link in the order -lSM -lICE or
8044 # we get undefined symbols. So assume we have SM if we have ICE.
8045 # These have to be linked with before -lX11, unlike the other
8046 # libraries we check for below, so use a different variable.
8047 # John Interrante, Karl Berry
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8049 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8050 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
8051 $as_echo_n "(cached) " >&6
8052 else
8053 ac_check_lib_save_LIBS=$LIBS
8054 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8056 /* end confdefs.h. */
8058 /* Override any GCC internal prototype to avoid an error.
8059 Use char because int might match the return type of a GCC
8060 builtin and then its argument prototype would still apply. */
8061 #ifdef __cplusplus
8062 extern "C"
8063 #endif
8064 char IceConnectionNumber ();
8066 main ()
8068 return IceConnectionNumber ();
8070 return 0;
8072 _ACEOF
8073 if ac_fn_c_try_link "$LINENO"; then :
8074 ac_cv_lib_ICE_IceConnectionNumber=yes
8075 else
8076 ac_cv_lib_ICE_IceConnectionNumber=no
8078 rm -f core conftest.err conftest.$ac_objext \
8079 conftest$ac_exeext conftest.$ac_ext
8080 LIBS=$ac_check_lib_save_LIBS
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8083 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8084 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
8085 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8088 LDFLAGS=$ac_save_LDFLAGS
8093 if test "$have_x" = "yes"
8094 then
8095 XLIB="-lX11"
8096 ac_save_CPPFLAGS="$CPPFLAGS"
8097 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8100 $as_echo_n "checking for -lX11... " >&6; }
8101 if ${ac_cv_lib_soname_X11+:} false; then :
8102 $as_echo_n "(cached) " >&6
8103 else
8104 ac_check_soname_save_LIBS=$LIBS
8105 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8107 /* end confdefs.h. */
8109 /* Override any GCC internal prototype to avoid an error.
8110 Use char because int might match the return type of a GCC
8111 builtin and then its argument prototype would still apply. */
8112 #ifdef __cplusplus
8113 extern "C"
8114 #endif
8115 char XCreateWindow ();
8117 main ()
8119 return XCreateWindow ();
8121 return 0;
8123 _ACEOF
8124 if ac_fn_c_try_link "$LINENO"; then :
8125 case "$LIBEXT" in
8126 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8127 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'` ;;
8128 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8129 if test "x$ac_cv_lib_soname_X11" = x; then :
8130 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8131 fi ;;
8132 esac
8134 rm -f core conftest.err conftest.$ac_objext \
8135 conftest$ac_exeext conftest.$ac_ext
8136 LIBS=$ac_check_soname_save_LIBS
8138 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8140 $as_echo "not found" >&6; }
8142 else
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8144 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8146 cat >>confdefs.h <<_ACEOF
8147 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8148 _ACEOF
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8153 $as_echo_n "checking for -lXext... " >&6; }
8154 if ${ac_cv_lib_soname_Xext+:} false; then :
8155 $as_echo_n "(cached) " >&6
8156 else
8157 ac_check_soname_save_LIBS=$LIBS
8158 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8160 /* end confdefs.h. */
8162 /* Override any GCC internal prototype to avoid an error.
8163 Use char because int might match the return type of a GCC
8164 builtin and then its argument prototype would still apply. */
8165 #ifdef __cplusplus
8166 extern "C"
8167 #endif
8168 char XextCreateExtension ();
8170 main ()
8172 return XextCreateExtension ();
8174 return 0;
8176 _ACEOF
8177 if ac_fn_c_try_link "$LINENO"; then :
8178 case "$LIBEXT" in
8179 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8180 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'` ;;
8181 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8182 if test "x$ac_cv_lib_soname_Xext" = x; then :
8183 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8184 fi ;;
8185 esac
8187 rm -f core conftest.err conftest.$ac_objext \
8188 conftest$ac_exeext conftest.$ac_ext
8189 LIBS=$ac_check_soname_save_LIBS
8191 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8193 $as_echo "not found" >&6; }
8195 else
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8197 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8199 cat >>confdefs.h <<_ACEOF
8200 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8201 _ACEOF
8203 XLIB="-lXext $XLIB"
8206 for ac_header in X11/Xlib.h \
8207 X11/XKBlib.h \
8208 X11/Xutil.h \
8209 X11/Xcursor/Xcursor.h \
8210 X11/extensions/shape.h \
8211 X11/extensions/XInput.h \
8212 X11/extensions/XInput2.h \
8213 X11/extensions/XShm.h \
8214 X11/extensions/Xcomposite.h \
8215 X11/extensions/Xinerama.h \
8216 X11/extensions/Xrandr.h \
8217 X11/extensions/Xrender.h \
8218 X11/extensions/xf86vmode.h \
8219 X11/extensions/xf86vmproto.h
8220 do :
8221 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8222 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8223 # include <X11/Xlib.h>
8224 #endif
8225 #ifdef HAVE_X11_XUTIL_H
8226 # include <X11/Xutil.h>
8227 #endif
8229 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8230 cat >>confdefs.h <<_ACEOF
8231 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8232 _ACEOF
8236 done
8239 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8240 then
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8242 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8243 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
8244 $as_echo_n "(cached) " >&6
8245 else
8246 ac_check_lib_save_LIBS=$LIBS
8247 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8249 /* end confdefs.h. */
8251 /* Override any GCC internal prototype to avoid an error.
8252 Use char because int might match the return type of a GCC
8253 builtin and then its argument prototype would still apply. */
8254 #ifdef __cplusplus
8255 extern "C"
8256 #endif
8257 char XkbQueryExtension ();
8259 main ()
8261 return XkbQueryExtension ();
8263 return 0;
8265 _ACEOF
8266 if ac_fn_c_try_link "$LINENO"; then :
8267 ac_cv_lib_X11_XkbQueryExtension=yes
8268 else
8269 ac_cv_lib_X11_XkbQueryExtension=no
8271 rm -f core conftest.err conftest.$ac_objext \
8272 conftest$ac_exeext conftest.$ac_ext
8273 LIBS=$ac_check_lib_save_LIBS
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8276 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8277 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
8279 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8285 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8286 then
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8288 $as_echo_n "checking for -lXcursor... " >&6; }
8289 if ${ac_cv_lib_soname_Xcursor+:} false; then :
8290 $as_echo_n "(cached) " >&6
8291 else
8292 ac_check_soname_save_LIBS=$LIBS
8293 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8295 /* end confdefs.h. */
8297 /* Override any GCC internal prototype to avoid an error.
8298 Use char because int might match the return type of a GCC
8299 builtin and then its argument prototype would still apply. */
8300 #ifdef __cplusplus
8301 extern "C"
8302 #endif
8303 char XcursorImageLoadCursor ();
8305 main ()
8307 return XcursorImageLoadCursor ();
8309 return 0;
8311 _ACEOF
8312 if ac_fn_c_try_link "$LINENO"; then :
8313 case "$LIBEXT" in
8314 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8315 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'` ;;
8316 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8317 if test "x$ac_cv_lib_soname_Xcursor" = x; then :
8318 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8319 fi ;;
8320 esac
8322 rm -f core conftest.err conftest.$ac_objext \
8323 conftest$ac_exeext conftest.$ac_ext
8324 LIBS=$ac_check_soname_save_LIBS
8326 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8328 $as_echo "not found" >&6; }
8330 else
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8332 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8334 cat >>confdefs.h <<_ACEOF
8335 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8336 _ACEOF
8341 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8342 case "x$with_xcursor" in
8343 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8344 xno) ;;
8345 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8346 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8347 esac
8350 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8351 then
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8353 $as_echo_n "checking for -lXi... " >&6; }
8354 if ${ac_cv_lib_soname_Xi+:} false; then :
8355 $as_echo_n "(cached) " >&6
8356 else
8357 ac_check_soname_save_LIBS=$LIBS
8358 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8360 /* end confdefs.h. */
8362 /* Override any GCC internal prototype to avoid an error.
8363 Use char because int might match the return type of a GCC
8364 builtin and then its argument prototype would still apply. */
8365 #ifdef __cplusplus
8366 extern "C"
8367 #endif
8368 char XOpenDevice ();
8370 main ()
8372 return XOpenDevice ();
8374 return 0;
8376 _ACEOF
8377 if ac_fn_c_try_link "$LINENO"; then :
8378 case "$LIBEXT" in
8379 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8380 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'` ;;
8381 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8382 if test "x$ac_cv_lib_soname_Xi" = x; then :
8383 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8384 fi ;;
8385 esac
8387 rm -f core conftest.err conftest.$ac_objext \
8388 conftest$ac_exeext conftest.$ac_ext
8389 LIBS=$ac_check_soname_save_LIBS
8391 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8393 $as_echo "not found" >&6; }
8395 else
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8397 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8399 cat >>confdefs.h <<_ACEOF
8400 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8401 _ACEOF
8406 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8407 case "x$with_xinput" in
8408 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8409 xno) ;;
8410 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8411 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8412 esac
8415 if test "x$ac_cv_lib_soname_Xi" != x
8416 then
8417 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8418 case "x$with_xinput2" in
8419 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8420 xno) ;;
8421 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
8422 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8423 esac
8427 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8428 then
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8430 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8431 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
8432 $as_echo_n "(cached) " >&6
8433 else
8434 ac_check_lib_save_LIBS=$LIBS
8435 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8437 /* end confdefs.h. */
8439 /* Override any GCC internal prototype to avoid an error.
8440 Use char because int might match the return type of a GCC
8441 builtin and then its argument prototype would still apply. */
8442 #ifdef __cplusplus
8443 extern "C"
8444 #endif
8445 char XShmQueryExtension ();
8447 main ()
8449 return XShmQueryExtension ();
8451 return 0;
8453 _ACEOF
8454 if ac_fn_c_try_link "$LINENO"; then :
8455 ac_cv_lib_Xext_XShmQueryExtension=yes
8456 else
8457 ac_cv_lib_Xext_XShmQueryExtension=no
8459 rm -f core conftest.err conftest.$ac_objext \
8460 conftest$ac_exeext conftest.$ac_ext
8461 LIBS=$ac_check_lib_save_LIBS
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8464 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8465 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
8467 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8472 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8473 case "x$with_xshm" in
8474 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8475 xno) ;;
8476 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8477 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8478 esac
8481 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8482 then
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8484 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8485 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
8486 $as_echo_n "(cached) " >&6
8487 else
8488 ac_check_lib_save_LIBS=$LIBS
8489 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8491 /* end confdefs.h. */
8493 /* Override any GCC internal prototype to avoid an error.
8494 Use char because int might match the return type of a GCC
8495 builtin and then its argument prototype would still apply. */
8496 #ifdef __cplusplus
8497 extern "C"
8498 #endif
8499 char XShapeQueryExtension ();
8501 main ()
8503 return XShapeQueryExtension ();
8505 return 0;
8507 _ACEOF
8508 if ac_fn_c_try_link "$LINENO"; then :
8509 ac_cv_lib_Xext_XShapeQueryExtension=yes
8510 else
8511 ac_cv_lib_Xext_XShapeQueryExtension=no
8513 rm -f core conftest.err conftest.$ac_objext \
8514 conftest$ac_exeext conftest.$ac_ext
8515 LIBS=$ac_check_lib_save_LIBS
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8518 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8519 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
8521 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8526 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8527 case "x$with_xshape" in
8528 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8529 xno) ;;
8530 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8531 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8532 esac
8535 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8536 then
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8538 $as_echo_n "checking for -lXxf86vm... " >&6; }
8539 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
8540 $as_echo_n "(cached) " >&6
8541 else
8542 ac_check_soname_save_LIBS=$LIBS
8543 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h. */
8547 /* Override any GCC internal prototype to avoid an error.
8548 Use char because int might match the return type of a GCC
8549 builtin and then its argument prototype would still apply. */
8550 #ifdef __cplusplus
8551 extern "C"
8552 #endif
8553 char XF86VidModeQueryExtension ();
8555 main ()
8557 return XF86VidModeQueryExtension ();
8559 return 0;
8561 _ACEOF
8562 if ac_fn_c_try_link "$LINENO"; then :
8563 case "$LIBEXT" in
8564 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8565 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'` ;;
8566 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8567 if test "x$ac_cv_lib_soname_Xxf86vm" = x; then :
8568 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8569 fi ;;
8570 esac
8572 rm -f core conftest.err conftest.$ac_objext \
8573 conftest$ac_exeext conftest.$ac_ext
8574 LIBS=$ac_check_soname_save_LIBS
8576 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8578 $as_echo "not found" >&6; }
8580 else
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8582 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8584 cat >>confdefs.h <<_ACEOF
8585 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8586 _ACEOF
8591 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8592 case "x$with_xxf86vm" in
8593 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8594 xno) ;;
8595 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8596 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8597 esac
8600 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"
8601 then
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8603 $as_echo_n "checking for -lXrender... " >&6; }
8604 if ${ac_cv_lib_soname_Xrender+:} false; then :
8605 $as_echo_n "(cached) " >&6
8606 else
8607 ac_check_soname_save_LIBS=$LIBS
8608 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8610 /* end confdefs.h. */
8612 /* Override any GCC internal prototype to avoid an error.
8613 Use char because int might match the return type of a GCC
8614 builtin and then its argument prototype would still apply. */
8615 #ifdef __cplusplus
8616 extern "C"
8617 #endif
8618 char XRenderQueryExtension ();
8620 main ()
8622 return XRenderQueryExtension ();
8624 return 0;
8626 _ACEOF
8627 if ac_fn_c_try_link "$LINENO"; then :
8628 case "$LIBEXT" in
8629 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8630 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'` ;;
8631 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8632 if test "x$ac_cv_lib_soname_Xrender" = x; then :
8633 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8634 fi ;;
8635 esac
8637 rm -f core conftest.err conftest.$ac_objext \
8638 conftest$ac_exeext conftest.$ac_ext
8639 LIBS=$ac_check_soname_save_LIBS
8641 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8643 $as_echo "not found" >&6; }
8645 else
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8647 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8649 cat >>confdefs.h <<_ACEOF
8650 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8651 _ACEOF
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8654 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8655 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
8656 $as_echo_n "(cached) " >&6
8657 else
8658 ac_check_lib_save_LIBS=$LIBS
8659 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8661 /* end confdefs.h. */
8663 /* Override any GCC internal prototype to avoid an error.
8664 Use char because int might match the return type of a GCC
8665 builtin and then its argument prototype would still apply. */
8666 #ifdef __cplusplus
8667 extern "C"
8668 #endif
8669 char XRenderSetPictureTransform ();
8671 main ()
8673 return XRenderSetPictureTransform ();
8675 return 0;
8677 _ACEOF
8678 if ac_fn_c_try_link "$LINENO"; then :
8679 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8680 else
8681 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8683 rm -f core conftest.err conftest.$ac_objext \
8684 conftest$ac_exeext conftest.$ac_ext
8685 LIBS=$ac_check_lib_save_LIBS
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8688 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8689 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
8691 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8696 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8697 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
8698 $as_echo_n "(cached) " >&6
8699 else
8700 ac_check_lib_save_LIBS=$LIBS
8701 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8703 /* end confdefs.h. */
8705 /* Override any GCC internal prototype to avoid an error.
8706 Use char because int might match the return type of a GCC
8707 builtin and then its argument prototype would still apply. */
8708 #ifdef __cplusplus
8709 extern "C"
8710 #endif
8711 char XRenderCreateLinearGradient ();
8713 main ()
8715 return XRenderCreateLinearGradient ();
8717 return 0;
8719 _ACEOF
8720 if ac_fn_c_try_link "$LINENO"; then :
8721 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
8722 else
8723 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
8725 rm -f core conftest.err conftest.$ac_objext \
8726 conftest$ac_exeext conftest.$ac_ext
8727 LIBS=$ac_check_lib_save_LIBS
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8730 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8731 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
8733 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8740 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8741 case "x$with_xrender" in
8742 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8743 xno) ;;
8744 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
8745 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8746 esac
8749 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8750 then
8751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8752 /* end confdefs.h. */
8753 #include <X11/Xlib.h>
8754 #include <X11/extensions/Xrandr.h>
8756 main ()
8758 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8760 return 0;
8762 _ACEOF
8763 if ac_fn_c_try_compile "$LINENO"; then :
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8765 $as_echo_n "checking for -lXrandr... " >&6; }
8766 if ${ac_cv_lib_soname_Xrandr+:} false; then :
8767 $as_echo_n "(cached) " >&6
8768 else
8769 ac_check_soname_save_LIBS=$LIBS
8770 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8772 /* end confdefs.h. */
8774 /* Override any GCC internal prototype to avoid an error.
8775 Use char because int might match the return type of a GCC
8776 builtin and then its argument prototype would still apply. */
8777 #ifdef __cplusplus
8778 extern "C"
8779 #endif
8780 char XRRQueryExtension ();
8782 main ()
8784 return XRRQueryExtension ();
8786 return 0;
8788 _ACEOF
8789 if ac_fn_c_try_link "$LINENO"; then :
8790 case "$LIBEXT" in
8791 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8792 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'` ;;
8793 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8794 if test "x$ac_cv_lib_soname_Xrandr" = x; then :
8795 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8796 fi ;;
8797 esac
8799 rm -f core conftest.err conftest.$ac_objext \
8800 conftest$ac_exeext conftest.$ac_ext
8801 LIBS=$ac_check_soname_save_LIBS
8803 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8805 $as_echo "not found" >&6; }
8807 else
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8809 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8811 cat >>confdefs.h <<_ACEOF
8812 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8813 _ACEOF
8815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8816 /* end confdefs.h. */
8817 #include <X11/Xlib.h>
8818 #include <X11/extensions/Xrandr.h>
8820 main ()
8822 static typeof(XRRGetScreenResources) *f; if (f) return 0;
8824 return 0;
8826 _ACEOF
8827 if ac_fn_c_try_compile "$LINENO"; then :
8829 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
8832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8837 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8838 case "x$with_xrandr" in
8839 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8840 xno) ;;
8841 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8842 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8843 esac
8846 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8847 then
8848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8849 /* end confdefs.h. */
8850 #include <X11/Xlib.h>
8851 #include <X11/extensions/Xinerama.h>
8853 main ()
8855 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8857 return 0;
8859 _ACEOF
8860 if ac_fn_c_try_compile "$LINENO"; then :
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8862 $as_echo_n "checking for -lXinerama... " >&6; }
8863 if ${ac_cv_lib_soname_Xinerama+:} false; then :
8864 $as_echo_n "(cached) " >&6
8865 else
8866 ac_check_soname_save_LIBS=$LIBS
8867 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8869 /* end confdefs.h. */
8871 /* Override any GCC internal prototype to avoid an error.
8872 Use char because int might match the return type of a GCC
8873 builtin and then its argument prototype would still apply. */
8874 #ifdef __cplusplus
8875 extern "C"
8876 #endif
8877 char XineramaQueryScreens ();
8879 main ()
8881 return XineramaQueryScreens ();
8883 return 0;
8885 _ACEOF
8886 if ac_fn_c_try_link "$LINENO"; then :
8887 case "$LIBEXT" in
8888 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8889 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'` ;;
8890 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8891 if test "x$ac_cv_lib_soname_Xinerama" = x; then :
8892 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8893 fi ;;
8894 esac
8896 rm -f core conftest.err conftest.$ac_objext \
8897 conftest$ac_exeext conftest.$ac_ext
8898 LIBS=$ac_check_soname_save_LIBS
8900 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8902 $as_echo "not found" >&6; }
8904 else
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8906 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8908 cat >>confdefs.h <<_ACEOF
8909 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8910 _ACEOF
8915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8917 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8918 case "x$with_xinerama" in
8919 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8920 xno) ;;
8921 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8922 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8923 esac
8926 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8927 then
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8929 $as_echo_n "checking for -lXcomposite... " >&6; }
8930 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
8931 $as_echo_n "(cached) " >&6
8932 else
8933 ac_check_soname_save_LIBS=$LIBS
8934 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8936 /* end confdefs.h. */
8938 /* Override any GCC internal prototype to avoid an error.
8939 Use char because int might match the return type of a GCC
8940 builtin and then its argument prototype would still apply. */
8941 #ifdef __cplusplus
8942 extern "C"
8943 #endif
8944 char XCompositeRedirectWindow ();
8946 main ()
8948 return XCompositeRedirectWindow ();
8950 return 0;
8952 _ACEOF
8953 if ac_fn_c_try_link "$LINENO"; then :
8954 case "$LIBEXT" in
8955 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8956 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'` ;;
8957 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8958 if test "x$ac_cv_lib_soname_Xcomposite" = x; then :
8959 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8960 fi ;;
8961 esac
8963 rm -f core conftest.err conftest.$ac_objext \
8964 conftest$ac_exeext conftest.$ac_ext
8965 LIBS=$ac_check_soname_save_LIBS
8967 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8969 $as_echo "not found" >&6; }
8971 else
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8973 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8975 cat >>confdefs.h <<_ACEOF
8976 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8977 _ACEOF
8982 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8983 case "x$with_xcomposite" in
8984 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8985 xno) ;;
8986 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8987 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8988 esac
8991 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8992 #include <X11/Xlib.h>
8993 #endif
8995 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
8997 cat >>confdefs.h <<_ACEOF
8998 #define HAVE_XICCALLBACK_CALLBACK 1
8999 _ACEOF
9003 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9004 #include <X11/Xlib.h>
9005 #endif
9007 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
9009 cat >>confdefs.h <<_ACEOF
9010 #define HAVE_XEVENT_XCOOKIE 1
9011 _ACEOF
9018 opengl_msg=""
9019 if test "x$with_opengl" != "xno"
9020 then
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9022 $as_echo_n "checking for -lGL... " >&6; }
9023 if ${ac_cv_lib_soname_GL+:} false; then :
9024 $as_echo_n "(cached) " >&6
9025 else
9026 ac_check_soname_save_LIBS=$LIBS
9027 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9029 /* end confdefs.h. */
9031 /* Override any GCC internal prototype to avoid an error.
9032 Use char because int might match the return type of a GCC
9033 builtin and then its argument prototype would still apply. */
9034 #ifdef __cplusplus
9035 extern "C"
9036 #endif
9037 char glXCreateContext ();
9039 main ()
9041 return glXCreateContext ();
9043 return 0;
9045 _ACEOF
9046 if ac_fn_c_try_link "$LINENO"; then :
9047 case "$LIBEXT" in
9048 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9049 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'` ;;
9050 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9051 if test "x$ac_cv_lib_soname_GL" = x; then :
9052 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9053 fi ;;
9054 esac
9056 rm -f core conftest.err conftest.$ac_objext \
9057 conftest$ac_exeext conftest.$ac_ext
9058 LIBS=$ac_check_soname_save_LIBS
9060 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9062 $as_echo "not found" >&6; }
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9064 $as_echo_n "checking for -lGL... " >&6; }
9065 if ${ac_cv_lib_soname_GL+:} false; then :
9066 $as_echo_n "(cached) " >&6
9067 else
9068 ac_check_soname_save_LIBS=$LIBS
9069 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"
9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9073 /* Override any GCC internal prototype to avoid an error.
9074 Use char because int might match the return type of a GCC
9075 builtin and then its argument prototype would still apply. */
9076 #ifdef __cplusplus
9077 extern "C"
9078 #endif
9079 char glXCreateContext ();
9081 main ()
9083 return glXCreateContext ();
9085 return 0;
9087 _ACEOF
9088 if ac_fn_c_try_link "$LINENO"; then :
9089 case "$LIBEXT" in
9090 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9091 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'` ;;
9092 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9093 if test "x$ac_cv_lib_soname_GL" = x; then :
9094 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9095 fi ;;
9096 esac
9098 rm -f core conftest.err conftest.$ac_objext \
9099 conftest$ac_exeext conftest.$ac_ext
9100 LIBS=$ac_check_soname_save_LIBS
9102 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9104 $as_echo "not found" >&6; }
9105 if test -f /usr/X11R6/lib/libGL.a
9106 then
9107 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
9108 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9109 else
9110 opengl_msg="No OpenGL library found on this system."
9112 else
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9114 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9116 cat >>confdefs.h <<_ACEOF
9117 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9118 _ACEOF
9120 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"
9122 else
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9124 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9126 cat >>confdefs.h <<_ACEOF
9127 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9128 _ACEOF
9130 OPENGL_LIBS="-lGL"
9132 if test "x$with_glu" != "xno"
9133 then
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9135 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9136 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
9137 $as_echo_n "(cached) " >&6
9138 else
9139 ac_check_lib_save_LIBS=$LIBS
9140 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9142 /* end confdefs.h. */
9144 /* Override any GCC internal prototype to avoid an error.
9145 Use char because int might match the return type of a GCC
9146 builtin and then its argument prototype would still apply. */
9147 #ifdef __cplusplus
9148 extern "C"
9149 #endif
9150 char gluLookAt ();
9152 main ()
9154 return gluLookAt ();
9156 return 0;
9158 _ACEOF
9159 if ac_fn_c_try_link "$LINENO"; then :
9160 ac_cv_lib_GLU_gluLookAt=yes
9161 else
9162 ac_cv_lib_GLU_gluLookAt=no
9164 rm -f core conftest.err conftest.$ac_objext \
9165 conftest$ac_exeext conftest.$ac_ext
9166 LIBS=$ac_check_lib_save_LIBS
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9169 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9170 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
9174 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
9175 case "x$with_glu" in
9176 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9177 xno) ;;
9178 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
9179 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9180 esac
9184 if test "x$with_osmesa" != "xno"
9185 then
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9187 $as_echo_n "checking for -lOSMesa... " >&6; }
9188 if ${ac_cv_lib_soname_OSMesa+:} false; then :
9189 $as_echo_n "(cached) " >&6
9190 else
9191 ac_check_soname_save_LIBS=$LIBS
9192 LIBS="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9194 /* end confdefs.h. */
9196 /* Override any GCC internal prototype to avoid an error.
9197 Use char because int might match the return type of a GCC
9198 builtin and then its argument prototype would still apply. */
9199 #ifdef __cplusplus
9200 extern "C"
9201 #endif
9202 char glAccum ();
9204 main ()
9206 return glAccum ();
9208 return 0;
9210 _ACEOF
9211 if ac_fn_c_try_link "$LINENO"; then :
9212 case "$LIBEXT" in
9213 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9214 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'` ;;
9215 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9216 if test "x$ac_cv_lib_soname_OSMesa" = x; then :
9217 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9218 fi ;;
9219 esac
9221 rm -f core conftest.err conftest.$ac_objext \
9222 conftest$ac_exeext conftest.$ac_ext
9223 LIBS=$ac_check_soname_save_LIBS
9225 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9227 $as_echo "not found" >&6; }
9229 else
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9231 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9233 cat >>confdefs.h <<_ACEOF
9234 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9235 _ACEOF
9239 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9240 case "x$with_osmesa" in
9241 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9242 xno) ;;
9243 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9244 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9245 esac
9249 if test -n "$opengl_msg"; then :
9250 case "x$with_opengl" in
9251 x) as_fn_append wine_warnings "|$opengl_msg
9252 OpenGL and Direct3D won't be supported." ;;
9253 xno) ;;
9254 *) as_fn_error $? "$opengl_msg
9255 OpenGL and Direct3D won't be supported.
9256 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9257 esac
9260 CPPFLAGS="$ac_save_CPPFLAGS"
9261 else
9262 XLIB=""
9263 X_CFLAGS=""
9264 X_LIBS=""
9265 enable_winex11_drv=${enable_winex11_drv:-no}
9267 if test "x$XLIB" = "x"; then :
9268 case "x$with_x" in
9269 xno) ;;
9270 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
9271 without X support, which probably isn't what you want. You will need
9272 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9273 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9274 esac
9277 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
9279 if test "$ac_cv_header_CL_cl_h" = "yes"
9280 then
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9282 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9283 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
9284 $as_echo_n "(cached) " >&6
9285 else
9286 ac_check_lib_save_LIBS=$LIBS
9287 LIBS="-lOpenCL $LIBS"
9288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9289 /* end confdefs.h. */
9291 /* Override any GCC internal prototype to avoid an error.
9292 Use char because int might match the return type of a GCC
9293 builtin and then its argument prototype would still apply. */
9294 #ifdef __cplusplus
9295 extern "C"
9296 #endif
9297 char clGetPlatformInfo ();
9299 main ()
9301 return clGetPlatformInfo ();
9303 return 0;
9305 _ACEOF
9306 if ac_fn_c_try_link "$LINENO"; then :
9307 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9308 else
9309 ac_cv_lib_OpenCL_clGetPlatformInfo=no
9311 rm -f core conftest.err conftest.$ac_objext \
9312 conftest$ac_exeext conftest.$ac_ext
9313 LIBS=$ac_check_lib_save_LIBS
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9316 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9317 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
9318 LIBOPENCL="-lOpenCL"
9323 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
9324 case "x$with_opencl" in
9325 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9326 xno) ;;
9327 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9328 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9329 esac
9331 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
9334 XML2LIBS=""
9336 XML2INCL=""
9338 XSLTINCL=""
9340 if test "x$with_xml" != "xno"
9341 then
9342 ac_save_CPPFLAGS="$CPPFLAGS"
9343 if test "$PKG_CONFIG" != "false"
9344 then
9345 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9346 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9347 else
9348 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
9349 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
9351 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
9352 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
9353 do :
9354 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9355 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9356 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9357 cat >>confdefs.h <<_ACEOF
9358 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9359 _ACEOF
9363 done
9365 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"
9366 then
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9368 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9369 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
9370 $as_echo_n "(cached) " >&6
9371 else
9372 ac_check_lib_save_LIBS=$LIBS
9373 LIBS="-lxml2 $ac_xml_libs $LIBS"
9374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9375 /* end confdefs.h. */
9377 /* Override any GCC internal prototype to avoid an error.
9378 Use char because int might match the return type of a GCC
9379 builtin and then its argument prototype would still apply. */
9380 #ifdef __cplusplus
9381 extern "C"
9382 #endif
9383 char xmlParseMemory ();
9385 main ()
9387 return xmlParseMemory ();
9389 return 0;
9391 _ACEOF
9392 if ac_fn_c_try_link "$LINENO"; then :
9393 ac_cv_lib_xml2_xmlParseMemory=yes
9394 else
9395 ac_cv_lib_xml2_xmlParseMemory=no
9397 rm -f core conftest.err conftest.$ac_objext \
9398 conftest$ac_exeext conftest.$ac_ext
9399 LIBS=$ac_check_lib_save_LIBS
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9402 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9403 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
9405 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9407 XML2LIBS="$ac_xml_libs"
9408 XML2INCL="$ac_xml_cflags"
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9412 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9413 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
9414 $as_echo_n "(cached) " >&6
9415 else
9416 ac_check_lib_save_LIBS=$LIBS
9417 LIBS="-lxml2 $ac_xml_libs $LIBS"
9418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9419 /* end confdefs.h. */
9421 /* Override any GCC internal prototype to avoid an error.
9422 Use char because int might match the return type of a GCC
9423 builtin and then its argument prototype would still apply. */
9424 #ifdef __cplusplus
9425 extern "C"
9426 #endif
9427 char xmlReadMemory ();
9429 main ()
9431 return xmlReadMemory ();
9433 return 0;
9435 _ACEOF
9436 if ac_fn_c_try_link "$LINENO"; then :
9437 ac_cv_lib_xml2_xmlReadMemory=yes
9438 else
9439 ac_cv_lib_xml2_xmlReadMemory=no
9441 rm -f core conftest.err conftest.$ac_objext \
9442 conftest$ac_exeext conftest.$ac_ext
9443 LIBS=$ac_check_lib_save_LIBS
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9446 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9447 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
9449 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9454 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9455 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
9456 $as_echo_n "(cached) " >&6
9457 else
9458 ac_check_lib_save_LIBS=$LIBS
9459 LIBS="-lxml2 $ac_xml_libs $LIBS"
9460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9461 /* end confdefs.h. */
9463 /* Override any GCC internal prototype to avoid an error.
9464 Use char because int might match the return type of a GCC
9465 builtin and then its argument prototype would still apply. */
9466 #ifdef __cplusplus
9467 extern "C"
9468 #endif
9469 char xmlNewDocPI ();
9471 main ()
9473 return xmlNewDocPI ();
9475 return 0;
9477 _ACEOF
9478 if ac_fn_c_try_link "$LINENO"; then :
9479 ac_cv_lib_xml2_xmlNewDocPI=yes
9480 else
9481 ac_cv_lib_xml2_xmlNewDocPI=no
9483 rm -f core conftest.err conftest.$ac_objext \
9484 conftest$ac_exeext conftest.$ac_ext
9485 LIBS=$ac_check_lib_save_LIBS
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9488 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9489 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
9491 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9496 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9497 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
9498 $as_echo_n "(cached) " >&6
9499 else
9500 ac_check_lib_save_LIBS=$LIBS
9501 LIBS="-lxml2 $ac_xml_libs $LIBS"
9502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9503 /* end confdefs.h. */
9505 /* Override any GCC internal prototype to avoid an error.
9506 Use char because int might match the return type of a GCC
9507 builtin and then its argument prototype would still apply. */
9508 #ifdef __cplusplus
9509 extern "C"
9510 #endif
9511 char xmlSchemaSetParserStructuredErrors ();
9513 main ()
9515 return xmlSchemaSetParserStructuredErrors ();
9517 return 0;
9519 _ACEOF
9520 if ac_fn_c_try_link "$LINENO"; then :
9521 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
9522 else
9523 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
9525 rm -f core conftest.err conftest.$ac_objext \
9526 conftest$ac_exeext conftest.$ac_ext
9527 LIBS=$ac_check_lib_save_LIBS
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9530 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9531 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
9533 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9538 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9539 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
9540 $as_echo_n "(cached) " >&6
9541 else
9542 ac_check_lib_save_LIBS=$LIBS
9543 LIBS="-lxml2 $ac_xml_libs $LIBS"
9544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9545 /* end confdefs.h. */
9547 /* Override any GCC internal prototype to avoid an error.
9548 Use char because int might match the return type of a GCC
9549 builtin and then its argument prototype would still apply. */
9550 #ifdef __cplusplus
9551 extern "C"
9552 #endif
9553 char xmlSchemaSetValidStructuredErrors ();
9555 main ()
9557 return xmlSchemaSetValidStructuredErrors ();
9559 return 0;
9561 _ACEOF
9562 if ac_fn_c_try_link "$LINENO"; then :
9563 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
9564 else
9565 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
9567 rm -f core conftest.err conftest.$ac_objext \
9568 conftest$ac_exeext conftest.$ac_ext
9569 LIBS=$ac_check_lib_save_LIBS
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9572 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9573 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
9575 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9580 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9581 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
9582 $as_echo_n "(cached) " >&6
9583 else
9584 ac_check_lib_save_LIBS=$LIBS
9585 LIBS="-lxml2 $ac_xml_libs $LIBS"
9586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9587 /* end confdefs.h. */
9589 /* Override any GCC internal prototype to avoid an error.
9590 Use char because int might match the return type of a GCC
9591 builtin and then its argument prototype would still apply. */
9592 #ifdef __cplusplus
9593 extern "C"
9594 #endif
9595 char xmlFirstElementChild ();
9597 main ()
9599 return xmlFirstElementChild ();
9601 return 0;
9603 _ACEOF
9604 if ac_fn_c_try_link "$LINENO"; then :
9605 ac_cv_lib_xml2_xmlFirstElementChild=yes
9606 else
9607 ac_cv_lib_xml2_xmlFirstElementChild=no
9609 rm -f core conftest.err conftest.$ac_objext \
9610 conftest$ac_exeext conftest.$ac_ext
9611 LIBS=$ac_check_lib_save_LIBS
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9614 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9615 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
9617 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9621 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9623 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
9625 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9630 CPPFLAGS="$ac_save_CPPFLAGS"
9632 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9633 case "x$with_xml" in
9634 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9635 xno) ;;
9636 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9637 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9638 esac
9641 if test "x$with_xslt" != "xno"
9642 then
9643 if test "$PKG_CONFIG" != "false"
9644 then
9645 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9646 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9647 else
9648 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
9649 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
9651 ac_save_CPPFLAGS="$CPPFLAGS"
9652 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9653 for ac_header in libxslt/pattern.h libxslt/transform.h
9654 do :
9655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9656 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9657 # include <libxslt/pattern.h>
9658 #endif
9660 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9661 cat >>confdefs.h <<_ACEOF
9662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9663 _ACEOF
9667 done
9669 CPPFLAGS="$ac_save_CPPFLAGS"
9670 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9671 then
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9673 $as_echo_n "checking for -lxslt... " >&6; }
9674 if ${ac_cv_lib_soname_xslt+:} false; then :
9675 $as_echo_n "(cached) " >&6
9676 else
9677 ac_check_soname_save_LIBS=$LIBS
9678 LIBS="-lxslt $ac_xslt_libs $LIBS"
9679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9680 /* end confdefs.h. */
9682 /* Override any GCC internal prototype to avoid an error.
9683 Use char because int might match the return type of a GCC
9684 builtin and then its argument prototype would still apply. */
9685 #ifdef __cplusplus
9686 extern "C"
9687 #endif
9688 char xsltCompilePattern ();
9690 main ()
9692 return xsltCompilePattern ();
9694 return 0;
9696 _ACEOF
9697 if ac_fn_c_try_link "$LINENO"; then :
9698 case "$LIBEXT" in
9699 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9700 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'` ;;
9701 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9702 if test "x$ac_cv_lib_soname_xslt" = x; then :
9703 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9704 fi ;;
9705 esac
9707 rm -f core conftest.err conftest.$ac_objext \
9708 conftest$ac_exeext conftest.$ac_ext
9709 LIBS=$ac_check_soname_save_LIBS
9711 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9713 $as_echo "not found" >&6; }
9715 else
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9717 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9719 cat >>confdefs.h <<_ACEOF
9720 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9721 _ACEOF
9723 XSLTINCL="$ac_xslt_cflags"
9727 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9728 case "x$with_xslt" in
9729 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9730 xno) ;;
9731 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
9732 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9733 esac
9736 if test "x$with_dbus" != "xno"
9737 then
9738 ac_save_CPPFLAGS="$CPPFLAGS"
9739 if test "$PKG_CONFIG" != "false"
9740 then
9741 ac_dbus_libs="`$PKG_CONFIG --libs dbus-1 2>/dev/null`"
9742 ac_dbus_cflags="`$PKG_CONFIG --cflags dbus-1 2>/dev/null`"
9743 CPPFLAGS="$CPPFLAGS $ac_dbus_cflags"
9745 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9746 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
9748 $as_echo_n "checking for -ldbus-1... " >&6; }
9749 if ${ac_cv_lib_soname_dbus_1+:} false; then :
9750 $as_echo_n "(cached) " >&6
9751 else
9752 ac_check_soname_save_LIBS=$LIBS
9753 LIBS="-ldbus-1 $ac_dbus_libs $LIBS"
9754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9755 /* end confdefs.h. */
9757 /* Override any GCC internal prototype to avoid an error.
9758 Use char because int might match the return type of a GCC
9759 builtin and then its argument prototype would still apply. */
9760 #ifdef __cplusplus
9761 extern "C"
9762 #endif
9763 char dbus_connection_close ();
9765 main ()
9767 return dbus_connection_close ();
9769 return 0;
9771 _ACEOF
9772 if ac_fn_c_try_link "$LINENO"; then :
9773 case "$LIBEXT" in
9774 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9775 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'` ;;
9776 *) ac_cv_lib_soname_dbus_1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libdbus-1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libdbus-1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9777 if test "x$ac_cv_lib_soname_dbus_1" = x; then :
9778 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9779 fi ;;
9780 esac
9782 rm -f core conftest.err conftest.$ac_objext \
9783 conftest$ac_exeext conftest.$ac_ext
9784 LIBS=$ac_check_soname_save_LIBS
9786 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9788 $as_echo "not found" >&6; }
9790 else
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
9792 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
9794 cat >>confdefs.h <<_ACEOF
9795 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
9796 _ACEOF
9798 DBUSINCL="$ac_dbus_cflags"
9804 CPPFLAGS="$ac_save_CPPFLAGS"
9806 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
9807 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9808 case "x$with_dbus" in
9809 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9810 xno) ;;
9811 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
9812 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
9813 esac
9816 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
9817 then
9818 ac_save_CPPFLAGS="$CPPFLAGS"
9819 if test "$PKG_CONFIG" != "false"
9820 then
9821 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9822 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9823 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9825 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
9826 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9828 $as_echo_n "checking for -lhal... " >&6; }
9829 if ${ac_cv_lib_soname_hal+:} false; then :
9830 $as_echo_n "(cached) " >&6
9831 else
9832 ac_check_soname_save_LIBS=$LIBS
9833 LIBS="-lhal $ac_hal_libs $LIBS"
9834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9835 /* end confdefs.h. */
9837 /* Override any GCC internal prototype to avoid an error.
9838 Use char because int might match the return type of a GCC
9839 builtin and then its argument prototype would still apply. */
9840 #ifdef __cplusplus
9841 extern "C"
9842 #endif
9843 char libhal_ctx_new ();
9845 main ()
9847 return libhal_ctx_new ();
9849 return 0;
9851 _ACEOF
9852 if ac_fn_c_try_link "$LINENO"; then :
9853 case "$LIBEXT" in
9854 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9855 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'` ;;
9856 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9857 if test "x$ac_cv_lib_soname_hal" = x; then :
9858 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9859 fi ;;
9860 esac
9862 rm -f core conftest.err conftest.$ac_objext \
9863 conftest$ac_exeext conftest.$ac_ext
9864 LIBS=$ac_check_soname_save_LIBS
9866 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9868 $as_echo "not found" >&6; }
9870 else
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9872 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9874 cat >>confdefs.h <<_ACEOF
9875 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9876 _ACEOF
9878 HALINCL="$ac_hal_cflags"
9884 CPPFLAGS="$ac_save_CPPFLAGS"
9885 if test "x$ac_cv_lib_soname_hal" = "x" -a \
9886 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9887 case "x$with_hal" in
9888 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
9889 xno) ;;
9890 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
9891 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9892 esac
9896 if test "x$with_gnutls" != "xno"
9897 then
9898 ac_save_CPPFLAGS="$CPPFLAGS"
9899 if test "$PKG_CONFIG" != "false"
9900 then
9901 ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9902 ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9903 CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
9905 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9906 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9909 #include <gnutls/gnutls.h>
9911 main ()
9913 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
9915 return 0;
9917 _ACEOF
9918 if ac_fn_c_try_compile "$LINENO"; then :
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9920 $as_echo_n "checking for -lgnutls... " >&6; }
9921 if ${ac_cv_lib_soname_gnutls+:} false; then :
9922 $as_echo_n "(cached) " >&6
9923 else
9924 ac_check_soname_save_LIBS=$LIBS
9925 LIBS="-lgnutls $ac_gnutls_libs $LIBS"
9926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9927 /* end confdefs.h. */
9929 /* Override any GCC internal prototype to avoid an error.
9930 Use char because int might match the return type of a GCC
9931 builtin and then its argument prototype would still apply. */
9932 #ifdef __cplusplus
9933 extern "C"
9934 #endif
9935 char gnutls_global_init ();
9937 main ()
9939 return gnutls_global_init ();
9941 return 0;
9943 _ACEOF
9944 if ac_fn_c_try_link "$LINENO"; then :
9945 case "$LIBEXT" in
9946 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9947 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'` ;;
9948 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9949 if test "x$ac_cv_lib_soname_gnutls" = x; then :
9950 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9951 fi ;;
9952 esac
9954 rm -f core conftest.err conftest.$ac_objext \
9955 conftest$ac_exeext conftest.$ac_ext
9956 LIBS=$ac_check_soname_save_LIBS
9958 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9960 $as_echo "not found" >&6; }
9962 else
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9964 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9966 cat >>confdefs.h <<_ACEOF
9967 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9968 _ACEOF
9970 GNUTLSINCL="$ac_gnutls_cflags"
9974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9978 CPPFLAGS="$ac_save_CPPFLAGS"
9980 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9981 case "x$with_gnutls" in
9982 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9983 xno) ;;
9984 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
9985 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9986 esac
9989 CURSESLIBS=""
9990 if test "$ac_cv_header_ncurses_h" = "yes"
9991 then
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9993 $as_echo_n "checking for -lncurses... " >&6; }
9994 if ${ac_cv_lib_soname_ncurses+:} false; then :
9995 $as_echo_n "(cached) " >&6
9996 else
9997 ac_check_soname_save_LIBS=$LIBS
9998 LIBS="-lncurses $LIBS"
9999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10000 /* end confdefs.h. */
10002 /* Override any GCC internal prototype to avoid an error.
10003 Use char because int might match the return type of a GCC
10004 builtin and then its argument prototype would still apply. */
10005 #ifdef __cplusplus
10006 extern "C"
10007 #endif
10008 char waddch ();
10010 main ()
10012 return waddch ();
10014 return 0;
10016 _ACEOF
10017 if ac_fn_c_try_link "$LINENO"; then :
10018 case "$LIBEXT" in
10019 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10020 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'` ;;
10021 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10022 if test "x$ac_cv_lib_soname_ncurses" = x; then :
10023 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10024 fi ;;
10025 esac
10027 rm -f core conftest.err conftest.$ac_objext \
10028 conftest$ac_exeext conftest.$ac_ext
10029 LIBS=$ac_check_soname_save_LIBS
10031 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10033 $as_echo "not found" >&6; }
10035 else
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10037 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10039 cat >>confdefs.h <<_ACEOF
10040 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10041 _ACEOF
10043 CURSESLIBS="-lncurses"
10045 elif test "$ac_cv_header_curses_h" = "yes"
10046 then
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10048 $as_echo_n "checking for -lcurses... " >&6; }
10049 if ${ac_cv_lib_soname_curses+:} false; then :
10050 $as_echo_n "(cached) " >&6
10051 else
10052 ac_check_soname_save_LIBS=$LIBS
10053 LIBS="-lcurses $LIBS"
10054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10055 /* end confdefs.h. */
10057 /* Override any GCC internal prototype to avoid an error.
10058 Use char because int might match the return type of a GCC
10059 builtin and then its argument prototype would still apply. */
10060 #ifdef __cplusplus
10061 extern "C"
10062 #endif
10063 char waddch ();
10065 main ()
10067 return waddch ();
10069 return 0;
10071 _ACEOF
10072 if ac_fn_c_try_link "$LINENO"; then :
10073 case "$LIBEXT" in
10074 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10075 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'` ;;
10076 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10077 if test "x$ac_cv_lib_soname_curses" = x; then :
10078 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10079 fi ;;
10080 esac
10082 rm -f core conftest.err conftest.$ac_objext \
10083 conftest$ac_exeext conftest.$ac_ext
10084 LIBS=$ac_check_soname_save_LIBS
10086 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10088 $as_echo "not found" >&6; }
10090 else
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10092 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10094 cat >>confdefs.h <<_ACEOF
10095 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10096 _ACEOF
10098 CURSESLIBS="-lcurses"
10101 ac_save_LIBS="$LIBS"
10102 LIBS="$LIBS $CURSESLIBS"
10103 for ac_func in mousemask
10104 do :
10105 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
10106 if test "x$ac_cv_func_mousemask" = xyes; then :
10107 cat >>confdefs.h <<_ACEOF
10108 #define HAVE_MOUSEMASK 1
10109 _ACEOF
10112 done
10114 LIBS="$ac_save_LIBS"
10115 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10116 case "x$with_curses" in
10117 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10118 xno) ;;
10119 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10120 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10121 esac
10124 if test "x$with_sane" != "xno"
10125 then
10126 ac_save_CPPFLAGS="$CPPFLAGS"
10127 # Extract the first word of "sane-config", so it can be a program name with args.
10128 set dummy sane-config; ac_word=$2
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10130 $as_echo_n "checking for $ac_word... " >&6; }
10131 if ${ac_cv_prog_sane_devel+:} false; then :
10132 $as_echo_n "(cached) " >&6
10133 else
10134 if test -n "$sane_devel"; then
10135 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
10136 else
10137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10138 for as_dir in $PATH
10140 IFS=$as_save_IFS
10141 test -z "$as_dir" && as_dir=.
10142 for ac_exec_ext in '' $ac_executable_extensions; do
10143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10144 ac_cv_prog_sane_devel="sane-config"
10145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10146 break 2
10148 done
10149 done
10150 IFS=$as_save_IFS
10152 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
10155 sane_devel=$ac_cv_prog_sane_devel
10156 if test -n "$sane_devel"; then
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
10158 $as_echo "$sane_devel" >&6; }
10159 else
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10161 $as_echo "no" >&6; }
10165 if test "$sane_devel" != "no"
10166 then
10167 ac_sane_incl="`$sane_devel --cflags`"
10168 ac_sane_libs="`$sane_devel --ldflags`"
10169 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
10171 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10172 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10174 $as_echo_n "checking for -lsane... " >&6; }
10175 if ${ac_cv_lib_soname_sane+:} false; then :
10176 $as_echo_n "(cached) " >&6
10177 else
10178 ac_check_soname_save_LIBS=$LIBS
10179 LIBS="-lsane $ac_sane_libs $LIBS"
10180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10181 /* end confdefs.h. */
10183 /* Override any GCC internal prototype to avoid an error.
10184 Use char because int might match the return type of a GCC
10185 builtin and then its argument prototype would still apply. */
10186 #ifdef __cplusplus
10187 extern "C"
10188 #endif
10189 char sane_init ();
10191 main ()
10193 return sane_init ();
10195 return 0;
10197 _ACEOF
10198 if ac_fn_c_try_link "$LINENO"; then :
10199 case "$LIBEXT" in
10200 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10201 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'` ;;
10202 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10203 if test "x$ac_cv_lib_soname_sane" = x; then :
10204 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10205 fi ;;
10206 esac
10208 rm -f core conftest.err conftest.$ac_objext \
10209 conftest$ac_exeext conftest.$ac_ext
10210 LIBS=$ac_check_soname_save_LIBS
10212 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10214 $as_echo "not found" >&6; }
10216 else
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10218 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10220 cat >>confdefs.h <<_ACEOF
10221 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10222 _ACEOF
10224 SANEINCL="$ac_sane_incl"
10230 CPPFLAGS="$ac_save_CPPFLAGS"
10232 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10233 case "x$with_sane" in
10234 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10235 xno) ;;
10236 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
10237 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10238 esac
10241 if test "x$with_v4l" != "xno"
10242 then
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10244 $as_echo_n "checking for -lv4l1... " >&6; }
10245 if ${ac_cv_lib_soname_v4l1+:} false; then :
10246 $as_echo_n "(cached) " >&6
10247 else
10248 ac_check_soname_save_LIBS=$LIBS
10249 LIBS="-lv4l1 $LIBS"
10250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10251 /* end confdefs.h. */
10253 /* Override any GCC internal prototype to avoid an error.
10254 Use char because int might match the return type of a GCC
10255 builtin and then its argument prototype would still apply. */
10256 #ifdef __cplusplus
10257 extern "C"
10258 #endif
10259 char v4l1_open ();
10261 main ()
10263 return v4l1_open ();
10265 return 0;
10267 _ACEOF
10268 if ac_fn_c_try_link "$LINENO"; then :
10269 case "$LIBEXT" in
10270 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10271 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'` ;;
10272 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10273 if test "x$ac_cv_lib_soname_v4l1" = x; then :
10274 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10275 fi ;;
10276 esac
10278 rm -f core conftest.err conftest.$ac_objext \
10279 conftest$ac_exeext conftest.$ac_ext
10280 LIBS=$ac_check_soname_save_LIBS
10282 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10284 $as_echo "not found" >&6; }
10286 else
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10288 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10290 cat >>confdefs.h <<_ACEOF
10291 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10292 _ACEOF
10297 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10298 case "x$with_v4l" in
10299 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
10300 xno) ;;
10301 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
10302 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10303 esac
10306 if test "x$with_gphoto" != "xno"
10307 then
10308 ac_save_CPPFLAGS="$CPPFLAGS"
10309 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10310 set dummy gphoto2-config; ac_word=$2
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10312 $as_echo_n "checking for $ac_word... " >&6; }
10313 if ${ac_cv_prog_gphoto2_devel+:} false; then :
10314 $as_echo_n "(cached) " >&6
10315 else
10316 if test -n "$gphoto2_devel"; then
10317 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10318 else
10319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10320 for as_dir in $PATH
10322 IFS=$as_save_IFS
10323 test -z "$as_dir" && as_dir=.
10324 for ac_exec_ext in '' $ac_executable_extensions; do
10325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10326 ac_cv_prog_gphoto2_devel="gphoto2-config"
10327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10328 break 2
10330 done
10331 done
10332 IFS=$as_save_IFS
10334 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10337 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10338 if test -n "$gphoto2_devel"; then
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10340 $as_echo "$gphoto2_devel" >&6; }
10341 else
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10343 $as_echo "no" >&6; }
10347 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10348 set dummy gphoto2-port-config; ac_word=$2
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10350 $as_echo_n "checking for $ac_word... " >&6; }
10351 if ${ac_cv_prog_gphoto2port_devel+:} false; then :
10352 $as_echo_n "(cached) " >&6
10353 else
10354 if test -n "$gphoto2port_devel"; then
10355 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10356 else
10357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10358 for as_dir in $PATH
10360 IFS=$as_save_IFS
10361 test -z "$as_dir" && as_dir=.
10362 for ac_exec_ext in '' $ac_executable_extensions; do
10363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10364 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10366 break 2
10368 done
10369 done
10370 IFS=$as_save_IFS
10372 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10375 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10376 if test -n "$gphoto2port_devel"; then
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10378 $as_echo "$gphoto2port_devel" >&6; }
10379 else
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10381 $as_echo "no" >&6; }
10385 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10386 then
10387 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10388 ac_gphoto2_libs=""
10389 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10391 case "$i" in
10392 -L/usr/lib|-L/usr/lib64) ;;
10393 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
10394 esac
10395 done
10396 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
10398 ac_gphoto2_libs=${ac_gphoto2_libs:-"-lgphoto2"}
10399 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10400 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10402 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10403 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
10404 $as_echo_n "(cached) " >&6
10405 else
10406 ac_check_lib_save_LIBS=$LIBS
10407 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
10408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10409 /* end confdefs.h. */
10411 /* Override any GCC internal prototype to avoid an error.
10412 Use char because int might match the return type of a GCC
10413 builtin and then its argument prototype would still apply. */
10414 #ifdef __cplusplus
10415 extern "C"
10416 #endif
10417 char gp_camera_new ();
10419 main ()
10421 return gp_camera_new ();
10423 return 0;
10425 _ACEOF
10426 if ac_fn_c_try_link "$LINENO"; then :
10427 ac_cv_lib_gphoto2_gp_camera_new=yes
10428 else
10429 ac_cv_lib_gphoto2_gp_camera_new=no
10431 rm -f core conftest.err conftest.$ac_objext \
10432 conftest$ac_exeext conftest.$ac_ext
10433 LIBS=$ac_check_lib_save_LIBS
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10436 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10437 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
10439 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10441 GPHOTO2LIBS="$ac_gphoto2_libs"
10443 GPHOTO2INCL="$ac_gphoto2_incl"
10450 CPPFLAGS="$ac_save_CPPFLAGS"
10452 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10453 case "x$with_gphoto" in
10454 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10455 xno) ;;
10456 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10457 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10458 esac
10462 if test "$ac_cv_header_resolv_h" = "yes"
10463 then
10464 ac_save_LIBS="$LIBS"
10465 for lib in '' -lresolv
10467 LIBS="$lib $ac_save_LIBS"
10468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10469 /* end confdefs.h. */
10470 #ifdef HAVE_NETINET_IN_H
10471 #include <netinet/in.h>
10472 #endif
10473 #include <resolv.h>
10475 main ()
10477 res_query("foo",ns_c_in,0,0,0);
10479 return 0;
10481 _ACEOF
10482 if ac_fn_c_try_link "$LINENO"; then :
10484 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10486 RESOLVLIBS="$lib"
10489 rm -f core conftest.err conftest.$ac_objext \
10490 conftest$ac_exeext conftest.$ac_ext
10491 if test "${RESOLVLIBS+set}" = set; then
10492 break
10494 done
10495 LIBS="$ac_save_LIBS"
10498 LCMSLIBS=""
10500 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10501 then
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10503 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10504 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false; then :
10505 $as_echo_n "(cached) " >&6
10506 else
10507 ac_check_lib_save_LIBS=$LIBS
10508 LIBS="-llcms $LIBS"
10509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10510 /* end confdefs.h. */
10512 /* Override any GCC internal prototype to avoid an error.
10513 Use char because int might match the return type of a GCC
10514 builtin and then its argument prototype would still apply. */
10515 #ifdef __cplusplus
10516 extern "C"
10517 #endif
10518 char cmsOpenProfileFromFile ();
10520 main ()
10522 return cmsOpenProfileFromFile ();
10524 return 0;
10526 _ACEOF
10527 if ac_fn_c_try_link "$LINENO"; then :
10528 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10529 else
10530 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10532 rm -f core conftest.err conftest.$ac_objext \
10533 conftest$ac_exeext conftest.$ac_ext
10534 LIBS=$ac_check_lib_save_LIBS
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10537 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10538 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes; then :
10540 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10542 LCMSLIBS="-llcms"
10546 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10547 case "x$with_cms" in
10548 x) as_fn_append wine_notices "|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10549 xno) ;;
10550 *) as_fn_error $? "liblcms ${notice_platform}development files not found, Color Management won't be supported.
10551 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10552 esac
10555 if test "x$with_freetype" != "xno"
10556 then
10557 if test "$PKG_CONFIG" != "false"
10558 then
10559 ac_freetype_incl="`$PKG_CONFIG --cflags freetype2 2>/dev/null`"
10560 ac_freetype_libs="`$PKG_CONFIG --libs freetype2 2>/dev/null`"
10561 else
10562 for ac_prog in freetype-config freetype2-config
10564 # Extract the first word of "$ac_prog", so it can be a program name with args.
10565 set dummy $ac_prog; ac_word=$2
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10567 $as_echo_n "checking for $ac_word... " >&6; }
10568 if ${ac_cv_prog_ft_devel+:} false; then :
10569 $as_echo_n "(cached) " >&6
10570 else
10571 if test -n "$ft_devel"; then
10572 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10573 else
10574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10575 for as_dir in $PATH
10577 IFS=$as_save_IFS
10578 test -z "$as_dir" && as_dir=.
10579 for ac_exec_ext in '' $ac_executable_extensions; do
10580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10581 ac_cv_prog_ft_devel="$ac_prog"
10582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10583 break 2
10585 done
10586 done
10587 IFS=$as_save_IFS
10591 ft_devel=$ac_cv_prog_ft_devel
10592 if test -n "$ft_devel"; then
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10594 $as_echo "$ft_devel" >&6; }
10595 else
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10597 $as_echo "no" >&6; }
10601 test -n "$ft_devel" && break
10602 done
10603 test -n "$ft_devel" || ft_devel="no"
10605 if test "$ft_devel" != "no"
10606 then
10607 ac_freetype_incl=`$ft_devel --cflags`
10608 ac_freetype_libs=`$ft_devel --libs`
10611 ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10613 $as_echo_n "checking for -lfreetype... " >&6; }
10614 if ${ac_cv_lib_soname_freetype+:} false; then :
10615 $as_echo_n "(cached) " >&6
10616 else
10617 ac_check_soname_save_LIBS=$LIBS
10618 LIBS="-lfreetype $ac_freetype_libs $LIBS"
10619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10620 /* end confdefs.h. */
10622 /* Override any GCC internal prototype to avoid an error.
10623 Use char because int might match the return type of a GCC
10624 builtin and then its argument prototype would still apply. */
10625 #ifdef __cplusplus
10626 extern "C"
10627 #endif
10628 char FT_Init_FreeType ();
10630 main ()
10632 return FT_Init_FreeType ();
10634 return 0;
10636 _ACEOF
10637 if ac_fn_c_try_link "$LINENO"; then :
10638 case "$LIBEXT" in
10639 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10640 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'` ;;
10641 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10642 if test "x$ac_cv_lib_soname_freetype" = x; then :
10643 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10644 fi ;;
10645 esac
10647 rm -f core conftest.err conftest.$ac_objext \
10648 conftest$ac_exeext conftest.$ac_ext
10649 LIBS=$ac_check_soname_save_LIBS
10651 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10653 $as_echo "not found" >&6; }
10654 ft_lib=no
10655 else
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10657 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10659 cat >>confdefs.h <<_ACEOF
10660 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10661 _ACEOF
10663 ft_lib=yes
10665 if test "$ft_lib" = "yes"
10666 then
10667 ac_save_CPPFLAGS="$CPPFLAGS"
10668 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
10669 for ac_header in ft2build.h \
10670 freetype/freetype.h \
10671 freetype/ftglyph.h \
10672 freetype/fttypes.h \
10673 freetype/tttables.h \
10674 freetype/ftsnames.h \
10675 freetype/ttnameid.h \
10676 freetype/ftoutln.h \
10677 freetype/ftwinfnt.h \
10678 freetype/ftmodapi.h \
10679 freetype/ftlcdfil.h
10680 do :
10681 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10682 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10683 # include <ft2build.h>
10684 #endif
10686 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10687 cat >>confdefs.h <<_ACEOF
10688 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10689 _ACEOF
10693 done
10695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10696 /* end confdefs.h. */
10697 #include <ft2build.h>
10698 #include <freetype/fttrigon.h>
10699 _ACEOF
10700 if ac_fn_c_try_cpp "$LINENO"; then :
10702 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10704 wine_cv_fttrigon=yes
10705 else
10706 wine_cv_fttrigon=no
10708 rm -f conftest.err conftest.i conftest.$ac_ext
10709 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10711 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
10713 cat >>confdefs.h <<_ACEOF
10714 #define HAVE_FT_TRUETYPEENGINETYPE 1
10715 _ACEOF
10720 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10721 then
10723 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10725 FREETYPELIBS="$ac_freetype_libs"
10727 FREETYPEINCL="$ac_freetype_incl"
10732 if test "x$FREETYPELIBS" = "x"; then :
10733 case "x$with_freetype" in
10734 xno) ;;
10735 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
10736 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10737 esac
10739 test "x$FREETYPELIBS" = "x" && enable_fonts=${enable_fonts:-no}
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10742 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10743 if ${ac_cv_c_ppdev+:} false; then :
10744 $as_echo_n "(cached) " >&6
10745 else
10746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10747 /* end confdefs.h. */
10748 #ifdef HAVE_SYS_IOCTL_H
10749 # include <sys/ioctl.h>
10750 #endif
10751 #include <linux/ppdev.h>
10753 main ()
10755 ioctl (1,PPCLAIM,0)
10757 return 0;
10759 _ACEOF
10760 if ac_fn_c_try_compile "$LINENO"; then :
10761 ac_cv_c_ppdev="yes"
10762 else
10763 ac_cv_c_ppdev="no"
10765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10768 $as_echo "$ac_cv_c_ppdev" >&6; }
10769 if test "$ac_cv_c_ppdev" = "yes"
10770 then
10772 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10776 ac_wine_check_funcs_save_LIBS="$LIBS"
10777 LIBS="$LIBS $LIBPTHREAD"
10778 for ac_func in \
10779 pthread_attr_get_np \
10780 pthread_getattr_np \
10781 pthread_getthreadid_np \
10782 pthread_get_stackaddr_np \
10783 pthread_get_stacksize_np
10784 do :
10785 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10786 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10787 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10788 cat >>confdefs.h <<_ACEOF
10789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10790 _ACEOF
10793 done
10795 LIBS="$ac_wine_check_funcs_save_LIBS"
10797 if test "$ac_cv_header_zlib_h" = "yes"
10798 then
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10800 $as_echo_n "checking for inflate in -lz... " >&6; }
10801 if ${ac_cv_lib_z_inflate+:} false; then :
10802 $as_echo_n "(cached) " >&6
10803 else
10804 ac_check_lib_save_LIBS=$LIBS
10805 LIBS="-lz $LIBS"
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10809 /* Override any GCC internal prototype to avoid an error.
10810 Use char because int might match the return type of a GCC
10811 builtin and then its argument prototype would still apply. */
10812 #ifdef __cplusplus
10813 extern "C"
10814 #endif
10815 char inflate ();
10817 main ()
10819 return inflate ();
10821 return 0;
10823 _ACEOF
10824 if ac_fn_c_try_link "$LINENO"; then :
10825 ac_cv_lib_z_inflate=yes
10826 else
10827 ac_cv_lib_z_inflate=no
10829 rm -f core conftest.err conftest.$ac_objext \
10830 conftest$ac_exeext conftest.$ac_ext
10831 LIBS=$ac_check_lib_save_LIBS
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10834 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10835 if test "x$ac_cv_lib_z_inflate" = xyes; then :
10837 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10839 ZLIB="-lz"
10844 if test "x$ZLIB" = "x"; then :
10845 case "x$with_zlib" in
10846 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10847 xno) ;;
10848 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
10849 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10850 esac
10853 if test "x$enable_tools" != xno
10854 then
10855 if test "$ac_cv_header_gettext_po_h" = "yes"
10856 then
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10858 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10859 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
10860 $as_echo_n "(cached) " >&6
10861 else
10862 ac_check_lib_save_LIBS=$LIBS
10863 LIBS="-lgettextpo $LIBS"
10864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10865 /* end confdefs.h. */
10867 /* Override any GCC internal prototype to avoid an error.
10868 Use char because int might match the return type of a GCC
10869 builtin and then its argument prototype would still apply. */
10870 #ifdef __cplusplus
10871 extern "C"
10872 #endif
10873 char po_message_msgctxt ();
10875 main ()
10877 return po_message_msgctxt ();
10879 return 0;
10881 _ACEOF
10882 if ac_fn_c_try_link "$LINENO"; then :
10883 ac_cv_lib_gettextpo_po_message_msgctxt=yes
10884 else
10885 ac_cv_lib_gettextpo_po_message_msgctxt=no
10887 rm -f core conftest.err conftest.$ac_objext \
10888 conftest$ac_exeext conftest.$ac_ext
10889 LIBS=$ac_check_lib_save_LIBS
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10892 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10893 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
10895 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10897 LIBGETTEXTPO="-lgettextpo"
10902 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
10903 case "x$with_gettextpo" in
10904 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10905 xno) ;;
10906 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10907 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10908 esac
10912 if test "x$with_gstreamer" != "xno"
10913 then
10914 ac_save_CPPFLAGS="$CPPFLAGS"
10915 if test "$PKG_CONFIG" != "false"; then
10916 ac_gst_incl=""
10917 for i in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10919 case "$i" in
10920 -I*) ac_gst_incl="$ac_gst_incl $i";;
10921 esac
10922 done
10923 ac_gst_libs="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10924 CPPFLAGS="$CPPFLAGS $ac_gst_incl"
10925 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10926 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
10927 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10928 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10930 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10932 /* end confdefs.h. */
10933 #include <gst/app/gstappsink.h>
10935 main ()
10937 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10939 return 0;
10941 _ACEOF
10942 if ac_fn_c_try_compile "$LINENO"; then :
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10944 $as_echo "yes" >&6; }
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10946 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10947 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
10948 $as_echo_n "(cached) " >&6
10949 else
10950 ac_check_lib_save_LIBS=$LIBS
10951 LIBS="-lgstreamer-0.10 $LIBS"
10952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10953 /* end confdefs.h. */
10955 /* Override any GCC internal prototype to avoid an error.
10956 Use char because int might match the return type of a GCC
10957 builtin and then its argument prototype would still apply. */
10958 #ifdef __cplusplus
10959 extern "C"
10960 #endif
10961 char gst_pad_get_caps_reffed ();
10963 main ()
10965 return gst_pad_get_caps_reffed ();
10967 return 0;
10969 _ACEOF
10970 if ac_fn_c_try_link "$LINENO"; then :
10971 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
10972 else
10973 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
10975 rm -f core conftest.err conftest.$ac_objext \
10976 conftest$ac_exeext conftest.$ac_ext
10977 LIBS=$ac_check_lib_save_LIBS
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10980 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10981 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10983 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10984 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
10985 $as_echo_n "(cached) " >&6
10986 else
10987 ac_check_lib_save_LIBS=$LIBS
10988 LIBS="-lgstapp-0.10 $ac_gst_libs $LIBS"
10989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10990 /* end confdefs.h. */
10992 /* Override any GCC internal prototype to avoid an error.
10993 Use char because int might match the return type of a GCC
10994 builtin and then its argument prototype would still apply. */
10995 #ifdef __cplusplus
10996 extern "C"
10997 #endif
10998 char gst_app_buffer_new ();
11000 main ()
11002 return gst_app_buffer_new ();
11004 return 0;
11006 _ACEOF
11007 if ac_fn_c_try_link "$LINENO"; then :
11008 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
11009 else
11010 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
11012 rm -f core conftest.err conftest.$ac_objext \
11013 conftest$ac_exeext conftest.$ac_ext
11014 LIBS=$ac_check_lib_save_LIBS
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11017 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11018 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
11019 GSTREAMER_LIBS="$ac_gst_libs"
11021 GSTREAMER_INCL="$ac_gst_incl"
11027 else
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11029 $as_echo "no" >&6; }
11031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11039 CPPFLAGS="$ac_save_CPPFLAGS"
11041 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
11042 case "x$with_gstreamer" in
11043 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11044 xno) ;;
11045 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11046 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11047 esac
11049 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
11051 ALSALIBS=""
11053 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11054 then
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11056 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11057 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
11058 $as_echo_n "(cached) " >&6
11059 else
11060 ac_check_lib_save_LIBS=$LIBS
11061 LIBS="-lasound $LIBS"
11062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11065 /* Override any GCC internal prototype to avoid an error.
11066 Use char because int might match the return type of a GCC
11067 builtin and then its argument prototype would still apply. */
11068 #ifdef __cplusplus
11069 extern "C"
11070 #endif
11071 char snd_pcm_hw_params_get_access_mask ();
11073 main ()
11075 return snd_pcm_hw_params_get_access_mask ();
11077 return 0;
11079 _ACEOF
11080 if ac_fn_c_try_link "$LINENO"; then :
11081 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
11082 else
11083 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
11085 rm -f core conftest.err conftest.$ac_objext \
11086 conftest$ac_exeext conftest.$ac_ext
11087 LIBS=$ac_check_lib_save_LIBS
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11090 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11091 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
11092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11093 /* end confdefs.h. */
11094 #ifdef HAVE_ALSA_ASOUNDLIB_H
11095 #include <alsa/asoundlib.h>
11096 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11097 #include <sys/asoundlib.h>
11098 #endif
11100 main ()
11102 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11104 return 0;
11106 _ACEOF
11107 if ac_fn_c_try_compile "$LINENO"; then :
11108 ALSALIBS="-lasound"
11110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11115 if test "x$with_oss" != xno
11116 then
11117 ac_save_CPPFLAGS="$CPPFLAGS"
11118 if test -f /etc/oss.conf
11119 then
11120 . /etc/oss.conf
11122 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11123 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
11124 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11125 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
11126 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11128 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
11130 cat >>confdefs.h <<_ACEOF
11131 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11132 _ACEOF
11134 OSS4INCL="$ac_oss_incl"
11141 CPPFLAGS="$ac_save_CPPFLAGS"
11142 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11143 then
11144 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11149 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11150 then
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11152 $as_echo_n "checking for -lcapi20... " >&6; }
11153 if ${ac_cv_lib_soname_capi20+:} false; then :
11154 $as_echo_n "(cached) " >&6
11155 else
11156 ac_check_soname_save_LIBS=$LIBS
11157 LIBS="-lcapi20 $LIBS"
11158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11159 /* end confdefs.h. */
11161 /* Override any GCC internal prototype to avoid an error.
11162 Use char because int might match the return type of a GCC
11163 builtin and then its argument prototype would still apply. */
11164 #ifdef __cplusplus
11165 extern "C"
11166 #endif
11167 char capi20_register ();
11169 main ()
11171 return capi20_register ();
11173 return 0;
11175 _ACEOF
11176 if ac_fn_c_try_link "$LINENO"; then :
11177 case "$LIBEXT" in
11178 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11179 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'` ;;
11180 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11181 if test "x$ac_cv_lib_soname_capi20" = x; then :
11182 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11183 fi ;;
11184 esac
11186 rm -f core conftest.err conftest.$ac_objext \
11187 conftest$ac_exeext conftest.$ac_ext
11188 LIBS=$ac_check_soname_save_LIBS
11190 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11192 $as_echo "not found" >&6; }
11194 else
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11196 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11198 cat >>confdefs.h <<_ACEOF
11199 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11200 _ACEOF
11205 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11206 case "x$with_capi" in
11207 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11208 xno) ;;
11209 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11210 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11211 esac
11214 CUPSINCL=""
11216 if test "x$with_cups" != "xno"
11217 then
11218 ac_save_CPPFLAGS="$CPPFLAGS"
11219 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
11220 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
11221 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
11222 for ac_header in cups/cups.h
11223 do :
11224 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11225 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
11226 cat >>confdefs.h <<_ACEOF
11227 #define HAVE_CUPS_CUPS_H 1
11228 _ACEOF
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11230 $as_echo_n "checking for -lcups... " >&6; }
11231 if ${ac_cv_lib_soname_cups+:} false; then :
11232 $as_echo_n "(cached) " >&6
11233 else
11234 ac_check_soname_save_LIBS=$LIBS
11235 LIBS="-lcups $ac_cups_libs $LIBS"
11236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h. */
11239 /* Override any GCC internal prototype to avoid an error.
11240 Use char because int might match the return type of a GCC
11241 builtin and then its argument prototype would still apply. */
11242 #ifdef __cplusplus
11243 extern "C"
11244 #endif
11245 char cupsGetDefault ();
11247 main ()
11249 return cupsGetDefault ();
11251 return 0;
11253 _ACEOF
11254 if ac_fn_c_try_link "$LINENO"; then :
11255 case "$LIBEXT" in
11256 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11257 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'` ;;
11258 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11259 if test "x$ac_cv_lib_soname_cups" = x; then :
11260 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11261 fi ;;
11262 esac
11264 rm -f core conftest.err conftest.$ac_objext \
11265 conftest$ac_exeext conftest.$ac_ext
11266 LIBS=$ac_check_soname_save_LIBS
11268 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11270 $as_echo "not found" >&6; }
11272 else
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11274 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11276 cat >>confdefs.h <<_ACEOF
11277 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11278 _ACEOF
11280 CUPSINCL="$ac_cups_cflags"
11284 done
11286 CPPFLAGS="$ac_save_CPPFLAGS"
11288 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11289 case "x$with_cups" in
11290 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11291 xno) ;;
11292 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
11293 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11294 esac
11297 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11298 then
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11300 $as_echo_n "checking for -lfontconfig... " >&6; }
11301 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11302 $as_echo_n "(cached) " >&6
11303 else
11304 ac_check_soname_save_LIBS=$LIBS
11305 LIBS="-lfontconfig $LIBS"
11306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11312 #ifdef __cplusplus
11313 extern "C"
11314 #endif
11315 char FcInit ();
11317 main ()
11319 return FcInit ();
11321 return 0;
11323 _ACEOF
11324 if ac_fn_c_try_link "$LINENO"; then :
11325 case "$LIBEXT" in
11326 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11327 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'` ;;
11328 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11329 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
11330 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11331 fi ;;
11332 esac
11334 rm -f core conftest.err conftest.$ac_objext \
11335 conftest$ac_exeext conftest.$ac_ext
11336 LIBS=$ac_check_soname_save_LIBS
11338 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11340 $as_echo "not found" >&6; }
11342 else
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11344 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11346 cat >>confdefs.h <<_ACEOF
11347 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11348 _ACEOF
11352 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11353 then
11354 ac_save_CPPFLAGS="$CPPFLAGS"
11355 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11356 $as_unset ac_cv_header_fontconfig_fontconfig_h
11357 for ac_header in fontconfig/fontconfig.h
11358 do :
11359 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11360 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
11361 cat >>confdefs.h <<_ACEOF
11362 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11363 _ACEOF
11367 done
11369 CPPFLAGS="$ac_save_CPPFLAGS"
11370 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11371 then
11372 FONTCONFIGINCL="$X_CFLAGS"
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11375 $as_echo_n "checking for -lfontconfig... " >&6; }
11376 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11377 $as_echo_n "(cached) " >&6
11378 else
11379 ac_check_soname_save_LIBS=$LIBS
11380 LIBS="-lfontconfig $X_LIBS $LIBS"
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11384 /* Override any GCC internal prototype to avoid an error.
11385 Use char because int might match the return type of a GCC
11386 builtin and then its argument prototype would still apply. */
11387 #ifdef __cplusplus
11388 extern "C"
11389 #endif
11390 char FcInit ();
11392 main ()
11394 return FcInit ();
11396 return 0;
11398 _ACEOF
11399 if ac_fn_c_try_link "$LINENO"; then :
11400 case "$LIBEXT" in
11401 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11402 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'` ;;
11403 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11404 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
11405 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11406 fi ;;
11407 esac
11409 rm -f core conftest.err conftest.$ac_objext \
11410 conftest$ac_exeext conftest.$ac_ext
11411 LIBS=$ac_check_soname_save_LIBS
11413 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11415 $as_echo "not found" >&6; }
11417 else
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11419 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11421 cat >>confdefs.h <<_ACEOF
11422 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11423 _ACEOF
11429 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11430 case "x$with_fontconfig" in
11431 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11432 xno) ;;
11433 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11434 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11435 esac
11438 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11439 then
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11441 $as_echo_n "checking for -lgsm... " >&6; }
11442 if ${ac_cv_lib_soname_gsm+:} false; then :
11443 $as_echo_n "(cached) " >&6
11444 else
11445 ac_check_soname_save_LIBS=$LIBS
11446 LIBS="-lgsm $LIBS"
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11450 /* Override any GCC internal prototype to avoid an error.
11451 Use char because int might match the return type of a GCC
11452 builtin and then its argument prototype would still apply. */
11453 #ifdef __cplusplus
11454 extern "C"
11455 #endif
11456 char gsm_create ();
11458 main ()
11460 return gsm_create ();
11462 return 0;
11464 _ACEOF
11465 if ac_fn_c_try_link "$LINENO"; then :
11466 case "$LIBEXT" in
11467 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11468 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'` ;;
11469 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11470 if test "x$ac_cv_lib_soname_gsm" = x; then :
11471 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11472 fi ;;
11473 esac
11475 rm -f core conftest.err conftest.$ac_objext \
11476 conftest$ac_exeext conftest.$ac_ext
11477 LIBS=$ac_check_soname_save_LIBS
11479 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11481 $as_echo "not found" >&6; }
11483 else
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11485 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11487 cat >>confdefs.h <<_ACEOF
11488 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11489 _ACEOF
11494 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11495 case "x$with_gsm" in
11496 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11497 xno) ;;
11498 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11499 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11500 esac
11503 if test "$ac_cv_header_jpeglib_h" = "yes"
11504 then
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11506 $as_echo_n "checking for -ljpeg... " >&6; }
11507 if ${ac_cv_lib_soname_jpeg+:} false; then :
11508 $as_echo_n "(cached) " >&6
11509 else
11510 ac_check_soname_save_LIBS=$LIBS
11511 LIBS="-ljpeg $LIBS"
11512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11513 /* end confdefs.h. */
11515 /* Override any GCC internal prototype to avoid an error.
11516 Use char because int might match the return type of a GCC
11517 builtin and then its argument prototype would still apply. */
11518 #ifdef __cplusplus
11519 extern "C"
11520 #endif
11521 char jpeg_start_decompress ();
11523 main ()
11525 return jpeg_start_decompress ();
11527 return 0;
11529 _ACEOF
11530 if ac_fn_c_try_link "$LINENO"; then :
11531 case "$LIBEXT" in
11532 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11533 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'` ;;
11534 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11535 if test "x$ac_cv_lib_soname_jpeg" = x; then :
11536 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11537 fi ;;
11538 esac
11540 rm -f core conftest.err conftest.$ac_objext \
11541 conftest$ac_exeext conftest.$ac_ext
11542 LIBS=$ac_check_soname_save_LIBS
11544 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11546 $as_echo "not found" >&6; }
11548 else
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11550 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11552 cat >>confdefs.h <<_ACEOF
11553 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11554 _ACEOF
11559 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11560 case "x$with_jpeg" in
11561 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11562 xno) ;;
11563 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11564 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11565 esac
11568 if test "$ac_cv_header_png_h" = "yes"
11569 then
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11571 $as_echo_n "checking for -lpng... " >&6; }
11572 if ${ac_cv_lib_soname_png+:} false; then :
11573 $as_echo_n "(cached) " >&6
11574 else
11575 ac_check_soname_save_LIBS=$LIBS
11576 LIBS="-lpng -lm -lz $LIBS"
11577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11578 /* end confdefs.h. */
11580 /* Override any GCC internal prototype to avoid an error.
11581 Use char because int might match the return type of a GCC
11582 builtin and then its argument prototype would still apply. */
11583 #ifdef __cplusplus
11584 extern "C"
11585 #endif
11586 char png_create_read_struct ();
11588 main ()
11590 return png_create_read_struct ();
11592 return 0;
11594 _ACEOF
11595 if ac_fn_c_try_link "$LINENO"; then :
11596 case "$LIBEXT" in
11597 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11598 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'` ;;
11599 *) ac_cv_lib_soname_png=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11600 if test "x$ac_cv_lib_soname_png" = x; then :
11601 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11602 fi ;;
11603 esac
11605 rm -f core conftest.err conftest.$ac_objext \
11606 conftest$ac_exeext conftest.$ac_ext
11607 LIBS=$ac_check_soname_save_LIBS
11609 if test "x$ac_cv_lib_soname_png" = "x"; then :
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11611 $as_echo "not found" >&6; }
11613 else
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11615 $as_echo "$ac_cv_lib_soname_png" >&6; }
11617 cat >>confdefs.h <<_ACEOF
11618 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11619 _ACEOF
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11624 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11625 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11626 $as_echo_n "(cached) " >&6
11627 else
11628 ac_check_lib_save_LIBS=$LIBS
11629 LIBS="-lpng -lm -lz $LIBS"
11630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11631 /* end confdefs.h. */
11633 /* Override any GCC internal prototype to avoid an error.
11634 Use char because int might match the return type of a GCC
11635 builtin and then its argument prototype would still apply. */
11636 #ifdef __cplusplus
11637 extern "C"
11638 #endif
11639 char png_set_expand_gray_1_2_4_to_8 ();
11641 main ()
11643 return png_set_expand_gray_1_2_4_to_8 ();
11645 return 0;
11647 _ACEOF
11648 if ac_fn_c_try_link "$LINENO"; then :
11649 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11650 else
11651 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11653 rm -f core conftest.err conftest.$ac_objext \
11654 conftest$ac_exeext conftest.$ac_ext
11655 LIBS=$ac_check_lib_save_LIBS
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11658 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11659 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11661 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11666 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11667 then
11668 ac_save_CPPFLAGS="$CPPFLAGS"
11669 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11670 $as_unset ac_cv_header_png_h
11671 for ac_header in png.h
11672 do :
11673 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11674 if test "x$ac_cv_header_png_h" = xyes; then :
11675 cat >>confdefs.h <<_ACEOF
11676 #define HAVE_PNG_H 1
11677 _ACEOF
11681 done
11683 CPPFLAGS="$ac_save_CPPFLAGS"
11684 if test "$ac_cv_header_png_h" = "yes"
11685 then
11686 PNGINCL="$X_CFLAGS"
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11689 $as_echo_n "checking for -lpng... " >&6; }
11690 if ${ac_cv_lib_soname_png+:} false; then :
11691 $as_echo_n "(cached) " >&6
11692 else
11693 ac_check_soname_save_LIBS=$LIBS
11694 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11696 /* end confdefs.h. */
11698 /* Override any GCC internal prototype to avoid an error.
11699 Use char because int might match the return type of a GCC
11700 builtin and then its argument prototype would still apply. */
11701 #ifdef __cplusplus
11702 extern "C"
11703 #endif
11704 char png_create_read_struct ();
11706 main ()
11708 return png_create_read_struct ();
11710 return 0;
11712 _ACEOF
11713 if ac_fn_c_try_link "$LINENO"; then :
11714 case "$LIBEXT" in
11715 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11716 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'` ;;
11717 *) ac_cv_lib_soname_png=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11718 if test "x$ac_cv_lib_soname_png" = x; then :
11719 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11720 fi ;;
11721 esac
11723 rm -f core conftest.err conftest.$ac_objext \
11724 conftest$ac_exeext conftest.$ac_ext
11725 LIBS=$ac_check_soname_save_LIBS
11727 if test "x$ac_cv_lib_soname_png" = "x"; then :
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11729 $as_echo "not found" >&6; }
11731 else
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11733 $as_echo "$ac_cv_lib_soname_png" >&6; }
11735 cat >>confdefs.h <<_ACEOF
11736 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11737 _ACEOF
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11742 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11743 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11744 $as_echo_n "(cached) " >&6
11745 else
11746 ac_check_lib_save_LIBS=$LIBS
11747 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11749 /* end confdefs.h. */
11751 /* Override any GCC internal prototype to avoid an error.
11752 Use char because int might match the return type of a GCC
11753 builtin and then its argument prototype would still apply. */
11754 #ifdef __cplusplus
11755 extern "C"
11756 #endif
11757 char png_set_expand_gray_1_2_4_to_8 ();
11759 main ()
11761 return png_set_expand_gray_1_2_4_to_8 ();
11763 return 0;
11765 _ACEOF
11766 if ac_fn_c_try_link "$LINENO"; then :
11767 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11768 else
11769 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11771 rm -f core conftest.err conftest.$ac_objext \
11772 conftest$ac_exeext conftest.$ac_ext
11773 LIBS=$ac_check_lib_save_LIBS
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11776 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11777 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11778 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11784 if test "x$ac_cv_lib_soname_png" = "x"; then :
11785 case "x$with_png" in
11786 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11787 xno) ;;
11788 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
11789 This is an error since --with-png was requested." "$LINENO" 5 ;;
11790 esac
11793 if test "$ac_cv_header_tiffio_h" = "yes"
11794 then
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11796 $as_echo_n "checking for -ltiff... " >&6; }
11797 if ${ac_cv_lib_soname_tiff+:} false; then :
11798 $as_echo_n "(cached) " >&6
11799 else
11800 ac_check_soname_save_LIBS=$LIBS
11801 LIBS="-ltiff $LIBS"
11802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11803 /* end confdefs.h. */
11805 /* Override any GCC internal prototype to avoid an error.
11806 Use char because int might match the return type of a GCC
11807 builtin and then its argument prototype would still apply. */
11808 #ifdef __cplusplus
11809 extern "C"
11810 #endif
11811 char TIFFClientOpen ();
11813 main ()
11815 return TIFFClientOpen ();
11817 return 0;
11819 _ACEOF
11820 if ac_fn_c_try_link "$LINENO"; then :
11821 case "$LIBEXT" in
11822 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11823 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'` ;;
11824 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11825 if test "x$ac_cv_lib_soname_tiff" = x; then :
11826 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11827 fi ;;
11828 esac
11830 rm -f core conftest.err conftest.$ac_objext \
11831 conftest$ac_exeext conftest.$ac_ext
11832 LIBS=$ac_check_soname_save_LIBS
11834 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11836 $as_echo "not found" >&6; }
11838 else
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11840 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11842 cat >>confdefs.h <<_ACEOF
11843 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11844 _ACEOF
11849 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11850 case "x$with_tiff" in
11851 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11852 xno) ;;
11853 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
11854 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11855 esac
11858 if test "$ac_cv_header_mpg123_h" = "yes"
11859 then
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11861 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11862 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
11863 $as_echo_n "(cached) " >&6
11864 else
11865 ac_check_lib_save_LIBS=$LIBS
11866 LIBS="-lmpg123 $LIBS"
11867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11868 /* end confdefs.h. */
11870 /* Override any GCC internal prototype to avoid an error.
11871 Use char because int might match the return type of a GCC
11872 builtin and then its argument prototype would still apply. */
11873 #ifdef __cplusplus
11874 extern "C"
11875 #endif
11876 char mpg123_feed ();
11878 main ()
11880 return mpg123_feed ();
11882 return 0;
11884 _ACEOF
11885 if ac_fn_c_try_link "$LINENO"; then :
11886 ac_cv_lib_mpg123_mpg123_feed=yes
11887 else
11888 ac_cv_lib_mpg123_mpg123_feed=no
11890 rm -f core conftest.err conftest.$ac_objext \
11891 conftest$ac_exeext conftest.$ac_ext
11892 LIBS=$ac_check_lib_save_LIBS
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11895 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11896 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
11897 LIBMPG123="-lmpg123"
11902 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
11903 case "x$with_mpg123" in
11904 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11905 xno) ;;
11906 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11907 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11908 esac
11910 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}
11912 if test "$ac_cv_header_AL_al_h" = "yes"
11913 then
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11915 $as_echo_n "checking for -lopenal... " >&6; }
11916 if ${ac_cv_lib_soname_openal+:} false; then :
11917 $as_echo_n "(cached) " >&6
11918 else
11919 ac_check_soname_save_LIBS=$LIBS
11920 LIBS="-lopenal $LIBS"
11921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11922 /* end confdefs.h. */
11924 /* Override any GCC internal prototype to avoid an error.
11925 Use char because int might match the return type of a GCC
11926 builtin and then its argument prototype would still apply. */
11927 #ifdef __cplusplus
11928 extern "C"
11929 #endif
11930 char alGetSource3i ();
11932 main ()
11934 return alGetSource3i ();
11936 return 0;
11938 _ACEOF
11939 if ac_fn_c_try_link "$LINENO"; then :
11940 case "$LIBEXT" in
11941 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11942 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'` ;;
11943 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11944 if test "x$ac_cv_lib_soname_openal" = x; then :
11945 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11946 fi ;;
11947 esac
11949 rm -f core conftest.err conftest.$ac_objext \
11950 conftest$ac_exeext conftest.$ac_ext
11951 LIBS=$ac_check_soname_save_LIBS
11953 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11955 $as_echo "not found" >&6; }
11957 else
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11959 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11961 cat >>confdefs.h <<_ACEOF
11962 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11963 _ACEOF
11965 LIBOPENAL="-lopenal"
11967 ac_cv_lib_openal=yes
11969 cat >>confdefs.h <<_ACEOF
11970 #define HAVE_OPENAL 1
11971 _ACEOF
11975 if test "x$ac_cv_lib_openal" != xyes; then :
11976 case "x$with_openal" in
11977 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11978 xno) ;;
11979 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11980 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11981 esac
11983 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
11985 if test "$ac_cv_header_kstat_h" = "yes"
11986 then
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11988 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11989 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
11990 $as_echo_n "(cached) " >&6
11991 else
11992 ac_check_lib_save_LIBS=$LIBS
11993 LIBS="-lkstat $LIBS"
11994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11995 /* end confdefs.h. */
11997 /* Override any GCC internal prototype to avoid an error.
11998 Use char because int might match the return type of a GCC
11999 builtin and then its argument prototype would still apply. */
12000 #ifdef __cplusplus
12001 extern "C"
12002 #endif
12003 char kstat_open ();
12005 main ()
12007 return kstat_open ();
12009 return 0;
12011 _ACEOF
12012 if ac_fn_c_try_link "$LINENO"; then :
12013 ac_cv_lib_kstat_kstat_open=yes
12014 else
12015 ac_cv_lib_kstat_kstat_open=no
12017 rm -f core conftest.err conftest.$ac_objext \
12018 conftest$ac_exeext conftest.$ac_ext
12019 LIBS=$ac_check_lib_save_LIBS
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12022 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12023 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12025 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12027 LIBKSTAT="-lkstat"
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12034 $as_echo_n "checking for -lodbc... " >&6; }
12035 if ${ac_cv_lib_soname_odbc+:} false; then :
12036 $as_echo_n "(cached) " >&6
12037 else
12038 ac_check_soname_save_LIBS=$LIBS
12039 LIBS="-lodbc $LIBS"
12040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12041 /* end confdefs.h. */
12043 /* Override any GCC internal prototype to avoid an error.
12044 Use char because int might match the return type of a GCC
12045 builtin and then its argument prototype would still apply. */
12046 #ifdef __cplusplus
12047 extern "C"
12048 #endif
12049 char SQLConnect ();
12051 main ()
12053 return SQLConnect ();
12055 return 0;
12057 _ACEOF
12058 if ac_fn_c_try_link "$LINENO"; then :
12059 case "$LIBEXT" in
12060 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12061 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'` ;;
12062 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12063 if test "x$ac_cv_lib_soname_odbc" = x; then :
12064 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12065 fi ;;
12066 esac
12068 rm -f core conftest.err conftest.$ac_objext \
12069 conftest$ac_exeext conftest.$ac_ext
12070 LIBS=$ac_check_soname_save_LIBS
12072 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12074 $as_echo "not found" >&6; }
12075 cat >>confdefs.h <<_ACEOF
12076 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12077 _ACEOF
12079 else
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12081 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12083 cat >>confdefs.h <<_ACEOF
12084 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12085 _ACEOF
12090 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12091 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
12092 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12093 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
12095 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12096 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
12097 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12098 then
12099 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
12103 EXTRACFLAGS=""
12105 if test "x${GCC}" = "xyes"
12106 then
12107 EXTRACFLAGS="-Wall -pipe"
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12110 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12111 if ${ac_cv_c_gcc_strength_bug+:} false; then :
12112 $as_echo_n "(cached) " >&6
12113 else
12114 if test "$cross_compiling" = yes; then :
12115 ac_cv_c_gcc_strength_bug="yes"
12116 else
12117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12118 /* end confdefs.h. */
12119 int L[4] = {0,1,2,3};
12121 main ()
12123 static int Array[3];
12124 unsigned int B = 3;
12125 int i;
12126 for(i=0; i<B; i++) Array[i] = i - 3;
12127 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12128 L[i] = 4;
12129 return (Array[1] != -2 || L[2] != 3)
12131 return 0;
12133 _ACEOF
12134 if ac_fn_c_try_run "$LINENO"; then :
12135 ac_cv_c_gcc_strength_bug="no"
12136 else
12137 ac_cv_c_gcc_strength_bug="yes"
12139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12140 conftest.$ac_objext conftest.beam conftest.$ac_ext
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12145 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12146 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12147 then
12148 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12152 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12153 if ${ac_cv_cflags__fno_builtin+:} false; then :
12154 $as_echo_n "(cached) " >&6
12155 else
12156 ac_wine_try_cflags_saved=$CFLAGS
12157 CFLAGS="$CFLAGS -fno-builtin"
12158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12159 /* end confdefs.h. */
12160 int main(int argc, char **argv) { return 0; }
12161 _ACEOF
12162 if ac_fn_c_try_link "$LINENO"; then :
12163 ac_cv_cflags__fno_builtin=yes
12164 else
12165 ac_cv_cflags__fno_builtin=no
12167 rm -f core conftest.err conftest.$ac_objext \
12168 conftest$ac_exeext conftest.$ac_ext
12169 CFLAGS=$ac_wine_try_cflags_saved
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12172 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12173 if test $ac_cv_cflags__fno_builtin = yes; then :
12174 BUILTINFLAG="-fno-builtin"
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12178 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12179 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
12180 $as_echo_n "(cached) " >&6
12181 else
12182 ac_wine_try_cflags_saved=$CFLAGS
12183 CFLAGS="$CFLAGS -fno-strict-aliasing"
12184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12185 /* end confdefs.h. */
12186 int main(int argc, char **argv) { return 0; }
12187 _ACEOF
12188 if ac_fn_c_try_link "$LINENO"; then :
12189 ac_cv_cflags__fno_strict_aliasing=yes
12190 else
12191 ac_cv_cflags__fno_strict_aliasing=no
12193 rm -f core conftest.err conftest.$ac_objext \
12194 conftest$ac_exeext conftest.$ac_ext
12195 CFLAGS=$ac_wine_try_cflags_saved
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12198 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12199 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12200 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12203 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12204 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
12205 $as_echo_n "(cached) " >&6
12206 else
12207 ac_wine_try_cflags_saved=$CFLAGS
12208 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12210 /* end confdefs.h. */
12211 int main(int argc, char **argv) { return 0; }
12212 _ACEOF
12213 if ac_fn_c_try_link "$LINENO"; then :
12214 ac_cv_cflags__Wdeclaration_after_statement=yes
12215 else
12216 ac_cv_cflags__Wdeclaration_after_statement=no
12218 rm -f core conftest.err conftest.$ac_objext \
12219 conftest$ac_exeext conftest.$ac_ext
12220 CFLAGS=$ac_wine_try_cflags_saved
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12223 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12224 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12225 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12228 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12229 if ${ac_cv_cflags__Wempty_body+:} false; then :
12230 $as_echo_n "(cached) " >&6
12231 else
12232 ac_wine_try_cflags_saved=$CFLAGS
12233 CFLAGS="$CFLAGS -Wempty-body"
12234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12235 /* end confdefs.h. */
12236 int main(int argc, char **argv) { return 0; }
12237 _ACEOF
12238 if ac_fn_c_try_link "$LINENO"; then :
12239 ac_cv_cflags__Wempty_body=yes
12240 else
12241 ac_cv_cflags__Wempty_body=no
12243 rm -f core conftest.err conftest.$ac_objext \
12244 conftest$ac_exeext conftest.$ac_ext
12245 CFLAGS=$ac_wine_try_cflags_saved
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12248 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12249 if test $ac_cv_cflags__Wempty_body = yes; then :
12250 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12253 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12254 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
12255 $as_echo_n "(cached) " >&6
12256 else
12257 ac_wine_try_cflags_saved=$CFLAGS
12258 CFLAGS="$CFLAGS -Wignored-qualifiers"
12259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12260 /* end confdefs.h. */
12261 int main(int argc, char **argv) { return 0; }
12262 _ACEOF
12263 if ac_fn_c_try_link "$LINENO"; then :
12264 ac_cv_cflags__Wignored_qualifiers=yes
12265 else
12266 ac_cv_cflags__Wignored_qualifiers=no
12268 rm -f core conftest.err conftest.$ac_objext \
12269 conftest$ac_exeext conftest.$ac_ext
12270 CFLAGS=$ac_wine_try_cflags_saved
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12273 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12274 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12275 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12278 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12279 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
12280 $as_echo_n "(cached) " >&6
12281 else
12282 ac_wine_try_cflags_saved=$CFLAGS
12283 CFLAGS="$CFLAGS -Wstrict-prototypes"
12284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12285 /* end confdefs.h. */
12286 int main(int argc, char **argv) { return 0; }
12287 _ACEOF
12288 if ac_fn_c_try_link "$LINENO"; then :
12289 ac_cv_cflags__Wstrict_prototypes=yes
12290 else
12291 ac_cv_cflags__Wstrict_prototypes=no
12293 rm -f core conftest.err conftest.$ac_objext \
12294 conftest$ac_exeext conftest.$ac_ext
12295 CFLAGS=$ac_wine_try_cflags_saved
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12298 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12299 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12300 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12303 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12304 if ${ac_cv_cflags__Wtype_limits+:} false; then :
12305 $as_echo_n "(cached) " >&6
12306 else
12307 ac_wine_try_cflags_saved=$CFLAGS
12308 CFLAGS="$CFLAGS -Wtype-limits"
12309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12310 /* end confdefs.h. */
12311 int main(int argc, char **argv) { return 0; }
12312 _ACEOF
12313 if ac_fn_c_try_link "$LINENO"; then :
12314 ac_cv_cflags__Wtype_limits=yes
12315 else
12316 ac_cv_cflags__Wtype_limits=no
12318 rm -f core conftest.err conftest.$ac_objext \
12319 conftest$ac_exeext conftest.$ac_ext
12320 CFLAGS=$ac_wine_try_cflags_saved
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12323 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12324 if test $ac_cv_cflags__Wtype_limits = yes; then :
12325 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12328 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12329 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
12330 $as_echo_n "(cached) " >&6
12331 else
12332 ac_wine_try_cflags_saved=$CFLAGS
12333 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
12334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12335 /* end confdefs.h. */
12336 int main(int argc, char **argv) { return 0; }
12337 _ACEOF
12338 if ac_fn_c_try_link "$LINENO"; then :
12339 ac_cv_cflags__Wunused_but_set_parameter=yes
12340 else
12341 ac_cv_cflags__Wunused_but_set_parameter=no
12343 rm -f core conftest.err conftest.$ac_objext \
12344 conftest$ac_exeext conftest.$ac_ext
12345 CFLAGS=$ac_wine_try_cflags_saved
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12348 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12349 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12350 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12353 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12354 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
12355 $as_echo_n "(cached) " >&6
12356 else
12357 ac_wine_try_cflags_saved=$CFLAGS
12358 CFLAGS="$CFLAGS -Wwrite-strings"
12359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12361 int main(int argc, char **argv) { return 0; }
12362 _ACEOF
12363 if ac_fn_c_try_link "$LINENO"; then :
12364 ac_cv_cflags__Wwrite_strings=yes
12365 else
12366 ac_cv_cflags__Wwrite_strings=no
12368 rm -f core conftest.err conftest.$ac_objext \
12369 conftest$ac_exeext conftest.$ac_ext
12370 CFLAGS=$ac_wine_try_cflags_saved
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12373 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12374 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12375 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12378 for ac_flag in $CFLAGS; do
12379 case $ac_flag in
12380 -g) case $host_os in
12381 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12382 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12383 if ${ac_cv_cflags__gstabsp+:} false; then :
12384 $as_echo_n "(cached) " >&6
12385 else
12386 ac_wine_try_cflags_saved=$CFLAGS
12387 CFLAGS="$CFLAGS -gstabs+"
12388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12389 /* end confdefs.h. */
12390 int main(int argc, char **argv) { return 0; }
12391 _ACEOF
12392 if ac_fn_c_try_link "$LINENO"; then :
12393 ac_cv_cflags__gstabsp=yes
12394 else
12395 ac_cv_cflags__gstabsp=no
12397 rm -f core conftest.err conftest.$ac_objext \
12398 conftest$ac_exeext conftest.$ac_ext
12399 CFLAGS=$ac_wine_try_cflags_saved
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12402 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12403 if test $ac_cv_cflags__gstabsp = yes; then :
12404 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12405 fi ;;
12406 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12407 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12408 if ${ac_cv_cflags__gdwarf_2+:} false; then :
12409 $as_echo_n "(cached) " >&6
12410 else
12411 ac_wine_try_cflags_saved=$CFLAGS
12412 CFLAGS="$CFLAGS -gdwarf-2"
12413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12414 /* end confdefs.h. */
12415 int main(int argc, char **argv) { return 0; }
12416 _ACEOF
12417 if ac_fn_c_try_link "$LINENO"; then :
12418 ac_cv_cflags__gdwarf_2=yes
12419 else
12420 ac_cv_cflags__gdwarf_2=no
12422 rm -f core conftest.err conftest.$ac_objext \
12423 conftest$ac_exeext conftest.$ac_ext
12424 CFLAGS=$ac_wine_try_cflags_saved
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12427 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12428 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12429 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12432 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12433 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
12434 $as_echo_n "(cached) " >&6
12435 else
12436 ac_wine_try_cflags_saved=$CFLAGS
12437 CFLAGS="$CFLAGS -gstrict-dwarf"
12438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12439 /* end confdefs.h. */
12440 int main(int argc, char **argv) { return 0; }
12441 _ACEOF
12442 if ac_fn_c_try_link "$LINENO"; then :
12443 ac_cv_cflags__gstrict_dwarf=yes
12444 else
12445 ac_cv_cflags__gstrict_dwarf=no
12447 rm -f core conftest.err conftest.$ac_objext \
12448 conftest$ac_exeext conftest.$ac_ext
12449 CFLAGS=$ac_wine_try_cflags_saved
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12452 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12453 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12454 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
12455 fi ;;
12456 esac ;;
12457 esac
12458 done
12460 case $host_cpu in
12461 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12462 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12463 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
12464 $as_echo_n "(cached) " >&6
12465 else
12466 ac_wine_try_cflags_saved=$CFLAGS
12467 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
12468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12469 /* end confdefs.h. */
12470 int main(int argc, char **argv) { return 0; }
12471 _ACEOF
12472 if ac_fn_c_try_link "$LINENO"; then :
12473 ac_cv_cflags__fno_omit_frame_pointer=yes
12474 else
12475 ac_cv_cflags__fno_omit_frame_pointer=no
12477 rm -f core conftest.err conftest.$ac_objext \
12478 conftest$ac_exeext conftest.$ac_ext
12479 CFLAGS=$ac_wine_try_cflags_saved
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12482 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12483 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12484 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
12485 fi ;;
12486 esac
12488 case $host in
12489 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12490 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12491 if ${ac_cv_cflags__Wno_format+:} false; then :
12492 $as_echo_n "(cached) " >&6
12493 else
12494 ac_wine_try_cflags_saved=$CFLAGS
12495 CFLAGS="$CFLAGS -Wno-format"
12496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12497 /* end confdefs.h. */
12498 int main(int argc, char **argv) { return 0; }
12499 _ACEOF
12500 if ac_fn_c_try_link "$LINENO"; then :
12501 ac_cv_cflags__Wno_format=yes
12502 else
12503 ac_cv_cflags__Wno_format=no
12505 rm -f core conftest.err conftest.$ac_objext \
12506 conftest$ac_exeext conftest.$ac_ext
12507 CFLAGS=$ac_wine_try_cflags_saved
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12510 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12511 if test $ac_cv_cflags__Wno_format = yes; then :
12512 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
12513 fi ;;
12514 esac
12516 saved_CFLAGS="$CFLAGS"
12517 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12519 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12520 if ${ac_cv_c_string_h_warnings+:} false; then :
12521 $as_echo_n "(cached) " >&6
12522 else
12523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12524 /* end confdefs.h. */
12525 #include <string.h>
12527 main ()
12531 return 0;
12533 _ACEOF
12534 if ac_fn_c_try_compile "$LINENO"; then :
12535 ac_cv_c_string_h_warnings=no
12536 else
12537 ac_cv_c_string_h_warnings=yes
12539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12542 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12543 CFLAGS="$saved_CFLAGS"
12544 if test "$ac_cv_c_string_h_warnings" = "no"
12545 then
12546 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12549 saved_CFLAGS="$CFLAGS"
12550 CFLAGS="$CFLAGS -Wlogical-op -Werror"
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12552 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12553 if ${ac_cv_c_logicalop_noisy+:} false; then :
12554 $as_echo_n "(cached) " >&6
12555 else
12556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12557 /* end confdefs.h. */
12558 #include <string.h>
12560 main ()
12562 char*f(const char *h,char n) {return strchr(h,n);}
12564 return 0;
12566 _ACEOF
12567 if ac_fn_c_try_compile "$LINENO"; then :
12568 ac_cv_c_logicalop_noisy=no
12569 else
12570 ac_cv_c_logicalop_noisy=yes
12572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12575 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12576 CFLAGS="$saved_CFLAGS"
12577 if test "$ac_cv_c_logicalop_noisy" = "no"
12578 then
12579 EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
12582 if test "x$enable_maintainer_mode" = "xyes"
12583 then
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12585 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12586 if ${ac_cv_cflags__Werror+:} false; then :
12587 $as_echo_n "(cached) " >&6
12588 else
12589 ac_wine_try_cflags_saved=$CFLAGS
12590 CFLAGS="$CFLAGS -Werror"
12591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12592 /* end confdefs.h. */
12593 int main(int argc, char **argv) { return 0; }
12594 _ACEOF
12595 if ac_fn_c_try_link "$LINENO"; then :
12596 ac_cv_cflags__Werror=yes
12597 else
12598 ac_cv_cflags__Werror=no
12600 rm -f core conftest.err conftest.$ac_objext \
12601 conftest$ac_exeext conftest.$ac_ext
12602 CFLAGS=$ac_wine_try_cflags_saved
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12605 $as_echo "$ac_cv_cflags__Werror" >&6; }
12606 if test $ac_cv_cflags__Werror = yes; then :
12607 EXTRACFLAGS="$EXTRACFLAGS -Werror"
12611 saved_CFLAGS="$CFLAGS"
12612 CFLAGS="$CFLAGS -Werror"
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12614 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12615 if ${ac_cv_have_ms_hook_prologue+:} false; then :
12616 $as_echo_n "(cached) " >&6
12617 else
12618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12619 /* end confdefs.h. */
12620 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12622 main ()
12626 return 0;
12628 _ACEOF
12629 if ac_fn_c_try_compile "$LINENO"; then :
12630 ac_cv_have_ms_hook_prologue="yes"
12631 else
12632 ac_cv_have_ms_hook_prologue="no"
12634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12637 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12638 CFLAGS="$saved_CFLAGS"
12639 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12640 then
12642 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12644 else
12645 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12652 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12653 if ${ac_cv_c_fortify_enabled+:} false; then :
12654 $as_echo_n "(cached) " >&6
12655 else
12656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12657 /* end confdefs.h. */
12658 #include <string.h>
12660 main ()
12662 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12663 #error Fortify enabled
12664 #endif
12666 return 0;
12668 _ACEOF
12669 if ac_fn_c_try_compile "$LINENO"; then :
12670 ac_cv_c_fortify_enabled=no
12671 else
12672 ac_cv_c_fortify_enabled=yes
12674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12677 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12678 if test "$ac_cv_c_fortify_enabled" = yes
12679 then
12680 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12685 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12686 if ${ac_cv_c_extern_prefix+:} false; then :
12687 $as_echo_n "(cached) " >&6
12688 else
12689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12690 /* end confdefs.h. */
12691 extern int ac_test;
12693 main ()
12695 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12697 return 0;
12699 _ACEOF
12700 if ac_fn_c_try_link "$LINENO"; then :
12701 ac_cv_c_extern_prefix="yes"
12702 else
12703 ac_cv_c_extern_prefix="no"
12705 rm -f core conftest.err conftest.$ac_objext \
12706 conftest$ac_exeext conftest.$ac_ext
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12709 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12711 case $host_cpu in
12712 *i[3456789]86*)
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12714 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12715 if ${ac_cv_c_stdcall_suffix+:} false; then :
12716 $as_echo_n "(cached) " >&6
12717 else
12718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12719 /* end confdefs.h. */
12720 #ifndef _MSC_VER
12721 #define __stdcall __attribute__((__stdcall__))
12722 #endif
12723 int __stdcall ac_test(int i) { return i; }
12725 main ()
12727 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12729 return 0;
12731 _ACEOF
12732 if ac_fn_c_try_link "$LINENO"; then :
12733 ac_cv_c_stdcall_suffix="yes"
12734 else
12735 ac_cv_c_stdcall_suffix="no"
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_c_stdcall_suffix" >&5
12741 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12742 *) ac_cv_c_stdcall_suffix="no" ;;
12743 esac
12746 if test "$ac_cv_c_extern_prefix" = "yes"
12747 then
12748 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12750 asm_name_prefix="_"
12751 else
12752 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12754 asm_name_prefix=""
12758 if test "$ac_cv_c_stdcall_suffix" = "yes"
12759 then
12760 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12762 else
12763 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12769 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12770 if ${ac_cv_asm_func_def+:} false; then :
12771 $as_echo_n "(cached) " >&6
12772 else
12773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12774 /* end confdefs.h. */
12777 main ()
12779 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12781 return 0;
12783 _ACEOF
12784 if ac_fn_c_try_link "$LINENO"; then :
12785 ac_cv_asm_func_def=".def"
12786 else
12787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12788 /* end confdefs.h. */
12791 main ()
12793 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12795 return 0;
12797 _ACEOF
12798 if ac_fn_c_try_link "$LINENO"; then :
12799 ac_cv_asm_func_def=".type @function"
12800 else
12801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12802 /* end confdefs.h. */
12805 main ()
12807 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12809 return 0;
12811 _ACEOF
12812 if ac_fn_c_try_link "$LINENO"; then :
12813 ac_cv_asm_func_def=".type 2"
12814 else
12815 ac_cv_asm_func_def="unknown"
12817 rm -f core conftest.err conftest.$ac_objext \
12818 conftest$ac_exeext conftest.$ac_ext
12820 rm -f core conftest.err conftest.$ac_objext \
12821 conftest$ac_exeext conftest.$ac_ext
12823 rm -f core conftest.err conftest.$ac_objext \
12824 conftest$ac_exeext conftest.$ac_ext
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12827 $as_echo "$ac_cv_asm_func_def" >&6; }
12830 case "$ac_cv_asm_func_def" in
12831 ".def")
12832 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12834 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12835 ".type @function")
12836 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12838 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
12839 ".type 2")
12840 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12842 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
12844 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12846 asm_func_header="" ;;
12847 esac
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12850 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12851 if ${ac_cv_c_asm_outside_funcs+:} false; then :
12852 $as_echo_n "(cached) " >&6
12853 else
12854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12855 /* end confdefs.h. */
12856 asm(".text\n\t.long 0");
12858 main ()
12862 return 0;
12864 _ACEOF
12865 if ac_fn_c_try_compile "$LINENO"; then :
12866 ac_cv_c_asm_outside_funcs="yes"
12867 else
12868 ac_cv_c_asm_outside_funcs="no"
12870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12873 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12876 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12877 if ${ac_cv_c_dot_previous+:} false; then :
12878 $as_echo_n "(cached) " >&6
12879 else
12880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12881 /* end confdefs.h. */
12884 main ()
12886 asm(".text\nac_test:\t.long 0\n\t.previous");
12888 return 0;
12890 _ACEOF
12891 if ac_fn_c_try_link "$LINENO"; then :
12892 ac_cv_c_dot_previous="yes"
12893 else
12894 ac_cv_c_dot_previous="no"
12896 rm -f core conftest.err conftest.$ac_objext \
12897 conftest$ac_exeext conftest.$ac_ext
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12900 $as_echo "$ac_cv_c_dot_previous" >&6; }
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12903 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12904 if ${ac_cv_c_cfi_support+:} false; then :
12905 $as_echo_n "(cached) " >&6
12906 else
12907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12908 /* end confdefs.h. */
12909 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12911 main ()
12915 return 0;
12917 _ACEOF
12918 if ac_fn_c_try_compile "$LINENO"; then :
12919 ac_cv_c_cfi_support="yes"
12920 else
12921 ac_cv_c_cfi_support="no"
12923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12926 $as_echo "$ac_cv_c_cfi_support" >&6; }
12928 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12929 asm_func_trailer=""
12930 if test "$ac_cv_c_dot_previous" = "yes"
12931 then
12932 asm_func_trailer="\\n\\t.previous"
12934 if test "$ac_cv_c_cfi_support" = "yes"
12935 then
12936 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
12937 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
12939 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12941 UNWINDFLAGS=-fasynchronous-unwind-tables
12943 else
12944 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12948 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
12951 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12952 then
12953 cat >>confdefs.h <<_ACEOF
12954 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12955 _ACEOF
12957 else
12958 cat >>confdefs.h <<_ACEOF
12959 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12960 _ACEOF
12964 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12967 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12971 LDPATH=""
12973 case $build_os in
12974 cygwin*|mingw32*)
12975 TOOLSEXT=".exe"
12977 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12979 darwin*|macosx*)
12982 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12984 esac
12986 case $host_os in
12987 mingw32*)
12988 CRTLIBS="-lmsvcrt"
12990 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12993 esac
12995 MAIN_BINARY="wine"
12997 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
12999 case $host_os in
13000 linux*)
13001 case $host_cpu in
13002 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
13004 x86_64*) EXTRA_BINARIES="wine64-preloader"
13006 esac
13008 esac
13011 ac_save_CFLAGS="$CFLAGS"
13012 CFLAGS="$CFLAGS $BUILTINFLAG"
13013 for ac_func in \
13014 _finite \
13015 _isnan \
13016 _pclose \
13017 _popen \
13018 _snprintf \
13019 _spawnvp \
13020 _strdup \
13021 _stricmp \
13022 _strnicmp \
13023 _strtoi64 \
13024 _strtoui64 \
13025 _vsnprintf \
13026 asctime_r \
13027 chsize \
13028 dlopen \
13029 epoll_create \
13030 ffs \
13031 finite \
13032 fnmatch \
13033 fork \
13034 fpclass \
13035 fstatfs \
13036 fstatvfs \
13037 ftruncate \
13038 futimens \
13039 futimes \
13040 futimesat \
13041 getattrlist \
13042 getdirentries \
13043 getopt_long_only \
13044 getpwuid \
13045 gettimeofday \
13046 getuid \
13047 kqueue \
13048 lstat \
13049 memmove \
13050 mmap \
13051 pclose \
13052 pipe2 \
13053 poll \
13054 popen \
13055 port_create \
13056 prctl \
13057 pread \
13058 pwrite \
13059 readdir \
13060 readlink \
13061 sched_yield \
13062 select \
13063 setproctitle \
13064 setrlimit \
13065 settimeofday \
13066 sigaltstack \
13067 sigprocmask \
13068 snprintf \
13069 spawnvp \
13070 statfs \
13071 statvfs \
13072 strcasecmp \
13073 strdup \
13074 strerror \
13075 strncasecmp \
13076 strtold \
13077 strtoll \
13078 strtoull \
13079 symlink \
13080 tcgetattr \
13081 thr_kill2 \
13082 timegm \
13083 usleep \
13084 vsnprintf
13086 do :
13087 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13088 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13089 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13090 cat >>confdefs.h <<_ACEOF
13091 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13092 _ACEOF
13095 done
13097 CFLAGS="$ac_save_CFLAGS"
13099 if test "$ac_cv_func_dlopen" = no
13100 then
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13102 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13103 if ${ac_cv_lib_dl_dlopen+:} false; then :
13104 $as_echo_n "(cached) " >&6
13105 else
13106 ac_check_lib_save_LIBS=$LIBS
13107 LIBS="-ldl $LIBS"
13108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13109 /* end confdefs.h. */
13111 /* Override any GCC internal prototype to avoid an error.
13112 Use char because int might match the return type of a GCC
13113 builtin and then its argument prototype would still apply. */
13114 #ifdef __cplusplus
13115 extern "C"
13116 #endif
13117 char dlopen ();
13119 main ()
13121 return dlopen ();
13123 return 0;
13125 _ACEOF
13126 if ac_fn_c_try_link "$LINENO"; then :
13127 ac_cv_lib_dl_dlopen=yes
13128 else
13129 ac_cv_lib_dl_dlopen=no
13131 rm -f core conftest.err conftest.$ac_objext \
13132 conftest$ac_exeext conftest.$ac_ext
13133 LIBS=$ac_check_lib_save_LIBS
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13136 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13137 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13138 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13139 LIBDL="-ldl"
13144 ac_wine_check_funcs_save_LIBS="$LIBS"
13145 LIBS="$LIBS $LIBDL"
13146 for ac_func in dladdr
13147 do :
13148 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
13149 if test "x$ac_cv_func_dladdr" = xyes; then :
13150 cat >>confdefs.h <<_ACEOF
13151 #define HAVE_DLADDR 1
13152 _ACEOF
13155 done
13157 LIBS="$ac_wine_check_funcs_save_LIBS"
13159 if test "$ac_cv_func_poll" = no
13160 then
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13162 $as_echo_n "checking for poll in -lpoll... " >&6; }
13163 if ${ac_cv_lib_poll_poll+:} false; then :
13164 $as_echo_n "(cached) " >&6
13165 else
13166 ac_check_lib_save_LIBS=$LIBS
13167 LIBS="-lpoll $LIBS"
13168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13169 /* end confdefs.h. */
13171 /* Override any GCC internal prototype to avoid an error.
13172 Use char because int might match the return type of a GCC
13173 builtin and then its argument prototype would still apply. */
13174 #ifdef __cplusplus
13175 extern "C"
13176 #endif
13177 char poll ();
13179 main ()
13181 return poll ();
13183 return 0;
13185 _ACEOF
13186 if ac_fn_c_try_link "$LINENO"; then :
13187 ac_cv_lib_poll_poll=yes
13188 else
13189 ac_cv_lib_poll_poll=no
13191 rm -f core conftest.err conftest.$ac_objext \
13192 conftest$ac_exeext conftest.$ac_ext
13193 LIBS=$ac_check_lib_save_LIBS
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13196 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13197 if test "x$ac_cv_lib_poll_poll" = xyes; then :
13198 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13199 LIBPOLL="-lpoll"
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13206 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13207 if ${ac_cv_search_gethostbyname+:} false; then :
13208 $as_echo_n "(cached) " >&6
13209 else
13210 ac_func_search_save_LIBS=$LIBS
13211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13212 /* end confdefs.h. */
13214 /* Override any GCC internal prototype to avoid an error.
13215 Use char because int might match the return type of a GCC
13216 builtin and then its argument prototype would still apply. */
13217 #ifdef __cplusplus
13218 extern "C"
13219 #endif
13220 char gethostbyname ();
13222 main ()
13224 return gethostbyname ();
13226 return 0;
13228 _ACEOF
13229 for ac_lib in '' nsl; do
13230 if test -z "$ac_lib"; then
13231 ac_res="none required"
13232 else
13233 ac_res=-l$ac_lib
13234 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13236 if ac_fn_c_try_link "$LINENO"; then :
13237 ac_cv_search_gethostbyname=$ac_res
13239 rm -f core conftest.err conftest.$ac_objext \
13240 conftest$ac_exeext
13241 if ${ac_cv_search_gethostbyname+:} false; then :
13242 break
13244 done
13245 if ${ac_cv_search_gethostbyname+:} false; then :
13247 else
13248 ac_cv_search_gethostbyname=no
13250 rm conftest.$ac_ext
13251 LIBS=$ac_func_search_save_LIBS
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13254 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13255 ac_res=$ac_cv_search_gethostbyname
13256 if test "$ac_res" != no; then :
13257 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13263 $as_echo_n "checking for library containing connect... " >&6; }
13264 if ${ac_cv_search_connect+:} false; then :
13265 $as_echo_n "(cached) " >&6
13266 else
13267 ac_func_search_save_LIBS=$LIBS
13268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13269 /* end confdefs.h. */
13271 /* Override any GCC internal prototype to avoid an error.
13272 Use char because int might match the return type of a GCC
13273 builtin and then its argument prototype would still apply. */
13274 #ifdef __cplusplus
13275 extern "C"
13276 #endif
13277 char connect ();
13279 main ()
13281 return connect ();
13283 return 0;
13285 _ACEOF
13286 for ac_lib in '' socket; do
13287 if test -z "$ac_lib"; then
13288 ac_res="none required"
13289 else
13290 ac_res=-l$ac_lib
13291 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13293 if ac_fn_c_try_link "$LINENO"; then :
13294 ac_cv_search_connect=$ac_res
13296 rm -f core conftest.err conftest.$ac_objext \
13297 conftest$ac_exeext
13298 if ${ac_cv_search_connect+:} false; then :
13299 break
13301 done
13302 if ${ac_cv_search_connect+:} false; then :
13304 else
13305 ac_cv_search_connect=no
13307 rm conftest.$ac_ext
13308 LIBS=$ac_func_search_save_LIBS
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13311 $as_echo "$ac_cv_search_connect" >&6; }
13312 ac_res=$ac_cv_search_connect
13313 if test "$ac_res" != no; then :
13314 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13320 $as_echo_n "checking for library containing inet_aton... " >&6; }
13321 if ${ac_cv_search_inet_aton+:} false; then :
13322 $as_echo_n "(cached) " >&6
13323 else
13324 ac_func_search_save_LIBS=$LIBS
13325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13326 /* end confdefs.h. */
13328 /* Override any GCC internal prototype to avoid an error.
13329 Use char because int might match the return type of a GCC
13330 builtin and then its argument prototype would still apply. */
13331 #ifdef __cplusplus
13332 extern "C"
13333 #endif
13334 char inet_aton ();
13336 main ()
13338 return inet_aton ();
13340 return 0;
13342 _ACEOF
13343 for ac_lib in '' resolv; do
13344 if test -z "$ac_lib"; then
13345 ac_res="none required"
13346 else
13347 ac_res=-l$ac_lib
13348 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13350 if ac_fn_c_try_link "$LINENO"; then :
13351 ac_cv_search_inet_aton=$ac_res
13353 rm -f core conftest.err conftest.$ac_objext \
13354 conftest$ac_exeext
13355 if ${ac_cv_search_inet_aton+:} false; then :
13356 break
13358 done
13359 if ${ac_cv_search_inet_aton+:} false; then :
13361 else
13362 ac_cv_search_inet_aton=no
13364 rm conftest.$ac_ext
13365 LIBS=$ac_func_search_save_LIBS
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13368 $as_echo "$ac_cv_search_inet_aton" >&6; }
13369 ac_res=$ac_cv_search_inet_aton
13370 if test "$ac_res" != no; then :
13371 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13376 for ac_func in \
13377 getaddrinfo \
13378 getnameinfo \
13379 getnetbyname \
13380 getprotobyname \
13381 getprotobynumber \
13382 getservbyport \
13383 inet_network \
13384 inet_ntop \
13385 inet_pton \
13386 sendmsg \
13387 socketpair \
13389 do :
13390 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13392 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13393 cat >>confdefs.h <<_ACEOF
13394 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13395 _ACEOF
13398 done
13401 ac_save_LIBS=$LIBS
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
13403 $as_echo_n "checking for library containing clock_gettime... " >&6; }
13404 if ${ac_cv_search_clock_gettime+:} false; then :
13405 $as_echo_n "(cached) " >&6
13406 else
13407 ac_func_search_save_LIBS=$LIBS
13408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13409 /* end confdefs.h. */
13411 /* Override any GCC internal prototype to avoid an error.
13412 Use char because int might match the return type of a GCC
13413 builtin and then its argument prototype would still apply. */
13414 #ifdef __cplusplus
13415 extern "C"
13416 #endif
13417 char clock_gettime ();
13419 main ()
13421 return clock_gettime ();
13423 return 0;
13425 _ACEOF
13426 for ac_lib in '' rt; do
13427 if test -z "$ac_lib"; then
13428 ac_res="none required"
13429 else
13430 ac_res=-l$ac_lib
13431 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13433 if ac_fn_c_try_link "$LINENO"; then :
13434 ac_cv_search_clock_gettime=$ac_res
13436 rm -f core conftest.err conftest.$ac_objext \
13437 conftest$ac_exeext
13438 if ${ac_cv_search_clock_gettime+:} false; then :
13439 break
13441 done
13442 if ${ac_cv_search_clock_gettime+:} false; then :
13444 else
13445 ac_cv_search_clock_gettime=no
13447 rm conftest.$ac_ext
13448 LIBS=$ac_func_search_save_LIBS
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
13451 $as_echo "$ac_cv_search_clock_gettime" >&6; }
13452 ac_res=$ac_cv_search_clock_gettime
13453 if test "$ac_res" != no; then :
13454 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13456 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13458 test "$ac_res" = "none required" || LIBRT="$ac_res"
13462 LIBS=$ac_save_LIBS
13464 LDAPLIBS=""
13466 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13467 then
13468 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13470 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13472 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13473 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
13474 $as_echo_n "(cached) " >&6
13475 else
13476 ac_check_lib_save_LIBS=$LIBS
13477 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13479 /* end confdefs.h. */
13481 /* Override any GCC internal prototype to avoid an error.
13482 Use char because int might match the return type of a GCC
13483 builtin and then its argument prototype would still apply. */
13484 #ifdef __cplusplus
13485 extern "C"
13486 #endif
13487 char ldap_initialize ();
13489 main ()
13491 return ldap_initialize ();
13493 return 0;
13495 _ACEOF
13496 if ac_fn_c_try_link "$LINENO"; then :
13497 ac_cv_lib_ldap_r_ldap_initialize=yes
13498 else
13499 ac_cv_lib_ldap_r_ldap_initialize=no
13501 rm -f core conftest.err conftest.$ac_objext \
13502 conftest$ac_exeext conftest.$ac_ext
13503 LIBS=$ac_check_lib_save_LIBS
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13506 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13507 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13509 $as_echo_n "checking for ber_init in -llber... " >&6; }
13510 if ${ac_cv_lib_lber_ber_init+:} false; then :
13511 $as_echo_n "(cached) " >&6
13512 else
13513 ac_check_lib_save_LIBS=$LIBS
13514 LIBS="-llber $LIBPTHREAD $LIBS"
13515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13516 /* end confdefs.h. */
13518 /* Override any GCC internal prototype to avoid an error.
13519 Use char because int might match the return type of a GCC
13520 builtin and then its argument prototype would still apply. */
13521 #ifdef __cplusplus
13522 extern "C"
13523 #endif
13524 char ber_init ();
13526 main ()
13528 return ber_init ();
13530 return 0;
13532 _ACEOF
13533 if ac_fn_c_try_link "$LINENO"; then :
13534 ac_cv_lib_lber_ber_init=yes
13535 else
13536 ac_cv_lib_lber_ber_init=no
13538 rm -f core conftest.err conftest.$ac_objext \
13539 conftest$ac_exeext conftest.$ac_ext
13540 LIBS=$ac_check_lib_save_LIBS
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13543 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13544 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
13546 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13548 LDAPLIBS="-lldap_r -llber"
13555 ac_wine_check_funcs_save_LIBS="$LIBS"
13556 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13557 for ac_func in \
13558 ldap_count_references \
13559 ldap_first_reference \
13560 ldap_next_reference \
13561 ldap_parse_reference \
13562 ldap_parse_sort_control \
13563 ldap_parse_sortresponse_control \
13564 ldap_parse_vlv_control \
13565 ldap_parse_vlvresponse_control
13566 do :
13567 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13568 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13569 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13570 cat >>confdefs.h <<_ACEOF
13571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13572 _ACEOF
13575 done
13577 LIBS="$ac_wine_check_funcs_save_LIBS"
13579 if test "x$LDAPLIBS" = "x"; then :
13580 case "x$with_ldap" in
13581 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13582 xno) ;;
13583 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13584 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13585 esac
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13589 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13590 if ${wine_cv_one_arg_mkdir+:} false; then :
13591 $as_echo_n "(cached) " >&6
13592 else
13593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13594 /* end confdefs.h. */
13595 #include <sys/stat.h>
13597 main ()
13599 mkdir("foo");
13601 return 0;
13603 _ACEOF
13604 if ac_fn_c_try_compile "$LINENO"; then :
13605 wine_cv_one_arg_mkdir=yes
13606 else
13607 wine_cv_one_arg_mkdir=no
13609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13612 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13613 if test "$wine_cv_one_arg_mkdir" = "yes"
13614 then
13616 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13621 $as_echo_n "checking for sched_setaffinity... " >&6; }
13622 if ${wine_cv_have_sched_setaffinity+:} false; then :
13623 $as_echo_n "(cached) " >&6
13624 else
13625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13627 #define _GNU_SOURCE
13628 #include <sched.h>
13630 main ()
13632 sched_setaffinity(0, 0, 0);
13634 return 0;
13636 _ACEOF
13637 if ac_fn_c_try_link "$LINENO"; then :
13638 wine_cv_have_sched_setaffinity=yes
13639 else
13640 wine_cv_have_sched_setaffinity=no
13642 rm -f core conftest.err conftest.$ac_objext \
13643 conftest$ac_exeext conftest.$ac_ext
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13646 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13647 if test "$wine_cv_have_sched_setaffinity" = "yes"
13648 then
13650 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
13655 $as_echo_n "checking for fallocate... " >&6; }
13656 if ${wine_cv_have_fallocate+:} false; then :
13657 $as_echo_n "(cached) " >&6
13658 else
13659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13660 /* end confdefs.h. */
13661 #define _GNU_SOURCE
13662 #include <fcntl.h>
13664 main ()
13666 fallocate(-1, 0, 0, 0);
13668 return 0;
13670 _ACEOF
13671 if ac_fn_c_try_link "$LINENO"; then :
13672 wine_cv_have_fallocate=yes
13673 else
13674 wine_cv_have_fallocate=no
13676 rm -f core conftest.err conftest.$ac_objext \
13677 conftest$ac_exeext conftest.$ac_ext
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
13680 $as_echo "$wine_cv_have_fallocate" >&6; }
13681 if test "$wine_cv_have_fallocate" = "yes"
13682 then
13684 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13690 $as_echo_n "checking for inline... " >&6; }
13691 if ${ac_cv_c_inline+:} false; then :
13692 $as_echo_n "(cached) " >&6
13693 else
13694 ac_cv_c_inline=no
13695 for ac_kw in inline __inline__ __inline; do
13696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13698 #ifndef __cplusplus
13699 typedef int foo_t;
13700 static $ac_kw foo_t static_foo () {return 0; }
13701 $ac_kw foo_t foo () {return 0; }
13702 #endif
13704 _ACEOF
13705 if ac_fn_c_try_compile "$LINENO"; then :
13706 ac_cv_c_inline=$ac_kw
13708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13709 test "$ac_cv_c_inline" != no && break
13710 done
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13714 $as_echo "$ac_cv_c_inline" >&6; }
13716 case $ac_cv_c_inline in
13717 inline | yes) ;;
13719 case $ac_cv_c_inline in
13720 no) ac_val=;;
13721 *) ac_val=$ac_cv_c_inline;;
13722 esac
13723 cat >>confdefs.h <<_ACEOF
13724 #ifndef __cplusplus
13725 #define inline $ac_val
13726 #endif
13727 _ACEOF
13729 esac
13731 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13732 if test "x$ac_cv_type_mode_t" = xyes; then :
13734 cat >>confdefs.h <<_ACEOF
13735 #define HAVE_MODE_T 1
13736 _ACEOF
13740 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13741 if test "x$ac_cv_type_off_t" = xyes; then :
13743 cat >>confdefs.h <<_ACEOF
13744 #define HAVE_OFF_T 1
13745 _ACEOF
13749 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13750 if test "x$ac_cv_type_pid_t" = xyes; then :
13752 cat >>confdefs.h <<_ACEOF
13753 #define HAVE_PID_T 1
13754 _ACEOF
13758 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13759 if test "x$ac_cv_type_size_t" = xyes; then :
13761 cat >>confdefs.h <<_ACEOF
13762 #define HAVE_SIZE_T 1
13763 _ACEOF
13767 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13768 if test "x$ac_cv_type_ssize_t" = xyes; then :
13770 cat >>confdefs.h <<_ACEOF
13771 #define HAVE_SSIZE_T 1
13772 _ACEOF
13776 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13777 if test "x$ac_cv_type_long_long" = xyes; then :
13779 cat >>confdefs.h <<_ACEOF
13780 #define HAVE_LONG_LONG 1
13781 _ACEOF
13785 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13786 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
13788 cat >>confdefs.h <<_ACEOF
13789 #define HAVE_FSBLKCNT_T 1
13790 _ACEOF
13794 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13795 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
13797 cat >>confdefs.h <<_ACEOF
13798 #define HAVE_FSFILCNT_T 1
13799 _ACEOF
13804 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13805 #include <signal.h>
13807 if test "x$ac_cv_type_sigset_t" = xyes; then :
13809 cat >>confdefs.h <<_ACEOF
13810 #define HAVE_SIGSET_T 1
13811 _ACEOF
13816 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13818 if test "x$ac_cv_type_request_sense" = xyes; then :
13820 cat >>confdefs.h <<_ACEOF
13821 #define HAVE_REQUEST_SENSE 1
13822 _ACEOF
13828 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13829 #ifdef HAVE_SYS_SOCKET_H
13830 #include <sys/socket.h>
13831 #endif
13832 #ifdef HAVE_SYS_SOCKETVAR_H
13833 #include <sys/socketvar.h>
13834 #endif
13835 #ifdef HAVE_NET_ROUTE_H
13836 #include <net/route.h>
13837 #endif
13838 #ifdef HAVE_NETINET_IN_H
13839 #include <netinet/in.h>
13840 #endif
13841 #ifdef HAVE_NETINET_IN_SYSTM_H
13842 #include <netinet/in_systm.h>
13843 #endif
13844 #ifdef HAVE_NETINET_IP_H
13845 #include <netinet/ip.h>
13846 #endif
13847 #ifdef HAVE_NETINET_IN_PCB_H
13848 #include <netinet/in_pcb.h>
13849 #endif
13851 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
13853 cat >>confdefs.h <<_ACEOF
13854 #define HAVE_STRUCT_XINPGEN 1
13855 _ACEOF
13861 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13862 #include <linux/input.h>
13863 #endif
13865 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
13867 cat >>confdefs.h <<_ACEOF
13868 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13869 _ACEOF
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13876 $as_echo_n "checking for sigaddset... " >&6; }
13877 if ${wine_cv_have_sigaddset+:} false; then :
13878 $as_echo_n "(cached) " >&6
13879 else
13880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13882 #include <signal.h>
13884 main ()
13886 sigset_t set; sigaddset(&set,SIGTERM);
13888 return 0;
13890 _ACEOF
13891 if ac_fn_c_try_link "$LINENO"; then :
13892 wine_cv_have_sigaddset=yes
13893 else
13894 wine_cv_have_sigaddset=no
13896 rm -f core conftest.err conftest.$ac_objext \
13897 conftest$ac_exeext conftest.$ac_ext
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13900 $as_echo "$wine_cv_have_sigaddset" >&6; }
13901 if test "$wine_cv_have_sigaddset" = "yes"
13902 then
13904 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13910 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13911 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
13912 $as_echo_n "(cached) " >&6
13913 else
13914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13916 #include <netdb.h>
13918 main ()
13921 char *name=0;
13922 struct hostent he;
13923 struct hostent *result;
13924 char *buf=0;
13925 int bufsize=0;
13926 int errnr;
13927 char *addr=0;
13928 int addrlen=0;
13929 int addrtype=0;
13930 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13931 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13934 return 0;
13936 _ACEOF
13937 if ac_fn_c_try_link "$LINENO"; then :
13938 wine_cv_linux_gethostbyname_r_6=yes
13939 else
13940 wine_cv_linux_gethostbyname_r_6=no
13943 rm -f core conftest.err conftest.$ac_objext \
13944 conftest$ac_exeext conftest.$ac_ext
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13948 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13949 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13950 then
13952 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13956 if test "$ac_cv_header_linux_joystick_h" = "yes"
13957 then
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13959 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13960 if ${wine_cv_linux_joystick_22_api+:} false; then :
13961 $as_echo_n "(cached) " >&6
13962 else
13963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13964 /* end confdefs.h. */
13966 #include <sys/ioctl.h>
13967 #include <sys/types.h>
13968 #include <linux/joystick.h>
13970 struct js_event blub;
13971 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13972 #error "no 2.2 header"
13973 #endif
13976 main ()
13978 /*empty*/
13980 return 0;
13982 _ACEOF
13983 if ac_fn_c_try_compile "$LINENO"; then :
13984 wine_cv_linux_joystick_22_api=yes
13985 else
13986 wine_cv_linux_joystick_22_api=no
13988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13992 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13993 if test "$wine_cv_linux_joystick_22_api" = "yes"
13994 then
13996 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14002 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14003 #ifdef HAVE_SYS_PARAM_H
14004 # include <sys/param.h>
14005 #endif
14006 #ifdef HAVE_SYS_MOUNT_H
14007 # include <sys/mount.h>
14008 #endif
14009 #ifdef HAVE_SYS_VFS_H
14010 # include <sys/vfs.h>
14011 #endif
14012 #ifdef HAVE_SYS_STATFS_H
14013 # include <sys/statfs.h>
14014 #endif
14016 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
14018 cat >>confdefs.h <<_ACEOF
14019 #define HAVE_STRUCT_STATFS_F_BFREE 1
14020 _ACEOF
14024 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14025 #ifdef HAVE_SYS_PARAM_H
14026 # include <sys/param.h>
14027 #endif
14028 #ifdef HAVE_SYS_MOUNT_H
14029 # include <sys/mount.h>
14030 #endif
14031 #ifdef HAVE_SYS_VFS_H
14032 # include <sys/vfs.h>
14033 #endif
14034 #ifdef HAVE_SYS_STATFS_H
14035 # include <sys/statfs.h>
14036 #endif
14038 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
14040 cat >>confdefs.h <<_ACEOF
14041 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14042 _ACEOF
14046 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14047 #ifdef HAVE_SYS_PARAM_H
14048 # include <sys/param.h>
14049 #endif
14050 #ifdef HAVE_SYS_MOUNT_H
14051 # include <sys/mount.h>
14052 #endif
14053 #ifdef HAVE_SYS_VFS_H
14054 # include <sys/vfs.h>
14055 #endif
14056 #ifdef HAVE_SYS_STATFS_H
14057 # include <sys/statfs.h>
14058 #endif
14060 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
14062 cat >>confdefs.h <<_ACEOF
14063 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14064 _ACEOF
14068 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14069 #ifdef HAVE_SYS_PARAM_H
14070 # include <sys/param.h>
14071 #endif
14072 #ifdef HAVE_SYS_MOUNT_H
14073 # include <sys/mount.h>
14074 #endif
14075 #ifdef HAVE_SYS_VFS_H
14076 # include <sys/vfs.h>
14077 #endif
14078 #ifdef HAVE_SYS_STATFS_H
14079 # include <sys/statfs.h>
14080 #endif
14082 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
14084 cat >>confdefs.h <<_ACEOF
14085 #define HAVE_STRUCT_STATFS_F_FFREE 1
14086 _ACEOF
14090 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14091 #ifdef HAVE_SYS_PARAM_H
14092 # include <sys/param.h>
14093 #endif
14094 #ifdef HAVE_SYS_MOUNT_H
14095 # include <sys/mount.h>
14096 #endif
14097 #ifdef HAVE_SYS_VFS_H
14098 # include <sys/vfs.h>
14099 #endif
14100 #ifdef HAVE_SYS_STATFS_H
14101 # include <sys/statfs.h>
14102 #endif
14104 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
14106 cat >>confdefs.h <<_ACEOF
14107 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14108 _ACEOF
14112 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14113 #ifdef HAVE_SYS_PARAM_H
14114 # include <sys/param.h>
14115 #endif
14116 #ifdef HAVE_SYS_MOUNT_H
14117 # include <sys/mount.h>
14118 #endif
14119 #ifdef HAVE_SYS_VFS_H
14120 # include <sys/vfs.h>
14121 #endif
14122 #ifdef HAVE_SYS_STATFS_H
14123 # include <sys/statfs.h>
14124 #endif
14126 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
14128 cat >>confdefs.h <<_ACEOF
14129 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14130 _ACEOF
14136 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14137 #include <sys/statvfs.h>
14138 #endif
14140 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
14142 cat >>confdefs.h <<_ACEOF
14143 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14144 _ACEOF
14150 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14151 #include <dirent.h>
14152 #endif
14154 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
14156 cat >>confdefs.h <<_ACEOF
14157 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14158 _ACEOF
14164 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14165 #ifdef HAVE_SYS_SOCKET_H
14166 # include <sys/socket.h>
14167 #endif
14168 #ifdef HAVE_SYS_UN_H
14169 # include <sys/un.h>
14170 #endif
14172 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
14174 cat >>confdefs.h <<_ACEOF
14175 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14176 _ACEOF
14180 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14181 #ifdef HAVE_SYS_SOCKET_H
14182 # include <sys/socket.h>
14183 #endif
14184 #ifdef HAVE_SYS_UN_H
14185 # include <sys/un.h>
14186 #endif
14188 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
14190 cat >>confdefs.h <<_ACEOF
14191 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14192 _ACEOF
14196 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14197 #ifdef HAVE_SYS_SOCKET_H
14198 # include <sys/socket.h>
14199 #endif
14200 #ifdef HAVE_SYS_UN_H
14201 # include <sys/un.h>
14202 #endif
14204 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
14206 cat >>confdefs.h <<_ACEOF
14207 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14208 _ACEOF
14214 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14215 #ifdef HAVE_SCSI_SG_H
14216 #include <scsi/sg.h>
14217 #endif
14219 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
14221 cat >>confdefs.h <<_ACEOF
14222 #define HAVE_SCSIREQ_T_CMD 1
14223 _ACEOF
14227 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>
14228 #ifdef HAVE_SCSI_SG_H
14229 #include <scsi/sg.h>
14230 #endif
14232 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
14234 cat >>confdefs.h <<_ACEOF
14235 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14236 _ACEOF
14242 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14244 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
14246 cat >>confdefs.h <<_ACEOF
14247 #define HAVE_SIGINFO_T_SI_FD 1
14248 _ACEOF
14254 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14255 #ifdef HAVE_SYS_MTIO_H
14256 #include <sys/mtio.h>
14257 #endif
14259 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
14261 cat >>confdefs.h <<_ACEOF
14262 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14263 _ACEOF
14267 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14268 #ifdef HAVE_SYS_MTIO_H
14269 #include <sys/mtio.h>
14270 #endif
14272 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
14274 cat >>confdefs.h <<_ACEOF
14275 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14276 _ACEOF
14280 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14281 #ifdef HAVE_SYS_MTIO_H
14282 #include <sys/mtio.h>
14283 #endif
14285 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
14287 cat >>confdefs.h <<_ACEOF
14288 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14289 _ACEOF
14295 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14296 #include <getopt.h>
14297 #endif
14299 if test "x$ac_cv_member_struct_option_name" = xyes; then :
14301 cat >>confdefs.h <<_ACEOF
14302 #define HAVE_STRUCT_OPTION_NAME 1
14303 _ACEOF
14309 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14310 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
14312 cat >>confdefs.h <<_ACEOF
14313 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14314 _ACEOF
14318 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14319 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
14321 cat >>confdefs.h <<_ACEOF
14322 #define HAVE_STRUCT_STAT_ST_MTIM 1
14323 _ACEOF
14327 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14328 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
14330 cat >>confdefs.h <<_ACEOF
14331 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14332 _ACEOF
14336 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14337 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
14339 cat >>confdefs.h <<_ACEOF
14340 #define HAVE_STRUCT_STAT_ST_CTIM 1
14341 _ACEOF
14345 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14346 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
14348 cat >>confdefs.h <<_ACEOF
14349 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14350 _ACEOF
14354 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14355 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
14357 cat >>confdefs.h <<_ACEOF
14358 #define HAVE_STRUCT_STAT_ST_ATIM 1
14359 _ACEOF
14363 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14364 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
14366 cat >>confdefs.h <<_ACEOF
14367 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14368 _ACEOF
14372 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14373 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
14375 cat >>confdefs.h <<_ACEOF
14376 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14377 _ACEOF
14381 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14382 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
14384 cat >>confdefs.h <<_ACEOF
14385 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14386 _ACEOF
14390 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14391 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
14393 cat >>confdefs.h <<_ACEOF
14394 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14395 _ACEOF
14399 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14400 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
14402 cat >>confdefs.h <<_ACEOF
14403 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14404 _ACEOF
14408 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14409 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
14411 cat >>confdefs.h <<_ACEOF
14412 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14413 _ACEOF
14419 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
14420 #include <sys/types.h>
14421 #endif
14422 #ifdef HAVE_NETINET_IN_H
14423 #include <netinet/in.h>
14424 #endif
14426 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
14428 cat >>confdefs.h <<_ACEOF
14429 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14430 _ACEOF
14436 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14437 #include <sys/types.h>
14438 #endif
14439 #ifdef HAVE_NETINET_IN_H
14440 # include <netinet/in.h>
14441 #endif
14442 #ifdef HAVE_ARPA_NAMESER_H
14443 # include <arpa/nameser.h>
14444 #endif
14446 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
14448 cat >>confdefs.h <<_ACEOF
14449 #define HAVE_NS_MSG__MSG_PTR 1
14450 _ACEOF
14456 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14457 #include <sys/types.h>
14458 #endif
14459 #ifdef HAVE_NETINET_IP_H
14460 #include <netinet/ip.h>
14461 #endif
14462 #ifdef HAVE_NETINET_IP_ICMP_H
14463 #include <netinet/ip_icmp.h>
14464 #endif
14465 #ifdef HAVE_NETINET_ICMP_VAR_H
14466 #include <netinet/icmp_var.h>
14467 #endif
14469 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
14471 cat >>confdefs.h <<_ACEOF
14472 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14473 _ACEOF
14479 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14480 #include <sys/types.h>
14481 #endif
14482 #ifdef HAVE_ALIAS_H
14483 #include <alias.h>
14484 #endif
14485 #ifdef HAVE_SYS_SOCKET_H
14486 #include <sys/socket.h>
14487 #endif
14488 #ifdef HAVE_SYS_SOCKETVAR_H
14489 #include <sys/socketvar.h>
14490 #endif
14491 #ifdef HAVE_SYS_TIMEOUT_H
14492 #include <sys/timeout.h>
14493 #endif
14494 #ifdef HAVE_NETINET_IN_H
14495 #include <netinet/in.h>
14496 #endif
14497 #ifdef HAVE_NETINET_IN_SYSTM_H
14498 #include <netinet/in_systm.h>
14499 #endif
14500 #ifdef HAVE_NETINET_IP_H
14501 #include <netinet/ip.h>
14502 #endif
14503 #ifdef HAVE_NETINET_IP_VAR_H
14504 #include <netinet/ip_var.h>
14505 #endif
14506 #ifdef HAVE_NETINET_IP_ICMP_H
14507 #include <netinet/ip_icmp.h>
14508 #endif
14509 #ifdef HAVE_NETINET_ICMP_VAR_H
14510 #include <netinet/icmp_var.h>
14511 #endif
14513 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
14515 cat >>confdefs.h <<_ACEOF
14516 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14517 _ACEOF
14523 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14524 #include <sys/types.h>
14525 #endif
14526 #ifdef HAVE_SYS_SOCKETVAR_H
14527 #include <sys/socketvar.h>
14528 #endif
14529 #ifdef HAVE_NETINET_IN_H
14530 #include <netinet/in.h>
14531 #endif
14532 #ifdef HAVE_NETINET_IP_VAR_H
14533 #include <netinet/ip_var.h>
14534 #endif
14536 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
14538 cat >>confdefs.h <<_ACEOF
14539 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14540 _ACEOF
14546 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
14547 #include <netinet/ip_var.h>
14548 #endif
14550 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
14552 cat >>confdefs.h <<_ACEOF
14553 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14554 _ACEOF
14560 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14561 #include <sys/types.h>
14562 #endif
14563 #ifdef HAVE_SYS_SOCKETVAR_H
14564 #include <sys/socketvar.h>
14565 #endif
14566 #ifdef HAVE_NETINET_IN_H
14567 #include <netinet/in.h>
14568 #endif
14569 #ifdef HAVE_NETINET_TCP_H
14570 #include <netinet/tcp.h>
14571 #endif
14572 #ifdef HAVE_NETINET_TCP_VAR_H
14573 #include <netinet/tcp_var.h>
14574 #endif
14576 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
14578 cat >>confdefs.h <<_ACEOF
14579 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14580 _ACEOF
14586 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
14587 #include <netinet/tcp_var.h>
14588 #endif
14590 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
14592 cat >>confdefs.h <<_ACEOF
14593 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14594 _ACEOF
14600 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14601 #include <sys/types.h>
14602 #endif
14603 #ifdef HAVE_NETINET_IN_H
14604 #include <netinet/in.h>
14605 #endif
14606 #ifdef HAVE_NETINET_IP_VAR_H
14607 #include <netinet/ip_var.h>
14608 #endif
14609 #ifdef HAVE_NETINET_UDP_H
14610 #include <netinet/udp.h>
14611 #endif
14612 #ifdef HAVE_NETINET_UDP_VAR_H
14613 #include <netinet/udp_var.h>
14614 #endif
14616 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
14618 cat >>confdefs.h <<_ACEOF
14619 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14620 _ACEOF
14626 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14627 #include <sys/types.h>
14628 #endif
14629 #ifdef HAVE_NET_IF_H
14630 # include <net/if.h>
14631 #endif
14633 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
14635 cat >>confdefs.h <<_ACEOF
14636 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14637 _ACEOF
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14644 $as_echo_n "checking for timezone variable... " >&6; }
14645 if ${ac_cv_have_timezone+:} false; then :
14646 $as_echo_n "(cached) " >&6
14647 else
14648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14650 #include <time.h>
14652 main ()
14654 timezone = 1
14656 return 0;
14658 _ACEOF
14659 if ac_fn_c_try_link "$LINENO"; then :
14660 ac_cv_have_timezone="yes"
14661 else
14662 ac_cv_have_timezone="no"
14664 rm -f core conftest.err conftest.$ac_objext \
14665 conftest$ac_exeext conftest.$ac_ext
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14668 $as_echo "$ac_cv_have_timezone" >&6; }
14669 if test "$ac_cv_have_timezone" = "yes"
14670 then
14672 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14676 $as_echo_n "checking for daylight variable... " >&6; }
14677 if ${ac_cv_have_daylight+:} false; then :
14678 $as_echo_n "(cached) " >&6
14679 else
14680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14681 /* end confdefs.h. */
14682 #include <time.h>
14684 main ()
14686 daylight = 1
14688 return 0;
14690 _ACEOF
14691 if ac_fn_c_try_link "$LINENO"; then :
14692 ac_cv_have_daylight="yes"
14693 else
14694 ac_cv_have_daylight="no"
14696 rm -f core conftest.err conftest.$ac_objext \
14697 conftest$ac_exeext conftest.$ac_ext
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14700 $as_echo "$ac_cv_have_daylight" >&6; }
14701 if test "$ac_cv_have_daylight" = "yes"
14702 then
14704 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14708 ac_save_LIBS="$LIBS"
14709 LIBS="$LIBS -lm"
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14711 $as_echo_n "checking for isinf... " >&6; }
14712 if ${ac_cv_have_isinf+:} false; then :
14713 $as_echo_n "(cached) " >&6
14714 else
14715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14716 /* end confdefs.h. */
14717 #include <math.h>
14719 main ()
14721 float f = 0.0; return isinf(f)
14723 return 0;
14725 _ACEOF
14726 if ac_fn_c_try_link "$LINENO"; then :
14727 ac_cv_have_isinf="yes"
14728 else
14729 ac_cv_have_isinf="no"
14731 rm -f core conftest.err conftest.$ac_objext \
14732 conftest$ac_exeext conftest.$ac_ext
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14735 $as_echo "$ac_cv_have_isinf" >&6; }
14736 if test "$ac_cv_have_isinf" = "yes"
14737 then
14739 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14744 $as_echo_n "checking for isnan... " >&6; }
14745 if ${ac_cv_have_isnan+:} false; then :
14746 $as_echo_n "(cached) " >&6
14747 else
14748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14749 /* end confdefs.h. */
14750 #include <math.h>
14752 main ()
14754 float f = 0.0; return isnan(f)
14756 return 0;
14758 _ACEOF
14759 if ac_fn_c_try_link "$LINENO"; then :
14760 ac_cv_have_isnan="yes"
14761 else
14762 ac_cv_have_isnan="no"
14764 rm -f core conftest.err conftest.$ac_objext \
14765 conftest$ac_exeext conftest.$ac_ext
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14768 $as_echo "$ac_cv_have_isnan" >&6; }
14769 if test "$ac_cv_have_isnan" = "yes"
14770 then
14772 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14775 LIBS="$ac_save_LIBS"
14778 case $host_cpu in
14779 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14780 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14781 if ${ac_cv_cpp_def___i386__+:} false; then :
14782 $as_echo_n "(cached) " >&6
14783 else
14784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14785 /* end confdefs.h. */
14786 #ifndef __i386__
14788 #endif
14789 _ACEOF
14790 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14791 $EGREP "yes" >/dev/null 2>&1; then :
14792 ac_cv_cpp_def___i386__=yes
14793 else
14794 ac_cv_cpp_def___i386__=no
14796 rm -f conftest*
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14800 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14801 if test $ac_cv_cpp_def___i386__ = yes; then :
14802 CFLAGS="$CFLAGS -D__i386__"
14803 LINTFLAGS="$LINTFLAGS -D__i386__"
14804 fi ;;
14805 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14806 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14807 if ${ac_cv_cpp_def___x86_64__+:} false; then :
14808 $as_echo_n "(cached) " >&6
14809 else
14810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14811 /* end confdefs.h. */
14812 #ifndef __x86_64__
14814 #endif
14815 _ACEOF
14816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14817 $EGREP "yes" >/dev/null 2>&1; then :
14818 ac_cv_cpp_def___x86_64__=yes
14819 else
14820 ac_cv_cpp_def___x86_64__=no
14822 rm -f conftest*
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14826 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14827 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14828 CFLAGS="$CFLAGS -D__x86_64__"
14829 LINTFLAGS="$LINTFLAGS -D__x86_64__"
14830 fi ;;
14831 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
14832 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
14833 if ${ac_cv_cpp_def___sparc64__+:} false; then :
14834 $as_echo_n "(cached) " >&6
14835 else
14836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14837 /* end confdefs.h. */
14838 #ifndef __sparc64__
14840 #endif
14841 _ACEOF
14842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14843 $EGREP "yes" >/dev/null 2>&1; then :
14844 ac_cv_cpp_def___sparc64__=yes
14845 else
14846 ac_cv_cpp_def___sparc64__=no
14848 rm -f conftest*
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
14852 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
14853 if test $ac_cv_cpp_def___sparc64__ = yes; then :
14854 CFLAGS="$CFLAGS -D__sparc64__"
14855 LINTFLAGS="$LINTFLAGS -D__sparc64__"
14856 fi ;;
14857 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14858 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14859 if ${ac_cv_cpp_def___sparc__+:} false; then :
14860 $as_echo_n "(cached) " >&6
14861 else
14862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14863 /* end confdefs.h. */
14864 #ifndef __sparc__
14866 #endif
14867 _ACEOF
14868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14869 $EGREP "yes" >/dev/null 2>&1; then :
14870 ac_cv_cpp_def___sparc__=yes
14871 else
14872 ac_cv_cpp_def___sparc__=no
14874 rm -f conftest*
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14878 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14879 if test $ac_cv_cpp_def___sparc__ = yes; then :
14880 CFLAGS="$CFLAGS -D__sparc__"
14881 LINTFLAGS="$LINTFLAGS -D__sparc__"
14882 fi ;;
14883 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
14884 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
14885 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
14886 $as_echo_n "(cached) " >&6
14887 else
14888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14889 /* end confdefs.h. */
14890 #ifndef __powerpc64__
14892 #endif
14893 _ACEOF
14894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14895 $EGREP "yes" >/dev/null 2>&1; then :
14896 ac_cv_cpp_def___powerpc64__=yes
14897 else
14898 ac_cv_cpp_def___powerpc64__=no
14900 rm -f conftest*
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
14904 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
14905 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
14906 CFLAGS="$CFLAGS -D__powerpc64__"
14907 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
14908 fi ;;
14909 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14910 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14911 if ${ac_cv_cpp_def___powerpc__+:} false; then :
14912 $as_echo_n "(cached) " >&6
14913 else
14914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14915 /* end confdefs.h. */
14916 #ifndef __powerpc__
14918 #endif
14919 _ACEOF
14920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14921 $EGREP "yes" >/dev/null 2>&1; then :
14922 ac_cv_cpp_def___powerpc__=yes
14923 else
14924 ac_cv_cpp_def___powerpc__=no
14926 rm -f conftest*
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14930 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14931 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14932 CFLAGS="$CFLAGS -D__powerpc__"
14933 LINTFLAGS="$LINTFLAGS -D__powerpc__"
14934 fi ;;
14935 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
14936 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
14937 if ${ac_cv_cpp_def___aarch64__+:} false; then :
14938 $as_echo_n "(cached) " >&6
14939 else
14940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14941 /* end confdefs.h. */
14942 #ifndef __aarch64__
14944 #endif
14945 _ACEOF
14946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14947 $EGREP "yes" >/dev/null 2>&1; then :
14948 ac_cv_cpp_def___aarch64__=yes
14949 else
14950 ac_cv_cpp_def___aarch64__=no
14952 rm -f conftest*
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
14956 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
14957 if test $ac_cv_cpp_def___aarch64__ = yes; then :
14958 CFLAGS="$CFLAGS -D__aarch64__"
14959 LINTFLAGS="$LINTFLAGS -D__aarch64__"
14960 fi ;;
14961 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14962 $as_echo_n "checking whether we need to define __arm__... " >&6; }
14963 if ${ac_cv_cpp_def___arm__+:} false; then :
14964 $as_echo_n "(cached) " >&6
14965 else
14966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14967 /* end confdefs.h. */
14968 #ifndef __arm__
14970 #endif
14971 _ACEOF
14972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14973 $EGREP "yes" >/dev/null 2>&1; then :
14974 ac_cv_cpp_def___arm__=yes
14975 else
14976 ac_cv_cpp_def___arm__=no
14978 rm -f conftest*
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
14982 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
14983 if test $ac_cv_cpp_def___arm__ = yes; then :
14984 CFLAGS="$CFLAGS -D__arm__"
14985 LINTFLAGS="$LINTFLAGS -D__arm__"
14986 fi ;;
14987 esac
14989 case $host_vendor in
14990 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14991 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14992 if ${ac_cv_cpp_def___sun__+:} false; then :
14993 $as_echo_n "(cached) " >&6
14994 else
14995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14996 /* end confdefs.h. */
14997 #ifndef __sun__
14999 #endif
15000 _ACEOF
15001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15002 $EGREP "yes" >/dev/null 2>&1; then :
15003 ac_cv_cpp_def___sun__=yes
15004 else
15005 ac_cv_cpp_def___sun__=no
15007 rm -f conftest*
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15011 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15012 if test $ac_cv_cpp_def___sun__ = yes; then :
15013 CFLAGS="$CFLAGS -D__sun__"
15014 LINTFLAGS="$LINTFLAGS -D__sun__"
15015 fi ;;
15016 esac
15022 ac_config_commands="$ac_config_commands include/stamp-h"
15025 ALL_MAKEFILE_DEPENDS="
15026 # Rules automatically generated by configure
15028 .INIT: Makefile
15029 .MAKEFILEDEPS:
15030 all: Makefile
15031 Makefile: Makefile.in Make.vars.in Make.rules config.status
15032 @./config.status Make.tmp Makefile"
15034 ALL_POT_FILES=""
15035 ALL_TEST_RESOURCES=""
15038 wine_fn_append_file ()
15040 as_fn_append $1 " \\$as_nl $2"
15043 wine_fn_append_rule ()
15045 as_fn_append $1 "$as_nl$2"
15048 wine_fn_has_flag ()
15050 expr ",$2," : ".*,$1,.*" >/dev/null
15053 wine_fn_all_dir_rules ()
15055 ac_dir=$1
15056 ac_alldeps=$2
15057 ac_makedep="\$(MAKEDEP)"
15058 ac_input=Make.vars.in:$ac_dir/Makefile.in
15059 if test $ac_dir != tools
15060 then
15061 ac_alldeps="$2 $ac_makedep"
15062 else
15063 ac_alldeps="$2 include/config.h"
15065 case $2 in
15066 *.in) ac_input=$ac_input:$2 ;;
15067 *) ac_makedep="$2 $ac_makedep" ;;
15068 esac
15070 wine_fn_append_file ALL_DIRS $ac_dir
15071 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15072 "__clean__: $ac_dir/__clean__
15073 .PHONY: $ac_dir/__clean__
15074 $ac_dir/__clean__: $ac_dir/Makefile
15075 @cd $ac_dir && \$(MAKE) clean
15076 \$(RM) $ac_dir/Makefile
15077 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15078 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15079 depend: $ac_dir/__depend__
15080 .PHONY: $ac_dir/__depend__
15081 $ac_dir/__depend__: $ac_makedep dummy
15082 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15085 wine_fn_pot_rules ()
15087 ac_dir=$1
15088 ac_flags=$2
15090 test "x$with_gettextpo" = xyes || return
15092 if wine_fn_has_flag mc $ac_flags
15093 then
15094 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
15095 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15096 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15097 @cd $ac_dir && \$(MAKE) msg.pot
15098 $ac_dir/msg.pot: tools/wmc include"
15100 if wine_fn_has_flag po $ac_flags
15101 then
15102 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
15103 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15104 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15105 @cd $ac_dir && \$(MAKE) rsrc.pot
15106 $ac_dir/rsrc.pot: tools/wrc include"
15110 wine_fn_config_makefile ()
15112 ac_dir=$1
15113 ac_enable=$2
15114 ac_flags=$3
15115 ac_rules=$4
15116 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15117 return 0
15120 wine_fn_all_dir_rules $ac_dir ${ac_rules:-Make.rules}
15121 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15122 "all: $ac_dir
15123 .PHONY: $ac_dir
15124 $ac_dir: $ac_dir/Makefile dummy
15125 @cd $ac_dir && \$(MAKE)"
15127 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
15129 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15130 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15131 $ac_dir/__install__:: $ac_dir
15132 @cd $ac_dir && \$(MAKE) install
15133 $ac_dir/__uninstall__:: $ac_dir/Makefile
15134 @cd $ac_dir && \$(MAKE) uninstall
15135 install:: $ac_dir/__install__
15136 __uninstall__: $ac_dir/__uninstall__"
15138 if wine_fn_has_flag install-lib $ac_flags
15139 then
15140 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15141 ".PHONY: $ac_dir/__install-lib__
15142 $ac_dir/__install-lib__:: $ac_dir
15143 @cd $ac_dir && \$(MAKE) install-lib
15144 install-lib:: $ac_dir/__install-lib__"
15147 if wine_fn_has_flag install-dev $ac_flags
15148 then
15149 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15150 ".PHONY: $ac_dir/__install-dev
15151 $ac_dir/__install-dev__:: $ac_dir
15152 @cd $ac_dir && \$(MAKE) install-dev
15153 install-dev:: $ac_dir/__install-dev__"
15157 wine_fn_config_lib ()
15159 ac_name=$1
15160 ac_flags=$2
15161 ac_dir=dlls/$ac_name
15162 wine_fn_config_makefile $ac_dir enable_$ac_name "$ac_flags" dlls/Makeimplib.rules
15164 if wine_fn_has_flag install-dev $ac_flags
15165 then :
15166 else
15167 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15168 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15169 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15170 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15171 $ac_dir/__uninstall__::
15172 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15173 install install-dev:: $ac_dir/__install__
15174 __uninstall__: $ac_dir/__uninstall__"
15177 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: $ac_dir"
15178 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: tools/widl tools/winebuild tools/winegcc include"
15181 wine_fn_config_dll ()
15183 ac_name=$1
15184 ac_dir=dlls/$ac_name
15185 ac_enable=$2
15186 ac_flags=$3
15187 ac_implib=${4:-$ac_name}
15188 ac_file=$ac_dir/lib$ac_implib
15189 ac_dll=$ac_name
15190 ac_deps="tools/widl tools/winebuild tools/winegcc include"
15191 ac_implibflags=""
15193 case $ac_name in
15194 *16) ac_implibflags=" -m16" ;;
15195 *.*) ;;
15196 *) ac_dll=$ac_dll.dll ;;
15197 esac
15199 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" dlls/Makedll.rules
15201 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15202 test "$ac_enable" != enable_win16 || return 0
15203 wine_fn_has_flag implib $ac_flags && wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
15204 else
15205 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15206 "$ac_dir: __builddeps__
15207 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15208 @cd $ac_dir && \$(MAKE) \$@"
15210 if wine_fn_has_flag install-lib $ac_flags
15211 then :
15212 else
15213 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15214 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15215 install install-lib:: $ac_dir/__install-lib__
15216 __uninstall__: $ac_dir/__uninstall__"
15217 if test -n "$DLLEXT"
15218 then
15219 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15220 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15221 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
15222 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15223 $ac_dir/__uninstall__::
15224 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15225 else
15226 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15227 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15228 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15229 $ac_dir/__uninstall__::
15230 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15234 wine_fn_pot_rules $ac_dir $ac_flags
15237 if wine_fn_has_flag staticimplib $ac_flags
15238 then
15239 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15240 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15241 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15242 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15243 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15244 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15245 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15246 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15247 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15248 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15249 $ac_dir/__uninstall__::
15250 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15251 install install-dev:: $ac_dir/__install-dev__
15252 __uninstall__: $ac_dir/__uninstall__"
15254 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15255 then
15256 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15257 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15258 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15259 $ac_dir/__uninstall__::
15260 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15263 if test "x$CROSSTEST_DISABLE" = x
15264 then
15265 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15266 "__builddeps__: $ac_file.cross.a
15267 $ac_file.cross.a: $ac_dir/Makefile dummy
15268 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15271 elif wine_fn_has_flag implib $ac_flags
15272 then
15273 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15274 "__builddeps__: $ac_file.$IMPLIBEXT
15275 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15276 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15277 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15278 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15279 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15280 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15281 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15282 $ac_dir/__uninstall__::
15283 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15284 install install-dev:: $ac_dir/__install-dev__
15285 __uninstall__: $ac_dir/__uninstall__"
15286 if test "x$CROSSTEST_DISABLE" = x
15287 then
15288 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15289 "__builddeps__: $ac_file.cross.a
15290 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15291 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15294 if test "$ac_name" != "$ac_implib"
15295 then
15296 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15297 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15298 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15299 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15300 clean::
15301 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15302 if test "x$CROSSTEST_DISABLE" = x
15303 then
15304 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15305 "__builddeps__: dlls/lib$ac_implib.cross.a
15306 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15307 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15313 wine_fn_config_program ()
15315 ac_name=$1
15316 ac_dir=programs/$ac_name
15317 ac_enable=$2
15318 ac_flags=$3
15319 ac_program=$ac_name
15321 case $ac_name in
15322 *.*) ;;
15323 *) ac_program=$ac_program.exe ;;
15324 esac
15326 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" programs/Makeprog.rules
15328 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15330 else
15331 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15332 "$ac_dir: __builddeps__"
15334 wine_fn_pot_rules $ac_dir $ac_flags
15336 wine_fn_has_flag install $ac_flags || return
15337 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15338 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15339 install install-lib:: $ac_dir/__install__
15340 __uninstall__: $ac_dir/__uninstall__"
15342 if test -n "$DLLEXT"
15343 then
15344 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15345 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15346 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15347 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15348 $ac_dir/__uninstall__::
15349 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15351 if test "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
15352 then
15353 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15354 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15355 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15356 $ac_dir/__uninstall__::
15357 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15359 else
15360 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15361 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15362 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15363 $ac_dir/__uninstall__::
15364 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15367 if test "x$enable_tools" != xno && wine_fn_has_flag manpage $ac_flags
15368 then
15369 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15370 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15371 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15372 $ac_dir/__uninstall__::
15373 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15378 wine_fn_config_test ()
15380 ac_dir=$1
15381 ac_name=$2
15382 ac_flags=$3
15383 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
15384 wine_fn_all_dir_rules $ac_dir Maketest.rules
15386 if test "x$enable_tests" = xno; then :
15388 else
15389 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15390 "all: $ac_dir
15391 .PHONY: $ac_dir
15392 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15393 @cd $ac_dir && \$(MAKE)
15394 programs/winetest: $ac_dir
15395 check test: $ac_dir/__test__
15396 .PHONY: $ac_dir/__test__
15397 $ac_dir/__test__: dummy
15398 @cd $ac_dir && \$(MAKE) test
15399 testclean::
15400 \$(RM) $ac_dir/*.ok"
15402 if test "x$CROSSTEST_DISABLE" = x
15403 then
15404 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15405 "crosstest: $ac_dir/__crosstest__
15406 .PHONY: $ac_dir/__crosstest__
15407 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15408 @cd $ac_dir && \$(MAKE) crosstest"
15413 wine_fn_config_tool ()
15415 ac_dir=$1
15416 ac_flags=$2
15417 if test "x$enable_tools" = xno; then :
15418 return 0
15421 wine_fn_config_makefile $ac_dir enable_tools $ac_flags
15423 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__tooldeps__: $ac_dir"
15424 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: libs/port"
15425 case $ac_dir in
15426 tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
15427 esac
15430 wine_fn_config_makerules ()
15432 ac_rules=$1
15433 ac_deps=$2
15434 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15435 "$ac_rules: $ac_rules.in $ac_deps config.status
15436 @./config.status $ac_rules
15437 distclean::
15438 \$(RM) $ac_rules"
15441 wine_fn_config_symlink ()
15443 ac_link=$1
15444 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15445 "$ac_link:
15446 @./config.status $ac_link
15447 distclean::
15448 \$(RM) $ac_link"
15451 if test "x$CROSSTEST_DISABLE" != x
15452 then
15453 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15454 "crosstest:
15455 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15457 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15458 wine_fn_config_symlink dlls/shell32/AUTHORS
15459 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15460 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
15461 if test "x$enable_fonts" != xno; then
15462 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15463 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf
15465 if test "x$enable_fonts" != xno; then
15466 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15467 test "$srcdir" = "." || wine_fn_config_symlink fonts/symbol.ttf
15469 if test "x$enable_fonts" != xno; then
15470 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15471 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahoma.ttf
15473 if test "x$enable_fonts" != xno; then
15474 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15475 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
15477 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
15478 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
15479 if test "x$enable_tools" != xno; then
15480 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15481 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
15483 ac_config_links="$ac_config_links wine:tools/winewrapper"
15484 wine_fn_config_symlink wine
15485 if test "x$enable_win64" != xno; then
15486 ac_config_links="$ac_config_links wine64:tools/winewrapper"
15487 wine_fn_config_symlink wine64
15490 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
15492 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
15494 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
15496 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
15498 ac_config_commands="$ac_config_commands dlls/user32/resources"
15500 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
15502 ac_config_commands="$ac_config_commands include/wine"
15505 wine_fn_config_makerules Make.rules
15506 MAKE_RULES=Make.rules
15507 ac_config_files="$ac_config_files Make.rules"
15509 wine_fn_config_makerules Maketest.rules Make.rules
15510 MAKE_TEST_RULES=Maketest.rules
15511 ac_config_files="$ac_config_files Maketest.rules"
15513 wine_fn_config_makerules dlls/Makedll.rules Make.rules
15514 MAKE_DLL_RULES=dlls/Makedll.rules
15515 ac_config_files="$ac_config_files dlls/Makedll.rules"
15517 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
15518 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
15519 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
15521 wine_fn_config_makerules programs/Makeprog.rules Make.rules
15522 MAKE_PROG_RULES=programs/Makeprog.rules
15523 ac_config_files="$ac_config_files programs/Makeprog.rules"
15526 wine_fn_config_dll acledit enable_acledit
15527 wine_fn_config_dll aclui enable_aclui implib
15528 wine_fn_config_dll activeds enable_activeds implib
15529 wine_fn_config_dll actxprxy enable_actxprxy
15530 wine_fn_config_lib adsiid
15531 wine_fn_config_dll advapi32 enable_advapi32 implib
15532 wine_fn_config_test dlls/advapi32/tests advapi32_test
15533 wine_fn_config_dll advpack enable_advpack implib
15534 wine_fn_config_test dlls/advpack/tests advpack_test
15535 wine_fn_config_dll amstream enable_amstream
15536 wine_fn_config_test dlls/amstream/tests amstream_test
15537 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15538 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15539 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15540 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15541 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15542 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15543 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15544 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15545 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15546 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15547 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15548 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15549 wine_fn_config_dll apphelp enable_apphelp
15550 wine_fn_config_test dlls/apphelp/tests apphelp_test
15551 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15552 wine_fn_config_dll atl enable_atl implib
15553 wine_fn_config_test dlls/atl/tests atl_test
15554 wine_fn_config_dll atl100 enable_atl100 implib
15555 wine_fn_config_test dlls/atl100/tests atl100_test
15556 wine_fn_config_dll atl80 enable_atl80 implib
15557 wine_fn_config_test dlls/atl80/tests atl80_test
15558 wine_fn_config_dll authz enable_authz
15559 wine_fn_config_dll avicap32 enable_avicap32 implib
15560 wine_fn_config_dll avifil32 enable_avifil32 implib,po
15561 wine_fn_config_test dlls/avifil32/tests avifil32_test
15562 wine_fn_config_dll avifile.dll16 enable_win16
15563 wine_fn_config_dll avrt enable_avrt implib
15564 wine_fn_config_dll bcrypt enable_bcrypt
15565 wine_fn_config_dll browseui enable_browseui po
15566 wine_fn_config_test dlls/browseui/tests browseui_test
15567 wine_fn_config_dll cabinet enable_cabinet implib
15568 wine_fn_config_test dlls/cabinet/tests cabinet_test
15569 wine_fn_config_dll capi2032 enable_capi2032 implib
15570 wine_fn_config_dll cards enable_cards implib
15571 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15572 wine_fn_config_dll clusapi enable_clusapi implib
15573 wine_fn_config_dll comcat enable_comcat
15574 wine_fn_config_test dlls/comcat/tests comcat_test
15575 wine_fn_config_dll comctl32 enable_comctl32 implib,po
15576 wine_fn_config_test dlls/comctl32/tests comctl32_test
15577 wine_fn_config_dll comdlg32 enable_comdlg32 implib,po
15578 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
15579 wine_fn_config_dll comm.drv16 enable_win16
15580 wine_fn_config_dll commdlg.dll16 enable_win16
15581 wine_fn_config_dll compobj.dll16 enable_win16
15582 wine_fn_config_dll compstui enable_compstui implib
15583 wine_fn_config_dll credui enable_credui implib,po
15584 wine_fn_config_test dlls/credui/tests credui_test
15585 wine_fn_config_dll crtdll enable_crtdll implib
15586 wine_fn_config_dll crypt32 enable_crypt32 implib,po
15587 wine_fn_config_test dlls/crypt32/tests crypt32_test
15588 wine_fn_config_dll cryptdlg enable_cryptdlg po
15589 wine_fn_config_dll cryptdll enable_cryptdll implib
15590 wine_fn_config_dll cryptnet enable_cryptnet implib
15591 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
15592 wine_fn_config_dll cryptui enable_cryptui implib,po
15593 wine_fn_config_test dlls/cryptui/tests cryptui_test
15594 wine_fn_config_dll ctapi32 enable_ctapi32
15595 wine_fn_config_dll ctl3d.dll16 enable_win16
15596 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15597 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15598 wine_fn_config_dll d3d10 enable_d3d10 implib
15599 wine_fn_config_test dlls/d3d10/tests d3d10_test
15600 wine_fn_config_dll d3d10core enable_d3d10core implib
15601 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
15602 wine_fn_config_dll d3d11 enable_d3d11
15603 wine_fn_config_dll d3d8 enable_d3d8 implib
15604 wine_fn_config_test dlls/d3d8/tests d3d8_test
15605 wine_fn_config_dll d3d9 enable_d3d9 implib
15606 wine_fn_config_test dlls/d3d9/tests d3d9_test
15607 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15608 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15609 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15610 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15611 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15612 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15613 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15614 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15615 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15616 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15617 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15618 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
15619 wine_fn_config_dll d3dim enable_d3dim implib
15620 wine_fn_config_dll d3drm enable_d3drm implib
15621 wine_fn_config_test dlls/d3drm/tests d3drm_test
15622 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15623 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15624 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15625 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15626 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15627 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15628 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15629 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15630 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15631 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15632 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15633 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15634 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15635 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15636 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15637 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15638 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15639 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15640 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15641 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15642 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15643 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15644 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15645 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15646 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
15647 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15648 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15649 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15650 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15651 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15652 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15653 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15654 wine_fn_config_dll d3dxof enable_d3dxof implib
15655 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
15656 wine_fn_config_dll dbgeng enable_dbgeng implib
15657 wine_fn_config_dll dbghelp enable_dbghelp implib
15658 wine_fn_config_dll dciman32 enable_dciman32 implib
15659 wine_fn_config_dll ddeml.dll16 enable_win16
15660 wine_fn_config_dll ddraw enable_ddraw implib
15661 wine_fn_config_test dlls/ddraw/tests ddraw_test
15662 wine_fn_config_dll ddrawex enable_ddrawex
15663 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
15664 wine_fn_config_dll devenum enable_devenum po
15665 wine_fn_config_test dlls/devenum/tests devenum_test
15666 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15667 wine_fn_config_dll dinput enable_dinput implib,po,staticimplib
15668 wine_fn_config_test dlls/dinput/tests dinput_test
15669 wine_fn_config_dll dinput8 enable_dinput8 implib
15670 wine_fn_config_test dlls/dinput8/tests dinput8_test
15671 wine_fn_config_dll dispdib.dll16 enable_win16
15672 wine_fn_config_dll dispex enable_dispex
15673 wine_fn_config_test dlls/dispex/tests dispex_test
15674 wine_fn_config_dll display.drv16 enable_win16
15675 wine_fn_config_dll dmband enable_dmband
15676 wine_fn_config_test dlls/dmband/tests dmband_test
15677 wine_fn_config_dll dmcompos enable_dmcompos
15678 wine_fn_config_dll dmime enable_dmime
15679 wine_fn_config_test dlls/dmime/tests dmime_test
15680 wine_fn_config_dll dmloader enable_dmloader
15681 wine_fn_config_test dlls/dmloader/tests dmloader_test
15682 wine_fn_config_dll dmscript enable_dmscript
15683 wine_fn_config_dll dmstyle enable_dmstyle
15684 wine_fn_config_dll dmsynth enable_dmsynth
15685 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
15686 wine_fn_config_dll dmusic enable_dmusic
15687 wine_fn_config_test dlls/dmusic/tests dmusic_test
15688 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15689 wine_fn_config_dll dnsapi enable_dnsapi implib
15690 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
15691 wine_fn_config_dll dplay enable_dplay implib
15692 wine_fn_config_dll dplayx enable_dplayx implib
15693 wine_fn_config_test dlls/dplayx/tests dplayx_test
15694 wine_fn_config_dll dpnaddr enable_dpnaddr
15695 wine_fn_config_dll dpnet enable_dpnet implib
15696 wine_fn_config_test dlls/dpnet/tests dpnet_test
15697 wine_fn_config_dll dpnhpast enable_dpnhpast
15698 wine_fn_config_dll dpnlobby enable_dpnlobby
15699 wine_fn_config_dll dpwsockx enable_dpwsockx
15700 wine_fn_config_dll drmclien enable_drmclien
15701 wine_fn_config_dll dsound enable_dsound implib
15702 wine_fn_config_test dlls/dsound/tests dsound_test
15703 wine_fn_config_dll dssenh enable_dssenh
15704 wine_fn_config_test dlls/dssenh/tests dssenh_test
15705 wine_fn_config_dll dswave enable_dswave
15706 wine_fn_config_dll dwmapi enable_dwmapi implib
15707 wine_fn_config_dll dwrite enable_dwrite implib
15708 wine_fn_config_test dlls/dwrite/tests dwrite_test
15709 wine_fn_config_dll dxdiagn enable_dxdiagn po
15710 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
15711 wine_fn_config_lib dxerr8
15712 wine_fn_config_lib dxerr9
15713 wine_fn_config_dll dxgi enable_dxgi implib
15714 wine_fn_config_test dlls/dxgi/tests dxgi_test
15715 wine_fn_config_lib dxguid
15716 wine_fn_config_dll explorerframe enable_explorerframe
15717 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
15718 wine_fn_config_dll faultrep enable_faultrep implib
15719 wine_fn_config_test dlls/faultrep/tests faultrep_test
15720 wine_fn_config_dll fltlib enable_fltlib
15721 wine_fn_config_dll fusion enable_fusion
15722 wine_fn_config_test dlls/fusion/tests fusion_test
15723 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15724 wine_fn_config_dll gameux enable_gameux
15725 wine_fn_config_test dlls/gameux/tests gameux_test
15726 wine_fn_config_dll gdi.exe16 enable_win16
15727 wine_fn_config_dll gdi32 enable_gdi32 implib,po
15728 wine_fn_config_test dlls/gdi32/tests gdi32_test
15729 wine_fn_config_dll gdiplus enable_gdiplus implib
15730 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
15731 wine_fn_config_dll glu32 enable_glu32 implib
15732 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15733 wine_fn_config_dll gpkcsp enable_gpkcsp
15734 wine_fn_config_dll hal enable_hal
15735 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib,po htmlhelp
15736 wine_fn_config_dll hid enable_hid implib
15737 wine_fn_config_dll hlink enable_hlink implib
15738 wine_fn_config_test dlls/hlink/tests hlink_test
15739 wine_fn_config_dll hnetcfg enable_hnetcfg
15740 wine_fn_config_dll httpapi enable_httpapi
15741 wine_fn_config_dll iccvid enable_iccvid po
15742 wine_fn_config_dll icmp enable_icmp
15743 wine_fn_config_dll ieframe enable_ieframe implib,po
15744 wine_fn_config_test dlls/ieframe/tests ieframe_test
15745 wine_fn_config_dll ifsmgr.vxd enable_win16
15746 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15747 wine_fn_config_dll imagehlp enable_imagehlp implib
15748 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
15749 wine_fn_config_dll imm.dll16 enable_win16
15750 wine_fn_config_dll imm32 enable_imm32 implib
15751 wine_fn_config_test dlls/imm32/tests imm32_test
15752 wine_fn_config_dll inetcomm enable_inetcomm implib
15753 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
15754 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15755 wine_fn_config_dll inetmib1 enable_inetmib1
15756 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
15757 wine_fn_config_dll infosoft enable_infosoft
15758 wine_fn_config_test dlls/infosoft/tests infosoft_test
15759 wine_fn_config_dll initpki enable_initpki
15760 wine_fn_config_dll inkobj enable_inkobj
15761 wine_fn_config_dll inseng enable_inseng
15762 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15763 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
15764 wine_fn_config_dll itircl enable_itircl
15765 wine_fn_config_dll itss enable_itss
15766 wine_fn_config_test dlls/itss/tests itss_test
15767 wine_fn_config_dll joy.cpl enable_joy_cpl po
15768 wine_fn_config_dll jscript enable_jscript po
15769 wine_fn_config_test dlls/jscript/tests jscript_test
15770 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
15771 wine_fn_config_test dlls/kernel32/tests kernel32_test
15772 wine_fn_config_dll keyboard.drv16 enable_win16
15773 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15774 wine_fn_config_dll ktmw32 enable_ktmw32
15775 wine_fn_config_dll loadperf enable_loadperf implib
15776 wine_fn_config_dll localspl enable_localspl po
15777 wine_fn_config_test dlls/localspl/tests localspl_test
15778 wine_fn_config_dll localui enable_localui po
15779 wine_fn_config_test dlls/localui/tests localui_test
15780 wine_fn_config_dll lz32 enable_lz32 implib
15781 wine_fn_config_test dlls/lz32/tests lz32_test
15782 wine_fn_config_dll lzexpand.dll16 enable_win16
15783 wine_fn_config_dll mapi32 enable_mapi32 implib,po
15784 wine_fn_config_test dlls/mapi32/tests mapi32_test
15785 wine_fn_config_dll mapistub enable_mapistub
15786 wine_fn_config_dll mciavi32 enable_mciavi32
15787 wine_fn_config_dll mcicda enable_mcicda
15788 wine_fn_config_dll mciqtz32 enable_mciqtz32
15789 wine_fn_config_dll mciseq enable_mciseq
15790 wine_fn_config_dll mciwave enable_mciwave
15791 wine_fn_config_dll mgmtapi enable_mgmtapi
15792 wine_fn_config_dll midimap enable_midimap
15793 wine_fn_config_dll mlang enable_mlang implib
15794 wine_fn_config_test dlls/mlang/tests mlang_test
15795 wine_fn_config_dll mmcndmgr enable_mmcndmgr
15796 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
15797 wine_fn_config_dll mmdevapi enable_mmdevapi
15798 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
15799 wine_fn_config_dll mmdevldr.vxd enable_win16
15800 wine_fn_config_dll mmsystem.dll16 enable_win16
15801 wine_fn_config_dll monodebg.vxd enable_win16
15802 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15803 wine_fn_config_dll mouse.drv16 enable_win16
15804 wine_fn_config_dll mpr enable_mpr implib,po
15805 wine_fn_config_test dlls/mpr/tests mpr_test
15806 wine_fn_config_dll mprapi enable_mprapi implib
15807 wine_fn_config_dll msacm.dll16 enable_win16
15808 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15809 wine_fn_config_dll msacm32 enable_msacm32 implib,po
15810 wine_fn_config_test dlls/msacm32/tests msacm32_test
15811 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15812 wine_fn_config_dll mscat32 enable_mscat32
15813 wine_fn_config_dll mscms enable_mscms implib
15814 wine_fn_config_test dlls/mscms/tests mscms_test
15815 wine_fn_config_dll mscoree enable_mscoree
15816 wine_fn_config_test dlls/mscoree/tests mscoree_test
15817 wine_fn_config_dll msctf enable_msctf
15818 wine_fn_config_test dlls/msctf/tests msctf_test
15819 wine_fn_config_dll msdaps enable_msdaps
15820 wine_fn_config_dll msdmo enable_msdmo implib
15821 wine_fn_config_dll msftedit enable_msftedit
15822 wine_fn_config_dll msg711.acm enable_msg711_acm
15823 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15824 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15825 wine_fn_config_dll mshtml enable_mshtml implib,po
15826 wine_fn_config_test dlls/mshtml/tests mshtml_test
15827 wine_fn_config_dll msi enable_msi implib,po
15828 wine_fn_config_test dlls/msi/tests msi_test
15829 wine_fn_config_dll msident enable_msident
15830 wine_fn_config_dll msimg32 enable_msimg32 implib
15831 wine_fn_config_dll msimsg enable_msimsg
15832 wine_fn_config_dll msimtf enable_msimtf
15833 wine_fn_config_dll msisip enable_msisip
15834 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15835 wine_fn_config_dll msls31 enable_msls31
15836 wine_fn_config_dll msnet32 enable_msnet32
15837 wine_fn_config_dll mspatcha enable_mspatcha
15838 wine_fn_config_dll msrle32 enable_msrle32 po
15839 wine_fn_config_dll mssign32 enable_mssign32
15840 wine_fn_config_dll mssip32 enable_mssip32
15841 wine_fn_config_dll mstask enable_mstask
15842 wine_fn_config_test dlls/mstask/tests mstask_test
15843 wine_fn_config_dll msvcirt enable_msvcirt
15844 wine_fn_config_dll msvcm80 enable_msvcm80
15845 wine_fn_config_dll msvcm90 enable_msvcm90
15846 wine_fn_config_dll msvcp100 enable_msvcp100
15847 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
15848 wine_fn_config_dll msvcp110 enable_msvcp110
15849 wine_fn_config_dll msvcp60 enable_msvcp60
15850 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
15851 wine_fn_config_dll msvcp70 enable_msvcp70
15852 wine_fn_config_dll msvcp71 enable_msvcp71
15853 wine_fn_config_dll msvcp80 enable_msvcp80
15854 wine_fn_config_dll msvcp90 enable_msvcp90
15855 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
15856 wine_fn_config_dll msvcr100 enable_msvcr100
15857 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
15858 wine_fn_config_dll msvcr110 enable_msvcr110
15859 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15860 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15861 wine_fn_config_dll msvcr80 enable_msvcr80
15862 wine_fn_config_dll msvcr90 enable_msvcr90
15863 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
15864 wine_fn_config_dll msvcrt enable_msvcrt implib
15865 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
15866 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15867 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15868 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15869 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
15870 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
15871 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
15872 wine_fn_config_dll msvidc32 enable_msvidc32 po
15873 wine_fn_config_dll msvideo.dll16 enable_win16
15874 wine_fn_config_dll mswsock enable_mswsock implib
15875 wine_fn_config_dll msxml enable_msxml
15876 wine_fn_config_dll msxml2 enable_msxml2
15877 wine_fn_config_dll msxml3 enable_msxml3
15878 wine_fn_config_test dlls/msxml3/tests msxml3_test
15879 wine_fn_config_dll msxml4 enable_msxml4
15880 wine_fn_config_dll msxml6 enable_msxml6
15881 wine_fn_config_dll nddeapi enable_nddeapi implib
15882 wine_fn_config_dll netapi32 enable_netapi32 implib
15883 wine_fn_config_test dlls/netapi32/tests netapi32_test
15884 wine_fn_config_dll newdev enable_newdev implib
15885 wine_fn_config_dll normaliz enable_normaliz implib
15886 wine_fn_config_dll npmshtml enable_npmshtml
15887 wine_fn_config_dll ntdll enable_ntdll implib
15888 wine_fn_config_test dlls/ntdll/tests ntdll_test
15889 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15890 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
15891 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15892 wine_fn_config_dll ntprint enable_ntprint
15893 wine_fn_config_test dlls/ntprint/tests ntprint_test
15894 wine_fn_config_dll objsel enable_objsel
15895 wine_fn_config_dll odbc32 enable_odbc32 implib
15896 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15897 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
15898 wine_fn_config_dll odbccu32 enable_odbccu32
15899 wine_fn_config_dll ole2.dll16 enable_win16
15900 wine_fn_config_dll ole2conv.dll16 enable_win16
15901 wine_fn_config_dll ole2disp.dll16 enable_win16
15902 wine_fn_config_dll ole2nls.dll16 enable_win16
15903 wine_fn_config_dll ole2prox.dll16 enable_win16
15904 wine_fn_config_dll ole2thk.dll16 enable_win16
15905 wine_fn_config_dll ole32 enable_ole32 implib
15906 wine_fn_config_test dlls/ole32/tests ole32_test
15907 wine_fn_config_dll oleacc enable_oleacc implib,po
15908 wine_fn_config_test dlls/oleacc/tests oleacc_test
15909 wine_fn_config_dll oleaut32 enable_oleaut32 implib,po
15910 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
15911 wine_fn_config_dll olecli.dll16 enable_win16
15912 wine_fn_config_dll olecli32 enable_olecli32 implib
15913 wine_fn_config_dll oledb32 enable_oledb32
15914 wine_fn_config_test dlls/oledb32/tests oledb32_test
15915 wine_fn_config_dll oledlg enable_oledlg implib,po
15916 wine_fn_config_dll olepro32 enable_olepro32 implib
15917 wine_fn_config_dll olesvr.dll16 enable_win16
15918 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15919 wine_fn_config_dll olethk32 enable_olethk32
15920 wine_fn_config_dll openal32 enable_openal32
15921 wine_fn_config_dll opencl enable_opencl
15922 wine_fn_config_dll opengl32 enable_opengl32 implib
15923 wine_fn_config_test dlls/opengl32/tests opengl32_test
15924 wine_fn_config_dll pdh enable_pdh implib
15925 wine_fn_config_test dlls/pdh/tests pdh_test
15926 wine_fn_config_dll photometadatahandler enable_photometadatahandler
15927 wine_fn_config_dll pidgen enable_pidgen
15928 wine_fn_config_dll powrprof enable_powrprof implib
15929 wine_fn_config_dll printui enable_printui
15930 wine_fn_config_dll propsys enable_propsys implib
15931 wine_fn_config_test dlls/propsys/tests propsys_test
15932 wine_fn_config_dll psapi enable_psapi implib
15933 wine_fn_config_test dlls/psapi/tests psapi_test
15934 wine_fn_config_dll pstorec enable_pstorec
15935 wine_fn_config_dll qcap enable_qcap
15936 wine_fn_config_dll qedit enable_qedit
15937 wine_fn_config_test dlls/qedit/tests qedit_test
15938 wine_fn_config_dll qmgr enable_qmgr
15939 wine_fn_config_test dlls/qmgr/tests qmgr_test
15940 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15941 wine_fn_config_dll quartz enable_quartz implib
15942 wine_fn_config_test dlls/quartz/tests quartz_test
15943 wine_fn_config_dll query enable_query
15944 wine_fn_config_dll rasapi16.dll16 enable_win16
15945 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15946 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
15947 wine_fn_config_dll rasdlg enable_rasdlg implib
15948 wine_fn_config_dll regapi enable_regapi
15949 wine_fn_config_dll resutils enable_resutils implib
15950 wine_fn_config_dll riched20 enable_riched20 implib
15951 wine_fn_config_test dlls/riched20/tests riched20_test
15952 wine_fn_config_dll riched32 enable_riched32
15953 wine_fn_config_test dlls/riched32/tests riched32_test
15954 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15955 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
15956 wine_fn_config_dll rsabase enable_rsabase
15957 wine_fn_config_dll rsaenh enable_rsaenh implib
15958 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
15959 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15960 wine_fn_config_dll rtutils enable_rtutils implib
15961 wine_fn_config_dll samlib enable_samlib
15962 wine_fn_config_dll sane.ds enable_sane_ds po
15963 wine_fn_config_dll scarddlg enable_scarddlg
15964 wine_fn_config_dll sccbase enable_sccbase
15965 wine_fn_config_dll schannel enable_schannel
15966 wine_fn_config_test dlls/schannel/tests schannel_test
15967 wine_fn_config_dll scrrun enable_scrrun
15968 wine_fn_config_test dlls/scrrun/tests scrrun_test
15969 wine_fn_config_dll scsiport.sys enable_scsiport_sys
15970 wine_fn_config_dll secur32 enable_secur32 implib
15971 wine_fn_config_test dlls/secur32/tests secur32_test
15972 wine_fn_config_dll security enable_security
15973 wine_fn_config_dll sensapi enable_sensapi implib
15974 wine_fn_config_dll serialui enable_serialui implib,po
15975 wine_fn_config_test dlls/serialui/tests serialui_test
15976 wine_fn_config_dll setupapi enable_setupapi implib,po
15977 wine_fn_config_test dlls/setupapi/tests setupapi_test
15978 wine_fn_config_dll setupx.dll16 enable_win16
15979 wine_fn_config_dll sfc enable_sfc implib
15980 wine_fn_config_dll sfc_os enable_sfc_os implib
15981 wine_fn_config_dll shdoclc enable_shdoclc po
15982 wine_fn_config_dll shdocvw enable_shdocvw implib
15983 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
15984 wine_fn_config_dll shell.dll16 enable_win16
15985 wine_fn_config_dll shell32 enable_shell32 implib,po
15986 wine_fn_config_test dlls/shell32/tests shell32_test
15987 wine_fn_config_dll shfolder enable_shfolder implib
15988 wine_fn_config_dll shlwapi enable_shlwapi implib,po
15989 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
15990 wine_fn_config_dll slbcsp enable_slbcsp
15991 wine_fn_config_dll slc enable_slc implib
15992 wine_fn_config_dll snmpapi enable_snmpapi implib
15993 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
15994 wine_fn_config_dll softpub enable_softpub
15995 wine_fn_config_dll sound.drv16 enable_win16
15996 wine_fn_config_dll spoolss enable_spoolss implib
15997 wine_fn_config_test dlls/spoolss/tests spoolss_test
15998 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15999 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
16000 wine_fn_config_dll sti enable_sti implib
16001 wine_fn_config_test dlls/sti/tests sti_test
16002 wine_fn_config_dll storage.dll16 enable_win16
16003 wine_fn_config_dll stress.dll16 enable_win16
16004 wine_fn_config_lib strmbase
16005 wine_fn_config_lib strmiids
16006 wine_fn_config_dll svrapi enable_svrapi
16007 wine_fn_config_dll sxs enable_sxs implib
16008 wine_fn_config_test dlls/sxs/tests sxs_test
16009 wine_fn_config_dll system.drv16 enable_win16
16010 wine_fn_config_dll t2embed enable_t2embed
16011 wine_fn_config_dll tapi32 enable_tapi32 implib
16012 wine_fn_config_dll toolhelp.dll16 enable_win16
16013 wine_fn_config_dll traffic enable_traffic
16014 wine_fn_config_dll twain.dll16 enable_win16
16015 wine_fn_config_dll twain_32 enable_twain_32
16016 wine_fn_config_test dlls/twain_32/tests twain_32_test
16017 wine_fn_config_dll typelib.dll16 enable_win16
16018 wine_fn_config_dll unicows enable_unicows implib
16019 wine_fn_config_dll updspapi enable_updspapi
16020 wine_fn_config_dll url enable_url implib
16021 wine_fn_config_dll urlmon enable_urlmon implib,po
16022 wine_fn_config_test dlls/urlmon/tests urlmon_test
16023 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16024 wine_fn_config_dll user.exe16 enable_win16
16025 wine_fn_config_dll user32 enable_user32 implib,po
16026 wine_fn_config_test dlls/user32/tests user32_test
16027 wine_fn_config_dll userenv enable_userenv implib
16028 wine_fn_config_test dlls/userenv/tests userenv_test
16029 wine_fn_config_dll usp10 enable_usp10 implib
16030 wine_fn_config_test dlls/usp10/tests usp10_test
16031 wine_fn_config_lib uuid
16032 wine_fn_config_dll uxtheme enable_uxtheme implib
16033 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
16034 wine_fn_config_dll vbscript enable_vbscript
16035 wine_fn_config_test dlls/vbscript/tests vbscript_test
16036 wine_fn_config_dll vcomp enable_vcomp
16037 wine_fn_config_dll vcomp100 enable_vcomp100
16038 wine_fn_config_dll vcomp90 enable_vcomp90
16039 wine_fn_config_dll vdhcp.vxd enable_win16
16040 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16041 wine_fn_config_dll ver.dll16 enable_win16
16042 wine_fn_config_dll version enable_version implib
16043 wine_fn_config_test dlls/version/tests version_test
16044 wine_fn_config_dll vmm.vxd enable_win16
16045 wine_fn_config_dll vnbt.vxd enable_win16
16046 wine_fn_config_dll vnetbios.vxd enable_win16
16047 wine_fn_config_dll vtdapi.vxd enable_win16
16048 wine_fn_config_dll vwin32.vxd enable_win16
16049 wine_fn_config_dll w32skrnl enable_win16
16050 wine_fn_config_dll w32sys.dll16 enable_win16
16051 wine_fn_config_dll wbemprox enable_wbemprox
16052 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
16053 wine_fn_config_dll webservices enable_webservices implib
16054 wine_fn_config_dll wer enable_wer implib
16055 wine_fn_config_test dlls/wer/tests wer_test
16056 wine_fn_config_dll wevtapi enable_wevtapi
16057 wine_fn_config_dll wiaservc enable_wiaservc
16058 wine_fn_config_dll win32s16.dll16 enable_win16
16059 wine_fn_config_dll win87em.dll16 enable_win16
16060 wine_fn_config_dll winaspi.dll16 enable_win16
16061 wine_fn_config_dll windebug.dll16 enable_win16
16062 wine_fn_config_dll windowscodecs enable_windowscodecs implib
16063 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
16064 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
16065 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
16066 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16067 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16068 wine_fn_config_lib winecrt0
16069 wine_fn_config_dll wined3d enable_wined3d implib
16070 wine_fn_config_dll winegstreamer enable_winegstreamer
16071 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16072 wine_fn_config_dll winemac.drv enable_winemac_drv
16073 wine_fn_config_dll winemapi enable_winemapi
16074 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16075 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16076 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib,po
16077 wine_fn_config_dll wineps16.drv16 enable_win16
16078 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16079 wine_fn_config_dll winex11.drv enable_winex11_drv
16080 wine_fn_config_dll wing.dll16 enable_win16
16081 wine_fn_config_dll wing32 enable_wing32
16082 wine_fn_config_dll winhttp enable_winhttp implib
16083 wine_fn_config_test dlls/winhttp/tests winhttp_test
16084 wine_fn_config_dll wininet enable_wininet implib,po
16085 wine_fn_config_test dlls/wininet/tests wininet_test
16086 wine_fn_config_dll winmm enable_winmm implib,po
16087 wine_fn_config_test dlls/winmm/tests winmm_test
16088 wine_fn_config_dll winnls.dll16 enable_win16
16089 wine_fn_config_dll winnls32 enable_winnls32 implib
16090 wine_fn_config_dll winscard enable_winscard implib
16091 wine_fn_config_dll winsock.dll16 enable_win16
16092 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
16093 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
16094 wine_fn_config_dll winsta enable_winsta
16095 wine_fn_config_dll wintab.dll16 enable_win16
16096 wine_fn_config_dll wintab32 enable_wintab32 implib
16097 wine_fn_config_test dlls/wintab32/tests wintab32_test
16098 wine_fn_config_dll wintrust enable_wintrust implib
16099 wine_fn_config_test dlls/wintrust/tests wintrust_test
16100 wine_fn_config_dll wlanapi enable_wlanapi
16101 wine_fn_config_dll wldap32 enable_wldap32 implib,po
16102 wine_fn_config_test dlls/wldap32/tests wldap32_test
16103 wine_fn_config_dll wmi enable_wmi
16104 wine_fn_config_dll wmiutils enable_wmiutils
16105 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
16106 wine_fn_config_dll wmvcore enable_wmvcore
16107 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16108 wine_fn_config_dll wow32 enable_win16 implib
16109 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16110 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
16111 wine_fn_config_dll wshom.ocx enable_wshom_ocx
16112 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
16113 wine_fn_config_dll wsnmp32 enable_wsnmp32
16114 wine_fn_config_dll wsock32 enable_wsock32 implib
16115 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16116 wine_fn_config_dll wuapi enable_wuapi
16117 wine_fn_config_dll wuaueng enable_wuaueng
16118 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16119 wine_fn_config_dll xinput1_1 enable_xinput1_1
16120 wine_fn_config_dll xinput1_2 enable_xinput1_2
16121 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16122 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
16123 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16124 wine_fn_config_dll xmllite enable_xmllite
16125 wine_fn_config_test dlls/xmllite/tests xmllite_test
16126 wine_fn_config_dll xolehlp enable_xolehlp
16127 wine_fn_config_dll xpsprint enable_xpsprint
16128 wine_fn_config_dll xpssvcs enable_xpssvcs
16129 wine_fn_config_makefile documentation enable_documentation
16130 wine_fn_config_makefile fonts enable_fonts install-lib
16131 wine_fn_config_makefile include enable_include install-dev
16132 wine_fn_config_makefile libs/port enable_libs_port
16133 wine_fn_config_makefile libs/wine enable_libs_wine install-dev,install-lib
16134 wine_fn_config_makefile libs/wpp enable_libs_wpp
16135 wine_fn_config_makefile loader enable_loader install-lib,manpage
16136 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
16137 wine_fn_config_program attrib enable_attrib install,po
16138 wine_fn_config_program cabarc enable_cabarc install
16139 wine_fn_config_program cacls enable_cacls install
16140 wine_fn_config_program clock enable_clock install,po
16141 wine_fn_config_program cmd enable_cmd install,po
16142 wine_fn_config_test programs/cmd/tests cmd.exe_test
16143 wine_fn_config_program conhost enable_conhost install
16144 wine_fn_config_program control enable_control install
16145 wine_fn_config_program cscript enable_cscript install
16146 wine_fn_config_program dxdiag enable_dxdiag install,po
16147 wine_fn_config_program eject enable_eject install
16148 wine_fn_config_program expand enable_expand install
16149 wine_fn_config_program explorer enable_explorer install,po
16150 wine_fn_config_program extrac32 enable_extrac32 install
16151 wine_fn_config_program findstr enable_findstr install
16152 wine_fn_config_program hh enable_hh install
16153 wine_fn_config_program hostname enable_hostname install,po
16154 wine_fn_config_program icinfo enable_icinfo install
16155 wine_fn_config_program iexplore enable_iexplore install
16156 wine_fn_config_program ipconfig enable_ipconfig install,po
16157 wine_fn_config_program lodctr enable_lodctr install
16158 wine_fn_config_program mofcomp enable_mofcomp install
16159 wine_fn_config_program mshta enable_mshta install
16160 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
16161 wine_fn_config_program net enable_net install,po
16162 wine_fn_config_program netsh enable_netsh install
16163 wine_fn_config_program netstat enable_netstat install,po
16164 wine_fn_config_program ngen enable_ngen install
16165 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
16166 wine_fn_config_program oleview enable_oleview install,po
16167 wine_fn_config_program ping enable_ping install
16168 wine_fn_config_program plugplay enable_plugplay install
16169 wine_fn_config_program presentationfontcache enable_presentationfontcache install
16170 wine_fn_config_program progman enable_progman install,po
16171 wine_fn_config_program reg enable_reg install,po
16172 wine_fn_config_program regasm enable_regasm install
16173 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
16174 wine_fn_config_test programs/regedit/tests regedit.exe_test
16175 wine_fn_config_program regsvcs enable_regsvcs install
16176 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
16177 wine_fn_config_program rpcss enable_rpcss install
16178 wine_fn_config_program rundll.exe16 enable_win16 install
16179 wine_fn_config_program rundll32 enable_rundll32 install
16180 wine_fn_config_program sc enable_sc install
16181 wine_fn_config_program schtasks enable_schtasks install
16182 wine_fn_config_program secedit enable_secedit install
16183 wine_fn_config_program servicemodelreg enable_servicemodelreg install
16184 wine_fn_config_program services enable_services install
16185 wine_fn_config_test programs/services/tests services.exe_test
16186 wine_fn_config_program spoolsv enable_spoolsv install
16187 wine_fn_config_program start enable_start install,po
16188 wine_fn_config_program svchost enable_svchost install
16189 wine_fn_config_program taskkill enable_taskkill install,po
16190 wine_fn_config_program taskmgr enable_taskmgr install,po
16191 wine_fn_config_program termsv enable_termsv install
16192 wine_fn_config_program uninstaller enable_uninstaller install,po
16193 wine_fn_config_program unlodctr enable_unlodctr install
16194 wine_fn_config_program view enable_view install,po
16195 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
16196 wine_fn_config_program winebrowser enable_winebrowser install
16197 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
16198 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
16199 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
16200 wine_fn_config_program winedevice enable_winedevice install
16201 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
16202 wine_fn_config_program winemenubuilder enable_winemenubuilder install
16203 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
16204 wine_fn_config_program winemsibuilder enable_winemsibuilder install
16205 wine_fn_config_program winepath enable_winepath install,installbin,manpage
16206 wine_fn_config_program winetest enable_winetest
16207 wine_fn_config_program winevdm enable_win16 install
16208 wine_fn_config_program winhelp.exe16 enable_win16 install
16209 wine_fn_config_program winhlp32 enable_winhlp32 install,po
16210 wine_fn_config_program winoldap.mod16 enable_win16 install
16211 wine_fn_config_program winver enable_winver install
16212 wine_fn_config_program wmic enable_wmic install,po
16213 wine_fn_config_program wordpad enable_wordpad install,po
16214 wine_fn_config_program write enable_write install,po
16215 wine_fn_config_program wscript enable_wscript install
16216 wine_fn_config_test programs/wscript/tests wscript.exe_test
16217 wine_fn_config_program wusa enable_wusa install
16218 wine_fn_config_program xcopy enable_xcopy install,po
16219 wine_fn_config_makefile server enable_server install-lib,manpage
16220 wine_fn_config_tool tools install-dev,install-lib,manpage
16221 wine_fn_config_tool tools/widl install-dev,manpage
16222 wine_fn_config_tool tools/winebuild install-dev,manpage
16223 wine_fn_config_tool tools/winedump install-dev,manpage
16224 wine_fn_config_tool tools/winegcc install-dev,manpage
16225 wine_fn_config_tool tools/wmc install-dev,manpage
16226 wine_fn_config_tool tools/wrc install-dev,manpage
16228 LINGUAS="\
16229 ar \
16230 bg \
16231 ca \
16232 cs \
16233 da \
16234 de \
16235 el \
16236 en \
16237 en_US \
16238 eo \
16239 es \
16240 fa \
16241 fi \
16242 fr \
16243 he \
16244 hi \
16245 hu \
16246 it \
16247 ja \
16248 ko \
16249 lt \
16250 ml \
16251 nb_NO \
16252 nl \
16253 or \
16254 pa \
16255 pl \
16256 pt_BR \
16257 pt_PT \
16258 rm \
16259 ro \
16260 ru \
16261 sk \
16262 sl \
16263 sr_RS@cyrillic \
16264 sr_RS@latin \
16265 sv \
16266 te \
16267 th \
16268 tr \
16269 uk \
16270 wa \
16271 zh_CN \
16272 zh_TW"
16276 ac_config_commands="$ac_config_commands Makefile"
16279 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16283 if test "x$enable_maintainer_mode" = xyes
16284 then
16285 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(srcdir)/configure: configure.ac aclocal.m4
16286 cd \$(srcdir) && autoconf --warnings=all
16287 \$(srcdir)/include/config.h.in: include/stamp-h.in
16288 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16289 cd \$(srcdir) && autoheader --warnings=all
16290 @echo timestamp > \$@"
16293 if test "x$with_gettextpo" = xyes
16294 then
16295 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16296 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "ALL_POT_FILES =$ALL_POT_FILES
16297 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16298 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16299 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16300 msgcat -o \$@ \$(ALL_POT_FILES)"
16303 if test "$MSGFMT" != false
16304 then
16305 PORCFLAGS="--po-dir=\$(top_builddir)/po"
16307 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: \$(ALL_MO_FILES)"
16308 else
16309 LINGUAS=
16312 if test "x$enable_tools" != xno
16313 then
16314 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(MAKEDEP): tools/Makefile
16315 clean:: __clean__
16316 \$(RM) tools/makedep\$(EXEEXT)"
16319 if test -n "$with_wine64"
16320 then
16321 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16322 fonts server tools:
16323 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16324 $with_wine64/loader/wine:
16325 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16326 $with_wine64/loader/wine-preloader:
16327 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16328 clean::
16329 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16332 cat >confcache <<\_ACEOF
16333 # This file is a shell script that caches the results of configure
16334 # tests run on this system so they can be shared between configure
16335 # scripts and configure runs, see configure's option --config-cache.
16336 # It is not useful on other systems. If it contains results you don't
16337 # want to keep, you may remove or edit it.
16339 # config.status only pays attention to the cache file if you give it
16340 # the --recheck option to rerun configure.
16342 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16343 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16344 # following values.
16346 _ACEOF
16348 # The following way of writing the cache mishandles newlines in values,
16349 # but we know of no workaround that is simple, portable, and efficient.
16350 # So, we kill variables containing newlines.
16351 # Ultrix sh set writes to stderr and can't be redirected directly,
16352 # and sets the high bit in the cache file unless we assign to the vars.
16354 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16355 eval ac_val=\$$ac_var
16356 case $ac_val in #(
16357 *${as_nl}*)
16358 case $ac_var in #(
16359 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16360 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16361 esac
16362 case $ac_var in #(
16363 _ | IFS | as_nl) ;; #(
16364 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16365 *) { eval $ac_var=; unset $ac_var;} ;;
16366 esac ;;
16367 esac
16368 done
16370 (set) 2>&1 |
16371 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16372 *${as_nl}ac_space=\ *)
16373 # `set' does not quote correctly, so add quotes: double-quote
16374 # substitution turns \\\\ into \\, and sed turns \\ into \.
16375 sed -n \
16376 "s/'/'\\\\''/g;
16377 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16378 ;; #(
16380 # `set' quotes correctly as required by POSIX, so do not add quotes.
16381 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16383 esac |
16384 sort
16386 sed '
16387 /^ac_cv_env_/b end
16388 t clear
16389 :clear
16390 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16391 t end
16392 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16393 :end' >>confcache
16394 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16395 if test -w "$cache_file"; then
16396 if test "x$cache_file" != "x/dev/null"; then
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16398 $as_echo "$as_me: updating cache $cache_file" >&6;}
16399 if test ! -f "$cache_file" || test -h "$cache_file"; then
16400 cat confcache >"$cache_file"
16401 else
16402 case $cache_file in #(
16403 */* | ?:*)
16404 mv -f confcache "$cache_file"$$ &&
16405 mv -f "$cache_file"$$ "$cache_file" ;; #(
16407 mv -f confcache "$cache_file" ;;
16408 esac
16411 else
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16413 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16416 rm -f confcache
16418 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16419 # Let make expand exec_prefix.
16420 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16422 DEFS=-DHAVE_CONFIG_H
16424 ac_libobjs=
16425 ac_ltlibobjs=
16427 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16428 # 1. Remove the extension, and $U if already installed.
16429 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16430 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16431 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16432 # will be set to the directory where LIBOBJS objects are built.
16433 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16434 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16435 done
16436 LIBOBJS=$ac_libobjs
16438 LTLIBOBJS=$ac_ltlibobjs
16442 : "${CONFIG_STATUS=./config.status}"
16443 ac_write_fail=0
16444 ac_clean_files_save=$ac_clean_files
16445 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16447 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16448 as_write_fail=0
16449 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16450 #! $SHELL
16451 # Generated by $as_me.
16452 # Run this file to recreate the current configuration.
16453 # Compiler output produced by configure, useful for debugging
16454 # configure, is in config.log if it exists.
16456 debug=false
16457 ac_cs_recheck=false
16458 ac_cs_silent=false
16460 SHELL=\${CONFIG_SHELL-$SHELL}
16461 export SHELL
16462 _ASEOF
16463 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16464 ## -------------------- ##
16465 ## M4sh Initialization. ##
16466 ## -------------------- ##
16468 # Be more Bourne compatible
16469 DUALCASE=1; export DUALCASE # for MKS sh
16470 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16471 emulate sh
16472 NULLCMD=:
16473 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16474 # is contrary to our usage. Disable this feature.
16475 alias -g '${1+"$@"}'='"$@"'
16476 setopt NO_GLOB_SUBST
16477 else
16478 case `(set -o) 2>/dev/null` in #(
16479 *posix*) :
16480 set -o posix ;; #(
16481 *) :
16483 esac
16487 as_nl='
16489 export as_nl
16490 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16491 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16492 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16493 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16494 # Prefer a ksh shell builtin over an external printf program on Solaris,
16495 # but without wasting forks for bash or zsh.
16496 if test -z "$BASH_VERSION$ZSH_VERSION" \
16497 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16498 as_echo='print -r --'
16499 as_echo_n='print -rn --'
16500 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16501 as_echo='printf %s\n'
16502 as_echo_n='printf %s'
16503 else
16504 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16505 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16506 as_echo_n='/usr/ucb/echo -n'
16507 else
16508 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16509 as_echo_n_body='eval
16510 arg=$1;
16511 case $arg in #(
16512 *"$as_nl"*)
16513 expr "X$arg" : "X\\(.*\\)$as_nl";
16514 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16515 esac;
16516 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16518 export as_echo_n_body
16519 as_echo_n='sh -c $as_echo_n_body as_echo'
16521 export as_echo_body
16522 as_echo='sh -c $as_echo_body as_echo'
16525 # The user is always right.
16526 if test "${PATH_SEPARATOR+set}" != set; then
16527 PATH_SEPARATOR=:
16528 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16529 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16530 PATH_SEPARATOR=';'
16535 # IFS
16536 # We need space, tab and new line, in precisely that order. Quoting is
16537 # there to prevent editors from complaining about space-tab.
16538 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16539 # splitting by setting IFS to empty value.)
16540 IFS=" "" $as_nl"
16542 # Find who we are. Look in the path if we contain no directory separator.
16543 as_myself=
16544 case $0 in #((
16545 *[\\/]* ) as_myself=$0 ;;
16546 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16547 for as_dir in $PATH
16549 IFS=$as_save_IFS
16550 test -z "$as_dir" && as_dir=.
16551 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16552 done
16553 IFS=$as_save_IFS
16556 esac
16557 # We did not find ourselves, most probably we were run as `sh COMMAND'
16558 # in which case we are not to be found in the path.
16559 if test "x$as_myself" = x; then
16560 as_myself=$0
16562 if test ! -f "$as_myself"; then
16563 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16564 exit 1
16567 # Unset variables that we do not need and which cause bugs (e.g. in
16568 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16569 # suppresses any "Segmentation fault" message there. '((' could
16570 # trigger a bug in pdksh 5.2.14.
16571 for as_var in BASH_ENV ENV MAIL MAILPATH
16572 do eval test x\${$as_var+set} = xset \
16573 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16574 done
16575 PS1='$ '
16576 PS2='> '
16577 PS4='+ '
16579 # NLS nuisances.
16580 LC_ALL=C
16581 export LC_ALL
16582 LANGUAGE=C
16583 export LANGUAGE
16585 # CDPATH.
16586 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16589 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16590 # ----------------------------------------
16591 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16592 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16593 # script with STATUS, using 1 if that was 0.
16594 as_fn_error ()
16596 as_status=$1; test $as_status -eq 0 && as_status=1
16597 if test "$4"; then
16598 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16599 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16601 $as_echo "$as_me: error: $2" >&2
16602 as_fn_exit $as_status
16603 } # as_fn_error
16606 # as_fn_set_status STATUS
16607 # -----------------------
16608 # Set $? to STATUS, without forking.
16609 as_fn_set_status ()
16611 return $1
16612 } # as_fn_set_status
16614 # as_fn_exit STATUS
16615 # -----------------
16616 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16617 as_fn_exit ()
16619 set +e
16620 as_fn_set_status $1
16621 exit $1
16622 } # as_fn_exit
16624 # as_fn_unset VAR
16625 # ---------------
16626 # Portably unset VAR.
16627 as_fn_unset ()
16629 { eval $1=; unset $1;}
16631 as_unset=as_fn_unset
16632 # as_fn_append VAR VALUE
16633 # ----------------------
16634 # Append the text in VALUE to the end of the definition contained in VAR. Take
16635 # advantage of any shell optimizations that allow amortized linear growth over
16636 # repeated appends, instead of the typical quadratic growth present in naive
16637 # implementations.
16638 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16639 eval 'as_fn_append ()
16641 eval $1+=\$2
16643 else
16644 as_fn_append ()
16646 eval $1=\$$1\$2
16648 fi # as_fn_append
16650 # as_fn_arith ARG...
16651 # ------------------
16652 # Perform arithmetic evaluation on the ARGs, and store the result in the
16653 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16654 # must be portable across $(()) and expr.
16655 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16656 eval 'as_fn_arith ()
16658 as_val=$(( $* ))
16660 else
16661 as_fn_arith ()
16663 as_val=`expr "$@" || test $? -eq 1`
16665 fi # as_fn_arith
16668 if expr a : '\(a\)' >/dev/null 2>&1 &&
16669 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16670 as_expr=expr
16671 else
16672 as_expr=false
16675 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16676 as_basename=basename
16677 else
16678 as_basename=false
16681 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16682 as_dirname=dirname
16683 else
16684 as_dirname=false
16687 as_me=`$as_basename -- "$0" ||
16688 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16689 X"$0" : 'X\(//\)$' \| \
16690 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16691 $as_echo X/"$0" |
16692 sed '/^.*\/\([^/][^/]*\)\/*$/{
16693 s//\1/
16696 /^X\/\(\/\/\)$/{
16697 s//\1/
16700 /^X\/\(\/\).*/{
16701 s//\1/
16704 s/.*/./; q'`
16706 # Avoid depending upon Character Ranges.
16707 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16708 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16709 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16710 as_cr_digits='0123456789'
16711 as_cr_alnum=$as_cr_Letters$as_cr_digits
16713 ECHO_C= ECHO_N= ECHO_T=
16714 case `echo -n x` in #(((((
16715 -n*)
16716 case `echo 'xy\c'` in
16717 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16718 xy) ECHO_C='\c';;
16719 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16720 ECHO_T=' ';;
16721 esac;;
16723 ECHO_N='-n';;
16724 esac
16726 rm -f conf$$ conf$$.exe conf$$.file
16727 if test -d conf$$.dir; then
16728 rm -f conf$$.dir/conf$$.file
16729 else
16730 rm -f conf$$.dir
16731 mkdir conf$$.dir 2>/dev/null
16733 if (echo >conf$$.file) 2>/dev/null; then
16734 if ln -s conf$$.file conf$$ 2>/dev/null; then
16735 as_ln_s='ln -s'
16736 # ... but there are two gotchas:
16737 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16738 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16739 # In both cases, we have to default to `cp -pR'.
16740 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16741 as_ln_s='cp -pR'
16742 elif ln conf$$.file conf$$ 2>/dev/null; then
16743 as_ln_s=ln
16744 else
16745 as_ln_s='cp -pR'
16747 else
16748 as_ln_s='cp -pR'
16750 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16751 rmdir conf$$.dir 2>/dev/null
16754 # as_fn_mkdir_p
16755 # -------------
16756 # Create "$as_dir" as a directory, including parents if necessary.
16757 as_fn_mkdir_p ()
16760 case $as_dir in #(
16761 -*) as_dir=./$as_dir;;
16762 esac
16763 test -d "$as_dir" || eval $as_mkdir_p || {
16764 as_dirs=
16765 while :; do
16766 case $as_dir in #(
16767 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16768 *) as_qdir=$as_dir;;
16769 esac
16770 as_dirs="'$as_qdir' $as_dirs"
16771 as_dir=`$as_dirname -- "$as_dir" ||
16772 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16773 X"$as_dir" : 'X\(//\)[^/]' \| \
16774 X"$as_dir" : 'X\(//\)$' \| \
16775 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16776 $as_echo X"$as_dir" |
16777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16778 s//\1/
16781 /^X\(\/\/\)[^/].*/{
16782 s//\1/
16785 /^X\(\/\/\)$/{
16786 s//\1/
16789 /^X\(\/\).*/{
16790 s//\1/
16793 s/.*/./; q'`
16794 test -d "$as_dir" && break
16795 done
16796 test -z "$as_dirs" || eval "mkdir $as_dirs"
16797 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16800 } # as_fn_mkdir_p
16801 if mkdir -p . 2>/dev/null; then
16802 as_mkdir_p='mkdir -p "$as_dir"'
16803 else
16804 test -d ./-p && rmdir ./-p
16805 as_mkdir_p=false
16809 # as_fn_executable_p FILE
16810 # -----------------------
16811 # Test if FILE is an executable regular file.
16812 as_fn_executable_p ()
16814 test -f "$1" && test -x "$1"
16815 } # as_fn_executable_p
16816 as_test_x='test -x'
16817 as_executable_p=as_fn_executable_p
16819 # Sed expression to map a string onto a valid CPP name.
16820 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16822 # Sed expression to map a string onto a valid variable name.
16823 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16826 exec 6>&1
16827 ## ----------------------------------- ##
16828 ## Main body of $CONFIG_STATUS script. ##
16829 ## ----------------------------------- ##
16830 _ASEOF
16831 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16834 # Save the log message, to keep $0 and so on meaningful, and to
16835 # report actual input values of CONFIG_FILES etc. instead of their
16836 # values after options handling.
16837 ac_log="
16838 This file was extended by Wine $as_me 1.5.27, which was
16839 generated by GNU Autoconf 2.69. Invocation command line was
16841 CONFIG_FILES = $CONFIG_FILES
16842 CONFIG_HEADERS = $CONFIG_HEADERS
16843 CONFIG_LINKS = $CONFIG_LINKS
16844 CONFIG_COMMANDS = $CONFIG_COMMANDS
16845 $ $0 $@
16847 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16850 _ACEOF
16852 case $ac_config_files in *"
16853 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16854 esac
16856 case $ac_config_headers in *"
16857 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16858 esac
16861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16862 # Files that config.status was made for.
16863 config_files="$ac_config_files"
16864 config_headers="$ac_config_headers"
16865 config_links="$ac_config_links"
16866 config_commands="$ac_config_commands"
16868 _ACEOF
16870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16871 ac_cs_usage="\
16872 \`$as_me' instantiates files and other configuration actions
16873 from templates according to the current configuration. Unless the files
16874 and actions are specified as TAGs, all are instantiated by default.
16876 Usage: $0 [OPTION]... [TAG]...
16878 -h, --help print this help, then exit
16879 -V, --version print version number and configuration settings, then exit
16880 --config print configuration, then exit
16881 -q, --quiet, --silent
16882 do not print progress messages
16883 -d, --debug don't remove temporary files
16884 --recheck update $as_me by reconfiguring in the same conditions
16885 --file=FILE[:TEMPLATE]
16886 instantiate the configuration file FILE
16887 --header=FILE[:TEMPLATE]
16888 instantiate the configuration header FILE
16890 Configuration files:
16891 $config_files
16893 Configuration headers:
16894 $config_headers
16896 Configuration links:
16897 $config_links
16899 Configuration commands:
16900 $config_commands
16902 Report bugs to <wine-devel@winehq.org>.
16903 Wine home page: <http://www.winehq.org>."
16905 _ACEOF
16906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16907 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16908 ac_cs_version="\\
16909 Wine config.status 1.5.27
16910 configured by $0, generated by GNU Autoconf 2.69,
16911 with options \\"\$ac_cs_config\\"
16913 Copyright (C) 2012 Free Software Foundation, Inc.
16914 This config.status script is free software; the Free Software Foundation
16915 gives unlimited permission to copy, distribute and modify it."
16917 ac_pwd='$ac_pwd'
16918 srcdir='$srcdir'
16919 INSTALL='$INSTALL'
16920 test -n "\$AWK" || AWK=awk
16921 _ACEOF
16923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16924 # The default lists apply if the user does not specify any file.
16925 ac_need_defaults=:
16926 while test $# != 0
16928 case $1 in
16929 --*=?*)
16930 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16931 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16932 ac_shift=:
16934 --*=)
16935 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16936 ac_optarg=
16937 ac_shift=:
16940 ac_option=$1
16941 ac_optarg=$2
16942 ac_shift=shift
16944 esac
16946 case $ac_option in
16947 # Handling of the options.
16948 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16949 ac_cs_recheck=: ;;
16950 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16951 $as_echo "$ac_cs_version"; exit ;;
16952 --config | --confi | --conf | --con | --co | --c )
16953 $as_echo "$ac_cs_config"; exit ;;
16954 --debug | --debu | --deb | --de | --d | -d )
16955 debug=: ;;
16956 --file | --fil | --fi | --f )
16957 $ac_shift
16958 case $ac_optarg in
16959 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16960 '') as_fn_error $? "missing file argument" ;;
16961 esac
16962 as_fn_append CONFIG_FILES " '$ac_optarg'"
16963 ac_need_defaults=false;;
16964 --header | --heade | --head | --hea )
16965 $ac_shift
16966 case $ac_optarg in
16967 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16968 esac
16969 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16970 ac_need_defaults=false;;
16971 --he | --h)
16972 # Conflict between --help and --header
16973 as_fn_error $? "ambiguous option: \`$1'
16974 Try \`$0 --help' for more information.";;
16975 --help | --hel | -h )
16976 $as_echo "$ac_cs_usage"; exit ;;
16977 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16978 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16979 ac_cs_silent=: ;;
16981 # This is an error.
16982 -*) as_fn_error $? "unrecognized option: \`$1'
16983 Try \`$0 --help' for more information." ;;
16985 *) as_fn_append ac_config_targets " $1"
16986 ac_need_defaults=false ;;
16988 esac
16989 shift
16990 done
16992 ac_configure_extra_args=
16994 if $ac_cs_silent; then
16995 exec 6>/dev/null
16996 ac_configure_extra_args="$ac_configure_extra_args --silent"
16999 _ACEOF
17000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17001 if \$ac_cs_recheck; then
17002 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17003 shift
17004 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17005 CONFIG_SHELL='$SHELL'
17006 export CONFIG_SHELL
17007 exec "\$@"
17010 _ACEOF
17011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17012 exec 5>>config.log
17014 echo
17015 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17016 ## Running $as_me. ##
17017 _ASBOX
17018 $as_echo "$ac_log"
17019 } >&5
17021 _ACEOF
17022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17024 # INIT-COMMANDS
17026 wine_fn_output_makefile ()
17028 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17029 $ALL_MAKEFILE_DEPENDS
17030 _WINE_EOF
17031 as_fn_error $? "could not create Makefile" "$LINENO" 5
17034 _ACEOF
17036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17038 # Handling of arguments.
17039 for ac_config_target in $ac_config_targets
17041 case $ac_config_target in
17042 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
17043 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
17044 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17045 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17046 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17047 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17048 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17049 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17050 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17051 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17052 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
17053 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17054 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17055 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17056 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17057 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17058 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
17059 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17060 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
17061 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
17062 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
17063 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
17064 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17065 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
17066 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
17067 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17069 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17070 esac
17071 done
17074 # If the user did not use the arguments to specify the items to instantiate,
17075 # then the envvar interface is used. Set only those that are not.
17076 # We use the long form for the default assignment because of an extremely
17077 # bizarre bug on SunOS 4.1.3.
17078 if $ac_need_defaults; then
17079 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17080 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17081 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
17082 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17085 # Have a temporary directory for convenience. Make it in the build tree
17086 # simply because there is no reason against having it here, and in addition,
17087 # creating and moving files from /tmp can sometimes cause problems.
17088 # Hook for its removal unless debugging.
17089 # Note that there is a small window in which the directory will not be cleaned:
17090 # after its creation but before its name has been assigned to `$tmp'.
17091 $debug ||
17093 tmp= ac_tmp=
17094 trap 'exit_status=$?
17095 : "${ac_tmp:=$tmp}"
17096 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17098 trap 'as_fn_exit 1' 1 2 13 15
17100 # Create a (secure) tmp directory for tmp files.
17103 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17104 test -d "$tmp"
17105 } ||
17107 tmp=./conf$$-$RANDOM
17108 (umask 077 && mkdir "$tmp")
17109 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17110 ac_tmp=$tmp
17112 # Set up the scripts for CONFIG_FILES section.
17113 # No need to generate them if there are no CONFIG_FILES.
17114 # This happens for instance with `./config.status config.h'.
17115 if test -n "$CONFIG_FILES"; then
17117 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
17118 ac_cs_awk_getline=:
17119 ac_cs_awk_pipe_init=
17120 ac_cs_awk_read_file='
17121 while ((getline aline < (F[key])) > 0)
17122 print(aline)
17123 close(F[key])'
17124 ac_cs_awk_pipe_fini=
17125 else
17126 ac_cs_awk_getline=false
17127 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
17128 ac_cs_awk_read_file='
17129 print "|#_!!_#|"
17130 print "cat " F[key] " &&"
17131 '$ac_cs_awk_pipe_init
17132 # The final `:' finishes the AND list.
17133 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
17135 ac_cr=`echo X | tr X '\015'`
17136 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17137 # But we know of no other shell where ac_cr would be empty at this
17138 # point, so we can use a bashism as a fallback.
17139 if test "x$ac_cr" = x; then
17140 eval ac_cr=\$\'\\r\'
17142 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17143 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17144 ac_cs_awk_cr='\\r'
17145 else
17146 ac_cs_awk_cr=$ac_cr
17149 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17150 _ACEOF
17152 # Create commands to substitute file output variables.
17154 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17155 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17156 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
17157 echo "_ACAWK" &&
17158 echo "_ACEOF"
17159 } >conf$$files.sh &&
17160 . ./conf$$files.sh ||
17161 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17162 rm -f conf$$files.sh
17165 echo "cat >conf$$subs.awk <<_ACEOF" &&
17166 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17167 echo "_ACEOF"
17168 } >conf$$subs.sh ||
17169 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17170 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17171 ac_delim='%!_!# '
17172 for ac_last_try in false false false false false :; do
17173 . ./conf$$subs.sh ||
17174 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17176 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17177 if test $ac_delim_n = $ac_delim_num; then
17178 break
17179 elif $ac_last_try; then
17180 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17181 else
17182 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17184 done
17185 rm -f conf$$subs.sh
17187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17188 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17189 _ACEOF
17190 sed -n '
17192 s/^/S["/; s/!.*/"]=/
17195 s/^[^!]*!//
17196 :repl
17197 t repl
17198 s/'"$ac_delim"'$//
17199 t delim
17202 s/\(.\{148\}\)..*/\1/
17203 t more1
17204 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17207 b repl
17208 :more1
17209 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17212 s/.\{148\}//
17213 t nl
17214 :delim
17216 s/\(.\{148\}\)..*/\1/
17217 t more2
17218 s/["\\]/\\&/g; s/^/"/; s/$/"/
17221 :more2
17222 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17225 s/.\{148\}//
17226 t delim
17227 ' <conf$$subs.awk | sed '
17228 /^[^""]/{
17230 s/\n//
17232 ' >>$CONFIG_STATUS || ac_write_fail=1
17233 rm -f conf$$subs.awk
17234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17235 _ACAWK
17236 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17237 for (key in S) S_is_set[key] = 1
17238 FS = "\a"
17239 \$ac_cs_awk_pipe_init
17242 line = $ 0
17243 nfields = split(line, field, "@")
17244 substed = 0
17245 len = length(field[1])
17246 for (i = 2; i < nfields; i++) {
17247 key = field[i]
17248 keylen = length(key)
17249 if (S_is_set[key]) {
17250 value = S[key]
17251 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17252 len += length(value) + length(field[++i])
17253 substed = 1
17254 } else
17255 len += 1 + keylen
17257 if (nfields == 3 && !substed) {
17258 key = field[2]
17259 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17260 \$ac_cs_awk_read_file
17261 next
17264 print line
17266 \$ac_cs_awk_pipe_fini
17267 _ACAWK
17268 _ACEOF
17269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17270 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17271 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17272 else
17274 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17275 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17276 _ACEOF
17278 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17279 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17280 # trailing colons and then remove the whole line if VPATH becomes empty
17281 # (actually we leave an empty line to preserve line numbers).
17282 if test "x$srcdir" = x.; then
17283 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17285 s///
17286 s/^/:/
17287 s/[ ]*$/:/
17288 s/:\$(srcdir):/:/g
17289 s/:\${srcdir}:/:/g
17290 s/:@srcdir@:/:/g
17291 s/^:*//
17292 s/:*$//
17294 s/\(=[ ]*\).*/\1/
17296 s/\n//
17297 s/^[^=]*=[ ]*$//
17301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17302 fi # test -n "$CONFIG_FILES"
17304 # Set up the scripts for CONFIG_HEADERS section.
17305 # No need to generate them if there are no CONFIG_HEADERS.
17306 # This happens for instance with `./config.status Makefile'.
17307 if test -n "$CONFIG_HEADERS"; then
17308 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17309 BEGIN {
17310 _ACEOF
17312 # Transform confdefs.h into an awk script `defines.awk', embedded as
17313 # here-document in config.status, that substitutes the proper values into
17314 # config.h.in to produce config.h.
17316 # Create a delimiter string that does not exist in confdefs.h, to ease
17317 # handling of long lines.
17318 ac_delim='%!_!# '
17319 for ac_last_try in false false :; do
17320 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17321 if test -z "$ac_tt"; then
17322 break
17323 elif $ac_last_try; then
17324 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17325 else
17326 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17328 done
17330 # For the awk script, D is an array of macro values keyed by name,
17331 # likewise P contains macro parameters if any. Preserve backslash
17332 # newline sequences.
17334 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17335 sed -n '
17336 s/.\{148\}/&'"$ac_delim"'/g
17337 t rset
17338 :rset
17339 s/^[ ]*#[ ]*define[ ][ ]*/ /
17340 t def
17342 :def
17343 s/\\$//
17344 t bsnl
17345 s/["\\]/\\&/g
17346 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17347 D["\1"]=" \3"/p
17348 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17350 :bsnl
17351 s/["\\]/\\&/g
17352 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17353 D["\1"]=" \3\\\\\\n"\\/p
17354 t cont
17355 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17356 t cont
17358 :cont
17360 s/.\{148\}/&'"$ac_delim"'/g
17361 t clear
17362 :clear
17363 s/\\$//
17364 t bsnlc
17365 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17367 :bsnlc
17368 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17369 b cont
17370 ' <confdefs.h | sed '
17371 s/'"$ac_delim"'/"\\\
17372 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17375 for (key in D) D_is_set[key] = 1
17376 FS = "\a"
17378 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17379 line = \$ 0
17380 split(line, arg, " ")
17381 if (arg[1] == "#") {
17382 defundef = arg[2]
17383 mac1 = arg[3]
17384 } else {
17385 defundef = substr(arg[1], 2)
17386 mac1 = arg[2]
17388 split(mac1, mac2, "(") #)
17389 macro = mac2[1]
17390 prefix = substr(line, 1, index(line, defundef) - 1)
17391 if (D_is_set[macro]) {
17392 # Preserve the white space surrounding the "#".
17393 print prefix "define", macro P[macro] D[macro]
17394 next
17395 } else {
17396 # Replace #undef with comments. This is necessary, for example,
17397 # in the case of _POSIX_SOURCE, which is predefined and required
17398 # on some systems where configure will not decide to define it.
17399 if (defundef == "undef") {
17400 print "/*", prefix defundef, macro, "*/"
17401 next
17405 { print }
17406 _ACAWK
17407 _ACEOF
17408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17409 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17410 fi # test -n "$CONFIG_HEADERS"
17413 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17414 shift
17415 for ac_tag
17417 case $ac_tag in
17418 :[FHLC]) ac_mode=$ac_tag; continue;;
17419 esac
17420 case $ac_mode$ac_tag in
17421 :[FHL]*:*);;
17422 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17423 :[FH]-) ac_tag=-:-;;
17424 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17425 esac
17426 ac_save_IFS=$IFS
17427 IFS=:
17428 set x $ac_tag
17429 IFS=$ac_save_IFS
17430 shift
17431 ac_file=$1
17432 shift
17434 case $ac_mode in
17435 :L) ac_source=$1;;
17436 :[FH])
17437 ac_file_inputs=
17438 for ac_f
17440 case $ac_f in
17441 -) ac_f="$ac_tmp/stdin";;
17442 *) # Look for the file first in the build tree, then in the source tree
17443 # (if the path is not absolute). The absolute path cannot be DOS-style,
17444 # because $ac_f cannot contain `:'.
17445 test -f "$ac_f" ||
17446 case $ac_f in
17447 [\\/$]*) false;;
17448 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17449 esac ||
17450 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17451 esac
17452 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17453 as_fn_append ac_file_inputs " '$ac_f'"
17454 done
17456 # Let's still pretend it is `configure' which instantiates (i.e., don't
17457 # use $as_me), people would be surprised to read:
17458 # /* config.h. Generated by config.status. */
17459 configure_input='Generated from '`
17460 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17461 `' by configure.'
17462 if test x"$ac_file" != x-; then
17463 configure_input="$ac_file. $configure_input"
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17465 $as_echo "$as_me: creating $ac_file" >&6;}
17467 # Neutralize special characters interpreted by sed in replacement strings.
17468 case $configure_input in #(
17469 *\&* | *\|* | *\\* )
17470 ac_sed_conf_input=`$as_echo "$configure_input" |
17471 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17472 *) ac_sed_conf_input=$configure_input;;
17473 esac
17475 case $ac_tag in
17476 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17477 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17478 esac
17480 esac
17482 ac_dir=`$as_dirname -- "$ac_file" ||
17483 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17484 X"$ac_file" : 'X\(//\)[^/]' \| \
17485 X"$ac_file" : 'X\(//\)$' \| \
17486 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17487 $as_echo X"$ac_file" |
17488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17489 s//\1/
17492 /^X\(\/\/\)[^/].*/{
17493 s//\1/
17496 /^X\(\/\/\)$/{
17497 s//\1/
17500 /^X\(\/\).*/{
17501 s//\1/
17504 s/.*/./; q'`
17505 as_dir="$ac_dir"; as_fn_mkdir_p
17506 ac_builddir=.
17508 case "$ac_dir" in
17509 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17511 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17512 # A ".." for each directory in $ac_dir_suffix.
17513 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17514 case $ac_top_builddir_sub in
17515 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17516 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17517 esac ;;
17518 esac
17519 ac_abs_top_builddir=$ac_pwd
17520 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17521 # for backward compatibility:
17522 ac_top_builddir=$ac_top_build_prefix
17524 case $srcdir in
17525 .) # We are building in place.
17526 ac_srcdir=.
17527 ac_top_srcdir=$ac_top_builddir_sub
17528 ac_abs_top_srcdir=$ac_pwd ;;
17529 [\\/]* | ?:[\\/]* ) # Absolute name.
17530 ac_srcdir=$srcdir$ac_dir_suffix;
17531 ac_top_srcdir=$srcdir
17532 ac_abs_top_srcdir=$srcdir ;;
17533 *) # Relative name.
17534 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17535 ac_top_srcdir=$ac_top_build_prefix$srcdir
17536 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17537 esac
17538 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17541 case $ac_mode in
17544 # CONFIG_FILE
17547 case $INSTALL in
17548 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17549 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17550 esac
17551 _ACEOF
17553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17554 # If the template does not know about datarootdir, expand it.
17555 # FIXME: This hack should be removed a few years after 2.60.
17556 ac_datarootdir_hack=; ac_datarootdir_seen=
17557 ac_sed_dataroot='
17558 /datarootdir/ {
17562 /@datadir@/p
17563 /@docdir@/p
17564 /@infodir@/p
17565 /@localedir@/p
17566 /@mandir@/p'
17567 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17568 *datarootdir*) ac_datarootdir_seen=yes;;
17569 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17571 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17572 _ACEOF
17573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17574 ac_datarootdir_hack='
17575 s&@datadir@&$datadir&g
17576 s&@docdir@&$docdir&g
17577 s&@infodir@&$infodir&g
17578 s&@localedir@&$localedir&g
17579 s&@mandir@&$mandir&g
17580 s&\\\${datarootdir}&$datarootdir&g' ;;
17581 esac
17582 _ACEOF
17584 # Neutralize VPATH when `$srcdir' = `.'.
17585 # Shell code in configure.ac might set extrasub.
17586 # FIXME: do we really want to maintain this feature?
17587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17588 ac_sed_extra="$ac_vpsub
17589 $extrasub
17590 _ACEOF
17591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17593 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17594 s|@configure_input@|$ac_sed_conf_input|;t t
17595 s&@top_builddir@&$ac_top_builddir_sub&;t t
17596 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17597 s&@srcdir@&$ac_srcdir&;t t
17598 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17599 s&@top_srcdir@&$ac_top_srcdir&;t t
17600 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17601 s&@builddir@&$ac_builddir&;t t
17602 s&@abs_builddir@&$ac_abs_builddir&;t t
17603 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17604 s&@INSTALL@&$ac_INSTALL&;t t
17605 $ac_datarootdir_hack
17607 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17608 if $ac_cs_awk_getline; then
17609 $AWK -f "$ac_tmp/subs.awk"
17610 else
17611 $AWK -f "$ac_tmp/subs.awk" | $SHELL
17612 fi \
17613 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17615 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17616 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17617 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17618 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17620 which seems to be undefined. Please make sure it is defined" >&5
17621 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17622 which seems to be undefined. Please make sure it is defined" >&2;}
17624 rm -f "$ac_tmp/stdin"
17625 case $ac_file in
17626 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17627 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17628 esac \
17629 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17633 # CONFIG_HEADER
17635 if test x"$ac_file" != x-; then
17637 $as_echo "/* $configure_input */" \
17638 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17639 } >"$ac_tmp/config.h" \
17640 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17641 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17643 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17644 else
17645 rm -f "$ac_file"
17646 mv "$ac_tmp/config.h" "$ac_file" \
17647 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17649 else
17650 $as_echo "/* $configure_input */" \
17651 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17652 || as_fn_error $? "could not create -" "$LINENO" 5
17657 # CONFIG_LINK
17660 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
17662 else
17663 # Prefer the file from the source tree if names are identical.
17664 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17665 ac_source=$srcdir/$ac_source
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17669 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17671 if test ! -r "$ac_source"; then
17672 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17674 rm -f "$ac_file"
17676 # Try a relative symlink, then a hard link, then a copy.
17677 case $ac_source in
17678 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17679 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17680 esac
17681 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17682 ln "$ac_source" "$ac_file" 2>/dev/null ||
17683 cp -p "$ac_source" "$ac_file" ||
17684 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17687 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17688 $as_echo "$as_me: executing $ac_file commands" >&6;}
17690 esac
17693 case $ac_file$ac_mode in
17694 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17695 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17696 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17697 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17698 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17699 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17700 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17701 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17702 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17703 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17704 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17705 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17706 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17707 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17708 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17709 "Makefile":C) wine_fn_output_makefile Makefile ;;
17711 esac
17712 done # for ac_tag
17715 as_fn_exit 0
17716 _ACEOF
17717 ac_clean_files=$ac_clean_files_save
17719 test $ac_write_fail = 0 ||
17720 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17723 # configure is writing to config.log, and then calls config.status.
17724 # config.status does its own redirection, appending to config.log.
17725 # Unfortunately, on DOS this fails, as config.log is still kept open
17726 # by configure, so config.status won't be able to write to it; its
17727 # output is simply discarded. So we exec the FD to /dev/null,
17728 # effectively closing config.log, so it can be properly (re)opened and
17729 # appended to by config.status. When coming back to configure, we
17730 # need to make the FD available again.
17731 if test "$no_create" != yes; then
17732 ac_cs_success=:
17733 ac_config_status_args=
17734 test "$silent" = yes &&
17735 ac_config_status_args="$ac_config_status_args --quiet"
17736 exec 5>/dev/null
17737 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17738 exec 5>>config.log
17739 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17740 # would make configure fail if this is the last instruction.
17741 $ac_cs_success || as_fn_exit 1
17743 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17745 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17749 if test "$no_create" = "yes"
17750 then
17751 exit 0
17754 ac_save_IFS="$IFS"
17755 if test "x$wine_notices != "x; then
17756 echo >&6
17757 IFS="|"
17758 for msg in $wine_notices; do
17759 IFS="$ac_save_IFS"
17760 if test -n "$msg"; then
17761 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17762 $as_echo "$as_me: $msg" >&6;}
17764 done
17766 IFS="|"
17767 for msg in $wine_warnings; do
17768 IFS="$ac_save_IFS"
17769 if test -n "$msg"; then
17770 echo >&2
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17772 $as_echo "$as_me: WARNING: $msg" >&2;}
17774 done
17775 IFS="$ac_save_IFS"
17777 echo "
17778 $as_me: Finished. Do '${ac_make}' to compile Wine.
17779 " >&6