d3d9/tests: Don't require a WM_MOVE message.
[wine.git] / configure
blobd09438e40da3eda353ead6c8ae6ed97206605845
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.31.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.7.31'
584 PACKAGE_STRING='Wine 1.7.31'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
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=''
794 ac_user_opts='
795 enable_option_checking
796 enable_win16
797 enable_win64
798 enable_tests
799 enable_maintainer_mode
800 with_alsa
801 with_capi
802 with_cms
803 with_coreaudio
804 with_cups
805 with_curses
806 with_dbus
807 with_fontconfig
808 with_freetype
809 with_gettext
810 with_gettextpo
811 with_gphoto
812 with_glu
813 with_gnutls
814 with_gsm
815 with_gstreamer
816 with_hal
817 with_jpeg
818 with_ldap
819 with_mpg123
820 with_netapi
821 with_openal
822 with_opencl
823 with_opengl
824 with_osmesa
825 with_oss
826 with_pcap
827 with_png
828 with_pthread
829 with_sane
830 with_tiff
831 with_v4l
832 with_xcomposite
833 with_xcursor
834 with_xinerama
835 with_xinput
836 with_xinput2
837 with_xml
838 with_xrandr
839 with_xrender
840 with_xshape
841 with_xshm
842 with_xslt
843 with_xxf86vm
844 with_zlib
845 with_wine_tools
846 with_wine64
847 enable_largefile
848 with_x
849 enable_acledit
850 enable_aclui
851 enable_activeds
852 enable_actxprxy
853 enable_advapi32
854 enable_advpack
855 enable_amstream
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_debug_l1_1_1
859 enable_api_ms_win_core_errorhandling_l1_1_1
860 enable_api_ms_win_core_file_l1_2_0
861 enable_api_ms_win_core_handle_l1_1_0
862 enable_api_ms_win_core_heap_l1_2_0
863 enable_api_ms_win_core_heap_obsolete_l1_1_0
864 enable_api_ms_win_core_interlocked_l1_2_0
865 enable_api_ms_win_core_io_l1_1_1
866 enable_api_ms_win_core_kernel32_legacy_l1_1_0
867 enable_api_ms_win_core_libraryloader_l1_1_1
868 enable_api_ms_win_core_localization_l1_2_0
869 enable_api_ms_win_core_localization_obsolete_l1_1_0
870 enable_api_ms_win_core_localregistry_l1_1_0
871 enable_api_ms_win_core_memory_l1_1_1
872 enable_api_ms_win_core_namedpipe_l1_2_0
873 enable_api_ms_win_core_processenvironment_l1_2_0
874 enable_api_ms_win_core_processthreads_l1_1_0
875 enable_api_ms_win_core_processthreads_l1_1_1
876 enable_api_ms_win_core_profile_l1_1_0
877 enable_api_ms_win_core_psapi_l1_1_0
878 enable_api_ms_win_core_registry_l1_1_0
879 enable_api_ms_win_core_rtlsupport_l1_2_0
880 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
881 enable_api_ms_win_core_string_l1_1_0
882 enable_api_ms_win_core_synch_l1_2_0
883 enable_api_ms_win_core_sysinfo_l1_2_0
884 enable_api_ms_win_core_threadpool_legacy_l1_1_0
885 enable_api_ms_win_core_timezone_l1_1_0
886 enable_api_ms_win_core_url_l1_1_0
887 enable_api_ms_win_core_util_l1_1_0
888 enable_api_ms_win_core_winrt_error_l1_1_0
889 enable_api_ms_win_core_winrt_string_l1_1_0
890 enable_api_ms_win_downlevel_advapi32_l1_1_0
891 enable_api_ms_win_downlevel_advapi32_l2_1_0
892 enable_api_ms_win_downlevel_normaliz_l1_1_0
893 enable_api_ms_win_downlevel_ole32_l1_1_0
894 enable_api_ms_win_downlevel_shell32_l1_1_0
895 enable_api_ms_win_downlevel_shlwapi_l1_1_0
896 enable_api_ms_win_downlevel_shlwapi_l2_1_0
897 enable_api_ms_win_downlevel_user32_l1_1_0
898 enable_api_ms_win_downlevel_version_l1_1_0
899 enable_api_ms_win_eventing_provider_l1_1_0
900 enable_api_ms_win_ntuser_dc_access_l1_1_0
901 enable_api_ms_win_security_base_l1_1_0
902 enable_api_ms_win_security_base_l1_2_0
903 enable_api_ms_win_security_sddl_l1_1_0
904 enable_api_ms_win_service_core_l1_1_1
905 enable_api_ms_win_service_management_l1_1_0
906 enable_api_ms_win_service_winsvc_l1_2_0
907 enable_apphelp
908 enable_appwiz_cpl
909 enable_atl
910 enable_atl100
911 enable_atl110
912 enable_atl80
913 enable_atl90
914 enable_authz
915 enable_avicap32
916 enable_avifil32
917 enable_avrt
918 enable_bcrypt
919 enable_browseui
920 enable_cabinet
921 enable_capi2032
922 enable_cards
923 enable_cfgmgr32
924 enable_clusapi
925 enable_comcat
926 enable_comctl32
927 enable_comdlg32
928 enable_compstui
929 enable_comsvcs
930 enable_credui
931 enable_crtdll
932 enable_crypt32
933 enable_cryptdlg
934 enable_cryptdll
935 enable_cryptext
936 enable_cryptnet
937 enable_cryptui
938 enable_ctapi32
939 enable_ctl3d32
940 enable_d2d1
941 enable_d3d10
942 enable_d3d10_1
943 enable_d3d10core
944 enable_d3d11
945 enable_d3d8
946 enable_d3d9
947 enable_d3dcompiler_33
948 enable_d3dcompiler_34
949 enable_d3dcompiler_35
950 enable_d3dcompiler_36
951 enable_d3dcompiler_37
952 enable_d3dcompiler_38
953 enable_d3dcompiler_39
954 enable_d3dcompiler_40
955 enable_d3dcompiler_41
956 enable_d3dcompiler_42
957 enable_d3dcompiler_43
958 enable_d3dim
959 enable_d3drm
960 enable_d3dx10_33
961 enable_d3dx10_34
962 enable_d3dx10_35
963 enable_d3dx10_36
964 enable_d3dx10_37
965 enable_d3dx10_38
966 enable_d3dx10_39
967 enable_d3dx10_40
968 enable_d3dx10_41
969 enable_d3dx10_42
970 enable_d3dx10_43
971 enable_d3dx11_42
972 enable_d3dx11_43
973 enable_d3dx9_24
974 enable_d3dx9_25
975 enable_d3dx9_26
976 enable_d3dx9_27
977 enable_d3dx9_28
978 enable_d3dx9_29
979 enable_d3dx9_30
980 enable_d3dx9_31
981 enable_d3dx9_32
982 enable_d3dx9_33
983 enable_d3dx9_34
984 enable_d3dx9_35
985 enable_d3dx9_36
986 enable_d3dx9_37
987 enable_d3dx9_38
988 enable_d3dx9_39
989 enable_d3dx9_40
990 enable_d3dx9_41
991 enable_d3dx9_42
992 enable_d3dx9_43
993 enable_d3dxof
994 enable_dbgeng
995 enable_dbghelp
996 enable_dciman32
997 enable_ddraw
998 enable_ddrawex
999 enable_devenum
1000 enable_dhcpcsvc
1001 enable_difxapi
1002 enable_dinput
1003 enable_dinput8
1004 enable_dispex
1005 enable_dmband
1006 enable_dmcompos
1007 enable_dmime
1008 enable_dmloader
1009 enable_dmscript
1010 enable_dmstyle
1011 enable_dmsynth
1012 enable_dmusic
1013 enable_dmusic32
1014 enable_dnsapi
1015 enable_dplay
1016 enable_dplayx
1017 enable_dpnaddr
1018 enable_dpnet
1019 enable_dpnhpast
1020 enable_dpnlobby
1021 enable_dpvoice
1022 enable_dpwsockx
1023 enable_drmclien
1024 enable_dsound
1025 enable_dssenh
1026 enable_dswave
1027 enable_dwmapi
1028 enable_dwrite
1029 enable_dxdiagn
1030 enable_dxgi
1031 enable_dxva2
1032 enable_explorerframe
1033 enable_ext_ms_win_gdi_devcaps_l1_1_0
1034 enable_faultrep
1035 enable_fltlib
1036 enable_fntcache
1037 enable_fontsub
1038 enable_fusion
1039 enable_fwpuclnt
1040 enable_gameux
1041 enable_gdi32
1042 enable_gdiplus
1043 enable_glu32
1044 enable_gphoto2_ds
1045 enable_gpkcsp
1046 enable_hal
1047 enable_hhctrl_ocx
1048 enable_hid
1049 enable_hlink
1050 enable_hnetcfg
1051 enable_httpapi
1052 enable_iccvid
1053 enable_icmp
1054 enable_ieframe
1055 enable_imaadp32_acm
1056 enable_imagehlp
1057 enable_imm32
1058 enable_inetcomm
1059 enable_inetcpl_cpl
1060 enable_inetmib1
1061 enable_infosoft
1062 enable_initpki
1063 enable_inkobj
1064 enable_inseng
1065 enable_iphlpapi
1066 enable_itircl
1067 enable_itss
1068 enable_joy_cpl
1069 enable_jscript
1070 enable_jsproxy
1071 enable_kernel32
1072 enable_ksuser
1073 enable_ktmw32
1074 enable_loadperf
1075 enable_localspl
1076 enable_localui
1077 enable_lz32
1078 enable_mapi32
1079 enable_mapistub
1080 enable_mciavi32
1081 enable_mcicda
1082 enable_mciqtz32
1083 enable_mciseq
1084 enable_mciwave
1085 enable_mgmtapi
1086 enable_midimap
1087 enable_mlang
1088 enable_mmcndmgr
1089 enable_mmdevapi
1090 enable_mountmgr_sys
1091 enable_mpr
1092 enable_mprapi
1093 enable_msacm32_drv
1094 enable_msacm32
1095 enable_msadp32_acm
1096 enable_msasn1
1097 enable_mscat32
1098 enable_mscms
1099 enable_mscoree
1100 enable_msctf
1101 enable_msdaps
1102 enable_msdmo
1103 enable_msftedit
1104 enable_msg711_acm
1105 enable_msgsm32_acm
1106 enable_mshtml_tlb
1107 enable_mshtml
1108 enable_msi
1109 enable_msident
1110 enable_msimg32
1111 enable_msimsg
1112 enable_msimtf
1113 enable_msisip
1114 enable_msisys_ocx
1115 enable_msls31
1116 enable_msnet32
1117 enable_mspatcha
1118 enable_msrle32
1119 enable_mssign32
1120 enable_mssip32
1121 enable_mstask
1122 enable_msvcirt
1123 enable_msvcm80
1124 enable_msvcm90
1125 enable_msvcp100
1126 enable_msvcp110
1127 enable_msvcp120
1128 enable_msvcp60
1129 enable_msvcp70
1130 enable_msvcp71
1131 enable_msvcp80
1132 enable_msvcp90
1133 enable_msvcr100
1134 enable_msvcr110
1135 enable_msvcr120
1136 enable_msvcr70
1137 enable_msvcr71
1138 enable_msvcr80
1139 enable_msvcr90
1140 enable_msvcrt
1141 enable_msvcrt20
1142 enable_msvcrt40
1143 enable_msvcrtd
1144 enable_msvfw32
1145 enable_msvidc32
1146 enable_mswsock
1147 enable_msxml
1148 enable_msxml2
1149 enable_msxml3
1150 enable_msxml4
1151 enable_msxml6
1152 enable_nddeapi
1153 enable_ndis_sys
1154 enable_netapi32
1155 enable_netcfgx
1156 enable_netprofm
1157 enable_newdev
1158 enable_normaliz
1159 enable_npmshtml
1160 enable_npptools
1161 enable_ntdll
1162 enable_ntdsapi
1163 enable_ntoskrnl_exe
1164 enable_ntprint
1165 enable_objsel
1166 enable_odbc32
1167 enable_odbccp32
1168 enable_odbccu32
1169 enable_ole32
1170 enable_oleacc
1171 enable_oleaut32
1172 enable_olecli32
1173 enable_oledb32
1174 enable_oledlg
1175 enable_olepro32
1176 enable_olesvr32
1177 enable_olethk32
1178 enable_openal32
1179 enable_opencl
1180 enable_opengl32
1181 enable_packager
1182 enable_pdh
1183 enable_photometadatahandler
1184 enable_pidgen
1185 enable_powrprof
1186 enable_printui
1187 enable_prntvpt
1188 enable_propsys
1189 enable_psapi
1190 enable_pstorec
1191 enable_qcap
1192 enable_qedit
1193 enable_qmgr
1194 enable_qmgrprxy
1195 enable_quartz
1196 enable_query
1197 enable_rasapi32
1198 enable_rasdlg
1199 enable_regapi
1200 enable_resutils
1201 enable_riched20
1202 enable_riched32
1203 enable_rpcrt4
1204 enable_rsabase
1205 enable_rsaenh
1206 enable_rstrtmgr
1207 enable_rtutils
1208 enable_samlib
1209 enable_sane_ds
1210 enable_scarddlg
1211 enable_sccbase
1212 enable_schannel
1213 enable_schedsvc
1214 enable_scrrun
1215 enable_scsiport_sys
1216 enable_secur32
1217 enable_security
1218 enable_sensapi
1219 enable_serialui
1220 enable_setupapi
1221 enable_sfc
1222 enable_sfc_os
1223 enable_shdoclc
1224 enable_shdocvw
1225 enable_shell32
1226 enable_shfolder
1227 enable_shlwapi
1228 enable_slbcsp
1229 enable_slc
1230 enable_snmpapi
1231 enable_softpub
1232 enable_spoolss
1233 enable_stdole2_tlb
1234 enable_stdole32_tlb
1235 enable_sti
1236 enable_svrapi
1237 enable_sxs
1238 enable_t2embed
1239 enable_tapi32
1240 enable_taskschd
1241 enable_traffic
1242 enable_twain_32
1243 enable_unicows
1244 enable_updspapi
1245 enable_url
1246 enable_urlmon
1247 enable_usbd_sys
1248 enable_user32
1249 enable_userenv
1250 enable_usp10
1251 enable_uxtheme
1252 enable_vbscript
1253 enable_vcomp
1254 enable_vcomp100
1255 enable_vcomp90
1256 enable_vdmdbg
1257 enable_version
1258 enable_wbemdisp
1259 enable_wbemprox
1260 enable_webservices
1261 enable_wer
1262 enable_wevtapi
1263 enable_wiaservc
1264 enable_windowscodecs
1265 enable_windowscodecsext
1266 enable_winealsa_drv
1267 enable_winecoreaudio_drv
1268 enable_wined3d
1269 enable_winegstreamer
1270 enable_winejoystick_drv
1271 enable_winemac_drv
1272 enable_winemapi
1273 enable_winemp3_acm
1274 enable_wineoss_drv
1275 enable_wineps_drv
1276 enable_wineqtdecoder
1277 enable_winex11_drv
1278 enable_wing32
1279 enable_winhttp
1280 enable_wininet
1281 enable_winmm
1282 enable_winnls32
1283 enable_winscard
1284 enable_winspool_drv
1285 enable_winsta
1286 enable_wintab32
1287 enable_wintrust
1288 enable_wlanapi
1289 enable_wldap32
1290 enable_wmi
1291 enable_wmiutils
1292 enable_wmp
1293 enable_wmvcore
1294 enable_wnaspi32
1295 enable_wpcap
1296 enable_ws2_32
1297 enable_wshom_ocx
1298 enable_wsnmp32
1299 enable_wsock32
1300 enable_wtsapi32
1301 enable_wuapi
1302 enable_wuaueng
1303 enable_xapofx1_1
1304 enable_xinput1_1
1305 enable_xinput1_2
1306 enable_xinput1_3
1307 enable_xinput1_4
1308 enable_xinput9_1_0
1309 enable_xmllite
1310 enable_xolehlp
1311 enable_xpsprint
1312 enable_xpssvcs
1313 enable_documentation
1314 enable_fonts
1315 enable_include
1316 enable_libs_port
1317 enable_libs_wine
1318 enable_libs_wpp
1319 enable_loader
1320 enable_arp
1321 enable_aspnet_regiis
1322 enable_attrib
1323 enable_cabarc
1324 enable_cacls
1325 enable_clock
1326 enable_cmd
1327 enable_conhost
1328 enable_control
1329 enable_cscript
1330 enable_dpnsvr
1331 enable_dxdiag
1332 enable_eject
1333 enable_expand
1334 enable_explorer
1335 enable_extrac32
1336 enable_findstr
1337 enable_hh
1338 enable_hostname
1339 enable_icinfo
1340 enable_iexplore
1341 enable_ipconfig
1342 enable_lodctr
1343 enable_mofcomp
1344 enable_mshta
1345 enable_msiexec
1346 enable_net
1347 enable_netsh
1348 enable_netstat
1349 enable_ngen
1350 enable_notepad
1351 enable_oleview
1352 enable_ping
1353 enable_plugplay
1354 enable_presentationfontcache
1355 enable_progman
1356 enable_reg
1357 enable_regasm
1358 enable_regedit
1359 enable_regsvcs
1360 enable_regsvr32
1361 enable_rpcss
1362 enable_rundll32
1363 enable_sc
1364 enable_schtasks
1365 enable_sdbinst
1366 enable_secedit
1367 enable_servicemodelreg
1368 enable_services
1369 enable_spoolsv
1370 enable_start
1371 enable_svchost
1372 enable_systeminfo
1373 enable_taskkill
1374 enable_tasklist
1375 enable_taskmgr
1376 enable_termsv
1377 enable_uninstaller
1378 enable_unlodctr
1379 enable_view
1380 enable_wevtutil
1381 enable_wineboot
1382 enable_winebrowser
1383 enable_winecfg
1384 enable_wineconsole
1385 enable_winedbg
1386 enable_winedevice
1387 enable_winefile
1388 enable_winemenubuilder
1389 enable_winemine
1390 enable_winemsibuilder
1391 enable_winepath
1392 enable_winetest
1393 enable_winhlp32
1394 enable_winver
1395 enable_wmic
1396 enable_wordpad
1397 enable_write
1398 enable_wscript
1399 enable_wusa
1400 enable_xcopy
1401 enable_server
1402 enable_tools
1404 ac_precious_vars='build_alias
1405 host_alias
1406 target_alias
1408 CFLAGS
1409 LDFLAGS
1410 LIBS
1411 CPPFLAGS
1413 CXXFLAGS
1416 XMKMF
1417 XML2_CFLAGS
1418 XML2_LIBS
1419 XSLT_CFLAGS
1420 XSLT_LIBS
1421 DBUS_CFLAGS
1422 DBUS_LIBS
1423 HAL_CFLAGS
1424 HAL_LIBS
1425 GNUTLS_CFLAGS
1426 GNUTLS_LIBS
1427 SANE_CFLAGS
1428 SANE_LIBS
1429 GPHOTO2_CFLAGS
1430 GPHOTO2_LIBS
1431 GPHOTO2_PORT_CFLAGS
1432 GPHOTO2_PORT_LIBS
1433 LCMS2_CFLAGS
1434 LCMS2_LIBS
1435 FREETYPE_CFLAGS
1436 FREETYPE_LIBS
1437 GSTREAMER_CFLAGS
1438 GSTREAMER_LIBS
1439 CAPI20_CFLAGS
1440 CAPI20_LIBS
1441 FONTCONFIG_CFLAGS
1442 FONTCONFIG_LIBS
1443 JPEG_CFLAGS
1444 JPEG_LIBS
1445 PNG_CFLAGS
1446 PNG_LIBS
1447 TIFF_CFLAGS
1448 TIFF_LIBS
1449 MPG123_CFLAGS
1450 MPG123_LIBS'
1453 # Initialize some variables set by options.
1454 ac_init_help=
1455 ac_init_version=false
1456 ac_unrecognized_opts=
1457 ac_unrecognized_sep=
1458 # The variables have the same names as the options, with
1459 # dashes changed to underlines.
1460 cache_file=/dev/null
1461 exec_prefix=NONE
1462 no_create=
1463 no_recursion=
1464 prefix=NONE
1465 program_prefix=NONE
1466 program_suffix=NONE
1467 program_transform_name=s,x,x,
1468 silent=
1469 site=
1470 srcdir=
1471 verbose=
1472 x_includes=NONE
1473 x_libraries=NONE
1475 # Installation directory options.
1476 # These are left unexpanded so users can "make install exec_prefix=/foo"
1477 # and all the variables that are supposed to be based on exec_prefix
1478 # by default will actually change.
1479 # Use braces instead of parens because sh, perl, etc. also accept them.
1480 # (The list follows the same order as the GNU Coding Standards.)
1481 bindir='${exec_prefix}/bin'
1482 sbindir='${exec_prefix}/sbin'
1483 libexecdir='${exec_prefix}/libexec'
1484 datarootdir='${prefix}/share'
1485 datadir='${datarootdir}'
1486 sysconfdir='${prefix}/etc'
1487 sharedstatedir='${prefix}/com'
1488 localstatedir='${prefix}/var'
1489 includedir='${prefix}/include'
1490 oldincludedir='/usr/include'
1491 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1492 infodir='${datarootdir}/info'
1493 htmldir='${docdir}'
1494 dvidir='${docdir}'
1495 pdfdir='${docdir}'
1496 psdir='${docdir}'
1497 libdir='${exec_prefix}/lib'
1498 localedir='${datarootdir}/locale'
1499 mandir='${datarootdir}/man'
1501 ac_prev=
1502 ac_dashdash=
1503 for ac_option
1505 # If the previous option needs an argument, assign it.
1506 if test -n "$ac_prev"; then
1507 eval $ac_prev=\$ac_option
1508 ac_prev=
1509 continue
1512 case $ac_option in
1513 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1514 *=) ac_optarg= ;;
1515 *) ac_optarg=yes ;;
1516 esac
1518 # Accept the important Cygnus configure options, so we can diagnose typos.
1520 case $ac_dashdash$ac_option in
1522 ac_dashdash=yes ;;
1524 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1525 ac_prev=bindir ;;
1526 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1527 bindir=$ac_optarg ;;
1529 -build | --build | --buil | --bui | --bu)
1530 ac_prev=build_alias ;;
1531 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1532 build_alias=$ac_optarg ;;
1534 -cache-file | --cache-file | --cache-fil | --cache-fi \
1535 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1536 ac_prev=cache_file ;;
1537 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1538 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1539 cache_file=$ac_optarg ;;
1541 --config-cache | -C)
1542 cache_file=config.cache ;;
1544 -datadir | --datadir | --datadi | --datad)
1545 ac_prev=datadir ;;
1546 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1547 datadir=$ac_optarg ;;
1549 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1550 | --dataroo | --dataro | --datar)
1551 ac_prev=datarootdir ;;
1552 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1553 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1554 datarootdir=$ac_optarg ;;
1556 -disable-* | --disable-*)
1557 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1558 # Reject names that are not valid shell variable names.
1559 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1560 as_fn_error $? "invalid feature name: $ac_useropt"
1561 ac_useropt_orig=$ac_useropt
1562 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1563 case $ac_user_opts in
1565 "enable_$ac_useropt"
1566 "*) ;;
1567 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1568 ac_unrecognized_sep=', ';;
1569 esac
1570 eval enable_$ac_useropt=no ;;
1572 -docdir | --docdir | --docdi | --doc | --do)
1573 ac_prev=docdir ;;
1574 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1575 docdir=$ac_optarg ;;
1577 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1578 ac_prev=dvidir ;;
1579 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1580 dvidir=$ac_optarg ;;
1582 -enable-* | --enable-*)
1583 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1584 # Reject names that are not valid shell variable names.
1585 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1586 as_fn_error $? "invalid feature name: $ac_useropt"
1587 ac_useropt_orig=$ac_useropt
1588 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1589 case $ac_user_opts in
1591 "enable_$ac_useropt"
1592 "*) ;;
1593 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1594 ac_unrecognized_sep=', ';;
1595 esac
1596 eval enable_$ac_useropt=\$ac_optarg ;;
1598 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1599 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1600 | --exec | --exe | --ex)
1601 ac_prev=exec_prefix ;;
1602 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1603 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1604 | --exec=* | --exe=* | --ex=*)
1605 exec_prefix=$ac_optarg ;;
1607 -gas | --gas | --ga | --g)
1608 # Obsolete; use --with-gas.
1609 with_gas=yes ;;
1611 -help | --help | --hel | --he | -h)
1612 ac_init_help=long ;;
1613 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1614 ac_init_help=recursive ;;
1615 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1616 ac_init_help=short ;;
1618 -host | --host | --hos | --ho)
1619 ac_prev=host_alias ;;
1620 -host=* | --host=* | --hos=* | --ho=*)
1621 host_alias=$ac_optarg ;;
1623 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1624 ac_prev=htmldir ;;
1625 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1626 | --ht=*)
1627 htmldir=$ac_optarg ;;
1629 -includedir | --includedir | --includedi | --included | --include \
1630 | --includ | --inclu | --incl | --inc)
1631 ac_prev=includedir ;;
1632 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1633 | --includ=* | --inclu=* | --incl=* | --inc=*)
1634 includedir=$ac_optarg ;;
1636 -infodir | --infodir | --infodi | --infod | --info | --inf)
1637 ac_prev=infodir ;;
1638 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1639 infodir=$ac_optarg ;;
1641 -libdir | --libdir | --libdi | --libd)
1642 ac_prev=libdir ;;
1643 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1644 libdir=$ac_optarg ;;
1646 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1647 | --libexe | --libex | --libe)
1648 ac_prev=libexecdir ;;
1649 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1650 | --libexe=* | --libex=* | --libe=*)
1651 libexecdir=$ac_optarg ;;
1653 -localedir | --localedir | --localedi | --localed | --locale)
1654 ac_prev=localedir ;;
1655 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1656 localedir=$ac_optarg ;;
1658 -localstatedir | --localstatedir | --localstatedi | --localstated \
1659 | --localstate | --localstat | --localsta | --localst | --locals)
1660 ac_prev=localstatedir ;;
1661 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1662 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1663 localstatedir=$ac_optarg ;;
1665 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1666 ac_prev=mandir ;;
1667 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1668 mandir=$ac_optarg ;;
1670 -nfp | --nfp | --nf)
1671 # Obsolete; use --without-fp.
1672 with_fp=no ;;
1674 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1675 | --no-cr | --no-c | -n)
1676 no_create=yes ;;
1678 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1679 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1680 no_recursion=yes ;;
1682 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1683 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1684 | --oldin | --oldi | --old | --ol | --o)
1685 ac_prev=oldincludedir ;;
1686 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1687 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1688 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1689 oldincludedir=$ac_optarg ;;
1691 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1692 ac_prev=prefix ;;
1693 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1694 prefix=$ac_optarg ;;
1696 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1697 | --program-pre | --program-pr | --program-p)
1698 ac_prev=program_prefix ;;
1699 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1700 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1701 program_prefix=$ac_optarg ;;
1703 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1704 | --program-suf | --program-su | --program-s)
1705 ac_prev=program_suffix ;;
1706 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1707 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1708 program_suffix=$ac_optarg ;;
1710 -program-transform-name | --program-transform-name \
1711 | --program-transform-nam | --program-transform-na \
1712 | --program-transform-n | --program-transform- \
1713 | --program-transform | --program-transfor \
1714 | --program-transfo | --program-transf \
1715 | --program-trans | --program-tran \
1716 | --progr-tra | --program-tr | --program-t)
1717 ac_prev=program_transform_name ;;
1718 -program-transform-name=* | --program-transform-name=* \
1719 | --program-transform-nam=* | --program-transform-na=* \
1720 | --program-transform-n=* | --program-transform-=* \
1721 | --program-transform=* | --program-transfor=* \
1722 | --program-transfo=* | --program-transf=* \
1723 | --program-trans=* | --program-tran=* \
1724 | --progr-tra=* | --program-tr=* | --program-t=*)
1725 program_transform_name=$ac_optarg ;;
1727 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1728 ac_prev=pdfdir ;;
1729 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1730 pdfdir=$ac_optarg ;;
1732 -psdir | --psdir | --psdi | --psd | --ps)
1733 ac_prev=psdir ;;
1734 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1735 psdir=$ac_optarg ;;
1737 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1738 | -silent | --silent | --silen | --sile | --sil)
1739 silent=yes ;;
1741 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1742 ac_prev=sbindir ;;
1743 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1744 | --sbi=* | --sb=*)
1745 sbindir=$ac_optarg ;;
1747 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1748 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1749 | --sharedst | --shareds | --shared | --share | --shar \
1750 | --sha | --sh)
1751 ac_prev=sharedstatedir ;;
1752 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1753 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1754 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1755 | --sha=* | --sh=*)
1756 sharedstatedir=$ac_optarg ;;
1758 -site | --site | --sit)
1759 ac_prev=site ;;
1760 -site=* | --site=* | --sit=*)
1761 site=$ac_optarg ;;
1763 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1764 ac_prev=srcdir ;;
1765 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1766 srcdir=$ac_optarg ;;
1768 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1769 | --syscon | --sysco | --sysc | --sys | --sy)
1770 ac_prev=sysconfdir ;;
1771 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1772 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1773 sysconfdir=$ac_optarg ;;
1775 -target | --target | --targe | --targ | --tar | --ta | --t)
1776 ac_prev=target_alias ;;
1777 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1778 target_alias=$ac_optarg ;;
1780 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1781 verbose=yes ;;
1783 -version | --version | --versio | --versi | --vers | -V)
1784 ac_init_version=: ;;
1786 -with-* | --with-*)
1787 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1788 # Reject names that are not valid shell variable names.
1789 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1790 as_fn_error $? "invalid package name: $ac_useropt"
1791 ac_useropt_orig=$ac_useropt
1792 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1793 case $ac_user_opts in
1795 "with_$ac_useropt"
1796 "*) ;;
1797 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1798 ac_unrecognized_sep=', ';;
1799 esac
1800 eval with_$ac_useropt=\$ac_optarg ;;
1802 -without-* | --without-*)
1803 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1804 # Reject names that are not valid shell variable names.
1805 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1806 as_fn_error $? "invalid package name: $ac_useropt"
1807 ac_useropt_orig=$ac_useropt
1808 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1809 case $ac_user_opts in
1811 "with_$ac_useropt"
1812 "*) ;;
1813 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1814 ac_unrecognized_sep=', ';;
1815 esac
1816 eval with_$ac_useropt=no ;;
1818 --x)
1819 # Obsolete; use --with-x.
1820 with_x=yes ;;
1822 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1823 | --x-incl | --x-inc | --x-in | --x-i)
1824 ac_prev=x_includes ;;
1825 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1826 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1827 x_includes=$ac_optarg ;;
1829 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1830 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1831 ac_prev=x_libraries ;;
1832 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1833 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1834 x_libraries=$ac_optarg ;;
1836 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1837 Try \`$0 --help' for more information"
1840 *=*)
1841 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1842 # Reject names that are not valid shell variable names.
1843 case $ac_envvar in #(
1844 '' | [0-9]* | *[!_$as_cr_alnum]* )
1845 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1846 esac
1847 eval $ac_envvar=\$ac_optarg
1848 export $ac_envvar ;;
1851 # FIXME: should be removed in autoconf 3.0.
1852 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1853 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1854 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1855 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1858 esac
1859 done
1861 if test -n "$ac_prev"; then
1862 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1863 as_fn_error $? "missing argument to $ac_option"
1866 if test -n "$ac_unrecognized_opts"; then
1867 case $enable_option_checking in
1868 no) ;;
1869 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1870 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1871 esac
1874 # Check all directory arguments for consistency.
1875 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1876 datadir sysconfdir sharedstatedir localstatedir includedir \
1877 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1878 libdir localedir mandir
1880 eval ac_val=\$$ac_var
1881 # Remove trailing slashes.
1882 case $ac_val in
1883 */ )
1884 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1885 eval $ac_var=\$ac_val;;
1886 esac
1887 # Be sure to have absolute directory names.
1888 case $ac_val in
1889 [\\/$]* | ?:[\\/]* ) continue;;
1890 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1891 esac
1892 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1893 done
1895 # There might be people who depend on the old broken behavior: `$host'
1896 # used to hold the argument of --host etc.
1897 # FIXME: To remove some day.
1898 build=$build_alias
1899 host=$host_alias
1900 target=$target_alias
1902 # FIXME: To remove some day.
1903 if test "x$host_alias" != x; then
1904 if test "x$build_alias" = x; then
1905 cross_compiling=maybe
1906 elif test "x$build_alias" != "x$host_alias"; then
1907 cross_compiling=yes
1911 ac_tool_prefix=
1912 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1914 test "$silent" = yes && exec 6>/dev/null
1917 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1918 ac_ls_di=`ls -di .` &&
1919 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1920 as_fn_error $? "working directory cannot be determined"
1921 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1922 as_fn_error $? "pwd does not report name of working directory"
1925 # Find the source files, if location was not specified.
1926 if test -z "$srcdir"; then
1927 ac_srcdir_defaulted=yes
1928 # Try the directory containing this script, then the parent directory.
1929 ac_confdir=`$as_dirname -- "$as_myself" ||
1930 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1931 X"$as_myself" : 'X\(//\)[^/]' \| \
1932 X"$as_myself" : 'X\(//\)$' \| \
1933 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1934 $as_echo X"$as_myself" |
1935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1936 s//\1/
1939 /^X\(\/\/\)[^/].*/{
1940 s//\1/
1943 /^X\(\/\/\)$/{
1944 s//\1/
1947 /^X\(\/\).*/{
1948 s//\1/
1951 s/.*/./; q'`
1952 srcdir=$ac_confdir
1953 if test ! -r "$srcdir/$ac_unique_file"; then
1954 srcdir=..
1956 else
1957 ac_srcdir_defaulted=no
1959 if test ! -r "$srcdir/$ac_unique_file"; then
1960 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1961 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1963 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1964 ac_abs_confdir=`(
1965 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1966 pwd)`
1967 # When building in place, set srcdir=.
1968 if test "$ac_abs_confdir" = "$ac_pwd"; then
1969 srcdir=.
1971 # Remove unnecessary trailing slashes from srcdir.
1972 # Double slashes in file names in object file debugging info
1973 # mess up M-x gdb in Emacs.
1974 case $srcdir in
1975 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1976 esac
1977 for ac_var in $ac_precious_vars; do
1978 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1979 eval ac_env_${ac_var}_value=\$${ac_var}
1980 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1981 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1982 done
1985 # Report the --help message.
1987 if test "$ac_init_help" = "long"; then
1988 # Omit some internal or obsolete options to make the list less imposing.
1989 # This message is too long to be a string in the A/UX 3.1 sh.
1990 cat <<_ACEOF
1991 \`configure' configures Wine 1.7.31 to adapt to many kinds of systems.
1993 Usage: $0 [OPTION]... [VAR=VALUE]...
1995 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1996 VAR=VALUE. See below for descriptions of some of the useful variables.
1998 Defaults for the options are specified in brackets.
2000 Configuration:
2001 -h, --help display this help and exit
2002 --help=short display options specific to this package
2003 --help=recursive display the short help of all the included packages
2004 -V, --version display version information and exit
2005 -q, --quiet, --silent do not print \`checking ...' messages
2006 --cache-file=FILE cache test results in FILE [disabled]
2007 -C, --config-cache alias for \`--cache-file=config.cache'
2008 -n, --no-create do not create output files
2009 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2011 Installation directories:
2012 --prefix=PREFIX install architecture-independent files in PREFIX
2013 [$ac_default_prefix]
2014 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2015 [PREFIX]
2017 By default, \`make install' will install all the files in
2018 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2019 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2020 for instance \`--prefix=\$HOME'.
2022 For better control, use the options below.
2024 Fine tuning of the installation directories:
2025 --bindir=DIR user executables [EPREFIX/bin]
2026 --sbindir=DIR system admin executables [EPREFIX/sbin]
2027 --libexecdir=DIR program executables [EPREFIX/libexec]
2028 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2029 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2030 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2031 --libdir=DIR object code libraries [EPREFIX/lib]
2032 --includedir=DIR C header files [PREFIX/include]
2033 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2034 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2035 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2036 --infodir=DIR info documentation [DATAROOTDIR/info]
2037 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2038 --mandir=DIR man documentation [DATAROOTDIR/man]
2039 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2040 --htmldir=DIR html documentation [DOCDIR]
2041 --dvidir=DIR dvi documentation [DOCDIR]
2042 --pdfdir=DIR pdf documentation [DOCDIR]
2043 --psdir=DIR ps documentation [DOCDIR]
2044 _ACEOF
2046 cat <<\_ACEOF
2048 X features:
2049 --x-includes=DIR X include files are in DIR
2050 --x-libraries=DIR X library files are in DIR
2052 System types:
2053 --build=BUILD configure for building on BUILD [guessed]
2054 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2055 _ACEOF
2058 if test -n "$ac_init_help"; then
2059 case $ac_init_help in
2060 short | recursive ) echo "Configuration of Wine 1.7.31:";;
2061 esac
2062 cat <<\_ACEOF
2064 Optional Features:
2065 --disable-option-checking ignore unrecognized --enable/--with options
2066 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2067 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2068 --disable-win16 do not include Win16 support
2069 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2070 binaries)
2071 --disable-tests do not build the regression tests
2072 --enable-maintainer-mode
2073 enable maintainer-specific build rules
2074 --disable-largefile omit support for large files
2076 Optional Packages:
2077 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2078 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2079 --without-alsa do not use the Alsa sound support
2080 --without-capi do not use CAPI (ISDN support)
2081 --without-cms do not use CMS (color management support)
2082 --without-coreaudio do not use the CoreAudio sound support
2083 --without-cups do not use CUPS
2084 --without-curses do not use (n)curses
2085 --without-dbus do not use DBus (dynamic device support)
2086 --without-fontconfig do not use fontconfig
2087 --without-freetype do not use the FreeType library
2088 --without-gettext do not use gettext
2089 --with-gettextpo use the GetTextPO library to rebuild po files
2090 --without-gphoto do not use gphoto (Digital Camera support)
2091 --without-glu do not use the GLU library
2092 --without-gnutls do not use GnuTLS (schannel support)
2093 --without-gsm do not use libgsm (GSM 06.10 codec support)
2094 --without-gstreamer do not use GStreamer (codecs support)
2095 --without-hal do not use HAL (dynamic device support)
2096 --without-jpeg do not use JPEG
2097 --without-ldap do not use LDAP
2098 --without-mpg123 do not use the mpg123 library
2099 --without-netapi do not use the Samba NetAPI library
2100 --without-openal do not use OpenAL
2101 --without-opencl do not use OpenCL
2102 --without-opengl do not use OpenGL
2103 --without-osmesa do not use the OSMesa library
2104 --without-oss do not use the OSS sound support
2105 --without-pcap do not use the Packet Capture library
2106 --without-png do not use PNG
2107 --without-pthread do not use the pthread library
2108 --without-sane do not use SANE (scanner support)
2109 --without-tiff do not use TIFF
2110 --without-v4l do not use v4l1 (v4l support)
2111 --without-xcomposite do not use the Xcomposite extension
2112 --without-xcursor do not use the Xcursor extension
2113 --without-xinerama do not use Xinerama (multi-monitor support)
2114 --without-xinput do not use the Xinput extension
2115 --without-xinput2 do not use the Xinput 2 extension
2116 --without-xml do not use XML
2117 --without-xrandr do not use Xrandr (resolution changes)
2118 --without-xrender do not use the Xrender extension
2119 --without-xshape do not use the Xshape extension
2120 --without-xshm do not use XShm (shared memory extension)
2121 --without-xslt do not use XSLT
2122 --without-xxf86vm do not use XFree video mode extension
2123 --without-zlib do not use Zlib (data compression)
2124 --with-wine-tools=DIR use Wine tools from directory DIR
2125 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2126 --with-x use the X Window System
2128 Some influential environment variables:
2129 CC C compiler command
2130 CFLAGS C compiler flags
2131 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2132 nonstandard directory <lib dir>
2133 LIBS libraries to pass to the linker, e.g. -l<library>
2134 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2135 you have headers in a nonstandard directory <include dir>
2136 CXX C++ compiler command
2137 CXXFLAGS C++ compiler flags
2138 CPP C preprocessor
2139 XMKMF Path to xmkmf, Makefile generator for X Window System
2140 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2141 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2142 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2143 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2144 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2145 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2146 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2147 HAL_LIBS Linker flags for hal, overriding pkg-config
2148 GNUTLS_CFLAGS
2149 C compiler flags for gnutls, overriding pkg-config
2150 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2151 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2152 SANE_LIBS Linker flags for libsane, overriding pkg-config
2153 GPHOTO2_CFLAGS
2154 C compiler flags for libgphoto2, overriding pkg-config
2155 GPHOTO2_LIBS
2156 Linker flags for libgphoto2, overriding pkg-config
2157 GPHOTO2_PORT_CFLAGS
2158 C compiler flags for libgphoto2_port, overriding pkg-config
2159 GPHOTO2_PORT_LIBS
2160 Linker flags for libgphoto2_port, overriding pkg-config
2161 LCMS2_CFLAGS
2162 C compiler flags for lcms2, overriding pkg-config
2163 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2164 FREETYPE_CFLAGS
2165 C compiler flags for freetype2, overriding pkg-config
2166 FREETYPE_LIBS
2167 Linker flags for freetype2, overriding pkg-config
2168 GSTREAMER_CFLAGS
2169 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2170 GSTREAMER_LIBS
2171 Linker flags for gstreamer-app-0.10, overriding pkg-config
2172 CAPI20_CFLAGS
2173 C compiler flags for capi20, overriding pkg-config
2174 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2175 FONTCONFIG_CFLAGS
2176 C compiler flags for fontconfig, overriding pkg-config
2177 FONTCONFIG_LIBS
2178 Linker flags for fontconfig, overriding pkg-config
2179 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2180 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2181 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2182 PNG_LIBS Linker flags for libpng, overriding pkg-config
2183 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2184 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2185 MPG123_CFLAGS
2186 C compiler flags for libmpg123, overriding pkg-config
2187 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2189 Use these variables to override the choices made by `configure' or to help
2190 it to find libraries and programs with nonstandard names/locations.
2192 Report bugs to <wine-devel@winehq.org>.
2193 Wine home page: <http://www.winehq.org>.
2194 _ACEOF
2195 ac_status=$?
2198 if test "$ac_init_help" = "recursive"; then
2199 # If there are subdirs, report their specific --help.
2200 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2201 test -d "$ac_dir" ||
2202 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2203 continue
2204 ac_builddir=.
2206 case "$ac_dir" in
2207 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2209 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2210 # A ".." for each directory in $ac_dir_suffix.
2211 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2212 case $ac_top_builddir_sub in
2213 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2214 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2215 esac ;;
2216 esac
2217 ac_abs_top_builddir=$ac_pwd
2218 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2219 # for backward compatibility:
2220 ac_top_builddir=$ac_top_build_prefix
2222 case $srcdir in
2223 .) # We are building in place.
2224 ac_srcdir=.
2225 ac_top_srcdir=$ac_top_builddir_sub
2226 ac_abs_top_srcdir=$ac_pwd ;;
2227 [\\/]* | ?:[\\/]* ) # Absolute name.
2228 ac_srcdir=$srcdir$ac_dir_suffix;
2229 ac_top_srcdir=$srcdir
2230 ac_abs_top_srcdir=$srcdir ;;
2231 *) # Relative name.
2232 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2233 ac_top_srcdir=$ac_top_build_prefix$srcdir
2234 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2235 esac
2236 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2238 cd "$ac_dir" || { ac_status=$?; continue; }
2239 # Check for guested configure.
2240 if test -f "$ac_srcdir/configure.gnu"; then
2241 echo &&
2242 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2243 elif test -f "$ac_srcdir/configure"; then
2244 echo &&
2245 $SHELL "$ac_srcdir/configure" --help=recursive
2246 else
2247 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2248 fi || ac_status=$?
2249 cd "$ac_pwd" || { ac_status=$?; break; }
2250 done
2253 test -n "$ac_init_help" && exit $ac_status
2254 if $ac_init_version; then
2255 cat <<\_ACEOF
2256 Wine configure 1.7.31
2257 generated by GNU Autoconf 2.69
2259 Copyright (C) 2012 Free Software Foundation, Inc.
2260 This configure script is free software; the Free Software Foundation
2261 gives unlimited permission to copy, distribute and modify it.
2262 _ACEOF
2263 exit
2266 ## ------------------------ ##
2267 ## Autoconf initialization. ##
2268 ## ------------------------ ##
2270 # ac_fn_c_try_compile LINENO
2271 # --------------------------
2272 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2273 ac_fn_c_try_compile ()
2275 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2276 rm -f conftest.$ac_objext
2277 if { { ac_try="$ac_compile"
2278 case "(($ac_try" in
2279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2280 *) ac_try_echo=$ac_try;;
2281 esac
2282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2283 $as_echo "$ac_try_echo"; } >&5
2284 (eval "$ac_compile") 2>conftest.err
2285 ac_status=$?
2286 if test -s conftest.err; then
2287 grep -v '^ *+' conftest.err >conftest.er1
2288 cat conftest.er1 >&5
2289 mv -f conftest.er1 conftest.err
2291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2292 test $ac_status = 0; } && {
2293 test -z "$ac_c_werror_flag" ||
2294 test ! -s conftest.err
2295 } && test -s conftest.$ac_objext; then :
2296 ac_retval=0
2297 else
2298 $as_echo "$as_me: failed program was:" >&5
2299 sed 's/^/| /' conftest.$ac_ext >&5
2301 ac_retval=1
2303 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2304 as_fn_set_status $ac_retval
2306 } # ac_fn_c_try_compile
2308 # ac_fn_cxx_try_compile LINENO
2309 # ----------------------------
2310 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2311 ac_fn_cxx_try_compile ()
2313 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2314 rm -f conftest.$ac_objext
2315 if { { ac_try="$ac_compile"
2316 case "(($ac_try" in
2317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2318 *) ac_try_echo=$ac_try;;
2319 esac
2320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2321 $as_echo "$ac_try_echo"; } >&5
2322 (eval "$ac_compile") 2>conftest.err
2323 ac_status=$?
2324 if test -s conftest.err; then
2325 grep -v '^ *+' conftest.err >conftest.er1
2326 cat conftest.er1 >&5
2327 mv -f conftest.er1 conftest.err
2329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2330 test $ac_status = 0; } && {
2331 test -z "$ac_cxx_werror_flag" ||
2332 test ! -s conftest.err
2333 } && test -s conftest.$ac_objext; then :
2334 ac_retval=0
2335 else
2336 $as_echo "$as_me: failed program was:" >&5
2337 sed 's/^/| /' conftest.$ac_ext >&5
2339 ac_retval=1
2341 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2342 as_fn_set_status $ac_retval
2344 } # ac_fn_cxx_try_compile
2346 # ac_fn_c_try_link LINENO
2347 # -----------------------
2348 # Try to link conftest.$ac_ext, and return whether this succeeded.
2349 ac_fn_c_try_link ()
2351 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2352 rm -f conftest.$ac_objext conftest$ac_exeext
2353 if { { ac_try="$ac_link"
2354 case "(($ac_try" in
2355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2356 *) ac_try_echo=$ac_try;;
2357 esac
2358 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2359 $as_echo "$ac_try_echo"; } >&5
2360 (eval "$ac_link") 2>conftest.err
2361 ac_status=$?
2362 if test -s conftest.err; then
2363 grep -v '^ *+' conftest.err >conftest.er1
2364 cat conftest.er1 >&5
2365 mv -f conftest.er1 conftest.err
2367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2368 test $ac_status = 0; } && {
2369 test -z "$ac_c_werror_flag" ||
2370 test ! -s conftest.err
2371 } && test -s conftest$ac_exeext && {
2372 test "$cross_compiling" = yes ||
2373 test -x conftest$ac_exeext
2374 }; then :
2375 ac_retval=0
2376 else
2377 $as_echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.$ac_ext >&5
2380 ac_retval=1
2382 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2383 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2384 # interfere with the next link command; also delete a directory that is
2385 # left behind by Apple's compiler. We do this before executing the actions.
2386 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2387 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2388 as_fn_set_status $ac_retval
2390 } # ac_fn_c_try_link
2392 # ac_fn_c_try_cpp LINENO
2393 # ----------------------
2394 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2395 ac_fn_c_try_cpp ()
2397 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2398 if { { ac_try="$ac_cpp conftest.$ac_ext"
2399 case "(($ac_try" in
2400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2401 *) ac_try_echo=$ac_try;;
2402 esac
2403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2404 $as_echo "$ac_try_echo"; } >&5
2405 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2406 ac_status=$?
2407 if test -s conftest.err; then
2408 grep -v '^ *+' conftest.err >conftest.er1
2409 cat conftest.er1 >&5
2410 mv -f conftest.er1 conftest.err
2412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2413 test $ac_status = 0; } > conftest.i && {
2414 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2415 test ! -s conftest.err
2416 }; then :
2417 ac_retval=0
2418 else
2419 $as_echo "$as_me: failed program was:" >&5
2420 sed 's/^/| /' conftest.$ac_ext >&5
2422 ac_retval=1
2424 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2425 as_fn_set_status $ac_retval
2427 } # ac_fn_c_try_cpp
2429 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2430 # -------------------------------------------------------
2431 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2432 # the include files in INCLUDES and setting the cache variable VAR
2433 # accordingly.
2434 ac_fn_c_check_header_mongrel ()
2436 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2437 if eval \${$3+:} false; then :
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2439 $as_echo_n "checking for $2... " >&6; }
2440 if eval \${$3+:} false; then :
2441 $as_echo_n "(cached) " >&6
2443 eval ac_res=\$$3
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2445 $as_echo "$ac_res" >&6; }
2446 else
2447 # Is the header compilable?
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2449 $as_echo_n "checking $2 usability... " >&6; }
2450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2451 /* end confdefs.h. */
2453 #include <$2>
2454 _ACEOF
2455 if ac_fn_c_try_compile "$LINENO"; then :
2456 ac_header_compiler=yes
2457 else
2458 ac_header_compiler=no
2460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2462 $as_echo "$ac_header_compiler" >&6; }
2464 # Is the header present?
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2466 $as_echo_n "checking $2 presence... " >&6; }
2467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2468 /* end confdefs.h. */
2469 #include <$2>
2470 _ACEOF
2471 if ac_fn_c_try_cpp "$LINENO"; then :
2472 ac_header_preproc=yes
2473 else
2474 ac_header_preproc=no
2476 rm -f conftest.err conftest.i conftest.$ac_ext
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2478 $as_echo "$ac_header_preproc" >&6; }
2480 # So? What about this header?
2481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2482 yes:no: )
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2484 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2486 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2488 no:yes:* )
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2490 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2492 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2494 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2496 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2498 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2499 ( $as_echo "## ------------------------------------ ##
2500 ## Report this to wine-devel@winehq.org ##
2501 ## ------------------------------------ ##"
2502 ) | sed "s/^/$as_me: WARNING: /" >&2
2504 esac
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2506 $as_echo_n "checking for $2... " >&6; }
2507 if eval \${$3+:} false; then :
2508 $as_echo_n "(cached) " >&6
2509 else
2510 eval "$3=\$ac_header_compiler"
2512 eval ac_res=\$$3
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2514 $as_echo "$ac_res" >&6; }
2516 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2518 } # ac_fn_c_check_header_mongrel
2520 # ac_fn_c_try_run LINENO
2521 # ----------------------
2522 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2523 # that executables *can* be run.
2524 ac_fn_c_try_run ()
2526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2527 if { { ac_try="$ac_link"
2528 case "(($ac_try" in
2529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2530 *) ac_try_echo=$ac_try;;
2531 esac
2532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2533 $as_echo "$ac_try_echo"; } >&5
2534 (eval "$ac_link") 2>&5
2535 ac_status=$?
2536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2537 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2538 { { case "(($ac_try" in
2539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2540 *) ac_try_echo=$ac_try;;
2541 esac
2542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2543 $as_echo "$ac_try_echo"; } >&5
2544 (eval "$ac_try") 2>&5
2545 ac_status=$?
2546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2547 test $ac_status = 0; }; }; then :
2548 ac_retval=0
2549 else
2550 $as_echo "$as_me: program exited with status $ac_status" >&5
2551 $as_echo "$as_me: failed program was:" >&5
2552 sed 's/^/| /' conftest.$ac_ext >&5
2554 ac_retval=$ac_status
2556 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2557 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2558 as_fn_set_status $ac_retval
2560 } # ac_fn_c_try_run
2562 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2563 # -------------------------------------------------------
2564 # Tests whether HEADER exists and can be compiled using the include files in
2565 # INCLUDES, setting the cache variable VAR accordingly.
2566 ac_fn_c_check_header_compile ()
2568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2570 $as_echo_n "checking for $2... " >&6; }
2571 if eval \${$3+:} false; then :
2572 $as_echo_n "(cached) " >&6
2573 else
2574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2575 /* end confdefs.h. */
2577 #include <$2>
2578 _ACEOF
2579 if ac_fn_c_try_compile "$LINENO"; then :
2580 eval "$3=yes"
2581 else
2582 eval "$3=no"
2584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2586 eval ac_res=\$$3
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2588 $as_echo "$ac_res" >&6; }
2589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2591 } # ac_fn_c_check_header_compile
2593 # ac_fn_c_check_func LINENO FUNC VAR
2594 # ----------------------------------
2595 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2596 ac_fn_c_check_func ()
2598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2600 $as_echo_n "checking for $2... " >&6; }
2601 if eval \${$3+:} false; then :
2602 $as_echo_n "(cached) " >&6
2603 else
2604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2605 /* end confdefs.h. */
2606 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2608 #define $2 innocuous_$2
2610 /* System header to define __stub macros and hopefully few prototypes,
2611 which can conflict with char $2 (); below.
2612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2613 <limits.h> exists even on freestanding compilers. */
2615 #ifdef __STDC__
2616 # include <limits.h>
2617 #else
2618 # include <assert.h>
2619 #endif
2621 #undef $2
2623 /* Override any GCC internal prototype to avoid an error.
2624 Use char because int might match the return type of a GCC
2625 builtin and then its argument prototype would still apply. */
2626 #ifdef __cplusplus
2627 extern "C"
2628 #endif
2629 char $2 ();
2630 /* The GNU C library defines this for functions which it implements
2631 to always fail with ENOSYS. Some functions are actually named
2632 something starting with __ and the normal name is an alias. */
2633 #if defined __stub_$2 || defined __stub___$2
2634 choke me
2635 #endif
2638 main ()
2640 return $2 ();
2642 return 0;
2644 _ACEOF
2645 if ac_fn_c_try_link "$LINENO"; then :
2646 eval "$3=yes"
2647 else
2648 eval "$3=no"
2650 rm -f core conftest.err conftest.$ac_objext \
2651 conftest$ac_exeext conftest.$ac_ext
2653 eval ac_res=\$$3
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2655 $as_echo "$ac_res" >&6; }
2656 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2658 } # ac_fn_c_check_func
2660 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2661 # ----------------------------------------------------
2662 # Tries to find if the field MEMBER exists in type AGGR, after including
2663 # INCLUDES, setting cache variable VAR accordingly.
2664 ac_fn_c_check_member ()
2666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2668 $as_echo_n "checking for $2.$3... " >&6; }
2669 if eval \${$4+:} false; then :
2670 $as_echo_n "(cached) " >&6
2671 else
2672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2673 /* end confdefs.h. */
2676 main ()
2678 static $2 ac_aggr;
2679 if (ac_aggr.$3)
2680 return 0;
2682 return 0;
2684 _ACEOF
2685 if ac_fn_c_try_compile "$LINENO"; then :
2686 eval "$4=yes"
2687 else
2688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2689 /* end confdefs.h. */
2692 main ()
2694 static $2 ac_aggr;
2695 if (sizeof ac_aggr.$3)
2696 return 0;
2698 return 0;
2700 _ACEOF
2701 if ac_fn_c_try_compile "$LINENO"; then :
2702 eval "$4=yes"
2703 else
2704 eval "$4=no"
2706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2710 eval ac_res=\$$4
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2712 $as_echo "$ac_res" >&6; }
2713 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2715 } # ac_fn_c_check_member
2717 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2718 # -------------------------------------------
2719 # Tests whether TYPE exists after having included INCLUDES, setting cache
2720 # variable VAR accordingly.
2721 ac_fn_c_check_type ()
2723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2725 $as_echo_n "checking for $2... " >&6; }
2726 if eval \${$3+:} false; then :
2727 $as_echo_n "(cached) " >&6
2728 else
2729 eval "$3=no"
2730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2731 /* end confdefs.h. */
2734 main ()
2736 if (sizeof ($2))
2737 return 0;
2739 return 0;
2741 _ACEOF
2742 if ac_fn_c_try_compile "$LINENO"; then :
2743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2744 /* end confdefs.h. */
2747 main ()
2749 if (sizeof (($2)))
2750 return 0;
2752 return 0;
2754 _ACEOF
2755 if ac_fn_c_try_compile "$LINENO"; then :
2757 else
2758 eval "$3=yes"
2760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2764 eval ac_res=\$$3
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2766 $as_echo "$ac_res" >&6; }
2767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2769 } # ac_fn_c_check_type
2770 cat >config.log <<_ACEOF
2771 This file contains any messages produced by compilers while
2772 running configure, to aid debugging if configure makes a mistake.
2774 It was created by Wine $as_me 1.7.31, which was
2775 generated by GNU Autoconf 2.69. Invocation command line was
2777 $ $0 $@
2779 _ACEOF
2780 exec 5>>config.log
2782 cat <<_ASUNAME
2783 ## --------- ##
2784 ## Platform. ##
2785 ## --------- ##
2787 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2788 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2789 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2790 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2791 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2793 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2794 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2796 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2797 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2798 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2799 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2800 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2801 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2802 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2804 _ASUNAME
2806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2807 for as_dir in $PATH
2809 IFS=$as_save_IFS
2810 test -z "$as_dir" && as_dir=.
2811 $as_echo "PATH: $as_dir"
2812 done
2813 IFS=$as_save_IFS
2815 } >&5
2817 cat >&5 <<_ACEOF
2820 ## ----------- ##
2821 ## Core tests. ##
2822 ## ----------- ##
2824 _ACEOF
2827 # Keep a trace of the command line.
2828 # Strip out --no-create and --no-recursion so they do not pile up.
2829 # Strip out --silent because we don't want to record it for future runs.
2830 # Also quote any args containing shell meta-characters.
2831 # Make two passes to allow for proper duplicate-argument suppression.
2832 ac_configure_args=
2833 ac_configure_args0=
2834 ac_configure_args1=
2835 ac_must_keep_next=false
2836 for ac_pass in 1 2
2838 for ac_arg
2840 case $ac_arg in
2841 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2842 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2843 | -silent | --silent | --silen | --sile | --sil)
2844 continue ;;
2845 *\'*)
2846 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2847 esac
2848 case $ac_pass in
2849 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2851 as_fn_append ac_configure_args1 " '$ac_arg'"
2852 if test $ac_must_keep_next = true; then
2853 ac_must_keep_next=false # Got value, back to normal.
2854 else
2855 case $ac_arg in
2856 *=* | --config-cache | -C | -disable-* | --disable-* \
2857 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2858 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2859 | -with-* | --with-* | -without-* | --without-* | --x)
2860 case "$ac_configure_args0 " in
2861 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2862 esac
2864 -* ) ac_must_keep_next=true ;;
2865 esac
2867 as_fn_append ac_configure_args " '$ac_arg'"
2869 esac
2870 done
2871 done
2872 { ac_configure_args0=; unset ac_configure_args0;}
2873 { ac_configure_args1=; unset ac_configure_args1;}
2875 # When interrupted or exit'd, cleanup temporary files, and complete
2876 # config.log. We remove comments because anyway the quotes in there
2877 # would cause problems or look ugly.
2878 # WARNING: Use '\'' to represent an apostrophe within the trap.
2879 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2880 trap 'exit_status=$?
2881 # Save into config.log some information that might help in debugging.
2883 echo
2885 $as_echo "## ---------------- ##
2886 ## Cache variables. ##
2887 ## ---------------- ##"
2888 echo
2889 # The following way of writing the cache mishandles newlines in values,
2891 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2892 eval ac_val=\$$ac_var
2893 case $ac_val in #(
2894 *${as_nl}*)
2895 case $ac_var in #(
2896 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2897 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2898 esac
2899 case $ac_var in #(
2900 _ | IFS | as_nl) ;; #(
2901 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2902 *) { eval $ac_var=; unset $ac_var;} ;;
2903 esac ;;
2904 esac
2905 done
2906 (set) 2>&1 |
2907 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2908 *${as_nl}ac_space=\ *)
2909 sed -n \
2910 "s/'\''/'\''\\\\'\'''\''/g;
2911 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2912 ;; #(
2914 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2916 esac |
2917 sort
2919 echo
2921 $as_echo "## ----------------- ##
2922 ## Output variables. ##
2923 ## ----------------- ##"
2924 echo
2925 for ac_var in $ac_subst_vars
2927 eval ac_val=\$$ac_var
2928 case $ac_val in
2929 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2930 esac
2931 $as_echo "$ac_var='\''$ac_val'\''"
2932 done | sort
2933 echo
2935 if test -n "$ac_subst_files"; then
2936 $as_echo "## ------------------- ##
2937 ## File substitutions. ##
2938 ## ------------------- ##"
2939 echo
2940 for ac_var in $ac_subst_files
2942 eval ac_val=\$$ac_var
2943 case $ac_val in
2944 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2945 esac
2946 $as_echo "$ac_var='\''$ac_val'\''"
2947 done | sort
2948 echo
2951 if test -s confdefs.h; then
2952 $as_echo "## ----------- ##
2953 ## confdefs.h. ##
2954 ## ----------- ##"
2955 echo
2956 cat confdefs.h
2957 echo
2959 test "$ac_signal" != 0 &&
2960 $as_echo "$as_me: caught signal $ac_signal"
2961 $as_echo "$as_me: exit $exit_status"
2962 } >&5
2963 rm -f core *.core core.conftest.* &&
2964 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2965 exit $exit_status
2967 for ac_signal in 1 2 13 15; do
2968 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2969 done
2970 ac_signal=0
2972 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2973 rm -f -r conftest* confdefs.h
2975 $as_echo "/* confdefs.h */" > confdefs.h
2977 # Predefined preprocessor variables.
2979 cat >>confdefs.h <<_ACEOF
2980 #define PACKAGE_NAME "$PACKAGE_NAME"
2981 _ACEOF
2983 cat >>confdefs.h <<_ACEOF
2984 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2985 _ACEOF
2987 cat >>confdefs.h <<_ACEOF
2988 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2989 _ACEOF
2991 cat >>confdefs.h <<_ACEOF
2992 #define PACKAGE_STRING "$PACKAGE_STRING"
2993 _ACEOF
2995 cat >>confdefs.h <<_ACEOF
2996 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2997 _ACEOF
2999 cat >>confdefs.h <<_ACEOF
3000 #define PACKAGE_URL "$PACKAGE_URL"
3001 _ACEOF
3004 # Let the site file select an alternate cache file if it wants to.
3005 # Prefer an explicitly selected file to automatically selected ones.
3006 ac_site_file1=NONE
3007 ac_site_file2=NONE
3008 if test -n "$CONFIG_SITE"; then
3009 # We do not want a PATH search for config.site.
3010 case $CONFIG_SITE in #((
3011 -*) ac_site_file1=./$CONFIG_SITE;;
3012 */*) ac_site_file1=$CONFIG_SITE;;
3013 *) ac_site_file1=./$CONFIG_SITE;;
3014 esac
3015 elif test "x$prefix" != xNONE; then
3016 ac_site_file1=$prefix/share/config.site
3017 ac_site_file2=$prefix/etc/config.site
3018 else
3019 ac_site_file1=$ac_default_prefix/share/config.site
3020 ac_site_file2=$ac_default_prefix/etc/config.site
3022 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3024 test "x$ac_site_file" = xNONE && continue
3025 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3027 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3028 sed 's/^/| /' "$ac_site_file" >&5
3029 . "$ac_site_file" \
3030 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3032 as_fn_error $? "failed to load site script $ac_site_file
3033 See \`config.log' for more details" "$LINENO" 5; }
3035 done
3037 if test -r "$cache_file"; then
3038 # Some versions of bash will fail to source /dev/null (special files
3039 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3040 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3042 $as_echo "$as_me: loading cache $cache_file" >&6;}
3043 case $cache_file in
3044 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3045 *) . "./$cache_file";;
3046 esac
3048 else
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3050 $as_echo "$as_me: creating cache $cache_file" >&6;}
3051 >$cache_file
3054 # Check that the precious variables saved in the cache have kept the same
3055 # value.
3056 ac_cache_corrupted=false
3057 for ac_var in $ac_precious_vars; do
3058 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3059 eval ac_new_set=\$ac_env_${ac_var}_set
3060 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3061 eval ac_new_val=\$ac_env_${ac_var}_value
3062 case $ac_old_set,$ac_new_set in
3063 set,)
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3065 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3066 ac_cache_corrupted=: ;;
3067 ,set)
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3069 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3070 ac_cache_corrupted=: ;;
3071 ,);;
3073 if test "x$ac_old_val" != "x$ac_new_val"; then
3074 # differences in whitespace do not lead to failure.
3075 ac_old_val_w=`echo x $ac_old_val`
3076 ac_new_val_w=`echo x $ac_new_val`
3077 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3079 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3080 ac_cache_corrupted=:
3081 else
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3083 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3084 eval $ac_var=\$ac_old_val
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3087 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3089 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3090 fi;;
3091 esac
3092 # Pass precious variables to config.status.
3093 if test "$ac_new_set" = set; then
3094 case $ac_new_val in
3095 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3096 *) ac_arg=$ac_var=$ac_new_val ;;
3097 esac
3098 case " $ac_configure_args " in
3099 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3100 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3101 esac
3103 done
3104 if $ac_cache_corrupted; then
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3108 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3109 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3111 ## -------------------- ##
3112 ## Main body of script. ##
3113 ## -------------------- ##
3115 ac_ext=c
3116 ac_cpp='$CPP $CPPFLAGS'
3117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3123 ac_config_headers="$ac_config_headers include/config.h"
3125 ac_aux_dir=
3126 for ac_dir in tools "$srcdir"/tools; do
3127 if test -f "$ac_dir/install-sh"; then
3128 ac_aux_dir=$ac_dir
3129 ac_install_sh="$ac_aux_dir/install-sh -c"
3130 break
3131 elif test -f "$ac_dir/install.sh"; then
3132 ac_aux_dir=$ac_dir
3133 ac_install_sh="$ac_aux_dir/install.sh -c"
3134 break
3135 elif test -f "$ac_dir/shtool"; then
3136 ac_aux_dir=$ac_dir
3137 ac_install_sh="$ac_aux_dir/shtool install -c"
3138 break
3140 done
3141 if test -z "$ac_aux_dir"; then
3142 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3145 # These three variables are undocumented and unsupported,
3146 # and are intended to be withdrawn in a future Autoconf release.
3147 # They can cause serious problems if a builder's source tree is in a directory
3148 # whose full name contains unusual characters.
3149 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3150 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3151 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3155 libwine_version="1.0"
3159 # Check whether --enable-win16 was given.
3160 if test "${enable_win16+set}" = set; then :
3161 enableval=$enable_win16;
3164 # Check whether --enable-win64 was given.
3165 if test "${enable_win64+set}" = set; then :
3166 enableval=$enable_win64;
3169 # Check whether --enable-tests was given.
3170 if test "${enable_tests+set}" = set; then :
3171 enableval=$enable_tests;
3174 # Check whether --enable-maintainer-mode was given.
3175 if test "${enable_maintainer_mode+set}" = set; then :
3176 enableval=$enable_maintainer_mode;
3181 # Check whether --with-alsa was given.
3182 if test "${with_alsa+set}" = set; then :
3183 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3187 # Check whether --with-capi was given.
3188 if test "${with_capi+set}" = set; then :
3189 withval=$with_capi;
3193 # Check whether --with-cms was given.
3194 if test "${with_cms+set}" = set; then :
3195 withval=$with_cms;
3199 # Check whether --with-coreaudio was given.
3200 if test "${with_coreaudio+set}" = set; then :
3201 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3205 # Check whether --with-cups was given.
3206 if test "${with_cups+set}" = set; then :
3207 withval=$with_cups;
3211 # Check whether --with-curses was given.
3212 if test "${with_curses+set}" = set; then :
3213 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3217 # Check whether --with-dbus was given.
3218 if test "${with_dbus+set}" = set; then :
3219 withval=$with_dbus;
3223 # Check whether --with-fontconfig was given.
3224 if test "${with_fontconfig+set}" = set; then :
3225 withval=$with_fontconfig;
3229 # Check whether --with-freetype was given.
3230 if test "${with_freetype+set}" = set; then :
3231 withval=$with_freetype;
3235 # Check whether --with-gettext was given.
3236 if test "${with_gettext+set}" = set; then :
3237 withval=$with_gettext;
3241 # Check whether --with-gettextpo was given.
3242 if test "${with_gettextpo+set}" = set; then :
3243 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3247 # Check whether --with-gphoto was given.
3248 if test "${with_gphoto+set}" = set; then :
3249 withval=$with_gphoto;
3253 # Check whether --with-glu was given.
3254 if test "${with_glu+set}" = set; then :
3255 withval=$with_glu;
3259 # Check whether --with-gnutls was given.
3260 if test "${with_gnutls+set}" = set; then :
3261 withval=$with_gnutls;
3265 # Check whether --with-gsm was given.
3266 if test "${with_gsm+set}" = set; then :
3267 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3271 # Check whether --with-gstreamer was given.
3272 if test "${with_gstreamer+set}" = set; then :
3273 withval=$with_gstreamer;
3277 # Check whether --with-hal was given.
3278 if test "${with_hal+set}" = set; then :
3279 withval=$with_hal;
3283 # Check whether --with-jpeg was given.
3284 if test "${with_jpeg+set}" = set; then :
3285 withval=$with_jpeg;
3289 # Check whether --with-ldap was given.
3290 if test "${with_ldap+set}" = set; then :
3291 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3295 # Check whether --with-mpg123 was given.
3296 if test "${with_mpg123+set}" = set; then :
3297 withval=$with_mpg123;
3301 # Check whether --with-netapi was given.
3302 if test "${with_netapi+set}" = set; then :
3303 withval=$with_netapi;
3307 # Check whether --with-openal was given.
3308 if test "${with_openal+set}" = set; then :
3309 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3313 # Check whether --with-opencl was given.
3314 if test "${with_opencl+set}" = set; then :
3315 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3319 # Check whether --with-opengl was given.
3320 if test "${with_opengl+set}" = set; then :
3321 withval=$with_opengl;
3325 # Check whether --with-osmesa was given.
3326 if test "${with_osmesa+set}" = set; then :
3327 withval=$with_osmesa;
3331 # Check whether --with-oss was given.
3332 if test "${with_oss+set}" = set; then :
3333 withval=$with_oss;
3337 # Check whether --with-pcap was given.
3338 if test "${with_pcap+set}" = set; then :
3339 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3343 # Check whether --with-png was given.
3344 if test "${with_png+set}" = set; then :
3345 withval=$with_png;
3349 # Check whether --with-pthread was given.
3350 if test "${with_pthread+set}" = set; then :
3351 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3355 # Check whether --with-sane was given.
3356 if test "${with_sane+set}" = set; then :
3357 withval=$with_sane;
3361 # Check whether --with-tiff was given.
3362 if test "${with_tiff+set}" = set; then :
3363 withval=$with_tiff;
3367 # Check whether --with-v4l was given.
3368 if test "${with_v4l+set}" = set; then :
3369 withval=$with_v4l;
3373 # Check whether --with-xcomposite was given.
3374 if test "${with_xcomposite+set}" = set; then :
3375 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3379 # Check whether --with-xcursor was given.
3380 if test "${with_xcursor+set}" = set; then :
3381 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3385 # Check whether --with-xinerama was given.
3386 if test "${with_xinerama+set}" = set; then :
3387 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3391 # Check whether --with-xinput was given.
3392 if test "${with_xinput+set}" = set; then :
3393 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3397 # Check whether --with-xinput2 was given.
3398 if test "${with_xinput2+set}" = set; then :
3399 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3403 # Check whether --with-xml was given.
3404 if test "${with_xml+set}" = set; then :
3405 withval=$with_xml;
3409 # Check whether --with-xrandr was given.
3410 if test "${with_xrandr+set}" = set; then :
3411 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3415 # Check whether --with-xrender was given.
3416 if test "${with_xrender+set}" = set; then :
3417 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3421 # Check whether --with-xshape was given.
3422 if test "${with_xshape+set}" = set; then :
3423 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3427 # Check whether --with-xshm was given.
3428 if test "${with_xshm+set}" = set; then :
3429 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3433 # Check whether --with-xslt was given.
3434 if test "${with_xslt+set}" = set; then :
3435 withval=$with_xslt;
3439 # Check whether --with-xxf86vm was given.
3440 if test "${with_xxf86vm+set}" = set; then :
3441 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
3445 # Check whether --with-zlib was given.
3446 if test "${with_zlib+set}" = set; then :
3447 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3452 # Check whether --with-wine-tools was given.
3453 if test "${with_wine_tools+set}" = set; then :
3454 withval=$with_wine_tools;
3458 # Check whether --with-wine64 was given.
3459 if test "${with_wine64+set}" = set; then :
3460 withval=$with_wine64;
3464 # Make sure we can run config.sub.
3465 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3466 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3469 $as_echo_n "checking build system type... " >&6; }
3470 if ${ac_cv_build+:} false; then :
3471 $as_echo_n "(cached) " >&6
3472 else
3473 ac_build_alias=$build_alias
3474 test "x$ac_build_alias" = x &&
3475 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3476 test "x$ac_build_alias" = x &&
3477 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3478 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3479 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3483 $as_echo "$ac_cv_build" >&6; }
3484 case $ac_cv_build in
3485 *-*-*) ;;
3486 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3487 esac
3488 build=$ac_cv_build
3489 ac_save_IFS=$IFS; IFS='-'
3490 set x $ac_cv_build
3491 shift
3492 build_cpu=$1
3493 build_vendor=$2
3494 shift; shift
3495 # Remember, the first character of IFS is used to create $*,
3496 # except with old shells:
3497 build_os=$*
3498 IFS=$ac_save_IFS
3499 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3503 $as_echo_n "checking host system type... " >&6; }
3504 if ${ac_cv_host+:} false; then :
3505 $as_echo_n "(cached) " >&6
3506 else
3507 if test "x$host_alias" = x; then
3508 ac_cv_host=$ac_cv_build
3509 else
3510 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3511 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3516 $as_echo "$ac_cv_host" >&6; }
3517 case $ac_cv_host in
3518 *-*-*) ;;
3519 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3520 esac
3521 host=$ac_cv_host
3522 ac_save_IFS=$IFS; IFS='-'
3523 set x $ac_cv_host
3524 shift
3525 host_cpu=$1
3526 host_vendor=$2
3527 shift; shift
3528 # Remember, the first character of IFS is used to create $*,
3529 # except with old shells:
3530 host_os=$*
3531 IFS=$ac_save_IFS
3532 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3536 case "$srcdir" in
3537 .) ;;
3538 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3539 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3540 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3541 fi ;;
3542 esac
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3546 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3547 set x ${MAKE-make}
3548 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3549 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3550 $as_echo_n "(cached) " >&6
3551 else
3552 cat >conftest.make <<\_ACEOF
3553 SHELL = /bin/sh
3554 all:
3555 @echo '@@@%%%=$(MAKE)=@@@%%%'
3556 _ACEOF
3557 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3558 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3559 *@@@%%%=?*=@@@%%%*)
3560 eval ac_cv_prog_make_${ac_make}_set=yes;;
3562 eval ac_cv_prog_make_${ac_make}_set=no;;
3563 esac
3564 rm -f conftest.make
3566 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3568 $as_echo "yes" >&6; }
3569 SET_MAKE=
3570 else
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3572 $as_echo "no" >&6; }
3573 SET_MAKE="MAKE=${MAKE-make}"
3576 ac_ext=c
3577 ac_cpp='$CPP $CPPFLAGS'
3578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3581 if test -n "$ac_tool_prefix"; then
3582 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3583 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585 $as_echo_n "checking for $ac_word... " >&6; }
3586 if ${ac_cv_prog_CC+:} false; then :
3587 $as_echo_n "(cached) " >&6
3588 else
3589 if test -n "$CC"; then
3590 ac_cv_prog_CC="$CC" # Let the user override the test.
3591 else
3592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593 for as_dir in $PATH
3595 IFS=$as_save_IFS
3596 test -z "$as_dir" && as_dir=.
3597 for ac_exec_ext in '' $ac_executable_extensions; do
3598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3599 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3601 break 2
3603 done
3604 done
3605 IFS=$as_save_IFS
3609 CC=$ac_cv_prog_CC
3610 if test -n "$CC"; then
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3612 $as_echo "$CC" >&6; }
3613 else
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3620 if test -z "$ac_cv_prog_CC"; then
3621 ac_ct_CC=$CC
3622 # Extract the first word of "gcc", so it can be a program name with args.
3623 set dummy gcc; ac_word=$2
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3625 $as_echo_n "checking for $ac_word... " >&6; }
3626 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3627 $as_echo_n "(cached) " >&6
3628 else
3629 if test -n "$ac_ct_CC"; then
3630 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3631 else
3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3633 for as_dir in $PATH
3635 IFS=$as_save_IFS
3636 test -z "$as_dir" && as_dir=.
3637 for ac_exec_ext in '' $ac_executable_extensions; do
3638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3639 ac_cv_prog_ac_ct_CC="gcc"
3640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 break 2
3643 done
3644 done
3645 IFS=$as_save_IFS
3649 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3650 if test -n "$ac_ct_CC"; then
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3652 $as_echo "$ac_ct_CC" >&6; }
3653 else
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3655 $as_echo "no" >&6; }
3658 if test "x$ac_ct_CC" = x; then
3659 CC=""
3660 else
3661 case $cross_compiling:$ac_tool_warned in
3662 yes:)
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3665 ac_tool_warned=yes ;;
3666 esac
3667 CC=$ac_ct_CC
3669 else
3670 CC="$ac_cv_prog_CC"
3673 if test -z "$CC"; then
3674 if test -n "$ac_tool_prefix"; then
3675 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3676 set dummy ${ac_tool_prefix}cc; ac_word=$2
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3678 $as_echo_n "checking for $ac_word... " >&6; }
3679 if ${ac_cv_prog_CC+:} false; then :
3680 $as_echo_n "(cached) " >&6
3681 else
3682 if test -n "$CC"; then
3683 ac_cv_prog_CC="$CC" # Let the user override the test.
3684 else
3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 for as_dir in $PATH
3688 IFS=$as_save_IFS
3689 test -z "$as_dir" && as_dir=.
3690 for ac_exec_ext in '' $ac_executable_extensions; do
3691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3692 ac_cv_prog_CC="${ac_tool_prefix}cc"
3693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3694 break 2
3696 done
3697 done
3698 IFS=$as_save_IFS
3702 CC=$ac_cv_prog_CC
3703 if test -n "$CC"; then
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3705 $as_echo "$CC" >&6; }
3706 else
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3708 $as_echo "no" >&6; }
3714 if test -z "$CC"; then
3715 # Extract the first word of "cc", so it can be a program name with args.
3716 set dummy cc; ac_word=$2
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3718 $as_echo_n "checking for $ac_word... " >&6; }
3719 if ${ac_cv_prog_CC+:} false; then :
3720 $as_echo_n "(cached) " >&6
3721 else
3722 if test -n "$CC"; then
3723 ac_cv_prog_CC="$CC" # Let the user override the test.
3724 else
3725 ac_prog_rejected=no
3726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3727 for as_dir in $PATH
3729 IFS=$as_save_IFS
3730 test -z "$as_dir" && as_dir=.
3731 for ac_exec_ext in '' $ac_executable_extensions; do
3732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3733 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3734 ac_prog_rejected=yes
3735 continue
3737 ac_cv_prog_CC="cc"
3738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3739 break 2
3741 done
3742 done
3743 IFS=$as_save_IFS
3745 if test $ac_prog_rejected = yes; then
3746 # We found a bogon in the path, so make sure we never use it.
3747 set dummy $ac_cv_prog_CC
3748 shift
3749 if test $# != 0; then
3750 # We chose a different compiler from the bogus one.
3751 # However, it has the same basename, so the bogon will be chosen
3752 # first if we set CC to just the basename; use the full file name.
3753 shift
3754 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3759 CC=$ac_cv_prog_CC
3760 if test -n "$CC"; then
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3762 $as_echo "$CC" >&6; }
3763 else
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3765 $as_echo "no" >&6; }
3770 if test -z "$CC"; then
3771 if test -n "$ac_tool_prefix"; then
3772 for ac_prog in cl.exe
3774 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3775 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3777 $as_echo_n "checking for $ac_word... " >&6; }
3778 if ${ac_cv_prog_CC+:} false; then :
3779 $as_echo_n "(cached) " >&6
3780 else
3781 if test -n "$CC"; then
3782 ac_cv_prog_CC="$CC" # Let the user override the test.
3783 else
3784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3785 for as_dir in $PATH
3787 IFS=$as_save_IFS
3788 test -z "$as_dir" && as_dir=.
3789 for ac_exec_ext in '' $ac_executable_extensions; do
3790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3791 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3793 break 2
3795 done
3796 done
3797 IFS=$as_save_IFS
3801 CC=$ac_cv_prog_CC
3802 if test -n "$CC"; then
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3804 $as_echo "$CC" >&6; }
3805 else
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3807 $as_echo "no" >&6; }
3811 test -n "$CC" && break
3812 done
3814 if test -z "$CC"; then
3815 ac_ct_CC=$CC
3816 for ac_prog in cl.exe
3818 # Extract the first word of "$ac_prog", so it can be a program name with args.
3819 set dummy $ac_prog; ac_word=$2
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3821 $as_echo_n "checking for $ac_word... " >&6; }
3822 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3823 $as_echo_n "(cached) " >&6
3824 else
3825 if test -n "$ac_ct_CC"; then
3826 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3827 else
3828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3829 for as_dir in $PATH
3831 IFS=$as_save_IFS
3832 test -z "$as_dir" && as_dir=.
3833 for ac_exec_ext in '' $ac_executable_extensions; do
3834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3835 ac_cv_prog_ac_ct_CC="$ac_prog"
3836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3837 break 2
3839 done
3840 done
3841 IFS=$as_save_IFS
3845 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3846 if test -n "$ac_ct_CC"; then
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3848 $as_echo "$ac_ct_CC" >&6; }
3849 else
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3851 $as_echo "no" >&6; }
3855 test -n "$ac_ct_CC" && break
3856 done
3858 if test "x$ac_ct_CC" = x; then
3859 CC=""
3860 else
3861 case $cross_compiling:$ac_tool_warned in
3862 yes:)
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3865 ac_tool_warned=yes ;;
3866 esac
3867 CC=$ac_ct_CC
3874 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3875 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3876 as_fn_error $? "no acceptable C compiler found in \$PATH
3877 See \`config.log' for more details" "$LINENO" 5; }
3879 # Provide some information about the compiler.
3880 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3881 set X $ac_compile
3882 ac_compiler=$2
3883 for ac_option in --version -v -V -qversion; do
3884 { { ac_try="$ac_compiler $ac_option >&5"
3885 case "(($ac_try" in
3886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3887 *) ac_try_echo=$ac_try;;
3888 esac
3889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3890 $as_echo "$ac_try_echo"; } >&5
3891 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3892 ac_status=$?
3893 if test -s conftest.err; then
3894 sed '10a\
3895 ... rest of stderr output deleted ...
3896 10q' conftest.err >conftest.er1
3897 cat conftest.er1 >&5
3899 rm -f conftest.er1 conftest.err
3900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3901 test $ac_status = 0; }
3902 done
3904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3908 main ()
3912 return 0;
3914 _ACEOF
3915 ac_clean_files_save=$ac_clean_files
3916 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3917 # Try to create an executable without -o first, disregard a.out.
3918 # It will help us diagnose broken compilers, and finding out an intuition
3919 # of exeext.
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3921 $as_echo_n "checking whether the C compiler works... " >&6; }
3922 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3924 # The possible output files:
3925 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3927 ac_rmfiles=
3928 for ac_file in $ac_files
3930 case $ac_file in
3931 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3932 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3933 esac
3934 done
3935 rm -f $ac_rmfiles
3937 if { { ac_try="$ac_link_default"
3938 case "(($ac_try" in
3939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3940 *) ac_try_echo=$ac_try;;
3941 esac
3942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3943 $as_echo "$ac_try_echo"; } >&5
3944 (eval "$ac_link_default") 2>&5
3945 ac_status=$?
3946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3947 test $ac_status = 0; }; then :
3948 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3949 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3950 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3951 # so that the user can short-circuit this test for compilers unknown to
3952 # Autoconf.
3953 for ac_file in $ac_files ''
3955 test -f "$ac_file" || continue
3956 case $ac_file in
3957 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3959 [ab].out )
3960 # We found the default executable, but exeext='' is most
3961 # certainly right.
3962 break;;
3963 *.* )
3964 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3965 then :; else
3966 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3968 # We set ac_cv_exeext here because the later test for it is not
3969 # safe: cross compilers may not add the suffix if given an `-o'
3970 # argument, so we may need to know it at that point already.
3971 # Even if this section looks crufty: it has the advantage of
3972 # actually working.
3973 break;;
3975 break;;
3976 esac
3977 done
3978 test "$ac_cv_exeext" = no && ac_cv_exeext=
3980 else
3981 ac_file=''
3983 if test -z "$ac_file"; then :
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3985 $as_echo "no" >&6; }
3986 $as_echo "$as_me: failed program was:" >&5
3987 sed 's/^/| /' conftest.$ac_ext >&5
3989 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3991 as_fn_error 77 "C compiler cannot create executables
3992 See \`config.log' for more details" "$LINENO" 5; }
3993 else
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3995 $as_echo "yes" >&6; }
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3998 $as_echo_n "checking for C compiler default output file name... " >&6; }
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4000 $as_echo "$ac_file" >&6; }
4001 ac_exeext=$ac_cv_exeext
4003 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4004 ac_clean_files=$ac_clean_files_save
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4006 $as_echo_n "checking for suffix of executables... " >&6; }
4007 if { { ac_try="$ac_link"
4008 case "(($ac_try" in
4009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4010 *) ac_try_echo=$ac_try;;
4011 esac
4012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4013 $as_echo "$ac_try_echo"; } >&5
4014 (eval "$ac_link") 2>&5
4015 ac_status=$?
4016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017 test $ac_status = 0; }; then :
4018 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4019 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4020 # work properly (i.e., refer to `conftest.exe'), while it won't with
4021 # `rm'.
4022 for ac_file in conftest.exe conftest conftest.*; do
4023 test -f "$ac_file" || continue
4024 case $ac_file in
4025 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4026 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4027 break;;
4028 * ) break;;
4029 esac
4030 done
4031 else
4032 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4034 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4035 See \`config.log' for more details" "$LINENO" 5; }
4037 rm -f conftest conftest$ac_cv_exeext
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4039 $as_echo "$ac_cv_exeext" >&6; }
4041 rm -f conftest.$ac_ext
4042 EXEEXT=$ac_cv_exeext
4043 ac_exeext=$EXEEXT
4044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4045 /* end confdefs.h. */
4046 #include <stdio.h>
4048 main ()
4050 FILE *f = fopen ("conftest.out", "w");
4051 return ferror (f) || fclose (f) != 0;
4054 return 0;
4056 _ACEOF
4057 ac_clean_files="$ac_clean_files conftest.out"
4058 # Check that the compiler produces executables we can run. If not, either
4059 # the compiler is broken, or we cross compile.
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4061 $as_echo_n "checking whether we are cross compiling... " >&6; }
4062 if test "$cross_compiling" != yes; then
4063 { { ac_try="$ac_link"
4064 case "(($ac_try" in
4065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4066 *) ac_try_echo=$ac_try;;
4067 esac
4068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4069 $as_echo "$ac_try_echo"; } >&5
4070 (eval "$ac_link") 2>&5
4071 ac_status=$?
4072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4073 test $ac_status = 0; }
4074 if { ac_try='./conftest$ac_cv_exeext'
4075 { { case "(($ac_try" in
4076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4077 *) ac_try_echo=$ac_try;;
4078 esac
4079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4080 $as_echo "$ac_try_echo"; } >&5
4081 (eval "$ac_try") 2>&5
4082 ac_status=$?
4083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4084 test $ac_status = 0; }; }; then
4085 cross_compiling=no
4086 else
4087 if test "$cross_compiling" = maybe; then
4088 cross_compiling=yes
4089 else
4090 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4092 as_fn_error $? "cannot run C compiled programs.
4093 If you meant to cross compile, use \`--host'.
4094 See \`config.log' for more details" "$LINENO" 5; }
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4099 $as_echo "$cross_compiling" >&6; }
4101 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4102 ac_clean_files=$ac_clean_files_save
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4104 $as_echo_n "checking for suffix of object files... " >&6; }
4105 if ${ac_cv_objext+:} false; then :
4106 $as_echo_n "(cached) " >&6
4107 else
4108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4109 /* end confdefs.h. */
4112 main ()
4116 return 0;
4118 _ACEOF
4119 rm -f conftest.o conftest.obj
4120 if { { ac_try="$ac_compile"
4121 case "(($ac_try" in
4122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4123 *) ac_try_echo=$ac_try;;
4124 esac
4125 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4126 $as_echo "$ac_try_echo"; } >&5
4127 (eval "$ac_compile") 2>&5
4128 ac_status=$?
4129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4130 test $ac_status = 0; }; then :
4131 for ac_file in conftest.o conftest.obj conftest.*; do
4132 test -f "$ac_file" || continue;
4133 case $ac_file in
4134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4135 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4136 break;;
4137 esac
4138 done
4139 else
4140 $as_echo "$as_me: failed program was:" >&5
4141 sed 's/^/| /' conftest.$ac_ext >&5
4143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4145 as_fn_error $? "cannot compute suffix of object files: cannot compile
4146 See \`config.log' for more details" "$LINENO" 5; }
4148 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4151 $as_echo "$ac_cv_objext" >&6; }
4152 OBJEXT=$ac_cv_objext
4153 ac_objext=$OBJEXT
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4155 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4156 if ${ac_cv_c_compiler_gnu+:} false; then :
4157 $as_echo_n "(cached) " >&6
4158 else
4159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h. */
4163 main ()
4165 #ifndef __GNUC__
4166 choke me
4167 #endif
4170 return 0;
4172 _ACEOF
4173 if ac_fn_c_try_compile "$LINENO"; then :
4174 ac_compiler_gnu=yes
4175 else
4176 ac_compiler_gnu=no
4178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4179 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4183 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4184 if test $ac_compiler_gnu = yes; then
4185 GCC=yes
4186 else
4187 GCC=
4189 ac_test_CFLAGS=${CFLAGS+set}
4190 ac_save_CFLAGS=$CFLAGS
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4192 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4193 if ${ac_cv_prog_cc_g+:} false; then :
4194 $as_echo_n "(cached) " >&6
4195 else
4196 ac_save_c_werror_flag=$ac_c_werror_flag
4197 ac_c_werror_flag=yes
4198 ac_cv_prog_cc_g=no
4199 CFLAGS="-g"
4200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h. */
4204 main ()
4208 return 0;
4210 _ACEOF
4211 if ac_fn_c_try_compile "$LINENO"; then :
4212 ac_cv_prog_cc_g=yes
4213 else
4214 CFLAGS=""
4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4219 main ()
4223 return 0;
4225 _ACEOF
4226 if ac_fn_c_try_compile "$LINENO"; then :
4228 else
4229 ac_c_werror_flag=$ac_save_c_werror_flag
4230 CFLAGS="-g"
4231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4232 /* end confdefs.h. */
4235 main ()
4239 return 0;
4241 _ACEOF
4242 if ac_fn_c_try_compile "$LINENO"; then :
4243 ac_cv_prog_cc_g=yes
4245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4250 ac_c_werror_flag=$ac_save_c_werror_flag
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4253 $as_echo "$ac_cv_prog_cc_g" >&6; }
4254 if test "$ac_test_CFLAGS" = set; then
4255 CFLAGS=$ac_save_CFLAGS
4256 elif test $ac_cv_prog_cc_g = yes; then
4257 if test "$GCC" = yes; then
4258 CFLAGS="-g -O2"
4259 else
4260 CFLAGS="-g"
4262 else
4263 if test "$GCC" = yes; then
4264 CFLAGS="-O2"
4265 else
4266 CFLAGS=
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4270 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4271 if ${ac_cv_prog_cc_c89+:} false; then :
4272 $as_echo_n "(cached) " >&6
4273 else
4274 ac_cv_prog_cc_c89=no
4275 ac_save_CC=$CC
4276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4278 #include <stdarg.h>
4279 #include <stdio.h>
4280 struct stat;
4281 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4282 struct buf { int x; };
4283 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4284 static char *e (p, i)
4285 char **p;
4286 int i;
4288 return p[i];
4290 static char *f (char * (*g) (char **, int), char **p, ...)
4292 char *s;
4293 va_list v;
4294 va_start (v,p);
4295 s = g (p, va_arg (v,int));
4296 va_end (v);
4297 return s;
4300 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4301 function prototypes and stuff, but not '\xHH' hex character constants.
4302 These don't provoke an error unfortunately, instead are silently treated
4303 as 'x'. The following induces an error, until -std is added to get
4304 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4305 array size at least. It's necessary to write '\x00'==0 to get something
4306 that's true only with -std. */
4307 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4309 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4310 inside strings and character constants. */
4311 #define FOO(x) 'x'
4312 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4314 int test (int i, double x);
4315 struct s1 {int (*f) (int a);};
4316 struct s2 {int (*f) (double a);};
4317 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4318 int argc;
4319 char **argv;
4321 main ()
4323 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4325 return 0;
4327 _ACEOF
4328 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4329 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4331 CC="$ac_save_CC $ac_arg"
4332 if ac_fn_c_try_compile "$LINENO"; then :
4333 ac_cv_prog_cc_c89=$ac_arg
4335 rm -f core conftest.err conftest.$ac_objext
4336 test "x$ac_cv_prog_cc_c89" != "xno" && break
4337 done
4338 rm -f conftest.$ac_ext
4339 CC=$ac_save_CC
4342 # AC_CACHE_VAL
4343 case "x$ac_cv_prog_cc_c89" in
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4346 $as_echo "none needed" >&6; } ;;
4347 xno)
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4349 $as_echo "unsupported" >&6; } ;;
4351 CC="$CC $ac_cv_prog_cc_c89"
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4353 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4354 esac
4355 if test "x$ac_cv_prog_cc_c89" != xno; then :
4359 ac_ext=c
4360 ac_cpp='$CPP $CPPFLAGS'
4361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4365 ac_ext=cpp
4366 ac_cpp='$CXXCPP $CPPFLAGS'
4367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4370 if test -z "$CXX"; then
4371 if test -n "$CCC"; then
4372 CXX=$CCC
4373 else
4374 if test -n "$ac_tool_prefix"; then
4375 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4377 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4378 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4380 $as_echo_n "checking for $ac_word... " >&6; }
4381 if ${ac_cv_prog_CXX+:} false; then :
4382 $as_echo_n "(cached) " >&6
4383 else
4384 if test -n "$CXX"; then
4385 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4386 else
4387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 for as_dir in $PATH
4390 IFS=$as_save_IFS
4391 test -z "$as_dir" && as_dir=.
4392 for ac_exec_ext in '' $ac_executable_extensions; do
4393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4394 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4396 break 2
4398 done
4399 done
4400 IFS=$as_save_IFS
4404 CXX=$ac_cv_prog_CXX
4405 if test -n "$CXX"; then
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4407 $as_echo "$CXX" >&6; }
4408 else
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4410 $as_echo "no" >&6; }
4414 test -n "$CXX" && break
4415 done
4417 if test -z "$CXX"; then
4418 ac_ct_CXX=$CXX
4419 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4421 # Extract the first word of "$ac_prog", so it can be a program name with args.
4422 set dummy $ac_prog; ac_word=$2
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4424 $as_echo_n "checking for $ac_word... " >&6; }
4425 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4426 $as_echo_n "(cached) " >&6
4427 else
4428 if test -n "$ac_ct_CXX"; then
4429 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4430 else
4431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4432 for as_dir in $PATH
4434 IFS=$as_save_IFS
4435 test -z "$as_dir" && as_dir=.
4436 for ac_exec_ext in '' $ac_executable_extensions; do
4437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4438 ac_cv_prog_ac_ct_CXX="$ac_prog"
4439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 break 2
4442 done
4443 done
4444 IFS=$as_save_IFS
4448 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4449 if test -n "$ac_ct_CXX"; then
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4451 $as_echo "$ac_ct_CXX" >&6; }
4452 else
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4454 $as_echo "no" >&6; }
4458 test -n "$ac_ct_CXX" && break
4459 done
4461 if test "x$ac_ct_CXX" = x; then
4462 CXX="g++"
4463 else
4464 case $cross_compiling:$ac_tool_warned in
4465 yes:)
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4468 ac_tool_warned=yes ;;
4469 esac
4470 CXX=$ac_ct_CXX
4476 # Provide some information about the compiler.
4477 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4478 set X $ac_compile
4479 ac_compiler=$2
4480 for ac_option in --version -v -V -qversion; do
4481 { { ac_try="$ac_compiler $ac_option >&5"
4482 case "(($ac_try" in
4483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4484 *) ac_try_echo=$ac_try;;
4485 esac
4486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4487 $as_echo "$ac_try_echo"; } >&5
4488 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4489 ac_status=$?
4490 if test -s conftest.err; then
4491 sed '10a\
4492 ... rest of stderr output deleted ...
4493 10q' conftest.err >conftest.er1
4494 cat conftest.er1 >&5
4496 rm -f conftest.er1 conftest.err
4497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4498 test $ac_status = 0; }
4499 done
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4502 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4503 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4504 $as_echo_n "(cached) " >&6
4505 else
4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4510 main ()
4512 #ifndef __GNUC__
4513 choke me
4514 #endif
4517 return 0;
4519 _ACEOF
4520 if ac_fn_cxx_try_compile "$LINENO"; then :
4521 ac_compiler_gnu=yes
4522 else
4523 ac_compiler_gnu=no
4525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4526 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4530 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4531 if test $ac_compiler_gnu = yes; then
4532 GXX=yes
4533 else
4534 GXX=
4536 ac_test_CXXFLAGS=${CXXFLAGS+set}
4537 ac_save_CXXFLAGS=$CXXFLAGS
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4539 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4540 if ${ac_cv_prog_cxx_g+:} false; then :
4541 $as_echo_n "(cached) " >&6
4542 else
4543 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4544 ac_cxx_werror_flag=yes
4545 ac_cv_prog_cxx_g=no
4546 CXXFLAGS="-g"
4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4551 main ()
4555 return 0;
4557 _ACEOF
4558 if ac_fn_cxx_try_compile "$LINENO"; then :
4559 ac_cv_prog_cxx_g=yes
4560 else
4561 CXXFLAGS=""
4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4566 main ()
4570 return 0;
4572 _ACEOF
4573 if ac_fn_cxx_try_compile "$LINENO"; then :
4575 else
4576 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4577 CXXFLAGS="-g"
4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4582 main ()
4586 return 0;
4588 _ACEOF
4589 if ac_fn_cxx_try_compile "$LINENO"; then :
4590 ac_cv_prog_cxx_g=yes
4592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4597 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4600 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4601 if test "$ac_test_CXXFLAGS" = set; then
4602 CXXFLAGS=$ac_save_CXXFLAGS
4603 elif test $ac_cv_prog_cxx_g = yes; then
4604 if test "$GXX" = yes; then
4605 CXXFLAGS="-g -O2"
4606 else
4607 CXXFLAGS="-g"
4609 else
4610 if test "$GXX" = yes; then
4611 CXXFLAGS="-O2"
4612 else
4613 CXXFLAGS=
4616 ac_ext=c
4617 ac_cpp='$CPP $CPPFLAGS'
4618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4622 if test -n "$ac_tool_prefix"; then
4623 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4624 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4626 $as_echo_n "checking for $ac_word... " >&6; }
4627 if ${ac_cv_prog_CPPBIN+:} false; then :
4628 $as_echo_n "(cached) " >&6
4629 else
4630 if test -n "$CPPBIN"; then
4631 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4632 else
4633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4634 for as_dir in $PATH
4636 IFS=$as_save_IFS
4637 test -z "$as_dir" && as_dir=.
4638 for ac_exec_ext in '' $ac_executable_extensions; do
4639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4640 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4642 break 2
4644 done
4645 done
4646 IFS=$as_save_IFS
4650 CPPBIN=$ac_cv_prog_CPPBIN
4651 if test -n "$CPPBIN"; then
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4653 $as_echo "$CPPBIN" >&6; }
4654 else
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4656 $as_echo "no" >&6; }
4661 if test -z "$ac_cv_prog_CPPBIN"; then
4662 ac_ct_CPPBIN=$CPPBIN
4663 # Extract the first word of "cpp", so it can be a program name with args.
4664 set dummy cpp; ac_word=$2
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4666 $as_echo_n "checking for $ac_word... " >&6; }
4667 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4668 $as_echo_n "(cached) " >&6
4669 else
4670 if test -n "$ac_ct_CPPBIN"; then
4671 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4672 else
4673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4674 for as_dir in $PATH
4676 IFS=$as_save_IFS
4677 test -z "$as_dir" && as_dir=.
4678 for ac_exec_ext in '' $ac_executable_extensions; do
4679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4680 ac_cv_prog_ac_ct_CPPBIN="cpp"
4681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4682 break 2
4684 done
4685 done
4686 IFS=$as_save_IFS
4690 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4691 if test -n "$ac_ct_CPPBIN"; then
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4693 $as_echo "$ac_ct_CPPBIN" >&6; }
4694 else
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4696 $as_echo "no" >&6; }
4699 if test "x$ac_ct_CPPBIN" = x; then
4700 CPPBIN="cpp"
4701 else
4702 case $cross_compiling:$ac_tool_warned in
4703 yes:)
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4706 ac_tool_warned=yes ;;
4707 esac
4708 CPPBIN=$ac_ct_CPPBIN
4710 else
4711 CPPBIN="$ac_cv_prog_CPPBIN"
4715 cat >>confdefs.h <<_ACEOF
4716 #define EXEEXT "$ac_exeext"
4717 _ACEOF
4720 case $host in
4721 *-darwin*)
4722 if test "x$enable_win64" = "xyes"
4723 then
4724 CC="$CC -m64"
4725 CXX="$CXX -m64"
4726 host_cpu="x86_64"
4727 notice_platform="64-bit "
4728 TARGETFLAGS="-m64"
4730 else
4731 CC="$CC -m32"
4732 CXX="$CXX -m32"
4733 host_cpu="i386"
4734 notice_platform="32-bit "
4735 TARGETFLAGS="-m32"
4737 enable_win16=${enable_win16:-yes}
4739 with_fontconfig=${with_fontconfig:-no}
4741 x86_64*)
4742 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4743 then
4744 CC="$CC -m32"
4745 CXX="$CXX -m32"
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4747 $as_echo_n "checking whether $CC works... " >&6; }
4749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4750 /* end confdefs.h. */
4753 main ()
4757 return 0;
4759 _ACEOF
4760 if ac_fn_c_try_link "$LINENO"; then :
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4762 $as_echo "yes" >&6; }
4763 else
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4765 $as_echo "no" >&6; }
4766 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4768 rm -f core conftest.err conftest.$ac_objext \
4769 conftest$ac_exeext conftest.$ac_ext
4770 host_cpu="i386"
4771 notice_platform="32-bit "
4772 TARGETFLAGS="-m32"
4774 enable_win16=${enable_win16:-yes}
4775 else
4776 if test "x${GCC}" = "xyes"
4777 then
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4779 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4781 /* end confdefs.h. */
4782 #include <stdarg.h>
4784 main ()
4786 void func(__builtin_ms_va_list *args);
4788 return 0;
4790 _ACEOF
4791 if ac_fn_c_try_compile "$LINENO"; then :
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4793 $as_echo "yes" >&6; }
4794 else
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4796 $as_echo "no" >&6; }
4797 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4801 TARGETFLAGS="-m64"
4805 arm*)
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4807 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4809 /* end confdefs.h. */
4810 int ac_test(int i) { return i; }
4812 main ()
4814 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4816 return 0;
4818 _ACEOF
4819 if ac_fn_c_try_link "$LINENO"; then :
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4821 $as_echo "yes" >&6; }
4822 else
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4824 $as_echo "no" >&6; }
4825 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4827 rm -f core conftest.err conftest.$ac_objext \
4828 conftest$ac_exeext conftest.$ac_ext
4829 CFLAGS="$CFLAGS -marm"
4830 TARGETFLAGS="-marm"
4833 *-mingw32*|*-cygwin*)
4834 enable_win16=${enable_win16:-no}
4835 CFLAGS="$CFLAGS -D_WIN32"
4837 i[3456789]86*)
4838 enable_win16=${enable_win16:-yes}
4840 esac
4842 enable_win16=${enable_win16:-no}
4843 enable_win64=${enable_win64:-no}
4845 enable_winetest=${enable_winetest:-$enable_tests}
4847 if test -n "$with_wine64"
4848 then
4849 if test "x$enable_win64" = "xyes"
4850 then
4851 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4852 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4854 enable_fonts=${enable_fonts:-no}
4855 enable_server=${enable_server:-no}
4856 elif test "x$enable_win64" = "xyes"
4857 then
4858 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4862 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4863 if ${wine_cv_toolsdir+:} false; then :
4864 $as_echo_n "(cached) " >&6
4865 else
4866 wine_cv_toolsdir="$with_wine_tools"
4867 if test -z "$with_wine_tools"; then
4868 if test "$cross_compiling" = "yes"; then
4869 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4870 elif test -n "$with_wine64"; then
4871 wine_cv_toolsdir="$with_wine64"
4874 if test -z "$wine_cv_toolsdir"; then
4875 wine_makedep=tools/makedep
4876 wine_cv_toolsdir="\$(top_builddir)"
4877 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4878 wine_makedep=$wine_cv_toolsdir/tools/makedep
4879 case "$wine_cv_toolsdir" in
4880 /*) ;;
4881 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4882 esac
4883 enable_tools=${enable_tools:-no}
4884 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4885 else
4886 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4890 $as_echo "$wine_cv_toolsdir" >&6; }
4891 TOOLSDIR=$wine_cv_toolsdir
4893 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4894 then
4895 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4899 for ac_prog in flex
4901 # Extract the first word of "$ac_prog", so it can be a program name with args.
4902 set dummy $ac_prog; ac_word=$2
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4904 $as_echo_n "checking for $ac_word... " >&6; }
4905 if ${ac_cv_prog_FLEX+:} false; then :
4906 $as_echo_n "(cached) " >&6
4907 else
4908 if test -n "$FLEX"; then
4909 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4910 else
4911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4912 for as_dir in $PATH
4914 IFS=$as_save_IFS
4915 test -z "$as_dir" && as_dir=.
4916 for ac_exec_ext in '' $ac_executable_extensions; do
4917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4918 ac_cv_prog_FLEX="$ac_prog"
4919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4920 break 2
4922 done
4923 done
4924 IFS=$as_save_IFS
4928 FLEX=$ac_cv_prog_FLEX
4929 if test -n "$FLEX"; then
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4931 $as_echo "$FLEX" >&6; }
4932 else
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 $as_echo "no" >&6; }
4938 test -n "$FLEX" && break
4939 done
4940 test -n "$FLEX" || FLEX="none"
4942 if test "$FLEX" = "none"
4943 then
4944 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4947 $as_echo_n "checking whether flex is recent enough... " >&6; }
4948 cat >conftest.l <<EOF
4949 %top{
4950 #include "prediluvian.h"
4954 if $FLEX -t conftest.l >/dev/null 2>&5
4955 then
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4957 $as_echo "yes" >&6; }
4958 else
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960 $as_echo "no" >&6; }
4961 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4964 for ac_prog in bison
4966 # Extract the first word of "$ac_prog", so it can be a program name with args.
4967 set dummy $ac_prog; ac_word=$2
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969 $as_echo_n "checking for $ac_word... " >&6; }
4970 if ${ac_cv_prog_BISON+:} false; then :
4971 $as_echo_n "(cached) " >&6
4972 else
4973 if test -n "$BISON"; then
4974 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4975 else
4976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4977 for as_dir in $PATH
4979 IFS=$as_save_IFS
4980 test -z "$as_dir" && as_dir=.
4981 for ac_exec_ext in '' $ac_executable_extensions; do
4982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4983 ac_cv_prog_BISON="$ac_prog"
4984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4985 break 2
4987 done
4988 done
4989 IFS=$as_save_IFS
4993 BISON=$ac_cv_prog_BISON
4994 if test -n "$BISON"; then
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4996 $as_echo "$BISON" >&6; }
4997 else
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4999 $as_echo "no" >&6; }
5003 test -n "$BISON" && break
5004 done
5005 test -n "$BISON" || BISON="none"
5007 if test "$BISON" = "none"
5008 then
5009 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5012 if test -n "$ac_tool_prefix"; then
5013 for ac_prog in ar gar
5015 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5016 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5018 $as_echo_n "checking for $ac_word... " >&6; }
5019 if ${ac_cv_prog_AR+:} false; then :
5020 $as_echo_n "(cached) " >&6
5021 else
5022 if test -n "$AR"; then
5023 ac_cv_prog_AR="$AR" # Let the user override the test.
5024 else
5025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5026 for as_dir in $PATH
5028 IFS=$as_save_IFS
5029 test -z "$as_dir" && as_dir=.
5030 for ac_exec_ext in '' $ac_executable_extensions; do
5031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5032 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5034 break 2
5036 done
5037 done
5038 IFS=$as_save_IFS
5042 AR=$ac_cv_prog_AR
5043 if test -n "$AR"; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5045 $as_echo "$AR" >&6; }
5046 else
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048 $as_echo "no" >&6; }
5052 test -n "$AR" && break
5053 done
5055 if test -z "$AR"; then
5056 ac_ct_AR=$AR
5057 for ac_prog in ar gar
5059 # Extract the first word of "$ac_prog", so it can be a program name with args.
5060 set dummy $ac_prog; ac_word=$2
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5062 $as_echo_n "checking for $ac_word... " >&6; }
5063 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5064 $as_echo_n "(cached) " >&6
5065 else
5066 if test -n "$ac_ct_AR"; then
5067 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5068 else
5069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5070 for as_dir in $PATH
5072 IFS=$as_save_IFS
5073 test -z "$as_dir" && as_dir=.
5074 for ac_exec_ext in '' $ac_executable_extensions; do
5075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5076 ac_cv_prog_ac_ct_AR="$ac_prog"
5077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5078 break 2
5080 done
5081 done
5082 IFS=$as_save_IFS
5086 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5087 if test -n "$ac_ct_AR"; then
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5089 $as_echo "$ac_ct_AR" >&6; }
5090 else
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5092 $as_echo "no" >&6; }
5096 test -n "$ac_ct_AR" && break
5097 done
5099 if test "x$ac_ct_AR" = x; then
5100 AR="ar"
5101 else
5102 case $cross_compiling:$ac_tool_warned in
5103 yes:)
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5106 ac_tool_warned=yes ;;
5107 esac
5108 AR=$ac_ct_AR
5112 if test -n "$ac_tool_prefix"; then
5113 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5114 set dummy ${ac_tool_prefix}strip; ac_word=$2
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5116 $as_echo_n "checking for $ac_word... " >&6; }
5117 if ${ac_cv_prog_STRIP+:} false; then :
5118 $as_echo_n "(cached) " >&6
5119 else
5120 if test -n "$STRIP"; then
5121 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5122 else
5123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5124 for as_dir in $PATH
5126 IFS=$as_save_IFS
5127 test -z "$as_dir" && as_dir=.
5128 for ac_exec_ext in '' $ac_executable_extensions; do
5129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5130 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 break 2
5134 done
5135 done
5136 IFS=$as_save_IFS
5140 STRIP=$ac_cv_prog_STRIP
5141 if test -n "$STRIP"; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5143 $as_echo "$STRIP" >&6; }
5144 else
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5151 if test -z "$ac_cv_prog_STRIP"; then
5152 ac_ct_STRIP=$STRIP
5153 # Extract the first word of "strip", so it can be a program name with args.
5154 set dummy strip; ac_word=$2
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156 $as_echo_n "checking for $ac_word... " >&6; }
5157 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5158 $as_echo_n "(cached) " >&6
5159 else
5160 if test -n "$ac_ct_STRIP"; then
5161 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5162 else
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 for as_dir in $PATH
5166 IFS=$as_save_IFS
5167 test -z "$as_dir" && as_dir=.
5168 for ac_exec_ext in '' $ac_executable_extensions; do
5169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5170 ac_cv_prog_ac_ct_STRIP="strip"
5171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 break 2
5174 done
5175 done
5176 IFS=$as_save_IFS
5180 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5181 if test -n "$ac_ct_STRIP"; then
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5183 $as_echo "$ac_ct_STRIP" >&6; }
5184 else
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5186 $as_echo "no" >&6; }
5189 if test "x$ac_ct_STRIP" = x; then
5190 STRIP="strip"
5191 else
5192 case $cross_compiling:$ac_tool_warned in
5193 yes:)
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5196 ac_tool_warned=yes ;;
5197 esac
5198 STRIP=$ac_ct_STRIP
5200 else
5201 STRIP="$ac_cv_prog_STRIP"
5204 ARFLAGS=rc
5206 if test -n "$ac_tool_prefix"; then
5207 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5208 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5210 $as_echo_n "checking for $ac_word... " >&6; }
5211 if ${ac_cv_prog_RANLIB+:} false; then :
5212 $as_echo_n "(cached) " >&6
5213 else
5214 if test -n "$RANLIB"; then
5215 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5216 else
5217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5218 for as_dir in $PATH
5220 IFS=$as_save_IFS
5221 test -z "$as_dir" && as_dir=.
5222 for ac_exec_ext in '' $ac_executable_extensions; do
5223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5224 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 break 2
5228 done
5229 done
5230 IFS=$as_save_IFS
5234 RANLIB=$ac_cv_prog_RANLIB
5235 if test -n "$RANLIB"; then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5237 $as_echo "$RANLIB" >&6; }
5238 else
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 $as_echo "no" >&6; }
5245 if test -z "$ac_cv_prog_RANLIB"; then
5246 ac_ct_RANLIB=$RANLIB
5247 # Extract the first word of "ranlib", so it can be a program name with args.
5248 set dummy ranlib; ac_word=$2
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5250 $as_echo_n "checking for $ac_word... " >&6; }
5251 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5252 $as_echo_n "(cached) " >&6
5253 else
5254 if test -n "$ac_ct_RANLIB"; then
5255 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5256 else
5257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5258 for as_dir in $PATH
5260 IFS=$as_save_IFS
5261 test -z "$as_dir" && as_dir=.
5262 for ac_exec_ext in '' $ac_executable_extensions; do
5263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5264 ac_cv_prog_ac_ct_RANLIB="ranlib"
5265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5266 break 2
5268 done
5269 done
5270 IFS=$as_save_IFS
5274 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5275 if test -n "$ac_ct_RANLIB"; then
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5277 $as_echo "$ac_ct_RANLIB" >&6; }
5278 else
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280 $as_echo "no" >&6; }
5283 if test "x$ac_ct_RANLIB" = x; then
5284 RANLIB=":"
5285 else
5286 case $cross_compiling:$ac_tool_warned in
5287 yes:)
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5290 ac_tool_warned=yes ;;
5291 esac
5292 RANLIB=$ac_ct_RANLIB
5294 else
5295 RANLIB="$ac_cv_prog_RANLIB"
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5299 $as_echo_n "checking whether ln -s works... " >&6; }
5300 LN_S=$as_ln_s
5301 if test "$LN_S" = "ln -s"; then
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5303 $as_echo "yes" >&6; }
5304 else
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5306 $as_echo "no, using $LN_S" >&6; }
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5310 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5311 if ${ac_cv_path_GREP+:} false; then :
5312 $as_echo_n "(cached) " >&6
5313 else
5314 if test -z "$GREP"; then
5315 ac_path_GREP_found=false
5316 # Loop through the user's path and test for each of PROGNAME-LIST
5317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5318 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5320 IFS=$as_save_IFS
5321 test -z "$as_dir" && as_dir=.
5322 for ac_prog in grep ggrep; do
5323 for ac_exec_ext in '' $ac_executable_extensions; do
5324 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5325 as_fn_executable_p "$ac_path_GREP" || continue
5326 # Check for GNU ac_path_GREP and select it if it is found.
5327 # Check for GNU $ac_path_GREP
5328 case `"$ac_path_GREP" --version 2>&1` in
5329 *GNU*)
5330 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5332 ac_count=0
5333 $as_echo_n 0123456789 >"conftest.in"
5334 while :
5336 cat "conftest.in" "conftest.in" >"conftest.tmp"
5337 mv "conftest.tmp" "conftest.in"
5338 cp "conftest.in" "conftest.nl"
5339 $as_echo 'GREP' >> "conftest.nl"
5340 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5341 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5342 as_fn_arith $ac_count + 1 && ac_count=$as_val
5343 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5344 # Best one so far, save it but keep looking for a better one
5345 ac_cv_path_GREP="$ac_path_GREP"
5346 ac_path_GREP_max=$ac_count
5348 # 10*(2^10) chars as input seems more than enough
5349 test $ac_count -gt 10 && break
5350 done
5351 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5352 esac
5354 $ac_path_GREP_found && break 3
5355 done
5356 done
5357 done
5358 IFS=$as_save_IFS
5359 if test -z "$ac_cv_path_GREP"; then
5360 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5362 else
5363 ac_cv_path_GREP=$GREP
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5368 $as_echo "$ac_cv_path_GREP" >&6; }
5369 GREP="$ac_cv_path_GREP"
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5373 $as_echo_n "checking for egrep... " >&6; }
5374 if ${ac_cv_path_EGREP+:} false; then :
5375 $as_echo_n "(cached) " >&6
5376 else
5377 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5378 then ac_cv_path_EGREP="$GREP -E"
5379 else
5380 if test -z "$EGREP"; then
5381 ac_path_EGREP_found=false
5382 # Loop through the user's path and test for each of PROGNAME-LIST
5383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5386 IFS=$as_save_IFS
5387 test -z "$as_dir" && as_dir=.
5388 for ac_prog in egrep; do
5389 for ac_exec_ext in '' $ac_executable_extensions; do
5390 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5391 as_fn_executable_p "$ac_path_EGREP" || continue
5392 # Check for GNU ac_path_EGREP and select it if it is found.
5393 # Check for GNU $ac_path_EGREP
5394 case `"$ac_path_EGREP" --version 2>&1` in
5395 *GNU*)
5396 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5398 ac_count=0
5399 $as_echo_n 0123456789 >"conftest.in"
5400 while :
5402 cat "conftest.in" "conftest.in" >"conftest.tmp"
5403 mv "conftest.tmp" "conftest.in"
5404 cp "conftest.in" "conftest.nl"
5405 $as_echo 'EGREP' >> "conftest.nl"
5406 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5407 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5408 as_fn_arith $ac_count + 1 && ac_count=$as_val
5409 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5410 # Best one so far, save it but keep looking for a better one
5411 ac_cv_path_EGREP="$ac_path_EGREP"
5412 ac_path_EGREP_max=$ac_count
5414 # 10*(2^10) chars as input seems more than enough
5415 test $ac_count -gt 10 && break
5416 done
5417 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5418 esac
5420 $ac_path_EGREP_found && break 3
5421 done
5422 done
5423 done
5424 IFS=$as_save_IFS
5425 if test -z "$ac_cv_path_EGREP"; then
5426 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5428 else
5429 ac_cv_path_EGREP=$EGREP
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5435 $as_echo "$ac_cv_path_EGREP" >&6; }
5436 EGREP="$ac_cv_path_EGREP"
5439 # Extract the first word of "ldconfig", so it can be a program name with args.
5440 set dummy ldconfig; ac_word=$2
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5442 $as_echo_n "checking for $ac_word... " >&6; }
5443 if ${ac_cv_path_LDCONFIG+:} false; then :
5444 $as_echo_n "(cached) " >&6
5445 else
5446 case $LDCONFIG in
5447 [\\/]* | ?:[\\/]*)
5448 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5452 for as_dir in /sbin /usr/sbin $PATH
5454 IFS=$as_save_IFS
5455 test -z "$as_dir" && as_dir=.
5456 for ac_exec_ext in '' $ac_executable_extensions; do
5457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5458 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5460 break 2
5462 done
5463 done
5464 IFS=$as_save_IFS
5466 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5468 esac
5470 LDCONFIG=$ac_cv_path_LDCONFIG
5471 if test -n "$LDCONFIG"; then
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5473 $as_echo "$LDCONFIG" >&6; }
5474 else
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5476 $as_echo "no" >&6; }
5480 for ac_prog in msgfmt
5482 # Extract the first word of "$ac_prog", so it can be a program name with args.
5483 set dummy $ac_prog; ac_word=$2
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5485 $as_echo_n "checking for $ac_word... " >&6; }
5486 if ${ac_cv_prog_MSGFMT+:} false; then :
5487 $as_echo_n "(cached) " >&6
5488 else
5489 if test -n "$MSGFMT"; then
5490 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5491 else
5492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5493 for as_dir in $PATH
5495 IFS=$as_save_IFS
5496 test -z "$as_dir" && as_dir=.
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5499 ac_cv_prog_MSGFMT="$ac_prog"
5500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5501 break 2
5503 done
5504 done
5505 IFS=$as_save_IFS
5509 MSGFMT=$ac_cv_prog_MSGFMT
5510 if test -n "$MSGFMT"; then
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5512 $as_echo "$MSGFMT" >&6; }
5513 else
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5515 $as_echo "no" >&6; }
5519 test -n "$MSGFMT" && break
5520 done
5521 test -n "$MSGFMT" || MSGFMT="false"
5523 if ${ac_tool_prefix+:} false; then :
5524 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5525 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5527 $as_echo_n "checking for $ac_word... " >&6; }
5528 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5529 $as_echo_n "(cached) " >&6
5530 else
5531 if test -n "$PKG_CONFIG"; then
5532 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5533 else
5534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5535 for as_dir in $PATH
5537 IFS=$as_save_IFS
5538 test -z "$as_dir" && as_dir=.
5539 for ac_exec_ext in '' $ac_executable_extensions; do
5540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5541 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5543 break 2
5545 done
5546 done
5547 IFS=$as_save_IFS
5551 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5552 if test -n "$PKG_CONFIG"; then
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5554 $as_echo "$PKG_CONFIG" >&6; }
5555 else
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5557 $as_echo "no" >&6; }
5562 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5563 if test "x$cross_compiling" = xyes; then :
5565 else
5566 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5567 # Extract the first word of "pkg-config", so it can be a program name with args.
5568 set dummy pkg-config; ac_word=$2
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5570 $as_echo_n "checking for $ac_word... " >&6; }
5571 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5572 $as_echo_n "(cached) " >&6
5573 else
5574 if test -n "$PKG_CONFIG"; then
5575 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5576 else
5577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5578 for as_dir in $PATH
5580 IFS=$as_save_IFS
5581 test -z "$as_dir" && as_dir=.
5582 for ac_exec_ext in '' $ac_executable_extensions; do
5583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5584 ac_cv_prog_PKG_CONFIG="pkg-config"
5585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5586 break 2
5588 done
5589 done
5590 IFS=$as_save_IFS
5594 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5595 if test -n "$PKG_CONFIG"; then
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5597 $as_echo "$PKG_CONFIG" >&6; }
5598 else
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5600 $as_echo "no" >&6; }
5605 else
5606 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5609 if test "x$enable_maintainer_mode" != "xyes"
5610 then
5611 FONTFORGE=""
5612 RSVG=""
5613 CONVERT=""
5614 ICOTOOL=""
5615 else
5616 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5617 for ac_prog in fontforge
5619 # Extract the first word of "$ac_prog", so it can be a program name with args.
5620 set dummy $ac_prog; ac_word=$2
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5622 $as_echo_n "checking for $ac_word... " >&6; }
5623 if ${ac_cv_prog_FONTFORGE+:} false; then :
5624 $as_echo_n "(cached) " >&6
5625 else
5626 if test -n "$FONTFORGE"; then
5627 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5628 else
5629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5630 for as_dir in $PATH
5632 IFS=$as_save_IFS
5633 test -z "$as_dir" && as_dir=.
5634 for ac_exec_ext in '' $ac_executable_extensions; do
5635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5636 ac_cv_prog_FONTFORGE="$ac_prog"
5637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5638 break 2
5640 done
5641 done
5642 IFS=$as_save_IFS
5646 FONTFORGE=$ac_cv_prog_FONTFORGE
5647 if test -n "$FONTFORGE"; then
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5649 $as_echo "$FONTFORGE" >&6; }
5650 else
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5652 $as_echo "no" >&6; }
5656 test -n "$FONTFORGE" && break
5657 done
5658 test -n "$FONTFORGE" || FONTFORGE="false"
5660 for ac_prog in rsvg
5662 # Extract the first word of "$ac_prog", so it can be a program name with args.
5663 set dummy $ac_prog; ac_word=$2
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665 $as_echo_n "checking for $ac_word... " >&6; }
5666 if ${ac_cv_prog_RSVG+:} false; then :
5667 $as_echo_n "(cached) " >&6
5668 else
5669 if test -n "$RSVG"; then
5670 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5671 else
5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5673 for as_dir in $PATH
5675 IFS=$as_save_IFS
5676 test -z "$as_dir" && as_dir=.
5677 for ac_exec_ext in '' $ac_executable_extensions; do
5678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5679 ac_cv_prog_RSVG="$ac_prog"
5680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5681 break 2
5683 done
5684 done
5685 IFS=$as_save_IFS
5689 RSVG=$ac_cv_prog_RSVG
5690 if test -n "$RSVG"; then
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5692 $as_echo "$RSVG" >&6; }
5693 else
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5695 $as_echo "no" >&6; }
5699 test -n "$RSVG" && break
5700 done
5701 test -n "$RSVG" || RSVG="false"
5703 for ac_prog in convert
5705 # Extract the first word of "$ac_prog", so it can be a program name with args.
5706 set dummy $ac_prog; ac_word=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if ${ac_cv_prog_CONVERT+:} false; then :
5710 $as_echo_n "(cached) " >&6
5711 else
5712 if test -n "$CONVERT"; then
5713 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5714 else
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 for as_dir in $PATH
5718 IFS=$as_save_IFS
5719 test -z "$as_dir" && as_dir=.
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5722 ac_cv_prog_CONVERT="$ac_prog"
5723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724 break 2
5726 done
5727 done
5728 IFS=$as_save_IFS
5732 CONVERT=$ac_cv_prog_CONVERT
5733 if test -n "$CONVERT"; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5735 $as_echo "$CONVERT" >&6; }
5736 else
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5742 test -n "$CONVERT" && break
5743 done
5744 test -n "$CONVERT" || CONVERT="false"
5746 for ac_prog in icotool
5748 # Extract the first word of "$ac_prog", so it can be a program name with args.
5749 set dummy $ac_prog; ac_word=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if ${ac_cv_prog_ICOTOOL+:} false; then :
5753 $as_echo_n "(cached) " >&6
5754 else
5755 if test -n "$ICOTOOL"; then
5756 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5757 else
5758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5759 for as_dir in $PATH
5761 IFS=$as_save_IFS
5762 test -z "$as_dir" && as_dir=.
5763 for ac_exec_ext in '' $ac_executable_extensions; do
5764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5765 ac_cv_prog_ICOTOOL="$ac_prog"
5766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5767 break 2
5769 done
5770 done
5771 IFS=$as_save_IFS
5775 ICOTOOL=$ac_cv_prog_ICOTOOL
5776 if test -n "$ICOTOOL"; then
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5778 $as_echo "$ICOTOOL" >&6; }
5779 else
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5781 $as_echo "no" >&6; }
5785 test -n "$ICOTOOL" && break
5786 done
5787 test -n "$ICOTOOL" || ICOTOOL="false"
5789 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5790 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5792 if test "$CONVERT" = false
5793 then
5794 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5795 else
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5797 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5798 convert_version=`convert --version | head -n1`
5799 if test "x$convert_version" != "x"
5800 then
5801 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5802 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5803 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5804 then
5805 CONVERT=false
5808 if test "$CONVERT" = false
5809 then
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5811 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5812 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5813 else
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5815 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5819 if test "$ICOTOOL" = false
5820 then
5821 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5822 else
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5824 $as_echo_n "checking for recent enough icotool... " >&6; }
5825 icotool_version=`icotool --version | head -n1`
5826 if test "x$icotool_version" != "x"
5827 then
5828 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5829 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5830 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5831 then
5832 ICOTOOL=false
5833 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5836 if test "$ICOTOOL" = false
5837 then
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5839 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5840 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5841 else
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5843 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5847 with_gettext=yes
5848 with_gettextpo=yes
5849 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5852 test "x$with_gettext" != xno || MSGFMT=false
5853 if test "$MSGFMT" != "false"
5854 then
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5856 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5857 cat >conftest.po <<EOF
5858 # comment
5859 msgctxt "ctxt"
5860 msgid "id"
5861 msgstr "str"
5863 if $MSGFMT -o /dev/null conftest.po 2>&5
5864 then
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5866 $as_echo "yes" >&6; }
5867 else
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5869 $as_echo "no" >&6; }
5870 MSGFMT=false
5873 if test "$MSGFMT" = false; then :
5874 case "x$with_gettext" in
5875 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5876 xno) ;;
5877 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5878 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5879 esac
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5884 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5885 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5886 $as_echo_n "(cached) " >&6
5887 else
5888 ac_check_lib_save_LIBS=$LIBS
5889 LIBS="-li386 $LIBS"
5890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5891 /* end confdefs.h. */
5893 /* Override any GCC internal prototype to avoid an error.
5894 Use char because int might match the return type of a GCC
5895 builtin and then its argument prototype would still apply. */
5896 #ifdef __cplusplus
5897 extern "C"
5898 #endif
5899 char i386_set_ldt ();
5901 main ()
5903 return i386_set_ldt ();
5905 return 0;
5907 _ACEOF
5908 if ac_fn_c_try_link "$LINENO"; then :
5909 ac_cv_lib_i386_i386_set_ldt=yes
5910 else
5911 ac_cv_lib_i386_i386_set_ldt=no
5913 rm -f core conftest.err conftest.$ac_objext \
5914 conftest$ac_exeext conftest.$ac_ext
5915 LIBS=$ac_check_lib_save_LIBS
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5918 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5919 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5920 cat >>confdefs.h <<_ACEOF
5921 #define HAVE_LIBI386 1
5922 _ACEOF
5924 LIBS="-li386 $LIBS"
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5929 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5930 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5931 $as_echo_n "(cached) " >&6
5932 else
5933 ac_check_lib_save_LIBS=$LIBS
5934 LIBS="-lossaudio $LIBS"
5935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5936 /* end confdefs.h. */
5938 /* Override any GCC internal prototype to avoid an error.
5939 Use char because int might match the return type of a GCC
5940 builtin and then its argument prototype would still apply. */
5941 #ifdef __cplusplus
5942 extern "C"
5943 #endif
5944 char _oss_ioctl ();
5946 main ()
5948 return _oss_ioctl ();
5950 return 0;
5952 _ACEOF
5953 if ac_fn_c_try_link "$LINENO"; then :
5954 ac_cv_lib_ossaudio__oss_ioctl=yes
5955 else
5956 ac_cv_lib_ossaudio__oss_ioctl=no
5958 rm -f core conftest.err conftest.$ac_objext \
5959 conftest$ac_exeext conftest.$ac_ext
5960 LIBS=$ac_check_lib_save_LIBS
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5963 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5964 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5965 cat >>confdefs.h <<_ACEOF
5966 #define HAVE_LIBOSSAUDIO 1
5967 _ACEOF
5969 LIBS="-lossaudio $LIBS"
5974 OPENGL_LIBS=""
5978 # Check whether --enable-largefile was given.
5979 if test "${enable_largefile+set}" = set; then :
5980 enableval=$enable_largefile;
5983 if test "$enable_largefile" != no; then
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5986 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5987 if ${ac_cv_sys_largefile_CC+:} false; then :
5988 $as_echo_n "(cached) " >&6
5989 else
5990 ac_cv_sys_largefile_CC=no
5991 if test "$GCC" != yes; then
5992 ac_save_CC=$CC
5993 while :; do
5994 # IRIX 6.2 and later do not support large files by default,
5995 # so use the C compiler's -n32 option if that helps.
5996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5997 /* end confdefs.h. */
5998 #include <sys/types.h>
5999 /* Check that off_t can represent 2**63 - 1 correctly.
6000 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6001 since some C++ compilers masquerading as C compilers
6002 incorrectly reject 9223372036854775807. */
6003 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6004 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6005 && LARGE_OFF_T % 2147483647 == 1)
6006 ? 1 : -1];
6008 main ()
6012 return 0;
6014 _ACEOF
6015 if ac_fn_c_try_compile "$LINENO"; then :
6016 break
6018 rm -f core conftest.err conftest.$ac_objext
6019 CC="$CC -n32"
6020 if ac_fn_c_try_compile "$LINENO"; then :
6021 ac_cv_sys_largefile_CC=' -n32'; break
6023 rm -f core conftest.err conftest.$ac_objext
6024 break
6025 done
6026 CC=$ac_save_CC
6027 rm -f conftest.$ac_ext
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6031 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6032 if test "$ac_cv_sys_largefile_CC" != no; then
6033 CC=$CC$ac_cv_sys_largefile_CC
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6037 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6038 if ${ac_cv_sys_file_offset_bits+:} false; then :
6039 $as_echo_n "(cached) " >&6
6040 else
6041 while :; do
6042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6043 /* end confdefs.h. */
6044 #include <sys/types.h>
6045 /* Check that off_t can represent 2**63 - 1 correctly.
6046 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6047 since some C++ compilers masquerading as C compilers
6048 incorrectly reject 9223372036854775807. */
6049 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6050 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6051 && LARGE_OFF_T % 2147483647 == 1)
6052 ? 1 : -1];
6054 main ()
6058 return 0;
6060 _ACEOF
6061 if ac_fn_c_try_compile "$LINENO"; then :
6062 ac_cv_sys_file_offset_bits=no; break
6064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6066 /* end confdefs.h. */
6067 #define _FILE_OFFSET_BITS 64
6068 #include <sys/types.h>
6069 /* Check that off_t can represent 2**63 - 1 correctly.
6070 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6071 since some C++ compilers masquerading as C compilers
6072 incorrectly reject 9223372036854775807. */
6073 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6074 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6075 && LARGE_OFF_T % 2147483647 == 1)
6076 ? 1 : -1];
6078 main ()
6082 return 0;
6084 _ACEOF
6085 if ac_fn_c_try_compile "$LINENO"; then :
6086 ac_cv_sys_file_offset_bits=64; break
6088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6089 ac_cv_sys_file_offset_bits=unknown
6090 break
6091 done
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6094 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6095 case $ac_cv_sys_file_offset_bits in #(
6096 no | unknown) ;;
6098 cat >>confdefs.h <<_ACEOF
6099 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6100 _ACEOF
6102 esac
6103 rm -rf conftest*
6104 if test $ac_cv_sys_file_offset_bits = unknown; then
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6106 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6107 if ${ac_cv_sys_large_files+:} false; then :
6108 $as_echo_n "(cached) " >&6
6109 else
6110 while :; do
6111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6112 /* end confdefs.h. */
6113 #include <sys/types.h>
6114 /* Check that off_t can represent 2**63 - 1 correctly.
6115 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6116 since some C++ compilers masquerading as C compilers
6117 incorrectly reject 9223372036854775807. */
6118 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6119 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6120 && LARGE_OFF_T % 2147483647 == 1)
6121 ? 1 : -1];
6123 main ()
6127 return 0;
6129 _ACEOF
6130 if ac_fn_c_try_compile "$LINENO"; then :
6131 ac_cv_sys_large_files=no; break
6133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6135 /* end confdefs.h. */
6136 #define _LARGE_FILES 1
6137 #include <sys/types.h>
6138 /* Check that off_t can represent 2**63 - 1 correctly.
6139 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6140 since some C++ compilers masquerading as C compilers
6141 incorrectly reject 9223372036854775807. */
6142 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6143 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6144 && LARGE_OFF_T % 2147483647 == 1)
6145 ? 1 : -1];
6147 main ()
6151 return 0;
6153 _ACEOF
6154 if ac_fn_c_try_compile "$LINENO"; then :
6155 ac_cv_sys_large_files=1; break
6157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6158 ac_cv_sys_large_files=unknown
6159 break
6160 done
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6163 $as_echo "$ac_cv_sys_large_files" >&6; }
6164 case $ac_cv_sys_large_files in #(
6165 no | unknown) ;;
6167 cat >>confdefs.h <<_ACEOF
6168 #define _LARGE_FILES $ac_cv_sys_large_files
6169 _ACEOF
6171 esac
6172 rm -rf conftest*
6179 ac_ext=c
6180 ac_cpp='$CPP $CPPFLAGS'
6181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6185 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6186 # On Suns, sometimes $CPP names a directory.
6187 if test -n "$CPP" && test -d "$CPP"; then
6188 CPP=
6190 if test -z "$CPP"; then
6191 if ${ac_cv_prog_CPP+:} false; then :
6192 $as_echo_n "(cached) " >&6
6193 else
6194 # Double quotes because CPP needs to be expanded
6195 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6197 ac_preproc_ok=false
6198 for ac_c_preproc_warn_flag in '' yes
6200 # Use a header file that comes with gcc, so configuring glibc
6201 # with a fresh cross-compiler works.
6202 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6203 # <limits.h> exists even on freestanding compilers.
6204 # On the NeXT, cc -E runs the code through the compiler's parser,
6205 # not just through cpp. "Syntax error" is here to catch this case.
6206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6207 /* end confdefs.h. */
6208 #ifdef __STDC__
6209 # include <limits.h>
6210 #else
6211 # include <assert.h>
6212 #endif
6213 Syntax error
6214 _ACEOF
6215 if ac_fn_c_try_cpp "$LINENO"; then :
6217 else
6218 # Broken: fails on valid input.
6219 continue
6221 rm -f conftest.err conftest.i conftest.$ac_ext
6223 # OK, works on sane cases. Now check whether nonexistent headers
6224 # can be detected and how.
6225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6226 /* end confdefs.h. */
6227 #include <ac_nonexistent.h>
6228 _ACEOF
6229 if ac_fn_c_try_cpp "$LINENO"; then :
6230 # Broken: success on invalid input.
6231 continue
6232 else
6233 # Passes both tests.
6234 ac_preproc_ok=:
6235 break
6237 rm -f conftest.err conftest.i conftest.$ac_ext
6239 done
6240 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6241 rm -f conftest.i conftest.err conftest.$ac_ext
6242 if $ac_preproc_ok; then :
6243 break
6246 done
6247 ac_cv_prog_CPP=$CPP
6250 CPP=$ac_cv_prog_CPP
6251 else
6252 ac_cv_prog_CPP=$CPP
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6255 $as_echo "$CPP" >&6; }
6256 ac_preproc_ok=false
6257 for ac_c_preproc_warn_flag in '' yes
6259 # Use a header file that comes with gcc, so configuring glibc
6260 # with a fresh cross-compiler works.
6261 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6262 # <limits.h> exists even on freestanding compilers.
6263 # On the NeXT, cc -E runs the code through the compiler's parser,
6264 # not just through cpp. "Syntax error" is here to catch this case.
6265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6266 /* end confdefs.h. */
6267 #ifdef __STDC__
6268 # include <limits.h>
6269 #else
6270 # include <assert.h>
6271 #endif
6272 Syntax error
6273 _ACEOF
6274 if ac_fn_c_try_cpp "$LINENO"; then :
6276 else
6277 # Broken: fails on valid input.
6278 continue
6280 rm -f conftest.err conftest.i conftest.$ac_ext
6282 # OK, works on sane cases. Now check whether nonexistent headers
6283 # can be detected and how.
6284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6285 /* end confdefs.h. */
6286 #include <ac_nonexistent.h>
6287 _ACEOF
6288 if ac_fn_c_try_cpp "$LINENO"; then :
6289 # Broken: success on invalid input.
6290 continue
6291 else
6292 # Passes both tests.
6293 ac_preproc_ok=:
6294 break
6296 rm -f conftest.err conftest.i conftest.$ac_ext
6298 done
6299 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6300 rm -f conftest.i conftest.err conftest.$ac_ext
6301 if $ac_preproc_ok; then :
6303 else
6304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6306 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6307 See \`config.log' for more details" "$LINENO" 5; }
6310 ac_ext=c
6311 ac_cpp='$CPP $CPPFLAGS'
6312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6318 $as_echo_n "checking for ANSI C header files... " >&6; }
6319 if ${ac_cv_header_stdc+:} false; then :
6320 $as_echo_n "(cached) " >&6
6321 else
6322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6323 /* end confdefs.h. */
6324 #include <stdlib.h>
6325 #include <stdarg.h>
6326 #include <string.h>
6327 #include <float.h>
6330 main ()
6334 return 0;
6336 _ACEOF
6337 if ac_fn_c_try_compile "$LINENO"; then :
6338 ac_cv_header_stdc=yes
6339 else
6340 ac_cv_header_stdc=no
6342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6344 if test $ac_cv_header_stdc = yes; then
6345 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6347 /* end confdefs.h. */
6348 #include <string.h>
6350 _ACEOF
6351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6352 $EGREP "memchr" >/dev/null 2>&1; then :
6354 else
6355 ac_cv_header_stdc=no
6357 rm -f conftest*
6361 if test $ac_cv_header_stdc = yes; then
6362 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6364 /* end confdefs.h. */
6365 #include <stdlib.h>
6367 _ACEOF
6368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6369 $EGREP "free" >/dev/null 2>&1; then :
6371 else
6372 ac_cv_header_stdc=no
6374 rm -f conftest*
6378 if test $ac_cv_header_stdc = yes; then
6379 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6380 if test "$cross_compiling" = yes; then :
6382 else
6383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6384 /* end confdefs.h. */
6385 #include <ctype.h>
6386 #include <stdlib.h>
6387 #if ((' ' & 0x0FF) == 0x020)
6388 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6389 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6390 #else
6391 # define ISLOWER(c) \
6392 (('a' <= (c) && (c) <= 'i') \
6393 || ('j' <= (c) && (c) <= 'r') \
6394 || ('s' <= (c) && (c) <= 'z'))
6395 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6396 #endif
6398 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6400 main ()
6402 int i;
6403 for (i = 0; i < 256; i++)
6404 if (XOR (islower (i), ISLOWER (i))
6405 || toupper (i) != TOUPPER (i))
6406 return 2;
6407 return 0;
6409 _ACEOF
6410 if ac_fn_c_try_run "$LINENO"; then :
6412 else
6413 ac_cv_header_stdc=no
6415 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6416 conftest.$ac_objext conftest.beam conftest.$ac_ext
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6422 $as_echo "$ac_cv_header_stdc" >&6; }
6423 if test $ac_cv_header_stdc = yes; then
6425 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6429 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6430 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6431 inttypes.h stdint.h unistd.h
6432 do :
6433 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6434 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6436 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6437 cat >>confdefs.h <<_ACEOF
6438 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6439 _ACEOF
6443 done
6446 for ac_header in \
6447 AL/al.h \
6448 ApplicationServices/ApplicationServices.h \
6449 AudioToolbox/AudioConverter.h \
6450 AudioUnit/AudioUnit.h \
6451 AudioUnit/AudioComponent.h \
6452 CL/cl.h \
6453 Carbon/Carbon.h \
6454 CoreAudio/CoreAudio.h \
6455 CoreServices/CoreServices.h \
6456 DiskArbitration/DiskArbitration.h \
6457 IOKit/IOKitLib.h \
6458 IOKit/hid/IOHIDLib.h \
6459 OpenAL/al.h \
6460 OpenCL/opencl.h \
6461 QuickTime/ImageCompression.h \
6462 Security/Security.h \
6463 alias.h \
6464 alsa/asoundlib.h \
6465 arpa/inet.h \
6466 arpa/nameser.h \
6467 asm/types.h \
6468 asm/user.h \
6469 curses.h \
6470 direct.h \
6471 dirent.h \
6472 dlfcn.h \
6473 elf.h \
6474 float.h \
6475 fnmatch.h \
6476 getopt.h \
6477 gettext-po.h \
6478 grp.h \
6479 gsm.h \
6480 gsm/gsm.h \
6481 ieeefp.h \
6482 inet/mib2.h \
6483 io.h \
6484 kstat.h \
6485 lber.h \
6486 ldap.h \
6487 libproc.h \
6488 link.h \
6489 linux/cdrom.h \
6490 linux/compiler.h \
6491 linux/filter.h \
6492 linux/hdreg.h \
6493 linux/input.h \
6494 linux/ioctl.h \
6495 linux/joystick.h \
6496 linux/major.h \
6497 linux/param.h \
6498 linux/serial.h \
6499 linux/types.h \
6500 linux/ucdrom.h \
6501 lwp.h \
6502 mach-o/nlist.h \
6503 mach-o/loader.h \
6504 mach/mach.h \
6505 mach/machine.h \
6506 machine/cpu.h \
6507 machine/limits.h \
6508 machine/sysarch.h \
6509 mntent.h \
6510 ncurses.h \
6511 netdb.h \
6512 netinet/in.h \
6513 netinet/in_systm.h \
6514 netinet/tcp.h \
6515 netinet/tcp_fsm.h \
6516 pcap/pcap.h \
6517 poll.h \
6518 port.h \
6519 process.h \
6520 pthread.h \
6521 pwd.h \
6522 sched.h \
6523 scsi/scsi.h \
6524 scsi/scsi_ioctl.h \
6525 scsi/sg.h \
6526 stdbool.h \
6527 stdint.h \
6528 stropts.h \
6529 sys/asoundlib.h \
6530 sys/attr.h \
6531 sys/cdio.h \
6532 sys/elf32.h \
6533 sys/epoll.h \
6534 sys/event.h \
6535 sys/exec_elf.h \
6536 sys/filio.h \
6537 sys/inotify.h \
6538 sys/ioctl.h \
6539 sys/ipc.h \
6540 sys/limits.h \
6541 sys/link.h \
6542 sys/mman.h \
6543 sys/modem.h \
6544 sys/msg.h \
6545 sys/mtio.h \
6546 sys/param.h \
6547 sys/poll.h \
6548 sys/prctl.h \
6549 sys/protosw.h \
6550 sys/ptrace.h \
6551 sys/queue.h \
6552 sys/resource.h \
6553 sys/scsiio.h \
6554 sys/shm.h \
6555 sys/signal.h \
6556 sys/socket.h \
6557 sys/socketvar.h \
6558 sys/sockio.h \
6559 sys/statvfs.h \
6560 sys/strtio.h \
6561 sys/syscall.h \
6562 sys/tihdr.h \
6563 sys/time.h \
6564 sys/timeout.h \
6565 sys/times.h \
6566 sys/uio.h \
6567 sys/user.h \
6568 sys/utsname.h \
6569 sys/vm86.h \
6570 sys/wait.h \
6571 syscall.h \
6572 termios.h \
6573 unistd.h \
6574 utime.h \
6575 valgrind/memcheck.h \
6576 valgrind/valgrind.h \
6577 zlib.h
6579 do :
6580 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6581 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6582 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6583 cat >>confdefs.h <<_ACEOF
6584 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6585 _ACEOF
6589 done
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6592 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6593 if ${ac_cv_header_stat_broken+:} false; then :
6594 $as_echo_n "(cached) " >&6
6595 else
6596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6597 /* end confdefs.h. */
6598 #include <sys/types.h>
6599 #include <sys/stat.h>
6601 #if defined S_ISBLK && defined S_IFDIR
6602 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6603 #endif
6605 #if defined S_ISBLK && defined S_IFCHR
6606 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6607 #endif
6609 #if defined S_ISLNK && defined S_IFREG
6610 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6611 #endif
6613 #if defined S_ISSOCK && defined S_IFREG
6614 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6615 #endif
6617 _ACEOF
6618 if ac_fn_c_try_compile "$LINENO"; then :
6619 ac_cv_header_stat_broken=no
6620 else
6621 ac_cv_header_stat_broken=yes
6623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6626 $as_echo "$ac_cv_header_stat_broken" >&6; }
6627 if test $ac_cv_header_stat_broken = yes; then
6629 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6635 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6636 do :
6637 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6638 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6639 #ifdef HAVE_SYS_PARAM_H
6640 # include <sys/param.h>
6641 #endif
6643 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6644 cat >>confdefs.h <<_ACEOF
6645 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6646 _ACEOF
6650 done
6653 for ac_header in \
6654 netinet/ip.h \
6655 net/if.h \
6656 net/if_arp.h \
6657 net/if_dl.h \
6658 net/if_types.h \
6659 net/route.h \
6660 netinet/if_ether.h \
6661 netinet/if_inarp.h \
6662 netinet/in_pcb.h \
6663 netinet/ip_icmp.h \
6664 netinet/ip_var.h \
6665 netinet/udp.h \
6666 netipx/ipx.h \
6667 sys/un.h \
6669 do :
6670 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6671 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6672 #ifdef HAVE_SYS_SOCKET_H
6673 # include <sys/socket.h>
6674 #endif
6675 #ifdef HAVE_SYS_SOCKETVAR_H
6676 # include <sys/socketvar.h>
6677 #endif
6678 #ifdef HAVE_NET_ROUTE_H
6679 # include <net/route.h>
6680 #endif
6681 #ifdef HAVE_NETINET_IN_H
6682 # include <netinet/in.h>
6683 #endif
6684 #ifdef HAVE_NETINET_IN_SYSTM_H
6685 # include <netinet/in_systm.h>
6686 #endif
6687 #ifdef HAVE_NET_IF_H
6688 # include <net/if.h>
6689 #endif
6690 #ifdef HAVE_NETINET_IP_H
6691 # include <netinet/ip.h>
6692 #endif
6694 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6695 cat >>confdefs.h <<_ACEOF
6696 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6697 _ACEOF
6701 done
6704 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6705 do :
6706 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6707 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6708 #ifdef HAVE_ALIAS_H
6709 # include <alias.h>
6710 #endif
6711 #ifdef HAVE_SYS_SOCKET_H
6712 # include <sys/socket.h>
6713 #endif
6714 #ifdef HAVE_SYS_SOCKETVAR_H
6715 # include <sys/socketvar.h>
6716 #endif
6717 #ifdef HAVE_SYS_TIMEOUT_H
6718 # include <sys/timeout.h>
6719 #endif
6720 #ifdef HAVE_NETINET_IN_H
6721 # include <netinet/in.h>
6722 #endif
6723 #ifdef HAVE_NETINET_IN_SYSTM_H
6724 # include <netinet/in_systm.h>
6725 #endif
6726 #ifdef HAVE_NETINET_IP_H
6727 # include <netinet/ip.h>
6728 #endif
6729 #ifdef HAVE_NETINET_IP_VAR_H
6730 # include <netinet/ip_var.h>
6731 #endif
6732 #ifdef HAVE_NETINET_IP_ICMP_H
6733 # include <netinet/ip_icmp.h>
6734 #endif
6735 #ifdef HAVE_NETINET_UDP_H
6736 # include <netinet/udp.h>
6737 #endif
6738 #ifdef HAVE_NETINET_TCP_H
6739 # include <netinet/tcp.h>
6740 #endif
6741 #ifdef HAVE_NETINET_TCP_TIMER_H
6742 #include <netinet/tcp_timer.h>
6743 #endif
6745 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6746 cat >>confdefs.h <<_ACEOF
6747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6748 _ACEOF
6752 done
6755 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6756 do :
6757 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6758 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6759 #ifdef HAVE_ASM_TYPES_H
6760 # include <asm/types.h>
6761 #endif
6762 #ifdef HAVE_SYS_SOCKET_H
6763 # include <sys/socket.h>
6764 #endif
6765 #ifdef HAVE_LINUX_TYPES_H
6766 # include <linux/types.h>
6767 #endif
6769 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6770 cat >>confdefs.h <<_ACEOF
6771 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6772 _ACEOF
6776 done
6779 for ac_header in mach-o/dyld_images.h
6780 do :
6781 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6782 # include <stdbool.h>
6783 #endif
6784 #ifdef HAVE_STDINT_H
6785 # include <stdint.h>
6786 #endif
6788 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6789 cat >>confdefs.h <<_ACEOF
6790 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6791 _ACEOF
6795 done
6798 for ac_header in resolv.h
6799 do :
6800 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6801 #ifdef HAVE_SYS_SOCKET_H
6802 # include <sys/socket.h>
6803 #endif
6804 #ifdef HAVE_NETINET_IN_H
6805 # include <netinet/in.h>
6806 #endif
6807 #ifdef HAVE_ARPA_NAMESER_H
6808 # include <arpa/nameser.h>
6809 #endif
6811 if test "x$ac_cv_header_resolv_h" = xyes; then :
6812 cat >>confdefs.h <<_ACEOF
6813 #define HAVE_RESOLV_H 1
6814 _ACEOF
6818 done
6821 for ac_header in ifaddrs.h
6822 do :
6823 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6825 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6826 cat >>confdefs.h <<_ACEOF
6827 #define HAVE_IFADDRS_H 1
6828 _ACEOF
6832 done
6835 for ac_header in sys/ucontext.h
6836 do :
6837 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6839 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6840 cat >>confdefs.h <<_ACEOF
6841 #define HAVE_SYS_UCONTEXT_H 1
6842 _ACEOF
6846 done
6849 for ac_header in sys/thr.h
6850 do :
6851 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6852 #ifdef HAVE_SYS_UCONTEXT_H
6853 #include <sys/ucontext.h>
6854 #endif
6856 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6857 cat >>confdefs.h <<_ACEOF
6858 #define HAVE_SYS_THR_H 1
6859 _ACEOF
6863 done
6866 for ac_header in pthread_np.h
6867 do :
6868 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6869 #include <pthread.h>
6870 #endif
6872 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6873 cat >>confdefs.h <<_ACEOF
6874 #define HAVE_PTHREAD_NP_H 1
6875 _ACEOF
6879 done
6882 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6883 do :
6884 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6885 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6886 #include <sys/time.h>
6887 #endif
6888 #include <sys/types.h>
6889 #ifdef HAVE_ASM_TYPES_H
6890 #include <asm/types.h>
6891 #endif
6893 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6894 cat >>confdefs.h <<_ACEOF
6895 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6896 _ACEOF
6900 done
6903 for ac_header in libprocstat.h
6904 do :
6905 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6906 #include <sys/param.h>
6907 #endif
6908 #ifdef HAVE_SYS_QUEUE_H
6909 #include <sys/queue.h>
6910 #endif
6911 #ifdef HAVE_SYS_SOCKET_H
6912 #include <sys/socket.h>
6913 #endif
6915 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6916 cat >>confdefs.h <<_ACEOF
6917 #define HAVE_LIBPROCSTAT_H 1
6918 _ACEOF
6922 done
6926 dlldir="\${libdir}/wine"
6928 DLLPREFIX=""
6930 DLLFLAGS="-D_REENTRANT"
6932 LDRPATH_INSTALL=""
6934 LDRPATH_LOCAL=""
6936 LIBEXT="so"
6937 DLLEXT=".so"
6938 IMPLIBEXT="def"
6939 STATIC_IMPLIBEXT="def.a"
6940 # Extract the first word of "ldd", so it can be a program name with args.
6941 set dummy ldd; ac_word=$2
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6943 $as_echo_n "checking for $ac_word... " >&6; }
6944 if ${ac_cv_path_LDD+:} false; then :
6945 $as_echo_n "(cached) " >&6
6946 else
6947 case $LDD in
6948 [\\/]* | ?:[\\/]*)
6949 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6953 as_dummy="/sbin:/usr/sbin:$PATH"
6954 for as_dir in $as_dummy
6956 IFS=$as_save_IFS
6957 test -z "$as_dir" && as_dir=.
6958 for ac_exec_ext in '' $ac_executable_extensions; do
6959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6960 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6962 break 2
6964 done
6965 done
6966 IFS=$as_save_IFS
6968 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6970 esac
6972 LDD=$ac_cv_path_LDD
6973 if test -n "$LDD"; then
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6975 $as_echo "$LDD" >&6; }
6976 else
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6978 $as_echo "no" >&6; }
6982 if test -n "$ac_tool_prefix"; then
6983 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6984 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6986 $as_echo_n "checking for $ac_word... " >&6; }
6987 if ${ac_cv_prog_READELF+:} false; then :
6988 $as_echo_n "(cached) " >&6
6989 else
6990 if test -n "$READELF"; then
6991 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6992 else
6993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6994 for as_dir in $PATH
6996 IFS=$as_save_IFS
6997 test -z "$as_dir" && as_dir=.
6998 for ac_exec_ext in '' $ac_executable_extensions; do
6999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7000 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7002 break 2
7004 done
7005 done
7006 IFS=$as_save_IFS
7010 READELF=$ac_cv_prog_READELF
7011 if test -n "$READELF"; then
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7013 $as_echo "$READELF" >&6; }
7014 else
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7016 $as_echo "no" >&6; }
7021 if test -z "$ac_cv_prog_READELF"; then
7022 ac_ct_READELF=$READELF
7023 # Extract the first word of "readelf", so it can be a program name with args.
7024 set dummy readelf; ac_word=$2
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7026 $as_echo_n "checking for $ac_word... " >&6; }
7027 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7028 $as_echo_n "(cached) " >&6
7029 else
7030 if test -n "$ac_ct_READELF"; then
7031 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7032 else
7033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7034 for as_dir in $PATH
7036 IFS=$as_save_IFS
7037 test -z "$as_dir" && as_dir=.
7038 for ac_exec_ext in '' $ac_executable_extensions; do
7039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7040 ac_cv_prog_ac_ct_READELF="readelf"
7041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7042 break 2
7044 done
7045 done
7046 IFS=$as_save_IFS
7050 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7051 if test -n "$ac_ct_READELF"; then
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7053 $as_echo "$ac_ct_READELF" >&6; }
7054 else
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7056 $as_echo "no" >&6; }
7059 if test "x$ac_ct_READELF" = x; then
7060 READELF="true"
7061 else
7062 case $cross_compiling:$ac_tool_warned in
7063 yes:)
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7066 ac_tool_warned=yes ;;
7067 esac
7068 READELF=$ac_ct_READELF
7070 else
7071 READELF="$ac_cv_prog_READELF"
7074 wine_rules_file=conf$$rules.make
7075 rm -f $wine_rules_file
7076 ALL_POT_FILES=""
7077 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7078 ALL_TEST_RESOURCES=""
7081 wine_fn_append_file ()
7083 as_fn_append $1 " \\$as_nl $2"
7086 wine_fn_ignore_file ()
7088 case "$1" in
7089 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7090 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7091 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7092 esac
7095 wine_fn_append_rule ()
7097 $as_echo "$1" >>$wine_rules_file
7100 wine_fn_has_flag ()
7102 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7105 wine_fn_depend_rules ()
7107 wine_fn_append_rule \
7108 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7109 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7110 depend: $ac_dir/depend
7111 .PHONY: $ac_dir/depend
7112 $ac_dir/depend: \$(MAKEDEP) dummy
7113 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7116 wine_fn_pot_rules ()
7118 test "x$with_gettextpo" = xyes || return
7120 if wine_fn_has_flag mc
7121 then
7122 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7123 wine_fn_append_rule \
7124 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7125 @cd $ac_dir && \$(MAKE) msg.pot
7126 $ac_dir/msg.pot: tools/wmc include"
7128 if wine_fn_has_flag po
7129 then
7130 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7131 wine_fn_append_rule \
7132 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7133 @cd $ac_dir && \$(MAKE) rsrc.pot
7134 $ac_dir/rsrc.pot: tools/wrc include"
7138 wine_fn_all_rules ()
7140 wine_fn_depend_rules
7141 wine_fn_append_rule \
7142 "all: $ac_dir
7143 .PHONY: $ac_dir
7144 $ac_dir: $ac_dir/Makefile dummy
7145 @cd $ac_dir && \$(MAKE)"
7148 wine_fn_install_rules ()
7150 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7152 wine_fn_append_rule \
7153 ".PHONY: $ac_dir/install $ac_dir/uninstall
7154 $ac_dir/install:: $ac_dir
7155 @cd $ac_dir && \$(MAKE) install
7156 $ac_dir/uninstall:: $ac_dir/Makefile
7157 @cd $ac_dir && \$(MAKE) uninstall
7158 install:: $ac_dir/install
7159 __uninstall__: $ac_dir/uninstall"
7161 if wine_fn_has_flag install-lib
7162 then
7163 wine_fn_append_rule \
7164 ".PHONY: $ac_dir/install-lib
7165 $ac_dir/install-lib:: $ac_dir
7166 @cd $ac_dir && \$(MAKE) install-lib
7167 install-lib:: $ac_dir/install-lib"
7170 if wine_fn_has_flag install-dev
7171 then
7172 wine_fn_append_rule \
7173 ".PHONY: $ac_dir/install-dev
7174 $ac_dir/install-dev:: $ac_dir
7175 @cd $ac_dir && \$(MAKE) install-dev
7176 install-dev:: $ac_dir/install-dev"
7180 wine_fn_clean_rules ()
7182 ac_clean=$@
7183 ac_extraclean="$ac_dir/Makefile"
7184 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7185 case $ac_dir in
7186 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7187 esac
7189 if wine_fn_has_flag clean
7190 then
7191 wine_fn_append_rule \
7192 "__clean__: $ac_dir/clean
7193 .PHONY: $ac_dir/clean
7194 $ac_dir/clean: $ac_dir/Makefile
7195 @cd $ac_dir && \$(MAKE) clean
7196 \$(RM) $ac_extraclean"
7197 else
7198 wine_fn_append_rule \
7199 "__clean__: $ac_dir/clean
7200 .PHONY: $ac_dir/clean
7201 $ac_dir/clean: dummy
7202 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7206 wine_fn_disabled_rules ()
7208 ac_clean=$@
7209 ac_extraclean="$ac_dir/Makefile"
7210 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7212 wine_fn_append_rule \
7213 "__clean__: $ac_dir/clean
7214 .PHONY: $ac_dir/clean
7215 $ac_dir/clean: dummy
7216 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7219 wine_fn_config_makefile ()
7221 ac_dir=$1
7222 ac_enable=$2
7223 ac_flags=$3
7225 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7226 wine_fn_disabled_rules; return
7228 wine_fn_all_rules
7229 wine_fn_install_rules
7230 wine_fn_clean_rules
7233 wine_fn_config_lib ()
7235 ac_name=$1
7236 ac_flags=$2
7237 ac_dir=dlls/$ac_name
7238 ac_deps="include"
7240 if test "x$enable_tools" = xno; then :
7242 else
7243 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7245 wine_fn_all_rules
7246 wine_fn_clean_rules
7248 wine_fn_append_rule \
7249 ".PHONY: $ac_dir/install $ac_dir/uninstall
7250 $ac_dir/install:: $ac_dir
7251 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7252 $ac_dir/uninstall::
7253 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7254 install install-dev:: $ac_dir/install
7255 __uninstall__: $ac_dir/uninstall
7256 __builddeps__: $ac_dir
7257 $ac_dir: $ac_deps"
7260 wine_fn_config_dll ()
7262 ac_name=$1
7263 ac_dir=dlls/$ac_name
7264 ac_enable=$2
7265 ac_flags=$3
7266 ac_implib=${4:-$ac_name}
7267 ac_file=$ac_dir/lib$ac_implib
7268 ac_dll=$ac_name
7269 ac_deps="include"
7270 ac_implibflags=""
7272 if test "x$enable_tools" = xno; then :
7274 else
7275 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7277 case $ac_name in
7278 *16) ac_implibflags=" -m16" ;;
7279 *.*) ;;
7280 *) ac_dll=$ac_dll.dll ;;
7281 esac
7283 ac_clean=
7284 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7285 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7286 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7287 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7289 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7290 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7291 then
7292 wine_fn_depend_rules
7293 wine_fn_clean_rules $ac_clean
7294 else
7295 wine_fn_disabled_rules $ac_clean
7296 return
7298 else
7299 wine_fn_all_rules
7300 wine_fn_clean_rules $ac_clean
7301 wine_fn_append_rule \
7302 "$ac_dir: __builddeps__
7303 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7304 @cd $ac_dir && \$(MAKE) \$@
7305 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7306 install install-lib:: $ac_dir/install-lib
7307 __uninstall__: $ac_dir/uninstall"
7308 if test -n "$DLLEXT"
7309 then
7310 wine_fn_append_rule \
7311 "$ac_dir/install-lib:: $ac_dir
7312 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7313 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7314 $ac_dir/uninstall::
7315 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7316 else
7317 wine_fn_append_rule \
7318 "$ac_dir/install-lib:: $ac_dir
7319 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7320 $ac_dir/uninstall::
7321 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7324 wine_fn_pot_rules
7327 if wine_fn_has_flag staticimplib
7328 then
7329 wine_fn_append_rule \
7330 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7331 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7332 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7333 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7334 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7335 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7336 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7337 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7338 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7339 $ac_dir/uninstall::
7340 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7341 install install-dev:: $ac_dir/install-dev
7342 __uninstall__: $ac_dir/uninstall"
7344 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7345 then
7346 wine_fn_append_rule \
7347 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7348 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7349 $ac_dir/uninstall::
7350 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7353 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7354 then
7355 wine_fn_append_rule \
7356 "__builddeps__: $ac_file.cross.a
7357 $ac_file.cross.a: $ac_dir/Makefile dummy
7358 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7361 elif wine_fn_has_flag implib
7362 then
7363 wine_fn_append_rule \
7364 "__builddeps__: $ac_file.$IMPLIBEXT
7365 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7366 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7367 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7368 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7369 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7370 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7371 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7372 $ac_dir/uninstall::
7373 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7374 install install-dev:: $ac_dir/install-dev
7375 __uninstall__: $ac_dir/uninstall"
7376 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7377 then
7378 wine_fn_append_rule \
7379 "__builddeps__: $ac_file.cross.a
7380 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7381 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7384 if test "$ac_name" != "$ac_implib"
7385 then
7386 wine_fn_append_rule \
7387 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7388 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7389 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7390 clean::
7391 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7392 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7393 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7394 then
7395 wine_fn_append_rule \
7396 "__builddeps__: dlls/lib$ac_implib.cross.a
7397 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7398 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7399 clean::
7400 \$(RM) dlls/lib$ac_implib.cross.a"
7401 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7407 wine_fn_config_program ()
7409 ac_name=$1
7410 ac_dir=programs/$ac_name
7411 ac_enable=$2
7412 ac_flags=$3
7413 ac_program=$ac_name
7415 case $ac_name in
7416 *.*) ;;
7417 *) ac_program=$ac_program.exe ;;
7418 esac
7420 ac_clean=
7421 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7422 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7423 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7424 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7426 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7427 wine_fn_disabled_rules $ac_clean; return
7430 wine_fn_all_rules
7431 wine_fn_clean_rules $ac_clean
7432 wine_fn_append_rule "$ac_dir: __builddeps__"
7433 wine_fn_pot_rules
7435 wine_fn_has_flag install || return
7436 wine_fn_append_rule \
7437 ".PHONY: $ac_dir/install $ac_dir/uninstall
7438 install install-lib:: $ac_dir/install
7439 __uninstall__: $ac_dir/uninstall"
7441 if test -n "$DLLEXT"
7442 then
7443 wine_fn_append_rule \
7444 "$ac_dir/install:: $ac_dir
7445 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7446 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7447 $ac_dir/uninstall::
7448 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7450 if test -z "$with_wine64" && wine_fn_has_flag installbin
7451 then
7452 wine_fn_append_rule \
7453 "$ac_dir/install:: __tooldeps__
7454 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7455 $ac_dir/uninstall::
7456 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7458 else
7459 wine_fn_append_rule \
7460 "$ac_dir/install:: $ac_dir
7461 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7462 $ac_dir/uninstall::
7463 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7466 if test -z "$with_wine64" && wine_fn_has_flag manpage
7467 then
7468 wine_fn_append_rule \
7469 "$ac_dir/install:: $ac_dir
7470 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7471 $ac_dir/uninstall::
7472 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7476 wine_fn_config_test ()
7478 ac_dir=$1
7479 ac_name=$2
7480 ac_flags=$3
7482 ac_clean=
7483 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7484 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7486 if test "x$enable_tests" = xno; then :
7487 wine_fn_disabled_rules $ac_clean; return
7490 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7491 wine_fn_all_rules
7492 wine_fn_clean_rules $ac_clean
7494 wine_fn_append_rule \
7495 "$ac_dir: programs/winetest/Makefile __builddeps__
7496 programs/winetest: $ac_dir
7497 check test: $ac_dir/test
7498 .PHONY: $ac_dir/test
7499 $ac_dir/test: dummy
7500 @cd $ac_dir && \$(MAKE) test
7501 testclean::
7502 \$(RM) $ac_dir/*.ok"
7504 if test -n "$CROSSTARGET"
7505 then
7506 wine_fn_append_rule \
7507 "crosstest: $ac_dir/crosstest
7508 .PHONY: $ac_dir/crosstest
7509 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7510 @cd $ac_dir && \$(MAKE) crosstest"
7514 wine_fn_config_tool ()
7516 ac_dir=$1
7517 ac_flags=$2
7518 if test "x$enable_tools" = xno; then :
7519 return
7522 wine_fn_all_rules
7523 wine_fn_install_rules
7524 wine_fn_clean_rules
7526 wine_fn_append_rule "__tooldeps__: $ac_dir"
7527 wine_fn_append_rule "$ac_dir: libs/port"
7528 case $ac_dir in
7529 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7530 esac
7533 wine_fn_config_symlink ()
7535 ac_linkdir=
7536 if test "x$1" = "x-d"
7537 then
7538 ac_linkdir=$2
7539 shift; shift
7541 ac_links=$@
7542 wine_fn_append_rule \
7543 "$ac_links:
7544 @./config.status \$@
7545 distclean::
7546 \$(RM) $ac_links"
7547 for f in $ac_links; do wine_fn_ignore_file $f; done
7548 test -n "$ac_linkdir" || return
7549 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7552 wine_binary="wine"
7553 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7554 loader_programs="$wine_binary wine-installed"
7555 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7557 LOADER_RULES="
7558 all: wine.inf
7560 install install-lib:: wine-installed
7561 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7563 uninstall::
7564 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7568 case $host_os in
7569 cygwin*|mingw32*)
7570 if test -n "$ac_tool_prefix"; then
7571 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7572 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if ${ac_cv_prog_DLLTOOL+:} false; then :
7576 $as_echo_n "(cached) " >&6
7577 else
7578 if test -n "$DLLTOOL"; then
7579 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7580 else
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 for as_dir in $PATH
7584 IFS=$as_save_IFS
7585 test -z "$as_dir" && as_dir=.
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7588 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 break 2
7592 done
7593 done
7594 IFS=$as_save_IFS
7598 DLLTOOL=$ac_cv_prog_DLLTOOL
7599 if test -n "$DLLTOOL"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7601 $as_echo "$DLLTOOL" >&6; }
7602 else
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7609 if test -z "$ac_cv_prog_DLLTOOL"; then
7610 ac_ct_DLLTOOL=$DLLTOOL
7611 # Extract the first word of "dlltool", so it can be a program name with args.
7612 set dummy dlltool; ac_word=$2
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7614 $as_echo_n "checking for $ac_word... " >&6; }
7615 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7616 $as_echo_n "(cached) " >&6
7617 else
7618 if test -n "$ac_ct_DLLTOOL"; then
7619 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7620 else
7621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7622 for as_dir in $PATH
7624 IFS=$as_save_IFS
7625 test -z "$as_dir" && as_dir=.
7626 for ac_exec_ext in '' $ac_executable_extensions; do
7627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7628 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7630 break 2
7632 done
7633 done
7634 IFS=$as_save_IFS
7638 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7639 if test -n "$ac_ct_DLLTOOL"; then
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7641 $as_echo "$ac_ct_DLLTOOL" >&6; }
7642 else
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7644 $as_echo "no" >&6; }
7647 if test "x$ac_ct_DLLTOOL" = x; then
7648 DLLTOOL="false"
7649 else
7650 case $cross_compiling:$ac_tool_warned in
7651 yes:)
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7654 ac_tool_warned=yes ;;
7655 esac
7656 DLLTOOL=$ac_ct_DLLTOOL
7658 else
7659 DLLTOOL="$ac_cv_prog_DLLTOOL"
7662 LIBEXT="dll"
7663 DLLEXT=""
7664 IMPLIBEXT="a"
7665 STATIC_IMPLIBEXT="a"
7666 enable_iphlpapi=${enable_iphlpapi:-no}
7667 enable_kernel32=${enable_kernel32:-no}
7668 enable_msvcrt=${enable_msvcrt:-no}
7669 enable_ntdll=${enable_ntdll:-no}
7670 enable_ws2_32=${enable_ws2_32:-no}
7671 enable_loader=${enable_loader:-no}
7672 enable_server=${enable_server:-no}
7673 with_x=${with_x:-no}
7674 with_pthread=${with_pthread:-no}
7676 crtlibs=""
7677 case $host_os in
7678 mingw32*)
7679 crtlibs="-lmsvcrt"
7680 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7682 esac
7684 libwine_targets="libwine.dll libwine.a"
7685 LIBWINE_RULES="
7686 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7688 all: libwine.dll libwine.a
7690 libwine.a: \$(srcdir)/wine.def
7691 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7693 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7694 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7696 install install-lib:: libwine.dll
7697 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7699 install install-dev:: libwine.a
7700 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7702 uninstall::
7703 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7708 darwin*|macosx*)
7709 LIBEXT="dylib"
7710 DLLFLAGS="$DLLFLAGS -fPIC"
7711 LIBWINE_LDFLAGS="-multiply_defined suppress"
7712 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7713 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7714 COREFOUNDATION_LIBS="-framework CoreFoundation"
7716 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7718 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7720 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7722 CORESERVICES_LIBS="-framework CoreServices"
7724 APPKIT_LIBS="-framework AppKit"
7726 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7728 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7729 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7730 $as_echo_n "(cached) " >&6
7731 else
7732 ac_wine_try_cflags_saved=$CFLAGS
7733 CFLAGS="$CFLAGS -Wl,-no_pie"
7734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7735 /* end confdefs.h. */
7736 int main(int argc, char **argv) { return 0; }
7737 _ACEOF
7738 if ac_fn_c_try_link "$LINENO"; then :
7739 ac_cv_cflags__Wl__no_pie=yes
7740 else
7741 ac_cv_cflags__Wl__no_pie=no
7743 rm -f core conftest.err conftest.$ac_objext \
7744 conftest$ac_exeext conftest.$ac_ext
7745 CFLAGS=$ac_wine_try_cflags_saved
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7748 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7749 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7750 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7752 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7753 then
7754 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7757 if test "$ac_cv_header_Security_Security_h" = "yes"
7758 then
7759 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7761 ac_save_LIBS="$LIBS"
7762 LIBS="$LIBS $SECURITY_LIBS"
7763 for ac_func in SSLCopyPeerCertificates
7764 do :
7765 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7766 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7767 cat >>confdefs.h <<_ACEOF
7768 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7769 _ACEOF
7772 done
7774 LIBS="$ac_save_LIBS"
7775 with_gnutls=${with_gnutls:-no}
7777 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7778 then
7779 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7780 then
7781 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7783 else
7784 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7787 ac_save_LIBS="$LIBS"
7788 LIBS="$LIBS $COREAUDIO_LIBS"
7789 for ac_func in AUGraphAddNode
7790 do :
7791 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7792 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7793 cat >>confdefs.h <<_ACEOF
7794 #define HAVE_AUGRAPHADDNODE 1
7795 _ACEOF
7798 done
7800 LIBS="$ac_save_LIBS"
7802 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7803 then
7804 OPENAL_LIBS="-framework OpenAL"
7807 cat >>confdefs.h <<_ACEOF
7808 #define HAVE_OPENAL 1
7809 _ACEOF
7811 ac_cv_lib_openal=yes
7813 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7814 then
7815 OPENCL_LIBS="-framework OpenCL"
7817 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7819 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7820 then
7821 ac_save_LIBS="$LIBS"
7822 LIBS="$LIBS $IOKIT_LIBS"
7823 for ac_func in IOHIDManagerCreate
7824 do :
7825 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7826 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7827 cat >>confdefs.h <<_ACEOF
7828 #define HAVE_IOHIDMANAGERCREATE 1
7829 _ACEOF
7832 done
7834 LIBS="$ac_save_LIBS"
7836 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7837 then
7838 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7840 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7841 else
7842 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7844 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7845 then
7846 CARBON_LIBS="-framework Carbon"
7850 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7851 then
7852 ac_save_LIBS="$LIBS"
7853 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7854 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7855 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7856 enable_winemac_drv=${enable_winemac_drv:-yes}
7859 LIBS="$ac_save_LIBS"
7862 if test "x$enable_win16" = "xyes"
7863 then
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7865 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7866 if test "$cross_compiling" = yes; then :
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7868 $as_echo "cross-compiling, assuming yes" >&6; }
7869 else
7870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7871 /* end confdefs.h. */
7872 asm(".text\n"
7873 "bad:\tnop;nop\n"
7874 "good:\tnop;nop\n\t"
7875 ".globl _testfunc\n"
7876 "_testfunc:\tcallw good");
7877 extern void testfunc();
7879 main ()
7881 unsigned short *p = (unsigned short *)testfunc;
7882 return p[0] != 0xe866 || p[1] != 0xfffa
7884 return 0;
7886 _ACEOF
7887 if ac_fn_c_try_run "$LINENO"; then :
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7889 $as_echo "yes" >&6; }
7890 else
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7892 $as_echo "no" >&6; }
7893 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
7895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7896 conftest.$ac_objext conftest.beam conftest.$ac_ext
7901 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7902 LIBWINE_RULES="
7903 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7905 all: libwine.dylib
7907 libwine.$libwine_version.dylib: \$(OBJS)
7908 \$(CC) -dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7910 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7911 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7913 libwine.dylib: libwine.$libwine_soversion.dylib
7914 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7916 install install-lib:: libwine.$libwine_version.dylib
7917 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7918 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7920 install install-dev::
7921 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7923 uninstall::
7924 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7928 as_fn_append LOADER_RULES "
7929 $wine_binary: main.o wine_info.plist
7930 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7932 wine-installed: main.o wine_info.plist
7933 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7937 linux-android*)
7938 DLLFLAGS="$DLLFLAGS -fPIC"
7939 DLLPREFIX="lib"
7940 LDEXECFLAGS=""
7941 dlldir="\${libdir}"
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7943 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7944 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7945 $as_echo_n "(cached) " >&6
7946 else
7947 ac_wine_try_cflags_saved=$CFLAGS
7948 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7950 /* end confdefs.h. */
7951 int main(int argc, char **argv) { return 0; }
7952 _ACEOF
7953 if ac_fn_c_try_link "$LINENO"; then :
7954 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7955 else
7956 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7958 rm -f core conftest.err conftest.$ac_objext \
7959 conftest$ac_exeext conftest.$ac_ext
7960 CFLAGS=$ac_wine_try_cflags_saved
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7963 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7964 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7965 LDEXECFLAGS="-Wl,--export-dynamic"
7967 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7969 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7970 if eval \${$as_ac_var+:} false; then :
7971 $as_echo_n "(cached) " >&6
7972 else
7973 ac_wine_try_cflags_saved=$CFLAGS
7974 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7976 /* end confdefs.h. */
7977 int main(int argc, char **argv) { return 0; }
7978 _ACEOF
7979 if ac_fn_c_try_link "$LINENO"; then :
7980 eval "$as_ac_var=yes"
7981 else
7982 eval "$as_ac_var=no"
7984 rm -f core conftest.err conftest.$ac_objext \
7985 conftest$ac_exeext conftest.$ac_ext
7986 CFLAGS=$ac_wine_try_cflags_saved
7988 eval ac_res=\$$as_ac_var
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7990 $as_echo "$ac_res" >&6; }
7991 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7992 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7993 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7994 else
7995 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7997 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7998 if eval \${$as_ac_var+:} false; then :
7999 $as_echo_n "(cached) " >&6
8000 else
8001 ac_wine_try_cflags_saved=$CFLAGS
8002 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8004 /* end confdefs.h. */
8005 int main(int argc, char **argv) { return 0; }
8006 _ACEOF
8007 if ac_fn_c_try_link "$LINENO"; then :
8008 eval "$as_ac_var=yes"
8009 else
8010 eval "$as_ac_var=no"
8012 rm -f core conftest.err conftest.$ac_objext \
8013 conftest$ac_exeext conftest.$ac_ext
8014 CFLAGS=$ac_wine_try_cflags_saved
8016 eval ac_res=\$$as_ac_var
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8018 $as_echo "$ac_res" >&6; }
8019 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8020 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8021 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8026 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8027 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8028 $as_echo_n "(cached) " >&6
8029 else
8030 ac_wine_try_cflags_saved=$CFLAGS
8031 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8033 /* end confdefs.h. */
8034 int main(int argc, char **argv) { return 0; }
8035 _ACEOF
8036 if ac_fn_c_try_link "$LINENO"; then :
8037 ac_cv_cflags__Wl___enable_new_dtags=yes
8038 else
8039 ac_cv_cflags__Wl___enable_new_dtags=no
8041 rm -f core conftest.err conftest.$ac_objext \
8042 conftest$ac_exeext conftest.$ac_ext
8043 CFLAGS=$ac_wine_try_cflags_saved
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8046 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8047 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8048 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8051 case $host_cpu in
8052 *i[3456789]86* | x86_64)
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8054 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8055 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8056 $as_echo_n "(cached) " >&6
8057 else
8058 ac_wine_try_cflags_saved=$CFLAGS
8059 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8061 /* end confdefs.h. */
8062 int main(int argc, char **argv) { return 0; }
8063 _ACEOF
8064 if ac_fn_c_try_link "$LINENO"; then :
8065 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8066 else
8067 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8069 rm -f core conftest.err conftest.$ac_objext \
8070 conftest$ac_exeext conftest.$ac_ext
8071 CFLAGS=$ac_wine_try_cflags_saved
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8074 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8075 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8076 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8079 esac
8081 libwine_targets="libwine.so"
8082 LIBWINE_RULES="
8083 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8085 all: libwine.so
8087 libwine.so: \$(OBJS)
8088 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8090 install install-lib:: libwine.so
8091 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8093 uninstall::
8094 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8098 as_fn_append LOADER_RULES "
8099 $wine_binary: main.o
8100 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8102 wine-installed: main.o
8103 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8108 DLLFLAGS="$DLLFLAGS -fPIC"
8109 LDEXECFLAGS=""
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8111 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8112 if ${ac_cv_c_dll_gnuelf+:} false; then :
8113 $as_echo_n "(cached) " >&6
8114 else
8115 ac_wine_try_cflags_saved=$CFLAGS
8116 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8118 /* end confdefs.h. */
8119 void myfunc() {}
8120 _ACEOF
8121 if ac_fn_c_try_link "$LINENO"; then :
8122 ac_cv_c_dll_gnuelf="yes"
8123 else
8124 ac_cv_c_dll_gnuelf="no"
8126 rm -f core conftest.err conftest.$ac_objext \
8127 conftest$ac_exeext conftest.$ac_ext
8128 CFLAGS=$ac_wine_try_cflags_saved
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8131 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8132 if test "$ac_cv_c_dll_gnuelf" = "yes"
8133 then
8134 LDSHARED="\$(CC) -shared"
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8136 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8137 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8138 $as_echo_n "(cached) " >&6
8139 else
8140 ac_wine_try_cflags_saved=$CFLAGS
8141 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8143 /* end confdefs.h. */
8144 int main(int argc, char **argv) { return 0; }
8145 _ACEOF
8146 if ac_fn_c_try_link "$LINENO"; then :
8147 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8148 else
8149 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8151 rm -f core conftest.err conftest.$ac_objext \
8152 conftest$ac_exeext conftest.$ac_ext
8153 CFLAGS=$ac_wine_try_cflags_saved
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8156 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8157 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8158 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8159 else
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8161 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8162 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8163 $as_echo_n "(cached) " >&6
8164 else
8165 ac_wine_try_cflags_saved=$CFLAGS
8166 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8168 /* end confdefs.h. */
8169 int main(int argc, char **argv) { return 0; }
8170 _ACEOF
8171 if ac_fn_c_try_link "$LINENO"; then :
8172 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8173 else
8174 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8176 rm -f core conftest.err conftest.$ac_objext \
8177 conftest$ac_exeext conftest.$ac_ext
8178 CFLAGS=$ac_wine_try_cflags_saved
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8181 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8182 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8183 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8187 echo '{ global: *; };' >conftest.map
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8189 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8190 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8191 $as_echo_n "(cached) " >&6
8192 else
8193 ac_wine_try_cflags_saved=$CFLAGS
8194 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8196 /* end confdefs.h. */
8197 int main(int argc, char **argv) { return 0; }
8198 _ACEOF
8199 if ac_fn_c_try_link "$LINENO"; then :
8200 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8201 else
8202 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8204 rm -f core conftest.err conftest.$ac_objext \
8205 conftest$ac_exeext conftest.$ac_ext
8206 CFLAGS=$ac_wine_try_cflags_saved
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8209 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8210 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8211 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8213 rm -f conftest.map
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8216 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8217 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8218 $as_echo_n "(cached) " >&6
8219 else
8220 ac_wine_try_cflags_saved=$CFLAGS
8221 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8223 /* end confdefs.h. */
8224 int main(int argc, char **argv) { return 0; }
8225 _ACEOF
8226 if ac_fn_c_try_link "$LINENO"; then :
8227 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8228 else
8229 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8231 rm -f core conftest.err conftest.$ac_objext \
8232 conftest$ac_exeext conftest.$ac_ext
8233 CFLAGS=$ac_wine_try_cflags_saved
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8236 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8237 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8238 LDEXECFLAGS="-Wl,--export-dynamic"
8241 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8243 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8244 if eval \${$as_ac_var+:} false; then :
8245 $as_echo_n "(cached) " >&6
8246 else
8247 ac_wine_try_cflags_saved=$CFLAGS
8248 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8250 /* end confdefs.h. */
8251 int main(int argc, char **argv) { return 0; }
8252 _ACEOF
8253 if ac_fn_c_try_link "$LINENO"; then :
8254 eval "$as_ac_var=yes"
8255 else
8256 eval "$as_ac_var=no"
8258 rm -f core conftest.err conftest.$ac_objext \
8259 conftest$ac_exeext conftest.$ac_ext
8260 CFLAGS=$ac_wine_try_cflags_saved
8262 eval ac_res=\$$as_ac_var
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8264 $as_echo "$ac_res" >&6; }
8265 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8266 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8267 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8268 else
8269 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8271 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8272 if eval \${$as_ac_var+:} false; then :
8273 $as_echo_n "(cached) " >&6
8274 else
8275 ac_wine_try_cflags_saved=$CFLAGS
8276 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8278 /* end confdefs.h. */
8279 int main(int argc, char **argv) { return 0; }
8280 _ACEOF
8281 if ac_fn_c_try_link "$LINENO"; then :
8282 eval "$as_ac_var=yes"
8283 else
8284 eval "$as_ac_var=no"
8286 rm -f core conftest.err conftest.$ac_objext \
8287 conftest$ac_exeext conftest.$ac_ext
8288 CFLAGS=$ac_wine_try_cflags_saved
8290 eval ac_res=\$$as_ac_var
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8292 $as_echo "$ac_res" >&6; }
8293 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8294 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8295 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8300 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8301 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8302 $as_echo_n "(cached) " >&6
8303 else
8304 ac_wine_try_cflags_saved=$CFLAGS
8305 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8307 /* end confdefs.h. */
8308 int main(int argc, char **argv) { return 0; }
8309 _ACEOF
8310 if ac_fn_c_try_link "$LINENO"; then :
8311 ac_cv_cflags__Wl___enable_new_dtags=yes
8312 else
8313 ac_cv_cflags__Wl___enable_new_dtags=no
8315 rm -f core conftest.err conftest.$ac_objext \
8316 conftest$ac_exeext conftest.$ac_ext
8317 CFLAGS=$ac_wine_try_cflags_saved
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8320 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8321 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8322 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8325 case $host_cpu in
8326 *i[3456789]86* | x86_64)
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8328 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8329 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8330 $as_echo_n "(cached) " >&6
8331 else
8332 ac_wine_try_cflags_saved=$CFLAGS
8333 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8335 /* end confdefs.h. */
8336 int main(int argc, char **argv) { return 0; }
8337 _ACEOF
8338 if ac_fn_c_try_link "$LINENO"; then :
8339 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8340 else
8341 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8343 rm -f core conftest.err conftest.$ac_objext \
8344 conftest$ac_exeext conftest.$ac_ext
8345 CFLAGS=$ac_wine_try_cflags_saved
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8348 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8349 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8350 case $host_os in
8351 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8352 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8353 esac
8356 # Extract the first word of "prelink", so it can be a program name with args.
8357 set dummy prelink; ac_word=$2
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8359 $as_echo_n "checking for $ac_word... " >&6; }
8360 if ${ac_cv_path_PRELINK+:} false; then :
8361 $as_echo_n "(cached) " >&6
8362 else
8363 case $PRELINK in
8364 [\\/]* | ?:[\\/]*)
8365 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8369 for as_dir in /sbin /usr/sbin $PATH
8371 IFS=$as_save_IFS
8372 test -z "$as_dir" && as_dir=.
8373 for ac_exec_ext in '' $ac_executable_extensions; do
8374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8375 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8377 break 2
8379 done
8380 done
8381 IFS=$as_save_IFS
8383 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8385 esac
8387 PRELINK=$ac_cv_path_PRELINK
8388 if test -n "$PRELINK"; then
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8390 $as_echo "$PRELINK" >&6; }
8391 else
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8393 $as_echo "no" >&6; }
8397 if test "x$PRELINK" = xfalse
8398 then
8399 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8402 esac
8404 else
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8406 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8407 if ${ac_cv_c_dll_unixware+:} false; then :
8408 $as_echo_n "(cached) " >&6
8409 else
8410 ac_wine_try_cflags_saved=$CFLAGS
8411 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8413 /* end confdefs.h. */
8414 void myfunc() {}
8415 _ACEOF
8416 if ac_fn_c_try_link "$LINENO"; then :
8417 ac_cv_c_dll_unixware="yes"
8418 else
8419 ac_cv_c_dll_unixware="no"
8421 rm -f core conftest.err conftest.$ac_objext \
8422 conftest$ac_exeext conftest.$ac_ext
8423 CFLAGS=$ac_wine_try_cflags_saved
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8426 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8427 if test "$ac_cv_c_dll_unixware" = "yes"
8428 then
8429 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8432 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8433 LIBWINE_RULES="
8434 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8436 all: libwine.so
8438 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8439 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8441 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8442 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8444 libwine.so: libwine.so.$libwine_soversion
8445 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8447 install install-lib:: libwine.so.$libwine_version
8448 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8449 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8451 install install-dev::
8452 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8454 uninstall::
8455 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8459 as_fn_append LOADER_RULES "
8460 $wine_binary: main.o
8461 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8463 wine-installed: main.o
8464 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8467 esac
8469 as_fn_append LIBWINE_RULES "
8470 EXTRA_TARGETS = $libwine_targets
8473 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8474 enable_winemac_drv=${enable_winemac_drv:-no}
8476 CROSSTARGET=""
8478 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8479 then
8480 case "$host_cpu" in
8481 i[3456789]86*)
8482 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
8483 mingw32-gcc" ;;
8484 x86_64)
8485 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 " ;;
8487 ac_prefix_list="" ;;
8488 esac
8489 for ac_prog in $ac_prefix_list
8491 # Extract the first word of "$ac_prog", so it can be a program name with args.
8492 set dummy $ac_prog; ac_word=$2
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8494 $as_echo_n "checking for $ac_word... " >&6; }
8495 if ${ac_cv_prog_CROSSCC+:} false; then :
8496 $as_echo_n "(cached) " >&6
8497 else
8498 if test -n "$CROSSCC"; then
8499 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8500 else
8501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8502 for as_dir in $PATH
8504 IFS=$as_save_IFS
8505 test -z "$as_dir" && as_dir=.
8506 for ac_exec_ext in '' $ac_executable_extensions; do
8507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8508 ac_cv_prog_CROSSCC="$ac_prog"
8509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8510 break 2
8512 done
8513 done
8514 IFS=$as_save_IFS
8518 CROSSCC=$ac_cv_prog_CROSSCC
8519 if test -n "$CROSSCC"; then
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8521 $as_echo "$CROSSCC" >&6; }
8522 else
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8524 $as_echo "no" >&6; }
8528 test -n "$CROSSCC" && break
8529 done
8530 test -n "$CROSSCC" || CROSSCC="false"
8532 if test "$CROSSCC" != "false"
8533 then
8534 ac_save_CC="$CC"
8535 CC="$CROSSCC"
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8537 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8542 main ()
8546 return 0;
8548 _ACEOF
8549 if ac_fn_c_try_compile "$LINENO"; then :
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8551 $as_echo "yes" >&6; }
8552 set x $CROSSCC
8553 shift
8554 while test $# -ge 1
8556 case "$1" in
8557 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8558 esac
8559 shift
8560 done
8561 else
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8563 $as_echo "no" >&6; }
8565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8566 CC="$ac_save_CC"
8571 if test "$ac_cv_header_pthread_h" = "yes"
8572 then
8573 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8574 if test "x$ac_cv_func_pthread_create" = xyes; then :
8576 else
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8578 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8579 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8580 $as_echo_n "(cached) " >&6
8581 else
8582 ac_check_lib_save_LIBS=$LIBS
8583 LIBS="-lpthread $LIBS"
8584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8585 /* end confdefs.h. */
8587 /* Override any GCC internal prototype to avoid an error.
8588 Use char because int might match the return type of a GCC
8589 builtin and then its argument prototype would still apply. */
8590 #ifdef __cplusplus
8591 extern "C"
8592 #endif
8593 char pthread_create ();
8595 main ()
8597 return pthread_create ();
8599 return 0;
8601 _ACEOF
8602 if ac_fn_c_try_link "$LINENO"; then :
8603 ac_cv_lib_pthread_pthread_create=yes
8604 else
8605 ac_cv_lib_pthread_pthread_create=no
8607 rm -f core conftest.err conftest.$ac_objext \
8608 conftest$ac_exeext conftest.$ac_ext
8609 LIBS=$ac_check_lib_save_LIBS
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8612 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8613 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8614 PTHREAD_LIBS="-lpthread"
8621 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8622 case "x$with_pthread" in
8623 xno) ;;
8624 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8625 Wine cannot support threads without libpthread.
8626 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8627 esac
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8632 $as_echo_n "checking for X... " >&6; }
8635 # Check whether --with-x was given.
8636 if test "${with_x+set}" = set; then :
8637 withval=$with_x;
8640 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8641 if test "x$with_x" = xno; then
8642 # The user explicitly disabled X.
8643 have_x=disabled
8644 else
8645 case $x_includes,$x_libraries in #(
8646 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8647 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8648 $as_echo_n "(cached) " >&6
8649 else
8650 # One or both of the vars are not set, and there is no cached value.
8651 ac_x_includes=no ac_x_libraries=no
8652 rm -f -r conftest.dir
8653 if mkdir conftest.dir; then
8654 cd conftest.dir
8655 cat >Imakefile <<'_ACEOF'
8656 incroot:
8657 @echo incroot='${INCROOT}'
8658 usrlibdir:
8659 @echo usrlibdir='${USRLIBDIR}'
8660 libdir:
8661 @echo libdir='${LIBDIR}'
8662 _ACEOF
8663 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8664 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8665 for ac_var in incroot usrlibdir libdir; do
8666 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8667 done
8668 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8669 for ac_extension in a so sl dylib la dll; do
8670 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8671 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8672 ac_im_usrlibdir=$ac_im_libdir; break
8674 done
8675 # Screen out bogus values from the imake configuration. They are
8676 # bogus both because they are the default anyway, and because
8677 # using them would break gcc on systems where it needs fixed includes.
8678 case $ac_im_incroot in
8679 /usr/include) ac_x_includes= ;;
8680 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8681 esac
8682 case $ac_im_usrlibdir in
8683 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8684 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8685 esac
8687 cd ..
8688 rm -f -r conftest.dir
8691 # Standard set of common directories for X headers.
8692 # Check X11 before X11Rn because it is often a symlink to the current release.
8693 ac_x_header_dirs='
8694 /usr/X11/include
8695 /usr/X11R7/include
8696 /usr/X11R6/include
8697 /usr/X11R5/include
8698 /usr/X11R4/include
8700 /usr/include/X11
8701 /usr/include/X11R7
8702 /usr/include/X11R6
8703 /usr/include/X11R5
8704 /usr/include/X11R4
8706 /usr/local/X11/include
8707 /usr/local/X11R7/include
8708 /usr/local/X11R6/include
8709 /usr/local/X11R5/include
8710 /usr/local/X11R4/include
8712 /usr/local/include/X11
8713 /usr/local/include/X11R7
8714 /usr/local/include/X11R6
8715 /usr/local/include/X11R5
8716 /usr/local/include/X11R4
8718 /usr/X386/include
8719 /usr/x386/include
8720 /usr/XFree86/include/X11
8722 /usr/include
8723 /usr/local/include
8724 /usr/unsupported/include
8725 /usr/athena/include
8726 /usr/local/x11r5/include
8727 /usr/lpp/Xamples/include
8729 /usr/openwin/include
8730 /usr/openwin/share/include'
8732 if test "$ac_x_includes" = no; then
8733 # Guess where to find include files, by looking for Xlib.h.
8734 # First, try using that file with no special directory specified.
8735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8736 /* end confdefs.h. */
8737 #include <X11/Xlib.h>
8738 _ACEOF
8739 if ac_fn_c_try_cpp "$LINENO"; then :
8740 # We can compile using X headers with no special include directory.
8741 ac_x_includes=
8742 else
8743 for ac_dir in $ac_x_header_dirs; do
8744 if test -r "$ac_dir/X11/Xlib.h"; then
8745 ac_x_includes=$ac_dir
8746 break
8748 done
8750 rm -f conftest.err conftest.i conftest.$ac_ext
8751 fi # $ac_x_includes = no
8753 if test "$ac_x_libraries" = no; then
8754 # Check for the libraries.
8755 # See if we find them without any special options.
8756 # Don't add to $LIBS permanently.
8757 ac_save_LIBS=$LIBS
8758 LIBS="-lX11 $LIBS"
8759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8760 /* end confdefs.h. */
8761 #include <X11/Xlib.h>
8763 main ()
8765 XrmInitialize ()
8767 return 0;
8769 _ACEOF
8770 if ac_fn_c_try_link "$LINENO"; then :
8771 LIBS=$ac_save_LIBS
8772 # We can link X programs with no special library path.
8773 ac_x_libraries=
8774 else
8775 LIBS=$ac_save_LIBS
8776 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8778 # Don't even attempt the hair of trying to link an X program!
8779 for ac_extension in a so sl dylib la dll; do
8780 if test -r "$ac_dir/libX11.$ac_extension"; then
8781 ac_x_libraries=$ac_dir
8782 break 2
8784 done
8785 done
8787 rm -f core conftest.err conftest.$ac_objext \
8788 conftest$ac_exeext conftest.$ac_ext
8789 fi # $ac_x_libraries = no
8791 case $ac_x_includes,$ac_x_libraries in #(
8792 no,* | *,no | *\'*)
8793 # Didn't find X, or a directory has "'" in its name.
8794 ac_cv_have_x="have_x=no";; #(
8796 # Record where we found X for the cache.
8797 ac_cv_have_x="have_x=yes\
8798 ac_x_includes='$ac_x_includes'\
8799 ac_x_libraries='$ac_x_libraries'"
8800 esac
8802 ;; #(
8803 *) have_x=yes;;
8804 esac
8805 eval "$ac_cv_have_x"
8806 fi # $with_x != no
8808 if test "$have_x" != yes; then
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8810 $as_echo "$have_x" >&6; }
8811 no_x=yes
8812 else
8813 # If each of the values was on the command line, it overrides each guess.
8814 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8815 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8816 # Update the cache value to reflect the command line values.
8817 ac_cv_have_x="have_x=yes\
8818 ac_x_includes='$x_includes'\
8819 ac_x_libraries='$x_libraries'"
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8821 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8824 if test "$no_x" = yes; then
8825 # Not all programs may use this symbol, but it does not hurt to define it.
8827 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8829 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8830 else
8831 if test -n "$x_includes"; then
8832 X_CFLAGS="$X_CFLAGS -I$x_includes"
8835 # It would also be nice to do this for all -L options, not just this one.
8836 if test -n "$x_libraries"; then
8837 X_LIBS="$X_LIBS -L$x_libraries"
8838 # For Solaris; some versions of Sun CC require a space after -R and
8839 # others require no space. Words are not sufficient . . . .
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8841 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8842 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8843 ac_xsave_c_werror_flag=$ac_c_werror_flag
8844 ac_c_werror_flag=yes
8845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8846 /* end confdefs.h. */
8849 main ()
8853 return 0;
8855 _ACEOF
8856 if ac_fn_c_try_link "$LINENO"; then :
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8858 $as_echo "no" >&6; }
8859 X_LIBS="$X_LIBS -R$x_libraries"
8860 else
8861 LIBS="$ac_xsave_LIBS -R $x_libraries"
8862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8863 /* end confdefs.h. */
8866 main ()
8870 return 0;
8872 _ACEOF
8873 if ac_fn_c_try_link "$LINENO"; then :
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8875 $as_echo "yes" >&6; }
8876 X_LIBS="$X_LIBS -R $x_libraries"
8877 else
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8879 $as_echo "neither works" >&6; }
8881 rm -f core conftest.err conftest.$ac_objext \
8882 conftest$ac_exeext conftest.$ac_ext
8884 rm -f core conftest.err conftest.$ac_objext \
8885 conftest$ac_exeext conftest.$ac_ext
8886 ac_c_werror_flag=$ac_xsave_c_werror_flag
8887 LIBS=$ac_xsave_LIBS
8890 # Check for system-dependent libraries X programs must link with.
8891 # Do this before checking for the system-independent R6 libraries
8892 # (-lICE), since we may need -lsocket or whatever for X linking.
8894 if test "$ISC" = yes; then
8895 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8896 else
8897 # Martyn Johnson says this is needed for Ultrix, if the X
8898 # libraries were built with DECnet support. And Karl Berry says
8899 # the Alpha needs dnet_stub (dnet does not exist).
8900 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8902 /* end confdefs.h. */
8904 /* Override any GCC internal prototype to avoid an error.
8905 Use char because int might match the return type of a GCC
8906 builtin and then its argument prototype would still apply. */
8907 #ifdef __cplusplus
8908 extern "C"
8909 #endif
8910 char XOpenDisplay ();
8912 main ()
8914 return XOpenDisplay ();
8916 return 0;
8918 _ACEOF
8919 if ac_fn_c_try_link "$LINENO"; then :
8921 else
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8923 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8924 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8925 $as_echo_n "(cached) " >&6
8926 else
8927 ac_check_lib_save_LIBS=$LIBS
8928 LIBS="-ldnet $LIBS"
8929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8930 /* end confdefs.h. */
8932 /* Override any GCC internal prototype to avoid an error.
8933 Use char because int might match the return type of a GCC
8934 builtin and then its argument prototype would still apply. */
8935 #ifdef __cplusplus
8936 extern "C"
8937 #endif
8938 char dnet_ntoa ();
8940 main ()
8942 return dnet_ntoa ();
8944 return 0;
8946 _ACEOF
8947 if ac_fn_c_try_link "$LINENO"; then :
8948 ac_cv_lib_dnet_dnet_ntoa=yes
8949 else
8950 ac_cv_lib_dnet_dnet_ntoa=no
8952 rm -f core conftest.err conftest.$ac_objext \
8953 conftest$ac_exeext conftest.$ac_ext
8954 LIBS=$ac_check_lib_save_LIBS
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8957 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8958 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8959 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8962 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8964 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8965 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8966 $as_echo_n "(cached) " >&6
8967 else
8968 ac_check_lib_save_LIBS=$LIBS
8969 LIBS="-ldnet_stub $LIBS"
8970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8971 /* end confdefs.h. */
8973 /* Override any GCC internal prototype to avoid an error.
8974 Use char because int might match the return type of a GCC
8975 builtin and then its argument prototype would still apply. */
8976 #ifdef __cplusplus
8977 extern "C"
8978 #endif
8979 char dnet_ntoa ();
8981 main ()
8983 return dnet_ntoa ();
8985 return 0;
8987 _ACEOF
8988 if ac_fn_c_try_link "$LINENO"; then :
8989 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8990 else
8991 ac_cv_lib_dnet_stub_dnet_ntoa=no
8993 rm -f core conftest.err conftest.$ac_objext \
8994 conftest$ac_exeext conftest.$ac_ext
8995 LIBS=$ac_check_lib_save_LIBS
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8998 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8999 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9000 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9005 rm -f core conftest.err conftest.$ac_objext \
9006 conftest$ac_exeext conftest.$ac_ext
9007 LIBS="$ac_xsave_LIBS"
9009 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9010 # to get the SysV transport functions.
9011 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9012 # needs -lnsl.
9013 # The nsl library prevents programs from opening the X display
9014 # on Irix 5.2, according to T.E. Dickey.
9015 # The functions gethostbyname, getservbyname, and inet_addr are
9016 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9017 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9018 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9022 if test $ac_cv_func_gethostbyname = no; then
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9024 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9025 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9026 $as_echo_n "(cached) " >&6
9027 else
9028 ac_check_lib_save_LIBS=$LIBS
9029 LIBS="-lnsl $LIBS"
9030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9031 /* end confdefs.h. */
9033 /* Override any GCC internal prototype to avoid an error.
9034 Use char because int might match the return type of a GCC
9035 builtin and then its argument prototype would still apply. */
9036 #ifdef __cplusplus
9037 extern "C"
9038 #endif
9039 char gethostbyname ();
9041 main ()
9043 return gethostbyname ();
9045 return 0;
9047 _ACEOF
9048 if ac_fn_c_try_link "$LINENO"; then :
9049 ac_cv_lib_nsl_gethostbyname=yes
9050 else
9051 ac_cv_lib_nsl_gethostbyname=no
9053 rm -f core conftest.err conftest.$ac_objext \
9054 conftest$ac_exeext conftest.$ac_ext
9055 LIBS=$ac_check_lib_save_LIBS
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9058 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9059 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9060 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9063 if test $ac_cv_lib_nsl_gethostbyname = no; then
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9065 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9066 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9067 $as_echo_n "(cached) " >&6
9068 else
9069 ac_check_lib_save_LIBS=$LIBS
9070 LIBS="-lbsd $LIBS"
9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9074 /* Override any GCC internal prototype to avoid an error.
9075 Use char because int might match the return type of a GCC
9076 builtin and then its argument prototype would still apply. */
9077 #ifdef __cplusplus
9078 extern "C"
9079 #endif
9080 char gethostbyname ();
9082 main ()
9084 return gethostbyname ();
9086 return 0;
9088 _ACEOF
9089 if ac_fn_c_try_link "$LINENO"; then :
9090 ac_cv_lib_bsd_gethostbyname=yes
9091 else
9092 ac_cv_lib_bsd_gethostbyname=no
9094 rm -f core conftest.err conftest.$ac_objext \
9095 conftest$ac_exeext conftest.$ac_ext
9096 LIBS=$ac_check_lib_save_LIBS
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9099 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9100 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9101 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9107 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9108 # socket/setsockopt and other routines are undefined under SCO ODT
9109 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9110 # on later versions), says Simon Leinen: it contains gethostby*
9111 # variants that don't use the name server (or something). -lsocket
9112 # must be given before -lnsl if both are needed. We assume that
9113 # if connect needs -lnsl, so does gethostbyname.
9114 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9115 if test "x$ac_cv_func_connect" = xyes; then :
9119 if test $ac_cv_func_connect = no; then
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9121 $as_echo_n "checking for connect in -lsocket... " >&6; }
9122 if ${ac_cv_lib_socket_connect+:} false; then :
9123 $as_echo_n "(cached) " >&6
9124 else
9125 ac_check_lib_save_LIBS=$LIBS
9126 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9128 /* end confdefs.h. */
9130 /* Override any GCC internal prototype to avoid an error.
9131 Use char because int might match the return type of a GCC
9132 builtin and then its argument prototype would still apply. */
9133 #ifdef __cplusplus
9134 extern "C"
9135 #endif
9136 char connect ();
9138 main ()
9140 return connect ();
9142 return 0;
9144 _ACEOF
9145 if ac_fn_c_try_link "$LINENO"; then :
9146 ac_cv_lib_socket_connect=yes
9147 else
9148 ac_cv_lib_socket_connect=no
9150 rm -f core conftest.err conftest.$ac_objext \
9151 conftest$ac_exeext conftest.$ac_ext
9152 LIBS=$ac_check_lib_save_LIBS
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9155 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9156 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9157 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9162 # Guillermo Gomez says -lposix is necessary on A/UX.
9163 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9164 if test "x$ac_cv_func_remove" = xyes; then :
9168 if test $ac_cv_func_remove = no; then
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9170 $as_echo_n "checking for remove in -lposix... " >&6; }
9171 if ${ac_cv_lib_posix_remove+:} false; then :
9172 $as_echo_n "(cached) " >&6
9173 else
9174 ac_check_lib_save_LIBS=$LIBS
9175 LIBS="-lposix $LIBS"
9176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9177 /* end confdefs.h. */
9179 /* Override any GCC internal prototype to avoid an error.
9180 Use char because int might match the return type of a GCC
9181 builtin and then its argument prototype would still apply. */
9182 #ifdef __cplusplus
9183 extern "C"
9184 #endif
9185 char remove ();
9187 main ()
9189 return remove ();
9191 return 0;
9193 _ACEOF
9194 if ac_fn_c_try_link "$LINENO"; then :
9195 ac_cv_lib_posix_remove=yes
9196 else
9197 ac_cv_lib_posix_remove=no
9199 rm -f core conftest.err conftest.$ac_objext \
9200 conftest$ac_exeext conftest.$ac_ext
9201 LIBS=$ac_check_lib_save_LIBS
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9204 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9205 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9206 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9211 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9212 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9213 if test "x$ac_cv_func_shmat" = xyes; then :
9217 if test $ac_cv_func_shmat = no; then
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9219 $as_echo_n "checking for shmat in -lipc... " >&6; }
9220 if ${ac_cv_lib_ipc_shmat+:} false; then :
9221 $as_echo_n "(cached) " >&6
9222 else
9223 ac_check_lib_save_LIBS=$LIBS
9224 LIBS="-lipc $LIBS"
9225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9226 /* end confdefs.h. */
9228 /* Override any GCC internal prototype to avoid an error.
9229 Use char because int might match the return type of a GCC
9230 builtin and then its argument prototype would still apply. */
9231 #ifdef __cplusplus
9232 extern "C"
9233 #endif
9234 char shmat ();
9236 main ()
9238 return shmat ();
9240 return 0;
9242 _ACEOF
9243 if ac_fn_c_try_link "$LINENO"; then :
9244 ac_cv_lib_ipc_shmat=yes
9245 else
9246 ac_cv_lib_ipc_shmat=no
9248 rm -f core conftest.err conftest.$ac_objext \
9249 conftest$ac_exeext conftest.$ac_ext
9250 LIBS=$ac_check_lib_save_LIBS
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9253 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9254 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9255 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9261 # Check for libraries that X11R6 Xt/Xaw programs need.
9262 ac_save_LDFLAGS=$LDFLAGS
9263 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9264 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9265 # check for ICE first), but we must link in the order -lSM -lICE or
9266 # we get undefined symbols. So assume we have SM if we have ICE.
9267 # These have to be linked with before -lX11, unlike the other
9268 # libraries we check for below, so use a different variable.
9269 # John Interrante, Karl Berry
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9271 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9272 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9273 $as_echo_n "(cached) " >&6
9274 else
9275 ac_check_lib_save_LIBS=$LIBS
9276 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9278 /* end confdefs.h. */
9280 /* Override any GCC internal prototype to avoid an error.
9281 Use char because int might match the return type of a GCC
9282 builtin and then its argument prototype would still apply. */
9283 #ifdef __cplusplus
9284 extern "C"
9285 #endif
9286 char IceConnectionNumber ();
9288 main ()
9290 return IceConnectionNumber ();
9292 return 0;
9294 _ACEOF
9295 if ac_fn_c_try_link "$LINENO"; then :
9296 ac_cv_lib_ICE_IceConnectionNumber=yes
9297 else
9298 ac_cv_lib_ICE_IceConnectionNumber=no
9300 rm -f core conftest.err conftest.$ac_objext \
9301 conftest$ac_exeext conftest.$ac_ext
9302 LIBS=$ac_check_lib_save_LIBS
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9305 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9306 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9307 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9310 LDFLAGS=$ac_save_LDFLAGS
9315 if test "$have_x" = "yes"
9316 then
9317 ac_save_CPPFLAGS="$CPPFLAGS"
9318 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9321 $as_echo_n "checking for -lX11... " >&6; }
9322 if ${ac_cv_lib_soname_X11+:} false; then :
9323 $as_echo_n "(cached) " >&6
9324 else
9325 ac_check_soname_save_LIBS=$LIBS
9326 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9328 /* end confdefs.h. */
9330 /* Override any GCC internal prototype to avoid an error.
9331 Use char because int might match the return type of a GCC
9332 builtin and then its argument prototype would still apply. */
9333 #ifdef __cplusplus
9334 extern "C"
9335 #endif
9336 char XCreateWindow ();
9338 main ()
9340 return XCreateWindow ();
9342 return 0;
9344 _ACEOF
9345 if ac_fn_c_try_link "$LINENO"; then :
9346 case "$LIBEXT" in
9347 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9348 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'` ;;
9349 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9350 if ${ac_cv_lib_soname_X11:+false} :; then :
9351 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9352 fi ;;
9353 esac
9355 rm -f core conftest.err conftest.$ac_objext \
9356 conftest$ac_exeext conftest.$ac_ext
9357 LIBS=$ac_check_soname_save_LIBS
9359 if ${ac_cv_lib_soname_X11:+false} :; then :
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9361 $as_echo "not found" >&6; }
9363 else
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9365 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9367 cat >>confdefs.h <<_ACEOF
9368 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9369 _ACEOF
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9374 $as_echo_n "checking for -lXext... " >&6; }
9375 if ${ac_cv_lib_soname_Xext+:} false; then :
9376 $as_echo_n "(cached) " >&6
9377 else
9378 ac_check_soname_save_LIBS=$LIBS
9379 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9381 /* end confdefs.h. */
9383 /* Override any GCC internal prototype to avoid an error.
9384 Use char because int might match the return type of a GCC
9385 builtin and then its argument prototype would still apply. */
9386 #ifdef __cplusplus
9387 extern "C"
9388 #endif
9389 char XextCreateExtension ();
9391 main ()
9393 return XextCreateExtension ();
9395 return 0;
9397 _ACEOF
9398 if ac_fn_c_try_link "$LINENO"; then :
9399 case "$LIBEXT" in
9400 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9401 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'` ;;
9402 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9403 if ${ac_cv_lib_soname_Xext:+false} :; then :
9404 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9405 fi ;;
9406 esac
9408 rm -f core conftest.err conftest.$ac_objext \
9409 conftest$ac_exeext conftest.$ac_ext
9410 LIBS=$ac_check_soname_save_LIBS
9412 if ${ac_cv_lib_soname_Xext:+false} :; then :
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9414 $as_echo "not found" >&6; }
9416 else
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9418 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9420 cat >>confdefs.h <<_ACEOF
9421 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9422 _ACEOF
9424 X_LIBS="$X_LIBS -lXext"
9426 X_LIBS="$X_LIBS -lX11"
9428 for ac_header in X11/Xlib.h \
9429 X11/XKBlib.h \
9430 X11/Xutil.h \
9431 X11/Xcursor/Xcursor.h \
9432 X11/extensions/shape.h \
9433 X11/extensions/XInput.h \
9434 X11/extensions/XInput2.h \
9435 X11/extensions/XShm.h \
9436 X11/extensions/Xcomposite.h \
9437 X11/extensions/Xinerama.h \
9438 X11/extensions/Xrandr.h \
9439 X11/extensions/Xrender.h \
9440 X11/extensions/xf86vmode.h \
9441 X11/extensions/xf86vmproto.h
9442 do :
9443 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9444 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9445 # include <X11/Xlib.h>
9446 #endif
9447 #ifdef HAVE_X11_XUTIL_H
9448 # include <X11/Xutil.h>
9449 #endif
9451 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9452 cat >>confdefs.h <<_ACEOF
9453 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9454 _ACEOF
9458 done
9461 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9462 then
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9464 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9465 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9466 $as_echo_n "(cached) " >&6
9467 else
9468 ac_check_lib_save_LIBS=$LIBS
9469 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9473 /* Override any GCC internal prototype to avoid an error.
9474 Use char because int might match the return type of a GCC
9475 builtin and then its argument prototype would still apply. */
9476 #ifdef __cplusplus
9477 extern "C"
9478 #endif
9479 char XkbQueryExtension ();
9481 main ()
9483 return XkbQueryExtension ();
9485 return 0;
9487 _ACEOF
9488 if ac_fn_c_try_link "$LINENO"; then :
9489 ac_cv_lib_X11_XkbQueryExtension=yes
9490 else
9491 ac_cv_lib_X11_XkbQueryExtension=no
9493 rm -f core conftest.err conftest.$ac_objext \
9494 conftest$ac_exeext conftest.$ac_ext
9495 LIBS=$ac_check_lib_save_LIBS
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9498 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9499 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9501 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9507 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9508 then
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9510 $as_echo_n "checking for -lXcursor... " >&6; }
9511 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9512 $as_echo_n "(cached) " >&6
9513 else
9514 ac_check_soname_save_LIBS=$LIBS
9515 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9517 /* end confdefs.h. */
9519 /* Override any GCC internal prototype to avoid an error.
9520 Use char because int might match the return type of a GCC
9521 builtin and then its argument prototype would still apply. */
9522 #ifdef __cplusplus
9523 extern "C"
9524 #endif
9525 char XcursorImageLoadCursor ();
9527 main ()
9529 return XcursorImageLoadCursor ();
9531 return 0;
9533 _ACEOF
9534 if ac_fn_c_try_link "$LINENO"; then :
9535 case "$LIBEXT" in
9536 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9537 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'` ;;
9538 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9539 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9540 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9541 fi ;;
9542 esac
9544 rm -f core conftest.err conftest.$ac_objext \
9545 conftest$ac_exeext conftest.$ac_ext
9546 LIBS=$ac_check_soname_save_LIBS
9548 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9550 $as_echo "not found" >&6; }
9552 else
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9554 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9556 cat >>confdefs.h <<_ACEOF
9557 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9558 _ACEOF
9563 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9564 case "x$with_xcursor" in
9565 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9566 xno) ;;
9567 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9568 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9569 esac
9572 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9573 then
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9575 $as_echo_n "checking for -lXi... " >&6; }
9576 if ${ac_cv_lib_soname_Xi+:} false; then :
9577 $as_echo_n "(cached) " >&6
9578 else
9579 ac_check_soname_save_LIBS=$LIBS
9580 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9582 /* end confdefs.h. */
9584 /* Override any GCC internal prototype to avoid an error.
9585 Use char because int might match the return type of a GCC
9586 builtin and then its argument prototype would still apply. */
9587 #ifdef __cplusplus
9588 extern "C"
9589 #endif
9590 char XOpenDevice ();
9592 main ()
9594 return XOpenDevice ();
9596 return 0;
9598 _ACEOF
9599 if ac_fn_c_try_link "$LINENO"; then :
9600 case "$LIBEXT" in
9601 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9602 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'` ;;
9603 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9604 if ${ac_cv_lib_soname_Xi:+false} :; then :
9605 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9606 fi ;;
9607 esac
9609 rm -f core conftest.err conftest.$ac_objext \
9610 conftest$ac_exeext conftest.$ac_ext
9611 LIBS=$ac_check_soname_save_LIBS
9613 if ${ac_cv_lib_soname_Xi:+false} :; then :
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9615 $as_echo "not found" >&6; }
9617 else
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9619 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9621 cat >>confdefs.h <<_ACEOF
9622 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9623 _ACEOF
9628 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9629 case "x$with_xinput" in
9630 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9631 xno) ;;
9632 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9633 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9634 esac
9637 if test "x$ac_cv_lib_soname_Xi" != x
9638 then
9639 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9640 case "x$with_xinput2" in
9641 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9642 xno) ;;
9643 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9644 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9645 esac
9649 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9650 then
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9652 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9653 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9654 $as_echo_n "(cached) " >&6
9655 else
9656 ac_check_lib_save_LIBS=$LIBS
9657 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9659 /* end confdefs.h. */
9661 /* Override any GCC internal prototype to avoid an error.
9662 Use char because int might match the return type of a GCC
9663 builtin and then its argument prototype would still apply. */
9664 #ifdef __cplusplus
9665 extern "C"
9666 #endif
9667 char XShmQueryExtension ();
9669 main ()
9671 return XShmQueryExtension ();
9673 return 0;
9675 _ACEOF
9676 if ac_fn_c_try_link "$LINENO"; then :
9677 ac_cv_lib_Xext_XShmQueryExtension=yes
9678 else
9679 ac_cv_lib_Xext_XShmQueryExtension=no
9681 rm -f core conftest.err conftest.$ac_objext \
9682 conftest$ac_exeext conftest.$ac_ext
9683 LIBS=$ac_check_lib_save_LIBS
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9686 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9687 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9689 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9694 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9695 case "x$with_xshm" in
9696 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9697 xno) ;;
9698 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9699 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9700 esac
9703 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9704 then
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9706 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9707 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9708 $as_echo_n "(cached) " >&6
9709 else
9710 ac_check_lib_save_LIBS=$LIBS
9711 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9713 /* end confdefs.h. */
9715 /* Override any GCC internal prototype to avoid an error.
9716 Use char because int might match the return type of a GCC
9717 builtin and then its argument prototype would still apply. */
9718 #ifdef __cplusplus
9719 extern "C"
9720 #endif
9721 char XShapeQueryExtension ();
9723 main ()
9725 return XShapeQueryExtension ();
9727 return 0;
9729 _ACEOF
9730 if ac_fn_c_try_link "$LINENO"; then :
9731 ac_cv_lib_Xext_XShapeQueryExtension=yes
9732 else
9733 ac_cv_lib_Xext_XShapeQueryExtension=no
9735 rm -f core conftest.err conftest.$ac_objext \
9736 conftest$ac_exeext conftest.$ac_ext
9737 LIBS=$ac_check_lib_save_LIBS
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9740 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9741 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9743 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9748 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9749 case "x$with_xshape" in
9750 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9751 xno) ;;
9752 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9753 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9754 esac
9757 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9758 then
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9760 $as_echo_n "checking for -lXxf86vm... " >&6; }
9761 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9762 $as_echo_n "(cached) " >&6
9763 else
9764 ac_check_soname_save_LIBS=$LIBS
9765 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9767 /* end confdefs.h. */
9769 /* Override any GCC internal prototype to avoid an error.
9770 Use char because int might match the return type of a GCC
9771 builtin and then its argument prototype would still apply. */
9772 #ifdef __cplusplus
9773 extern "C"
9774 #endif
9775 char XF86VidModeQueryExtension ();
9777 main ()
9779 return XF86VidModeQueryExtension ();
9781 return 0;
9783 _ACEOF
9784 if ac_fn_c_try_link "$LINENO"; then :
9785 case "$LIBEXT" in
9786 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9787 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'` ;;
9788 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9789 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9790 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9791 fi ;;
9792 esac
9794 rm -f core conftest.err conftest.$ac_objext \
9795 conftest$ac_exeext conftest.$ac_ext
9796 LIBS=$ac_check_soname_save_LIBS
9798 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9800 $as_echo "not found" >&6; }
9802 else
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9804 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9806 cat >>confdefs.h <<_ACEOF
9807 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9808 _ACEOF
9813 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9814 case "x$with_xxf86vm" in
9815 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9816 xno) ;;
9817 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9818 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9819 esac
9822 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9823 then
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9825 $as_echo_n "checking for -lXrender... " >&6; }
9826 if ${ac_cv_lib_soname_Xrender+:} false; then :
9827 $as_echo_n "(cached) " >&6
9828 else
9829 ac_check_soname_save_LIBS=$LIBS
9830 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9834 /* Override any GCC internal prototype to avoid an error.
9835 Use char because int might match the return type of a GCC
9836 builtin and then its argument prototype would still apply. */
9837 #ifdef __cplusplus
9838 extern "C"
9839 #endif
9840 char XRenderQueryExtension ();
9842 main ()
9844 return XRenderQueryExtension ();
9846 return 0;
9848 _ACEOF
9849 if ac_fn_c_try_link "$LINENO"; then :
9850 case "$LIBEXT" in
9851 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9852 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'` ;;
9853 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9854 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9855 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9856 fi ;;
9857 esac
9859 rm -f core conftest.err conftest.$ac_objext \
9860 conftest$ac_exeext conftest.$ac_ext
9861 LIBS=$ac_check_soname_save_LIBS
9863 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9865 $as_echo "not found" >&6; }
9867 else
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9869 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9871 cat >>confdefs.h <<_ACEOF
9872 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9873 _ACEOF
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9876 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9877 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9878 $as_echo_n "(cached) " >&6
9879 else
9880 ac_check_lib_save_LIBS=$LIBS
9881 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9883 /* end confdefs.h. */
9885 /* Override any GCC internal prototype to avoid an error.
9886 Use char because int might match the return type of a GCC
9887 builtin and then its argument prototype would still apply. */
9888 #ifdef __cplusplus
9889 extern "C"
9890 #endif
9891 char XRenderSetPictureTransform ();
9893 main ()
9895 return XRenderSetPictureTransform ();
9897 return 0;
9899 _ACEOF
9900 if ac_fn_c_try_link "$LINENO"; then :
9901 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9902 else
9903 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9905 rm -f core conftest.err conftest.$ac_objext \
9906 conftest$ac_exeext conftest.$ac_ext
9907 LIBS=$ac_check_lib_save_LIBS
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9910 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9911 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9913 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9918 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9919 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9920 $as_echo_n "(cached) " >&6
9921 else
9922 ac_check_lib_save_LIBS=$LIBS
9923 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9927 /* Override any GCC internal prototype to avoid an error.
9928 Use char because int might match the return type of a GCC
9929 builtin and then its argument prototype would still apply. */
9930 #ifdef __cplusplus
9931 extern "C"
9932 #endif
9933 char XRenderCreateLinearGradient ();
9935 main ()
9937 return XRenderCreateLinearGradient ();
9939 return 0;
9941 _ACEOF
9942 if ac_fn_c_try_link "$LINENO"; then :
9943 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9944 else
9945 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9947 rm -f core conftest.err conftest.$ac_objext \
9948 conftest$ac_exeext conftest.$ac_ext
9949 LIBS=$ac_check_lib_save_LIBS
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9952 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9953 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9955 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9962 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9963 case "x$with_xrender" in
9964 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9965 xno) ;;
9966 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9967 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9968 esac
9971 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9972 then
9973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9975 #include <X11/Xlib.h>
9976 #include <X11/extensions/Xrandr.h>
9978 main ()
9980 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9982 return 0;
9984 _ACEOF
9985 if ac_fn_c_try_compile "$LINENO"; then :
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9987 $as_echo_n "checking for -lXrandr... " >&6; }
9988 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9989 $as_echo_n "(cached) " >&6
9990 else
9991 ac_check_soname_save_LIBS=$LIBS
9992 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9994 /* end confdefs.h. */
9996 /* Override any GCC internal prototype to avoid an error.
9997 Use char because int might match the return type of a GCC
9998 builtin and then its argument prototype would still apply. */
9999 #ifdef __cplusplus
10000 extern "C"
10001 #endif
10002 char XRRQueryExtension ();
10004 main ()
10006 return XRRQueryExtension ();
10008 return 0;
10010 _ACEOF
10011 if ac_fn_c_try_link "$LINENO"; then :
10012 case "$LIBEXT" in
10013 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10014 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'` ;;
10015 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10016 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10017 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10018 fi ;;
10019 esac
10021 rm -f core conftest.err conftest.$ac_objext \
10022 conftest$ac_exeext conftest.$ac_ext
10023 LIBS=$ac_check_soname_save_LIBS
10025 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10027 $as_echo "not found" >&6; }
10029 else
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10031 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10033 cat >>confdefs.h <<_ACEOF
10034 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10035 _ACEOF
10037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10039 #include <X11/Xlib.h>
10040 #include <X11/extensions/Xrandr.h>
10042 main ()
10044 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10046 return 0;
10048 _ACEOF
10049 if ac_fn_c_try_compile "$LINENO"; then :
10051 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10059 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10060 case "x$with_xrandr" in
10061 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10062 xno) ;;
10063 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10064 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10065 esac
10068 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10069 then
10070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10071 /* end confdefs.h. */
10072 #include <X11/Xlib.h>
10073 #include <X11/extensions/Xinerama.h>
10075 main ()
10077 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10079 return 0;
10081 _ACEOF
10082 if ac_fn_c_try_compile "$LINENO"; then :
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10084 $as_echo_n "checking for -lXinerama... " >&6; }
10085 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10086 $as_echo_n "(cached) " >&6
10087 else
10088 ac_check_soname_save_LIBS=$LIBS
10089 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10093 /* Override any GCC internal prototype to avoid an error.
10094 Use char because int might match the return type of a GCC
10095 builtin and then its argument prototype would still apply. */
10096 #ifdef __cplusplus
10097 extern "C"
10098 #endif
10099 char XineramaQueryScreens ();
10101 main ()
10103 return XineramaQueryScreens ();
10105 return 0;
10107 _ACEOF
10108 if ac_fn_c_try_link "$LINENO"; then :
10109 case "$LIBEXT" in
10110 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10111 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'` ;;
10112 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10113 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10114 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10115 fi ;;
10116 esac
10118 rm -f core conftest.err conftest.$ac_objext \
10119 conftest$ac_exeext conftest.$ac_ext
10120 LIBS=$ac_check_soname_save_LIBS
10122 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10124 $as_echo "not found" >&6; }
10126 else
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10128 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10130 cat >>confdefs.h <<_ACEOF
10131 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10132 _ACEOF
10137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10139 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10140 case "x$with_xinerama" in
10141 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10142 xno) ;;
10143 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10144 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10145 esac
10148 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10149 then
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10151 $as_echo_n "checking for -lXcomposite... " >&6; }
10152 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10153 $as_echo_n "(cached) " >&6
10154 else
10155 ac_check_soname_save_LIBS=$LIBS
10156 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10158 /* end confdefs.h. */
10160 /* Override any GCC internal prototype to avoid an error.
10161 Use char because int might match the return type of a GCC
10162 builtin and then its argument prototype would still apply. */
10163 #ifdef __cplusplus
10164 extern "C"
10165 #endif
10166 char XCompositeRedirectWindow ();
10168 main ()
10170 return XCompositeRedirectWindow ();
10172 return 0;
10174 _ACEOF
10175 if ac_fn_c_try_link "$LINENO"; then :
10176 case "$LIBEXT" in
10177 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10178 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'` ;;
10179 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10180 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10181 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10182 fi ;;
10183 esac
10185 rm -f core conftest.err conftest.$ac_objext \
10186 conftest$ac_exeext conftest.$ac_ext
10187 LIBS=$ac_check_soname_save_LIBS
10189 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10191 $as_echo "not found" >&6; }
10193 else
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10195 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10197 cat >>confdefs.h <<_ACEOF
10198 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10199 _ACEOF
10204 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10205 case "x$with_xcomposite" in
10206 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10207 xno) ;;
10208 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10209 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10210 esac
10213 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10214 #include <X11/Xlib.h>
10215 #endif
10217 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10219 cat >>confdefs.h <<_ACEOF
10220 #define HAVE_XICCALLBACK_CALLBACK 1
10221 _ACEOF
10225 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10226 #include <X11/Xlib.h>
10227 #endif
10229 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10231 cat >>confdefs.h <<_ACEOF
10232 #define HAVE_XEVENT_XCOOKIE 1
10233 _ACEOF
10240 opengl_msg=""
10241 if test "x$with_opengl" != "xno"
10242 then
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10244 $as_echo_n "checking for -lGL... " >&6; }
10245 if ${ac_cv_lib_soname_GL+:} false; then :
10246 $as_echo_n "(cached) " >&6
10247 else
10248 ac_check_soname_save_LIBS=$LIBS
10249 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $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 glXCreateContext ();
10261 main ()
10263 return glXCreateContext ();
10265 return 0;
10267 _ACEOF
10268 if ac_fn_c_try_link "$LINENO"; then :
10269 case "$LIBEXT" in
10270 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10271 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'` ;;
10272 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10273 if ${ac_cv_lib_soname_GL:+false} :; then :
10274 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$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 ${ac_cv_lib_soname_GL:+false} :; then :
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10284 $as_echo "not found" >&6; }
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10286 $as_echo_n "checking for -lGL... " >&6; }
10287 if ${ac_cv_lib_soname_GL+:} false; then :
10288 $as_echo_n "(cached) " >&6
10289 else
10290 ac_check_soname_save_LIBS=$LIBS
10291 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
10292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10293 /* end confdefs.h. */
10295 /* Override any GCC internal prototype to avoid an error.
10296 Use char because int might match the return type of a GCC
10297 builtin and then its argument prototype would still apply. */
10298 #ifdef __cplusplus
10299 extern "C"
10300 #endif
10301 char glXCreateContext ();
10303 main ()
10305 return glXCreateContext ();
10307 return 0;
10309 _ACEOF
10310 if ac_fn_c_try_link "$LINENO"; then :
10311 case "$LIBEXT" in
10312 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10313 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'` ;;
10314 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10315 if ${ac_cv_lib_soname_GL:+false} :; then :
10316 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10317 fi ;;
10318 esac
10320 rm -f core conftest.err conftest.$ac_objext \
10321 conftest$ac_exeext conftest.$ac_ext
10322 LIBS=$ac_check_soname_save_LIBS
10324 if ${ac_cv_lib_soname_GL:+false} :; then :
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10326 $as_echo "not found" >&6; }
10327 if test -f /usr/X11R6/lib/libGL.a
10328 then
10329 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10330 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10331 else
10332 opengl_msg="No OpenGL library found on this system."
10334 else
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10336 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10338 cat >>confdefs.h <<_ACEOF
10339 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10340 _ACEOF
10342 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"
10344 else
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10346 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10348 cat >>confdefs.h <<_ACEOF
10349 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10350 _ACEOF
10352 OPENGL_LIBS="-lGL"
10354 if test "x$with_glu" != "xno"
10355 then
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10357 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10358 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10359 $as_echo_n "(cached) " >&6
10360 else
10361 ac_check_lib_save_LIBS=$LIBS
10362 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10364 /* end confdefs.h. */
10366 /* Override any GCC internal prototype to avoid an error.
10367 Use char because int might match the return type of a GCC
10368 builtin and then its argument prototype would still apply. */
10369 #ifdef __cplusplus
10370 extern "C"
10371 #endif
10372 char gluLookAt ();
10374 main ()
10376 return gluLookAt ();
10378 return 0;
10380 _ACEOF
10381 if ac_fn_c_try_link "$LINENO"; then :
10382 ac_cv_lib_GLU_gluLookAt=yes
10383 else
10384 ac_cv_lib_GLU_gluLookAt=no
10386 rm -f core conftest.err conftest.$ac_objext \
10387 conftest$ac_exeext conftest.$ac_ext
10388 LIBS=$ac_check_lib_save_LIBS
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10391 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10392 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10396 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10397 case "x$with_glu" in
10398 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10399 xno) ;;
10400 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10401 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10402 esac
10406 if test "x$with_osmesa" != "xno"
10407 then
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10409 $as_echo_n "checking for -lOSMesa... " >&6; }
10410 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10411 $as_echo_n "(cached) " >&6
10412 else
10413 ac_check_soname_save_LIBS=$LIBS
10414 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10416 /* end confdefs.h. */
10418 /* Override any GCC internal prototype to avoid an error.
10419 Use char because int might match the return type of a GCC
10420 builtin and then its argument prototype would still apply. */
10421 #ifdef __cplusplus
10422 extern "C"
10423 #endif
10424 char glAccum ();
10426 main ()
10428 return glAccum ();
10430 return 0;
10432 _ACEOF
10433 if ac_fn_c_try_link "$LINENO"; then :
10434 case "$LIBEXT" in
10435 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10436 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'` ;;
10437 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10438 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10439 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10440 fi ;;
10441 esac
10443 rm -f core conftest.err conftest.$ac_objext \
10444 conftest$ac_exeext conftest.$ac_ext
10445 LIBS=$ac_check_soname_save_LIBS
10447 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10449 $as_echo "not found" >&6; }
10451 else
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10453 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10455 cat >>confdefs.h <<_ACEOF
10456 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10457 _ACEOF
10461 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10462 case "x$with_osmesa" in
10463 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10464 xno) ;;
10465 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10466 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10467 esac
10471 if test -n "$opengl_msg"; then :
10472 case "x$with_opengl" in
10473 x) as_fn_append wine_warnings "|$opengl_msg
10474 OpenGL and Direct3D won't be supported." ;;
10475 xno) ;;
10476 *) as_fn_error $? "$opengl_msg
10477 OpenGL and Direct3D won't be supported.
10478 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10479 esac
10482 CPPFLAGS="$ac_save_CPPFLAGS"
10483 else
10484 X_CFLAGS=""
10485 X_LIBS=""
10486 enable_winex11_drv=${enable_winex11_drv:-no}
10488 if test "x$X_LIBS" = "x"; then :
10489 case "x$with_x" in
10490 xno) ;;
10491 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10492 without X support, which probably isn't what you want. You will need
10493 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10494 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10495 esac
10498 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10500 if test "$ac_cv_header_CL_cl_h" = "yes"
10501 then
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10503 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10504 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10505 $as_echo_n "(cached) " >&6
10506 else
10507 ac_check_lib_save_LIBS=$LIBS
10508 LIBS="-lOpenCL $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 clGetPlatformInfo ();
10520 main ()
10522 return clGetPlatformInfo ();
10524 return 0;
10526 _ACEOF
10527 if ac_fn_c_try_link "$LINENO"; then :
10528 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10529 else
10530 ac_cv_lib_OpenCL_clGetPlatformInfo=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_OpenCL_clGetPlatformInfo" >&5
10537 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10538 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10539 OPENCL_LIBS="-lOpenCL"
10544 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10545 case "x$with_opencl" in
10546 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10547 xno) ;;
10548 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10549 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10550 esac
10552 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10554 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10555 then
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10557 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10558 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10559 $as_echo_n "(cached) " >&6
10560 else
10561 ac_check_lib_save_LIBS=$LIBS
10562 LIBS="-lpcap $LIBS"
10563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10564 /* end confdefs.h. */
10566 /* Override any GCC internal prototype to avoid an error.
10567 Use char because int might match the return type of a GCC
10568 builtin and then its argument prototype would still apply. */
10569 #ifdef __cplusplus
10570 extern "C"
10571 #endif
10572 char pcap_create ();
10574 main ()
10576 return pcap_create ();
10578 return 0;
10580 _ACEOF
10581 if ac_fn_c_try_link "$LINENO"; then :
10582 ac_cv_lib_pcap_pcap_create=yes
10583 else
10584 ac_cv_lib_pcap_pcap_create=no
10586 rm -f core conftest.err conftest.$ac_objext \
10587 conftest$ac_exeext conftest.$ac_ext
10588 LIBS=$ac_check_lib_save_LIBS
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10591 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10592 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10593 LIBPCAP="-lpcap"
10598 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10599 case "x$with_pcap" in
10600 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10601 xno) ;;
10602 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10603 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10604 esac
10606 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10609 if test "x$with_xml" != "xno"
10610 then
10611 if ${XML2_CFLAGS:+false} :; then :
10612 if ${PKG_CONFIG+:} false; then :
10613 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10616 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10617 if ${XML2_LIBS:+false} :; then :
10618 if ${PKG_CONFIG+:} false; then :
10619 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10622 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10623 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10624 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10625 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10626 ac_save_CPPFLAGS=$CPPFLAGS
10627 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10628 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10629 do :
10630 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10631 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10632 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10633 cat >>confdefs.h <<_ACEOF
10634 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10635 _ACEOF
10639 done
10641 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"
10642 then
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10644 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10645 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10646 $as_echo_n "(cached) " >&6
10647 else
10648 ac_check_lib_save_LIBS=$LIBS
10649 LIBS="-lxml2 $XML2_LIBS $LIBS"
10650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h. */
10653 /* Override any GCC internal prototype to avoid an error.
10654 Use char because int might match the return type of a GCC
10655 builtin and then its argument prototype would still apply. */
10656 #ifdef __cplusplus
10657 extern "C"
10658 #endif
10659 char xmlParseMemory ();
10661 main ()
10663 return xmlParseMemory ();
10665 return 0;
10667 _ACEOF
10668 if ac_fn_c_try_link "$LINENO"; then :
10669 ac_cv_lib_xml2_xmlParseMemory=yes
10670 else
10671 ac_cv_lib_xml2_xmlParseMemory=no
10673 rm -f core conftest.err conftest.$ac_objext \
10674 conftest$ac_exeext conftest.$ac_ext
10675 LIBS=$ac_check_lib_save_LIBS
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10678 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10679 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10681 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10683 else
10684 XML2_LIBS=""
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10688 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10689 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10690 $as_echo_n "(cached) " >&6
10691 else
10692 ac_check_lib_save_LIBS=$LIBS
10693 LIBS="-lxml2 $XML2_LIBS $LIBS"
10694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10695 /* end confdefs.h. */
10697 /* Override any GCC internal prototype to avoid an error.
10698 Use char because int might match the return type of a GCC
10699 builtin and then its argument prototype would still apply. */
10700 #ifdef __cplusplus
10701 extern "C"
10702 #endif
10703 char xmlReadMemory ();
10705 main ()
10707 return xmlReadMemory ();
10709 return 0;
10711 _ACEOF
10712 if ac_fn_c_try_link "$LINENO"; then :
10713 ac_cv_lib_xml2_xmlReadMemory=yes
10714 else
10715 ac_cv_lib_xml2_xmlReadMemory=no
10717 rm -f core conftest.err conftest.$ac_objext \
10718 conftest$ac_exeext conftest.$ac_ext
10719 LIBS=$ac_check_lib_save_LIBS
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10722 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10723 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10725 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10730 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10731 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10732 $as_echo_n "(cached) " >&6
10733 else
10734 ac_check_lib_save_LIBS=$LIBS
10735 LIBS="-lxml2 $XML2_LIBS $LIBS"
10736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10737 /* end confdefs.h. */
10739 /* Override any GCC internal prototype to avoid an error.
10740 Use char because int might match the return type of a GCC
10741 builtin and then its argument prototype would still apply. */
10742 #ifdef __cplusplus
10743 extern "C"
10744 #endif
10745 char xmlNewDocPI ();
10747 main ()
10749 return xmlNewDocPI ();
10751 return 0;
10753 _ACEOF
10754 if ac_fn_c_try_link "$LINENO"; then :
10755 ac_cv_lib_xml2_xmlNewDocPI=yes
10756 else
10757 ac_cv_lib_xml2_xmlNewDocPI=no
10759 rm -f core conftest.err conftest.$ac_objext \
10760 conftest$ac_exeext conftest.$ac_ext
10761 LIBS=$ac_check_lib_save_LIBS
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10764 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10765 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10767 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10772 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10773 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10774 $as_echo_n "(cached) " >&6
10775 else
10776 ac_check_lib_save_LIBS=$LIBS
10777 LIBS="-lxml2 $XML2_LIBS $LIBS"
10778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10779 /* end confdefs.h. */
10781 /* Override any GCC internal prototype to avoid an error.
10782 Use char because int might match the return type of a GCC
10783 builtin and then its argument prototype would still apply. */
10784 #ifdef __cplusplus
10785 extern "C"
10786 #endif
10787 char xmlSchemaSetParserStructuredErrors ();
10789 main ()
10791 return xmlSchemaSetParserStructuredErrors ();
10793 return 0;
10795 _ACEOF
10796 if ac_fn_c_try_link "$LINENO"; then :
10797 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10798 else
10799 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10801 rm -f core conftest.err conftest.$ac_objext \
10802 conftest$ac_exeext conftest.$ac_ext
10803 LIBS=$ac_check_lib_save_LIBS
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10806 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10807 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10809 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10814 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10815 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10816 $as_echo_n "(cached) " >&6
10817 else
10818 ac_check_lib_save_LIBS=$LIBS
10819 LIBS="-lxml2 $XML2_LIBS $LIBS"
10820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10821 /* end confdefs.h. */
10823 /* Override any GCC internal prototype to avoid an error.
10824 Use char because int might match the return type of a GCC
10825 builtin and then its argument prototype would still apply. */
10826 #ifdef __cplusplus
10827 extern "C"
10828 #endif
10829 char xmlSchemaSetValidStructuredErrors ();
10831 main ()
10833 return xmlSchemaSetValidStructuredErrors ();
10835 return 0;
10837 _ACEOF
10838 if ac_fn_c_try_link "$LINENO"; then :
10839 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10840 else
10841 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10843 rm -f core conftest.err conftest.$ac_objext \
10844 conftest$ac_exeext conftest.$ac_ext
10845 LIBS=$ac_check_lib_save_LIBS
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10848 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10849 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10851 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10856 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10857 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10858 $as_echo_n "(cached) " >&6
10859 else
10860 ac_check_lib_save_LIBS=$LIBS
10861 LIBS="-lxml2 $XML2_LIBS $LIBS"
10862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10863 /* end confdefs.h. */
10865 /* Override any GCC internal prototype to avoid an error.
10866 Use char because int might match the return type of a GCC
10867 builtin and then its argument prototype would still apply. */
10868 #ifdef __cplusplus
10869 extern "C"
10870 #endif
10871 char xmlFirstElementChild ();
10873 main ()
10875 return xmlFirstElementChild ();
10877 return 0;
10879 _ACEOF
10880 if ac_fn_c_try_link "$LINENO"; then :
10881 ac_cv_lib_xml2_xmlFirstElementChild=yes
10882 else
10883 ac_cv_lib_xml2_xmlFirstElementChild=no
10885 rm -f core conftest.err conftest.$ac_objext \
10886 conftest$ac_exeext conftest.$ac_ext
10887 LIBS=$ac_check_lib_save_LIBS
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10890 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10891 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10893 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10897 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10899 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10901 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10905 else
10906 XML2_CFLAGS=""
10907 XML2_LIBS=""
10909 CPPFLAGS=$ac_save_CPPFLAGS
10910 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10911 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10914 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10915 case "x$with_xml" in
10916 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10917 xno) ;;
10918 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10919 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10920 esac
10923 if test "x$with_xslt" != "xno"
10924 then
10925 if ${XSLT_CFLAGS:+false} :; then :
10926 if ${PKG_CONFIG+:} false; then :
10927 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10930 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10931 if ${XSLT_LIBS:+false} :; then :
10932 if ${PKG_CONFIG+:} false; then :
10933 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10936 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10937 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10938 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10939 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10940 ac_save_CPPFLAGS=$CPPFLAGS
10941 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10942 for ac_header in libxslt/pattern.h libxslt/transform.h
10943 do :
10944 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10945 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10946 # include <libxslt/pattern.h>
10947 #endif
10949 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10950 cat >>confdefs.h <<_ACEOF
10951 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10952 _ACEOF
10956 done
10958 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10959 then
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10961 $as_echo_n "checking for -lxslt... " >&6; }
10962 if ${ac_cv_lib_soname_xslt+:} false; then :
10963 $as_echo_n "(cached) " >&6
10964 else
10965 ac_check_soname_save_LIBS=$LIBS
10966 LIBS="-lxslt $XSLT_LIBS $LIBS"
10967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10970 /* Override any GCC internal prototype to avoid an error.
10971 Use char because int might match the return type of a GCC
10972 builtin and then its argument prototype would still apply. */
10973 #ifdef __cplusplus
10974 extern "C"
10975 #endif
10976 char xsltCompilePattern ();
10978 main ()
10980 return xsltCompilePattern ();
10982 return 0;
10984 _ACEOF
10985 if ac_fn_c_try_link "$LINENO"; then :
10986 case "$LIBEXT" in
10987 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10988 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'` ;;
10989 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10990 if ${ac_cv_lib_soname_xslt:+false} :; then :
10991 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10992 fi ;;
10993 esac
10995 rm -f core conftest.err conftest.$ac_objext \
10996 conftest$ac_exeext conftest.$ac_ext
10997 LIBS=$ac_check_soname_save_LIBS
10999 if ${ac_cv_lib_soname_xslt:+false} :; then :
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11001 $as_echo "not found" >&6; }
11003 else
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11005 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11007 cat >>confdefs.h <<_ACEOF
11008 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11009 _ACEOF
11013 else
11014 XSLT_CFLAGS=""
11016 CPPFLAGS=$ac_save_CPPFLAGS
11017 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11018 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11021 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11022 case "x$with_xslt" in
11023 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11024 xno) ;;
11025 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11026 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11027 esac
11030 if test "x$with_dbus" != "xno"
11031 then
11032 if ${DBUS_CFLAGS:+false} :; then :
11033 if ${PKG_CONFIG+:} false; then :
11034 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11038 if ${DBUS_LIBS:+false} :; then :
11039 if ${PKG_CONFIG+:} false; then :
11040 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11045 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11046 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11047 ac_save_CPPFLAGS=$CPPFLAGS
11048 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11049 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11050 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11052 $as_echo_n "checking for -ldbus-1... " >&6; }
11053 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11054 $as_echo_n "(cached) " >&6
11055 else
11056 ac_check_soname_save_LIBS=$LIBS
11057 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11061 /* Override any GCC internal prototype to avoid an error.
11062 Use char because int might match the return type of a GCC
11063 builtin and then its argument prototype would still apply. */
11064 #ifdef __cplusplus
11065 extern "C"
11066 #endif
11067 char dbus_connection_close ();
11069 main ()
11071 return dbus_connection_close ();
11073 return 0;
11075 _ACEOF
11076 if ac_fn_c_try_link "$LINENO"; then :
11077 case "$LIBEXT" in
11078 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11079 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'` ;;
11080 *) 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'`
11081 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11082 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11083 fi ;;
11084 esac
11086 rm -f core conftest.err conftest.$ac_objext \
11087 conftest$ac_exeext conftest.$ac_ext
11088 LIBS=$ac_check_soname_save_LIBS
11090 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11092 $as_echo "not found" >&6; }
11093 DBUS_CFLAGS=""
11094 else
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11096 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11098 cat >>confdefs.h <<_ACEOF
11099 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11100 _ACEOF
11104 else
11105 DBUS_CFLAGS=""
11109 CPPFLAGS=$ac_save_CPPFLAGS
11110 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11111 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11114 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11115 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11116 case "x$with_dbus" in
11117 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11118 xno) ;;
11119 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11120 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11121 esac
11124 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11125 then
11126 if ${HAL_CFLAGS:+false} :; then :
11127 if ${PKG_CONFIG+:} false; then :
11128 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11132 if ${HAL_LIBS:+false} :; then :
11133 if ${PKG_CONFIG+:} false; then :
11134 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11138 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11139 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11140 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11141 ac_save_CPPFLAGS=$CPPFLAGS
11142 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11143 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11144 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11146 $as_echo_n "checking for -lhal... " >&6; }
11147 if ${ac_cv_lib_soname_hal+:} false; then :
11148 $as_echo_n "(cached) " >&6
11149 else
11150 ac_check_soname_save_LIBS=$LIBS
11151 LIBS="-lhal $HAL_LIBS $LIBS"
11152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11153 /* end confdefs.h. */
11155 /* Override any GCC internal prototype to avoid an error.
11156 Use char because int might match the return type of a GCC
11157 builtin and then its argument prototype would still apply. */
11158 #ifdef __cplusplus
11159 extern "C"
11160 #endif
11161 char libhal_ctx_new ();
11163 main ()
11165 return libhal_ctx_new ();
11167 return 0;
11169 _ACEOF
11170 if ac_fn_c_try_link "$LINENO"; then :
11171 case "$LIBEXT" in
11172 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11173 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'` ;;
11174 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11175 if ${ac_cv_lib_soname_hal:+false} :; then :
11176 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11177 fi ;;
11178 esac
11180 rm -f core conftest.err conftest.$ac_objext \
11181 conftest$ac_exeext conftest.$ac_ext
11182 LIBS=$ac_check_soname_save_LIBS
11184 if ${ac_cv_lib_soname_hal:+false} :; then :
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11186 $as_echo "not found" >&6; }
11187 HAL_CFLAGS=""
11188 else
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11190 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11192 cat >>confdefs.h <<_ACEOF
11193 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11194 _ACEOF
11198 else
11199 HAL_CFLAGS=""
11203 CPPFLAGS=$ac_save_CPPFLAGS
11204 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11205 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11207 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11208 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11209 case "x$with_hal" in
11210 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11211 xno) ;;
11212 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11213 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11214 esac
11218 if test "x$with_gnutls" != "xno"
11219 then
11220 if ${GNUTLS_CFLAGS:+false} :; then :
11221 if ${PKG_CONFIG+:} false; then :
11222 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11226 if ${GNUTLS_LIBS:+false} :; then :
11227 if ${PKG_CONFIG+:} false; then :
11228 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11233 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11234 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11235 ac_save_CPPFLAGS=$CPPFLAGS
11236 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11237 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11238 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11240 /* end confdefs.h. */
11241 #include <gnutls/gnutls.h>
11242 #include <gnutls/crypto.h>
11244 main ()
11246 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11248 return 0;
11250 _ACEOF
11251 if ac_fn_c_try_compile "$LINENO"; then :
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11253 $as_echo_n "checking for -lgnutls... " >&6; }
11254 if ${ac_cv_lib_soname_gnutls+:} false; then :
11255 $as_echo_n "(cached) " >&6
11256 else
11257 ac_check_soname_save_LIBS=$LIBS
11258 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11260 /* end confdefs.h. */
11262 /* Override any GCC internal prototype to avoid an error.
11263 Use char because int might match the return type of a GCC
11264 builtin and then its argument prototype would still apply. */
11265 #ifdef __cplusplus
11266 extern "C"
11267 #endif
11268 char gnutls_global_init ();
11270 main ()
11272 return gnutls_global_init ();
11274 return 0;
11276 _ACEOF
11277 if ac_fn_c_try_link "$LINENO"; then :
11278 case "$LIBEXT" in
11279 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11280 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'` ;;
11281 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11282 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11283 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11284 fi ;;
11285 esac
11287 rm -f core conftest.err conftest.$ac_objext \
11288 conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_soname_save_LIBS
11291 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11293 $as_echo "not found" >&6; }
11294 GNUTLS_CFLAGS=""
11295 else
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11297 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11299 cat >>confdefs.h <<_ACEOF
11300 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11301 _ACEOF
11306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11307 else
11308 GNUTLS_CFLAGS=""
11312 CPPFLAGS=$ac_save_CPPFLAGS
11313 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11314 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11317 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11318 case "x$with_gnutls" in
11319 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11320 xno) ;;
11321 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11322 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11323 esac
11326 CURSES_LIBS=""
11327 if test "$ac_cv_header_ncurses_h" = "yes"
11328 then
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11330 $as_echo_n "checking for -lncurses... " >&6; }
11331 if ${ac_cv_lib_soname_ncurses+:} false; then :
11332 $as_echo_n "(cached) " >&6
11333 else
11334 ac_check_soname_save_LIBS=$LIBS
11335 LIBS="-lncurses $LIBS"
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11339 /* Override any GCC internal prototype to avoid an error.
11340 Use char because int might match the return type of a GCC
11341 builtin and then its argument prototype would still apply. */
11342 #ifdef __cplusplus
11343 extern "C"
11344 #endif
11345 char waddch ();
11347 main ()
11349 return waddch ();
11351 return 0;
11353 _ACEOF
11354 if ac_fn_c_try_link "$LINENO"; then :
11355 case "$LIBEXT" in
11356 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11357 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11358 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11359 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11360 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11361 fi ;;
11362 esac
11364 rm -f core conftest.err conftest.$ac_objext \
11365 conftest$ac_exeext conftest.$ac_ext
11366 LIBS=$ac_check_soname_save_LIBS
11368 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11370 $as_echo "not found" >&6; }
11372 else
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11374 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11376 cat >>confdefs.h <<_ACEOF
11377 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11378 _ACEOF
11380 CURSES_LIBS="-lncurses"
11382 elif test "$ac_cv_header_curses_h" = "yes"
11383 then
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11385 $as_echo_n "checking for -lcurses... " >&6; }
11386 if ${ac_cv_lib_soname_curses+:} false; then :
11387 $as_echo_n "(cached) " >&6
11388 else
11389 ac_check_soname_save_LIBS=$LIBS
11390 LIBS="-lcurses $LIBS"
11391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11394 /* Override any GCC internal prototype to avoid an error.
11395 Use char because int might match the return type of a GCC
11396 builtin and then its argument prototype would still apply. */
11397 #ifdef __cplusplus
11398 extern "C"
11399 #endif
11400 char waddch ();
11402 main ()
11404 return waddch ();
11406 return 0;
11408 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"; then :
11410 case "$LIBEXT" in
11411 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11412 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'` ;;
11413 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11414 if ${ac_cv_lib_soname_curses:+false} :; then :
11415 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11416 fi ;;
11417 esac
11419 rm -f core conftest.err conftest.$ac_objext \
11420 conftest$ac_exeext conftest.$ac_ext
11421 LIBS=$ac_check_soname_save_LIBS
11423 if ${ac_cv_lib_soname_curses:+false} :; then :
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11425 $as_echo "not found" >&6; }
11427 else
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11429 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11431 cat >>confdefs.h <<_ACEOF
11432 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11433 _ACEOF
11435 CURSES_LIBS="-lcurses"
11438 ac_save_LIBS="$LIBS"
11439 LIBS="$LIBS $CURSES_LIBS"
11440 for ac_func in mousemask
11441 do :
11442 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11443 if test "x$ac_cv_func_mousemask" = xyes; then :
11444 cat >>confdefs.h <<_ACEOF
11445 #define HAVE_MOUSEMASK 1
11446 _ACEOF
11449 done
11451 LIBS="$ac_save_LIBS"
11452 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11453 case "x$with_curses" in
11454 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11455 xno) ;;
11456 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11457 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11458 esac
11461 if test "x$with_sane" != "xno"
11462 then
11463 if ${SANE_CFLAGS:+false} :; then :
11464 if ${PKG_CONFIG+:} false; then :
11465 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11468 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11469 if ${SANE_LIBS:+false} :; then :
11470 if ${PKG_CONFIG+:} false; then :
11471 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11474 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11476 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11477 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11478 ac_save_CPPFLAGS=$CPPFLAGS
11479 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11480 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11481 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11483 $as_echo_n "checking for -lsane... " >&6; }
11484 if ${ac_cv_lib_soname_sane+:} false; then :
11485 $as_echo_n "(cached) " >&6
11486 else
11487 ac_check_soname_save_LIBS=$LIBS
11488 LIBS="-lsane $SANE_LIBS $LIBS"
11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h. */
11492 /* Override any GCC internal prototype to avoid an error.
11493 Use char because int might match the return type of a GCC
11494 builtin and then its argument prototype would still apply. */
11495 #ifdef __cplusplus
11496 extern "C"
11497 #endif
11498 char sane_init ();
11500 main ()
11502 return sane_init ();
11504 return 0;
11506 _ACEOF
11507 if ac_fn_c_try_link "$LINENO"; then :
11508 case "$LIBEXT" in
11509 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11510 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'` ;;
11511 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11512 if ${ac_cv_lib_soname_sane:+false} :; then :
11513 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11514 fi ;;
11515 esac
11517 rm -f core conftest.err conftest.$ac_objext \
11518 conftest$ac_exeext conftest.$ac_ext
11519 LIBS=$ac_check_soname_save_LIBS
11521 if ${ac_cv_lib_soname_sane:+false} :; then :
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11523 $as_echo "not found" >&6; }
11524 SANE_CFLAGS=""
11525 else
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11527 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11529 cat >>confdefs.h <<_ACEOF
11530 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11531 _ACEOF
11535 else
11536 SANE_CFLAGS=""
11540 CPPFLAGS=$ac_save_CPPFLAGS
11541 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11542 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11545 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11546 case "x$with_sane" in
11547 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11548 xno) ;;
11549 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11550 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11551 esac
11554 if test "x$with_v4l" != "xno"
11555 then
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11557 $as_echo_n "checking for -lv4l1... " >&6; }
11558 if ${ac_cv_lib_soname_v4l1+:} false; then :
11559 $as_echo_n "(cached) " >&6
11560 else
11561 ac_check_soname_save_LIBS=$LIBS
11562 LIBS="-lv4l1 $LIBS"
11563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11564 /* end confdefs.h. */
11566 /* Override any GCC internal prototype to avoid an error.
11567 Use char because int might match the return type of a GCC
11568 builtin and then its argument prototype would still apply. */
11569 #ifdef __cplusplus
11570 extern "C"
11571 #endif
11572 char v4l1_open ();
11574 main ()
11576 return v4l1_open ();
11578 return 0;
11580 _ACEOF
11581 if ac_fn_c_try_link "$LINENO"; then :
11582 case "$LIBEXT" in
11583 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11584 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'` ;;
11585 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11586 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11587 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11588 fi ;;
11589 esac
11591 rm -f core conftest.err conftest.$ac_objext \
11592 conftest$ac_exeext conftest.$ac_ext
11593 LIBS=$ac_check_soname_save_LIBS
11595 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11597 $as_echo "not found" >&6; }
11599 else
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11601 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11603 cat >>confdefs.h <<_ACEOF
11604 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11605 _ACEOF
11610 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11611 case "x$with_v4l" in
11612 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11613 xno) ;;
11614 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11615 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11616 esac
11619 if test "x$with_gphoto" != "xno"
11620 then
11621 if ${GPHOTO2_CFLAGS:+false} :; then :
11622 if ${PKG_CONFIG+:} false; then :
11623 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11626 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11627 if ${GPHOTO2_LIBS:+false} :; then :
11628 if ${PKG_CONFIG+:} false; then :
11629 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11632 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11633 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11634 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11635 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11636 ac_save_CPPFLAGS=$CPPFLAGS
11637 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11638 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11639 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11641 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11642 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11643 $as_echo_n "(cached) " >&6
11644 else
11645 ac_check_lib_save_LIBS=$LIBS
11646 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11648 /* end confdefs.h. */
11650 /* Override any GCC internal prototype to avoid an error.
11651 Use char because int might match the return type of a GCC
11652 builtin and then its argument prototype would still apply. */
11653 #ifdef __cplusplus
11654 extern "C"
11655 #endif
11656 char gp_camera_new ();
11658 main ()
11660 return gp_camera_new ();
11662 return 0;
11664 _ACEOF
11665 if ac_fn_c_try_link "$LINENO"; then :
11666 ac_cv_lib_gphoto2_gp_camera_new=yes
11667 else
11668 ac_cv_lib_gphoto2_gp_camera_new=no
11670 rm -f core conftest.err conftest.$ac_objext \
11671 conftest$ac_exeext conftest.$ac_ext
11672 LIBS=$ac_check_lib_save_LIBS
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11675 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11676 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11678 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11680 else
11681 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11684 else
11685 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11689 CPPFLAGS=$ac_save_CPPFLAGS
11690 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11691 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11693 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11694 if ${PKG_CONFIG+:} false; then :
11695 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11698 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11699 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11700 if ${PKG_CONFIG+:} false; then :
11701 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11704 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11705 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11706 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11707 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11708 ac_save_CPPFLAGS=$CPPFLAGS
11709 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11710 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11711 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11713 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11714 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11715 $as_echo_n "(cached) " >&6
11716 else
11717 ac_check_lib_save_LIBS=$LIBS
11718 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11720 /* end confdefs.h. */
11722 /* Override any GCC internal prototype to avoid an error.
11723 Use char because int might match the return type of a GCC
11724 builtin and then its argument prototype would still apply. */
11725 #ifdef __cplusplus
11726 extern "C"
11727 #endif
11728 char gp_port_info_list_new ();
11730 main ()
11732 return gp_port_info_list_new ();
11734 return 0;
11736 _ACEOF
11737 if ac_fn_c_try_link "$LINENO"; then :
11738 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11739 else
11740 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11742 rm -f core conftest.err conftest.$ac_objext \
11743 conftest$ac_exeext conftest.$ac_ext
11744 LIBS=$ac_check_lib_save_LIBS
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11747 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11748 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11750 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11752 else
11753 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11756 else
11757 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11761 CPPFLAGS=$ac_save_CPPFLAGS
11762 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11763 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11766 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11767 case "x$with_gphoto" in
11768 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11769 xno) ;;
11770 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11771 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11772 esac
11774 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11775 case "x$with_gphoto" in
11776 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11777 xno) ;;
11778 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11779 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11780 esac
11784 if test "$ac_cv_header_resolv_h" = "yes"
11785 then
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11787 $as_echo_n "checking for resolver library... " >&6; }
11788 if ${ac_cv_have_resolv+:} false; then :
11789 $as_echo_n "(cached) " >&6
11790 else
11791 ac_save_LIBS="$LIBS"
11792 for lib in '' -lresolv
11794 LIBS="$lib $ac_save_LIBS"
11795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11796 /* end confdefs.h. */
11797 #ifdef HAVE_NETINET_IN_H
11798 #include <netinet/in.h>
11799 #endif
11800 #include <resolv.h>
11802 main ()
11804 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11806 return 0;
11808 _ACEOF
11809 if ac_fn_c_try_link "$LINENO"; then :
11810 ac_cv_have_resolv=${lib:-"none required"}
11811 else
11812 ac_cv_have_resolv="not found"
11814 rm -f core conftest.err conftest.$ac_objext \
11815 conftest$ac_exeext conftest.$ac_ext
11816 test "x$ac_cv_have_resolv" = "xnot found" || break
11817 done
11818 LIBS="$ac_save_LIBS"
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11821 $as_echo "$ac_cv_have_resolv" >&6; }
11823 case "$ac_cv_have_resolv" in
11824 "not found") ;;
11825 "none required")
11827 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11830 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11832 RESOLV_LIBS=$ac_cv_have_resolv
11834 esac
11837 if test "x$with_lcms2" != "xno"
11838 then
11839 if ${LCMS2_CFLAGS:+false} :; then :
11840 if ${PKG_CONFIG+:} false; then :
11841 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11845 if ${LCMS2_LIBS:+false} :; then :
11846 if ${PKG_CONFIG+:} false; then :
11847 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11851 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11852 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11853 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11854 ac_save_CPPFLAGS=$CPPFLAGS
11855 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11856 for ac_header in lcms2.h
11857 do :
11858 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11859 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11860 cat >>confdefs.h <<_ACEOF
11861 #define HAVE_LCMS2_H 1
11862 _ACEOF
11866 done
11868 if test "$ac_cv_header_lcms2_h" = "yes"
11869 then
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11871 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11872 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11873 $as_echo_n "(cached) " >&6
11874 else
11875 ac_check_lib_save_LIBS=$LIBS
11876 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11878 /* end confdefs.h. */
11880 /* Override any GCC internal prototype to avoid an error.
11881 Use char because int might match the return type of a GCC
11882 builtin and then its argument prototype would still apply. */
11883 #ifdef __cplusplus
11884 extern "C"
11885 #endif
11886 char cmsOpenProfileFromFile ();
11888 main ()
11890 return cmsOpenProfileFromFile ();
11892 return 0;
11894 _ACEOF
11895 if ac_fn_c_try_link "$LINENO"; then :
11896 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11897 else
11898 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11900 rm -f core conftest.err conftest.$ac_objext \
11901 conftest$ac_exeext conftest.$ac_ext
11902 LIBS=$ac_check_lib_save_LIBS
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11905 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11906 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11908 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11910 else
11911 LCMS2_LIBS=""
11914 else
11915 LCMS2_CFLAGS=""
11916 LCMS2_LIBS=""
11918 CPPFLAGS=$ac_save_CPPFLAGS
11919 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11920 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11923 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11924 case "x$with_cms" in
11925 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11926 xno) ;;
11927 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11928 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11929 esac
11932 if test "x$with_freetype" != "xno"
11933 then
11934 if ${FREETYPE_CFLAGS:+false} :; then :
11935 if ${PKG_CONFIG+:} false; then :
11936 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11939 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11940 if ${FREETYPE_LIBS:+false} :; then :
11941 if ${PKG_CONFIG+:} false; then :
11942 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11945 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11946 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11947 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11948 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11949 ac_save_CPPFLAGS=$CPPFLAGS
11950 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11951 for ac_header in ft2build.h
11952 do :
11953 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11954 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11955 cat >>confdefs.h <<_ACEOF
11956 #define HAVE_FT2BUILD_H 1
11957 _ACEOF
11961 done
11963 if test "$ac_cv_header_ft2build_h" = "yes"
11964 then
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11966 $as_echo_n "checking for -lfreetype... " >&6; }
11967 if ${ac_cv_lib_soname_freetype+:} false; then :
11968 $as_echo_n "(cached) " >&6
11969 else
11970 ac_check_soname_save_LIBS=$LIBS
11971 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h. */
11975 /* Override any GCC internal prototype to avoid an error.
11976 Use char because int might match the return type of a GCC
11977 builtin and then its argument prototype would still apply. */
11978 #ifdef __cplusplus
11979 extern "C"
11980 #endif
11981 char FT_Init_FreeType ();
11983 main ()
11985 return FT_Init_FreeType ();
11987 return 0;
11989 _ACEOF
11990 if ac_fn_c_try_link "$LINENO"; then :
11991 case "$LIBEXT" in
11992 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11993 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'` ;;
11994 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11995 if ${ac_cv_lib_soname_freetype:+false} :; then :
11996 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11997 fi ;;
11998 esac
12000 rm -f core conftest.err conftest.$ac_objext \
12001 conftest$ac_exeext conftest.$ac_ext
12002 LIBS=$ac_check_soname_save_LIBS
12004 if ${ac_cv_lib_soname_freetype:+false} :; then :
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12006 $as_echo "not found" >&6; }
12007 FREETYPE_LIBS=""
12008 else
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12010 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12012 cat >>confdefs.h <<_ACEOF
12013 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12014 _ACEOF
12017 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12019 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12020 #include FT_MODULE_H
12022 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12024 cat >>confdefs.h <<_ACEOF
12025 #define HAVE_FT_TRUETYPEENGINETYPE 1
12026 _ACEOF
12032 else
12033 FREETYPE_CFLAGS=""
12034 FREETYPE_LIBS=""
12036 CPPFLAGS=$ac_save_CPPFLAGS
12037 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12038 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12041 if test "x$ac_cv_lib_soname_freetype" = x; then :
12042 case "x$with_freetype" in
12043 xno) ;;
12044 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12045 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12046 esac
12048 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12051 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12052 if ${ac_cv_c_ppdev+:} false; then :
12053 $as_echo_n "(cached) " >&6
12054 else
12055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12056 /* end confdefs.h. */
12057 #ifdef HAVE_SYS_IOCTL_H
12058 # include <sys/ioctl.h>
12059 #endif
12060 #include <linux/ppdev.h>
12062 main ()
12064 ioctl (1,PPCLAIM,0)
12066 return 0;
12068 _ACEOF
12069 if ac_fn_c_try_compile "$LINENO"; then :
12070 ac_cv_c_ppdev="yes"
12071 else
12072 ac_cv_c_ppdev="no"
12074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12077 $as_echo "$ac_cv_c_ppdev" >&6; }
12078 if test "$ac_cv_c_ppdev" = "yes"
12079 then
12081 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12085 ac_wine_check_funcs_save_LIBS="$LIBS"
12086 LIBS="$LIBS $PTHREAD_LIBS"
12087 for ac_func in \
12088 pthread_attr_get_np \
12089 pthread_getattr_np \
12090 pthread_getthreadid_np \
12091 pthread_get_stackaddr_np \
12092 pthread_get_stacksize_np
12093 do :
12094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12096 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12097 cat >>confdefs.h <<_ACEOF
12098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12099 _ACEOF
12102 done
12104 LIBS="$ac_wine_check_funcs_save_LIBS"
12106 if test "$ac_cv_header_zlib_h" = "yes"
12107 then
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12109 $as_echo_n "checking for inflate in -lz... " >&6; }
12110 if ${ac_cv_lib_z_inflate+:} false; then :
12111 $as_echo_n "(cached) " >&6
12112 else
12113 ac_check_lib_save_LIBS=$LIBS
12114 LIBS="-lz $LIBS"
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12121 #ifdef __cplusplus
12122 extern "C"
12123 #endif
12124 char inflate ();
12126 main ()
12128 return inflate ();
12130 return 0;
12132 _ACEOF
12133 if ac_fn_c_try_link "$LINENO"; then :
12134 ac_cv_lib_z_inflate=yes
12135 else
12136 ac_cv_lib_z_inflate=no
12138 rm -f core conftest.err conftest.$ac_objext \
12139 conftest$ac_exeext conftest.$ac_ext
12140 LIBS=$ac_check_lib_save_LIBS
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12143 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12144 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12146 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12148 Z_LIBS="-lz"
12153 if test "x$Z_LIBS" = "x"; then :
12154 case "x$with_zlib" in
12155 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12156 xno) ;;
12157 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12158 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12159 esac
12162 if test "x$enable_tools" != xno
12163 then
12164 if test "$ac_cv_header_gettext_po_h" = "yes"
12165 then
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12167 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12168 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12169 $as_echo_n "(cached) " >&6
12170 else
12171 ac_check_lib_save_LIBS=$LIBS
12172 LIBS="-lgettextpo $LIBS"
12173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12174 /* end confdefs.h. */
12176 /* Override any GCC internal prototype to avoid an error.
12177 Use char because int might match the return type of a GCC
12178 builtin and then its argument prototype would still apply. */
12179 #ifdef __cplusplus
12180 extern "C"
12181 #endif
12182 char po_message_msgctxt ();
12184 main ()
12186 return po_message_msgctxt ();
12188 return 0;
12190 _ACEOF
12191 if ac_fn_c_try_link "$LINENO"; then :
12192 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12193 else
12194 ac_cv_lib_gettextpo_po_message_msgctxt=no
12196 rm -f core conftest.err conftest.$ac_objext \
12197 conftest$ac_exeext conftest.$ac_ext
12198 LIBS=$ac_check_lib_save_LIBS
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12201 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12202 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12204 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12206 GETTEXTPO_LIBS="-lgettextpo"
12211 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12212 case "x$with_gettextpo" in
12213 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12214 xno) ;;
12215 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12216 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12217 esac
12221 if test "x$with_gstreamer" != "xno"
12222 then
12223 if ${GSTREAMER_CFLAGS:+false} :; then :
12224 if ${PKG_CONFIG+:} false; then :
12225 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12229 if ${GSTREAMER_LIBS:+false} :; then :
12230 if ${PKG_CONFIG+:} false; then :
12231 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12236 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12237 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12238 ac_save_CPPFLAGS=$CPPFLAGS
12239 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12240 ac_gst_incl=""
12241 for i in $GSTREAMER_CFLAGS
12243 case "$i" in
12244 -I*) ac_gst_incl="$ac_gst_incl $i";;
12245 esac
12246 done
12247 GSTREAMER_CFLAGS=$ac_gst_incl
12248 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12249 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12250 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12251 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12252 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12254 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12256 /* end confdefs.h. */
12257 #include <gst/app/gstappsink.h>
12259 main ()
12261 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12263 return 0;
12265 _ACEOF
12266 if ac_fn_c_try_compile "$LINENO"; then :
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12268 $as_echo "yes" >&6; }
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12270 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12271 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12272 $as_echo_n "(cached) " >&6
12273 else
12274 ac_check_lib_save_LIBS=$LIBS
12275 LIBS="-lgstreamer-0.10 $LIBS"
12276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12277 /* end confdefs.h. */
12279 /* Override any GCC internal prototype to avoid an error.
12280 Use char because int might match the return type of a GCC
12281 builtin and then its argument prototype would still apply. */
12282 #ifdef __cplusplus
12283 extern "C"
12284 #endif
12285 char gst_pad_get_caps_reffed ();
12287 main ()
12289 return gst_pad_get_caps_reffed ();
12291 return 0;
12293 _ACEOF
12294 if ac_fn_c_try_link "$LINENO"; then :
12295 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12296 else
12297 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12299 rm -f core conftest.err conftest.$ac_objext \
12300 conftest$ac_exeext conftest.$ac_ext
12301 LIBS=$ac_check_lib_save_LIBS
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12304 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12305 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12307 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12308 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12309 $as_echo_n "(cached) " >&6
12310 else
12311 ac_check_lib_save_LIBS=$LIBS
12312 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12314 /* end confdefs.h. */
12316 /* Override any GCC internal prototype to avoid an error.
12317 Use char because int might match the return type of a GCC
12318 builtin and then its argument prototype would still apply. */
12319 #ifdef __cplusplus
12320 extern "C"
12321 #endif
12322 char gst_app_buffer_new ();
12324 main ()
12326 return gst_app_buffer_new ();
12328 return 0;
12330 _ACEOF
12331 if ac_fn_c_try_link "$LINENO"; then :
12332 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12333 else
12334 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12336 rm -f core conftest.err conftest.$ac_objext \
12337 conftest$ac_exeext conftest.$ac_ext
12338 LIBS=$ac_check_lib_save_LIBS
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12341 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12342 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12348 else
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12350 $as_echo "no" >&6; }
12352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12356 else
12357 GSTREAMER_CFLAGS=""
12361 CPPFLAGS=$ac_save_CPPFLAGS
12362 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12363 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12366 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12367 case "x$with_gstreamer" in
12368 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12369 xno) ;;
12370 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12371 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12372 esac
12374 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12376 ALSA_LIBS=""
12378 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12379 then
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12381 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12382 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12383 $as_echo_n "(cached) " >&6
12384 else
12385 ac_check_lib_save_LIBS=$LIBS
12386 LIBS="-lasound $LIBS"
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12390 /* Override any GCC internal prototype to avoid an error.
12391 Use char because int might match the return type of a GCC
12392 builtin and then its argument prototype would still apply. */
12393 #ifdef __cplusplus
12394 extern "C"
12395 #endif
12396 char snd_pcm_hw_params_get_access_mask ();
12398 main ()
12400 return snd_pcm_hw_params_get_access_mask ();
12402 return 0;
12404 _ACEOF
12405 if ac_fn_c_try_link "$LINENO"; then :
12406 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12407 else
12408 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12410 rm -f core conftest.err conftest.$ac_objext \
12411 conftest$ac_exeext conftest.$ac_ext
12412 LIBS=$ac_check_lib_save_LIBS
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12415 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12416 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12418 /* end confdefs.h. */
12419 #ifdef HAVE_ALSA_ASOUNDLIB_H
12420 #include <alsa/asoundlib.h>
12421 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12422 #include <sys/asoundlib.h>
12423 #endif
12425 main ()
12427 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12429 return 0;
12431 _ACEOF
12432 if ac_fn_c_try_compile "$LINENO"; then :
12433 ALSA_LIBS="-lasound"
12435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12440 if test "x$with_oss" != xno
12441 then
12442 ac_save_CPPFLAGS="$CPPFLAGS"
12443 if test -f /etc/oss.conf
12444 then
12445 . /etc/oss.conf
12447 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12448 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12449 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12450 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12451 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12453 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12455 cat >>confdefs.h <<_ACEOF
12456 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12457 _ACEOF
12459 OSS4_CFLAGS="$ac_oss_incl"
12466 CPPFLAGS="$ac_save_CPPFLAGS"
12467 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12468 then
12469 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12473 if test "x$with_capi" != "xno"
12474 then
12475 if ${CAPI20_CFLAGS:+false} :; then :
12476 if ${PKG_CONFIG+:} false; then :
12477 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12481 if ${CAPI20_LIBS:+false} :; then :
12482 if ${PKG_CONFIG+:} false; then :
12483 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12488 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12489 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12490 ac_save_CPPFLAGS=$CPPFLAGS
12491 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12492 for ac_header in capi20.h linux/capi.h
12493 do :
12494 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12495 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12497 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12498 cat >>confdefs.h <<_ACEOF
12499 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12500 _ACEOF
12504 done
12506 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12507 then
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12509 $as_echo_n "checking for -lcapi20... " >&6; }
12510 if ${ac_cv_lib_soname_capi20+:} false; then :
12511 $as_echo_n "(cached) " >&6
12512 else
12513 ac_check_soname_save_LIBS=$LIBS
12514 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12516 /* end confdefs.h. */
12518 /* Override any GCC internal prototype to avoid an error.
12519 Use char because int might match the return type of a GCC
12520 builtin and then its argument prototype would still apply. */
12521 #ifdef __cplusplus
12522 extern "C"
12523 #endif
12524 char capi20_register ();
12526 main ()
12528 return capi20_register ();
12530 return 0;
12532 _ACEOF
12533 if ac_fn_c_try_link "$LINENO"; then :
12534 case "$LIBEXT" in
12535 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12536 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'` ;;
12537 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12538 if ${ac_cv_lib_soname_capi20:+false} :; then :
12539 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12540 fi ;;
12541 esac
12543 rm -f core conftest.err conftest.$ac_objext \
12544 conftest$ac_exeext conftest.$ac_ext
12545 LIBS=$ac_check_soname_save_LIBS
12547 if ${ac_cv_lib_soname_capi20:+false} :; then :
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12549 $as_echo "not found" >&6; }
12551 else
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12553 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12555 cat >>confdefs.h <<_ACEOF
12556 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12557 _ACEOF
12562 CPPFLAGS=$ac_save_CPPFLAGS
12563 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12564 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12567 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12568 case "x$with_capi" in
12569 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12570 xno) ;;
12571 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12572 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12573 esac
12576 CUPS_CFLAGS=""
12578 if test "x$with_cups" != "xno"
12579 then
12580 ac_save_CPPFLAGS="$CPPFLAGS"
12581 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12582 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12583 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12584 for ac_header in cups/cups.h
12585 do :
12586 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12587 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12588 cat >>confdefs.h <<_ACEOF
12589 #define HAVE_CUPS_CUPS_H 1
12590 _ACEOF
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12592 $as_echo_n "checking for -lcups... " >&6; }
12593 if ${ac_cv_lib_soname_cups+:} false; then :
12594 $as_echo_n "(cached) " >&6
12595 else
12596 ac_check_soname_save_LIBS=$LIBS
12597 LIBS="-lcups $ac_cups_libs $LIBS"
12598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12599 /* end confdefs.h. */
12601 /* Override any GCC internal prototype to avoid an error.
12602 Use char because int might match the return type of a GCC
12603 builtin and then its argument prototype would still apply. */
12604 #ifdef __cplusplus
12605 extern "C"
12606 #endif
12607 char cupsGetDefault ();
12609 main ()
12611 return cupsGetDefault ();
12613 return 0;
12615 _ACEOF
12616 if ac_fn_c_try_link "$LINENO"; then :
12617 case "$LIBEXT" in
12618 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12619 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'` ;;
12620 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12621 if ${ac_cv_lib_soname_cups:+false} :; then :
12622 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12623 fi ;;
12624 esac
12626 rm -f core conftest.err conftest.$ac_objext \
12627 conftest$ac_exeext conftest.$ac_ext
12628 LIBS=$ac_check_soname_save_LIBS
12630 if ${ac_cv_lib_soname_cups:+false} :; then :
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12632 $as_echo "not found" >&6; }
12634 else
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12636 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12638 cat >>confdefs.h <<_ACEOF
12639 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12640 _ACEOF
12642 CUPS_CFLAGS="$ac_cups_cflags"
12646 done
12648 CPPFLAGS="$ac_save_CPPFLAGS"
12650 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12651 case "x$with_cups" in
12652 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12653 xno) ;;
12654 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12655 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12656 esac
12659 if test "x$with_fontconfig" != "xno"
12660 then
12661 if ${FONTCONFIG_CFLAGS:+false} :; then :
12662 if ${PKG_CONFIG+:} false; then :
12663 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12666 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12667 if ${FONTCONFIG_LIBS:+false} :; then :
12668 if ${PKG_CONFIG+:} false; then :
12669 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12672 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12674 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12675 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12676 ac_save_CPPFLAGS=$CPPFLAGS
12677 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12678 for ac_header in fontconfig/fontconfig.h
12679 do :
12680 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12681 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12682 cat >>confdefs.h <<_ACEOF
12683 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12684 _ACEOF
12688 done
12690 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12691 then
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12693 $as_echo_n "checking for -lfontconfig... " >&6; }
12694 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12695 $as_echo_n "(cached) " >&6
12696 else
12697 ac_check_soname_save_LIBS=$LIBS
12698 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12700 /* end confdefs.h. */
12702 /* Override any GCC internal prototype to avoid an error.
12703 Use char because int might match the return type of a GCC
12704 builtin and then its argument prototype would still apply. */
12705 #ifdef __cplusplus
12706 extern "C"
12707 #endif
12708 char FcInit ();
12710 main ()
12712 return FcInit ();
12714 return 0;
12716 _ACEOF
12717 if ac_fn_c_try_link "$LINENO"; then :
12718 case "$LIBEXT" in
12719 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12720 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'` ;;
12721 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12722 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12723 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12724 fi ;;
12725 esac
12727 rm -f core conftest.err conftest.$ac_objext \
12728 conftest$ac_exeext conftest.$ac_ext
12729 LIBS=$ac_check_soname_save_LIBS
12731 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12733 $as_echo "not found" >&6; }
12734 FONTCONFIG_CFLAGS=""
12735 else
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12737 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12739 cat >>confdefs.h <<_ACEOF
12740 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12741 _ACEOF
12745 else
12746 FONTCONFIG_CFLAGS=""
12748 CPPFLAGS=$ac_save_CPPFLAGS
12749 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12750 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12753 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12754 case "x$with_fontconfig" in
12755 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12756 xno) ;;
12757 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12758 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12759 esac
12762 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12763 then
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12765 $as_echo_n "checking for -lgsm... " >&6; }
12766 if ${ac_cv_lib_soname_gsm+:} false; then :
12767 $as_echo_n "(cached) " >&6
12768 else
12769 ac_check_soname_save_LIBS=$LIBS
12770 LIBS="-lgsm $LIBS"
12771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12774 /* Override any GCC internal prototype to avoid an error.
12775 Use char because int might match the return type of a GCC
12776 builtin and then its argument prototype would still apply. */
12777 #ifdef __cplusplus
12778 extern "C"
12779 #endif
12780 char gsm_create ();
12782 main ()
12784 return gsm_create ();
12786 return 0;
12788 _ACEOF
12789 if ac_fn_c_try_link "$LINENO"; then :
12790 case "$LIBEXT" in
12791 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12792 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'` ;;
12793 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12794 if ${ac_cv_lib_soname_gsm:+false} :; then :
12795 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12796 fi ;;
12797 esac
12799 rm -f core conftest.err conftest.$ac_objext \
12800 conftest$ac_exeext conftest.$ac_ext
12801 LIBS=$ac_check_soname_save_LIBS
12803 if ${ac_cv_lib_soname_gsm:+false} :; then :
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12805 $as_echo "not found" >&6; }
12807 else
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12809 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12811 cat >>confdefs.h <<_ACEOF
12812 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12813 _ACEOF
12818 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12819 case "x$with_gsm" in
12820 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12821 xno) ;;
12822 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12823 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12824 esac
12827 if test "x$with_jpeg" != "xno"
12828 then
12829 if ${JPEG_CFLAGS:+false} :; then :
12830 if ${PKG_CONFIG+:} false; then :
12831 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12835 if ${JPEG_LIBS:+false} :; then :
12836 if ${PKG_CONFIG+:} false; then :
12837 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12842 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12843 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12844 ac_save_CPPFLAGS=$CPPFLAGS
12845 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12846 for ac_header in jpeglib.h
12847 do :
12848 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12849 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12850 cat >>confdefs.h <<_ACEOF
12851 #define HAVE_JPEGLIB_H 1
12852 _ACEOF
12856 done
12858 if test "$ac_cv_header_jpeglib_h" = "yes"
12859 then
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12861 $as_echo_n "checking for -ljpeg... " >&6; }
12862 if ${ac_cv_lib_soname_jpeg+:} false; then :
12863 $as_echo_n "(cached) " >&6
12864 else
12865 ac_check_soname_save_LIBS=$LIBS
12866 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12868 /* end confdefs.h. */
12870 /* Override any GCC internal prototype to avoid an error.
12871 Use char because int might match the return type of a GCC
12872 builtin and then its argument prototype would still apply. */
12873 #ifdef __cplusplus
12874 extern "C"
12875 #endif
12876 char jpeg_start_decompress ();
12878 main ()
12880 return jpeg_start_decompress ();
12882 return 0;
12884 _ACEOF
12885 if ac_fn_c_try_link "$LINENO"; then :
12886 case "$LIBEXT" in
12887 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12888 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'` ;;
12889 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12890 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12891 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12892 fi ;;
12893 esac
12895 rm -f core conftest.err conftest.$ac_objext \
12896 conftest$ac_exeext conftest.$ac_ext
12897 LIBS=$ac_check_soname_save_LIBS
12899 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12901 $as_echo "not found" >&6; }
12902 JPEG_CFLAGS=""
12903 else
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12905 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12907 cat >>confdefs.h <<_ACEOF
12908 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12909 _ACEOF
12913 else
12914 JPEG_CFLAGS=""
12916 CPPFLAGS=$ac_save_CPPFLAGS
12917 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12918 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12921 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12922 case "x$with_jpeg" in
12923 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12924 xno) ;;
12925 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12926 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12927 esac
12930 if test "x$with_png" != "xno"
12931 then
12932 if ${PNG_CFLAGS:+false} :; then :
12933 if ${PKG_CONFIG+:} false; then :
12934 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12937 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12938 if ${PNG_LIBS:+false} :; then :
12939 if ${PKG_CONFIG+:} false; then :
12940 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12943 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12945 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12946 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12947 ac_save_CPPFLAGS=$CPPFLAGS
12948 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12949 for ac_header in png.h
12950 do :
12951 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12952 if test "x$ac_cv_header_png_h" = xyes; then :
12953 cat >>confdefs.h <<_ACEOF
12954 #define HAVE_PNG_H 1
12955 _ACEOF
12959 done
12961 if test "$ac_cv_header_png_h" = "yes"
12962 then
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12964 $as_echo_n "checking for -lpng... " >&6; }
12965 if ${ac_cv_lib_soname_png+:} false; then :
12966 $as_echo_n "(cached) " >&6
12967 else
12968 ac_check_soname_save_LIBS=$LIBS
12969 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12971 /* end confdefs.h. */
12973 /* Override any GCC internal prototype to avoid an error.
12974 Use char because int might match the return type of a GCC
12975 builtin and then its argument prototype would still apply. */
12976 #ifdef __cplusplus
12977 extern "C"
12978 #endif
12979 char png_create_read_struct ();
12981 main ()
12983 return png_create_read_struct ();
12985 return 0;
12987 _ACEOF
12988 if ac_fn_c_try_link "$LINENO"; then :
12989 case "$LIBEXT" in
12990 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12991 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'` ;;
12992 *) 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'`
12993 if ${ac_cv_lib_soname_png:+false} :; then :
12994 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12995 fi ;;
12996 esac
12998 rm -f core conftest.err conftest.$ac_objext \
12999 conftest$ac_exeext conftest.$ac_ext
13000 LIBS=$ac_check_soname_save_LIBS
13002 if ${ac_cv_lib_soname_png:+false} :; then :
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13004 $as_echo "not found" >&6; }
13005 PNG_CFLAGS=""
13006 else
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13008 $as_echo "$ac_cv_lib_soname_png" >&6; }
13010 cat >>confdefs.h <<_ACEOF
13011 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13012 _ACEOF
13014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13015 /* end confdefs.h. */
13016 #include <png.h>
13018 main ()
13020 typeof(png_set_expand_gray_1_2_4_to_8) *p
13022 return 0;
13024 _ACEOF
13025 if ac_fn_c_try_compile "$LINENO"; then :
13027 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13032 else
13033 PNG_CFLAGS=""
13035 CPPFLAGS=$ac_save_CPPFLAGS
13036 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13037 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13040 if test "x$ac_cv_lib_soname_png" = "x"; then :
13041 case "x$with_png" in
13042 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13043 xno) ;;
13044 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13045 This is an error since --with-png was requested." "$LINENO" 5 ;;
13046 esac
13049 if test "x$with_tiff" != "xno"
13050 then
13051 if ${TIFF_CFLAGS:+false} :; then :
13052 if ${PKG_CONFIG+:} false; then :
13053 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13057 if ${TIFF_LIBS:+false} :; then :
13058 if ${PKG_CONFIG+:} false; then :
13059 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13064 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13065 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13066 ac_save_CPPFLAGS=$CPPFLAGS
13067 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13068 for ac_header in tiffio.h
13069 do :
13070 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13071 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13072 cat >>confdefs.h <<_ACEOF
13073 #define HAVE_TIFFIO_H 1
13074 _ACEOF
13078 done
13080 if test "$ac_cv_header_tiffio_h" = "yes"
13081 then
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13083 $as_echo_n "checking for -ltiff... " >&6; }
13084 if ${ac_cv_lib_soname_tiff+:} false; then :
13085 $as_echo_n "(cached) " >&6
13086 else
13087 ac_check_soname_save_LIBS=$LIBS
13088 LIBS="-ltiff $TIFF_LIBS $LIBS"
13089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h. */
13092 /* Override any GCC internal prototype to avoid an error.
13093 Use char because int might match the return type of a GCC
13094 builtin and then its argument prototype would still apply. */
13095 #ifdef __cplusplus
13096 extern "C"
13097 #endif
13098 char TIFFClientOpen ();
13100 main ()
13102 return TIFFClientOpen ();
13104 return 0;
13106 _ACEOF
13107 if ac_fn_c_try_link "$LINENO"; then :
13108 case "$LIBEXT" in
13109 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13110 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'` ;;
13111 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13112 if ${ac_cv_lib_soname_tiff:+false} :; then :
13113 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13114 fi ;;
13115 esac
13117 rm -f core conftest.err conftest.$ac_objext \
13118 conftest$ac_exeext conftest.$ac_ext
13119 LIBS=$ac_check_soname_save_LIBS
13121 if ${ac_cv_lib_soname_tiff:+false} :; then :
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13123 $as_echo "not found" >&6; }
13125 else
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13127 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13129 cat >>confdefs.h <<_ACEOF
13130 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13131 _ACEOF
13136 CPPFLAGS=$ac_save_CPPFLAGS
13137 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13138 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13141 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13142 case "x$with_tiff" in
13143 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13144 xno) ;;
13145 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13146 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13147 esac
13150 if test "x$with_mpg123" != "xno"
13151 then
13152 if ${MPG123_CFLAGS:+false} :; then :
13153 if ${PKG_CONFIG+:} false; then :
13154 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13158 if ${MPG123_LIBS:+false} :; then :
13159 if ${PKG_CONFIG+:} false; then :
13160 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13164 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13165 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13166 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13167 ac_save_CPPFLAGS=$CPPFLAGS
13168 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13169 for ac_header in mpg123.h
13170 do :
13171 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13172 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13173 cat >>confdefs.h <<_ACEOF
13174 #define HAVE_MPG123_H 1
13175 _ACEOF
13179 done
13181 if test "$ac_cv_header_mpg123_h" = "yes"
13182 then
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13184 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13185 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13186 $as_echo_n "(cached) " >&6
13187 else
13188 ac_check_lib_save_LIBS=$LIBS
13189 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13191 /* end confdefs.h. */
13193 /* Override any GCC internal prototype to avoid an error.
13194 Use char because int might match the return type of a GCC
13195 builtin and then its argument prototype would still apply. */
13196 #ifdef __cplusplus
13197 extern "C"
13198 #endif
13199 char mpg123_feed ();
13201 main ()
13203 return mpg123_feed ();
13205 return 0;
13207 _ACEOF
13208 if ac_fn_c_try_link "$LINENO"; then :
13209 ac_cv_lib_mpg123_mpg123_feed=yes
13210 else
13211 ac_cv_lib_mpg123_mpg123_feed=no
13213 rm -f core conftest.err conftest.$ac_objext \
13214 conftest$ac_exeext conftest.$ac_ext
13215 LIBS=$ac_check_lib_save_LIBS
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13218 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13219 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13221 else
13222 MPG123_LIBS=""
13225 else
13226 MPG123_CFLAGS=""
13227 MPG123_LIBS=""
13229 CPPFLAGS=$ac_save_CPPFLAGS
13230 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13231 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13234 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13235 case "x$with_mpg123" in
13236 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13237 xno) ;;
13238 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13239 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13240 esac
13242 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}
13244 if test "$ac_cv_header_AL_al_h" = "yes"
13245 then
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13247 $as_echo_n "checking for -lopenal... " >&6; }
13248 if ${ac_cv_lib_soname_openal+:} false; then :
13249 $as_echo_n "(cached) " >&6
13250 else
13251 ac_check_soname_save_LIBS=$LIBS
13252 LIBS="-lopenal $LIBS"
13253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13254 /* end confdefs.h. */
13256 /* Override any GCC internal prototype to avoid an error.
13257 Use char because int might match the return type of a GCC
13258 builtin and then its argument prototype would still apply. */
13259 #ifdef __cplusplus
13260 extern "C"
13261 #endif
13262 char alGetSource3i ();
13264 main ()
13266 return alGetSource3i ();
13268 return 0;
13270 _ACEOF
13271 if ac_fn_c_try_link "$LINENO"; then :
13272 case "$LIBEXT" in
13273 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13274 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'` ;;
13275 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13276 if ${ac_cv_lib_soname_openal:+false} :; then :
13277 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13278 fi ;;
13279 esac
13281 rm -f core conftest.err conftest.$ac_objext \
13282 conftest$ac_exeext conftest.$ac_ext
13283 LIBS=$ac_check_soname_save_LIBS
13285 if ${ac_cv_lib_soname_openal:+false} :; then :
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13287 $as_echo "not found" >&6; }
13289 else
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13291 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13293 cat >>confdefs.h <<_ACEOF
13294 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13295 _ACEOF
13297 OPENAL_LIBS="-lopenal"
13299 ac_cv_lib_openal=yes
13301 cat >>confdefs.h <<_ACEOF
13302 #define HAVE_OPENAL 1
13303 _ACEOF
13307 if test "x$ac_cv_lib_openal" != xyes; then :
13308 case "x$with_openal" in
13309 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13310 xno) ;;
13311 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13312 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13313 esac
13315 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13317 if test "$ac_cv_header_kstat_h" = "yes"
13318 then
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13320 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13321 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13322 $as_echo_n "(cached) " >&6
13323 else
13324 ac_check_lib_save_LIBS=$LIBS
13325 LIBS="-lkstat $LIBS"
13326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13329 /* Override any GCC internal prototype to avoid an error.
13330 Use char because int might match the return type of a GCC
13331 builtin and then its argument prototype would still apply. */
13332 #ifdef __cplusplus
13333 extern "C"
13334 #endif
13335 char kstat_open ();
13337 main ()
13339 return kstat_open ();
13341 return 0;
13343 _ACEOF
13344 if ac_fn_c_try_link "$LINENO"; then :
13345 ac_cv_lib_kstat_kstat_open=yes
13346 else
13347 ac_cv_lib_kstat_kstat_open=no
13349 rm -f core conftest.err conftest.$ac_objext \
13350 conftest$ac_exeext conftest.$ac_ext
13351 LIBS=$ac_check_lib_save_LIBS
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13354 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13355 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13357 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13359 KSTAT_LIBS="-lkstat"
13365 if test "$ac_cv_header_libprocstat_h" = "yes"
13366 then
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13368 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13369 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13370 $as_echo_n "(cached) " >&6
13371 else
13372 ac_check_lib_save_LIBS=$LIBS
13373 LIBS="-lprocstat $LIBS"
13374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13375 /* end confdefs.h. */
13377 /* Override any GCC internal prototype to avoid an error.
13378 Use char because int might match the return type of a GCC
13379 builtin and then its argument prototype would still apply. */
13380 #ifdef __cplusplus
13381 extern "C"
13382 #endif
13383 char procstat_open_sysctl ();
13385 main ()
13387 return procstat_open_sysctl ();
13389 return 0;
13391 _ACEOF
13392 if ac_fn_c_try_link "$LINENO"; then :
13393 ac_cv_lib_procstat_procstat_open_sysctl=yes
13394 else
13395 ac_cv_lib_procstat_procstat_open_sysctl=no
13397 rm -f core conftest.err conftest.$ac_objext \
13398 conftest$ac_exeext conftest.$ac_ext
13399 LIBS=$ac_check_lib_save_LIBS
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13402 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13403 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13405 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13407 PROCSTAT_LIBS="-lprocstat"
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13414 $as_echo_n "checking for -lodbc... " >&6; }
13415 if ${ac_cv_lib_soname_odbc+:} false; then :
13416 $as_echo_n "(cached) " >&6
13417 else
13418 ac_check_soname_save_LIBS=$LIBS
13419 LIBS="-lodbc $LIBS"
13420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13421 /* end confdefs.h. */
13423 /* Override any GCC internal prototype to avoid an error.
13424 Use char because int might match the return type of a GCC
13425 builtin and then its argument prototype would still apply. */
13426 #ifdef __cplusplus
13427 extern "C"
13428 #endif
13429 char SQLConnect ();
13431 main ()
13433 return SQLConnect ();
13435 return 0;
13437 _ACEOF
13438 if ac_fn_c_try_link "$LINENO"; then :
13439 case "$LIBEXT" in
13440 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13441 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'` ;;
13442 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13443 if ${ac_cv_lib_soname_odbc:+false} :; then :
13444 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13445 fi ;;
13446 esac
13448 rm -f core conftest.err conftest.$ac_objext \
13449 conftest$ac_exeext conftest.$ac_ext
13450 LIBS=$ac_check_soname_save_LIBS
13452 if ${ac_cv_lib_soname_odbc:+false} :; then :
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13454 $as_echo "not found" >&6; }
13455 cat >>confdefs.h <<_ACEOF
13456 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13457 _ACEOF
13459 else
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13461 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13463 cat >>confdefs.h <<_ACEOF
13464 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13465 _ACEOF
13470 if test "x$with_netapi" != "xno"
13471 then
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13473 $as_echo_n "checking for -lnetapi... " >&6; }
13474 if ${ac_cv_lib_soname_netapi+:} false; then :
13475 $as_echo_n "(cached) " >&6
13476 else
13477 ac_check_soname_save_LIBS=$LIBS
13478 LIBS="-lnetapi $LIBS"
13479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13480 /* end confdefs.h. */
13482 /* Override any GCC internal prototype to avoid an error.
13483 Use char because int might match the return type of a GCC
13484 builtin and then its argument prototype would still apply. */
13485 #ifdef __cplusplus
13486 extern "C"
13487 #endif
13488 char libnetapi_init ();
13490 main ()
13492 return libnetapi_init ();
13494 return 0;
13496 _ACEOF
13497 if ac_fn_c_try_link "$LINENO"; then :
13498 case "$LIBEXT" in
13499 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13500 dylib) ac_cv_lib_soname_netapi=`otool -L conftest$ac_exeext | grep "libnetapi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libnetapi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13501 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13502 if ${ac_cv_lib_soname_netapi:+false} :; then :
13503 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13504 fi ;;
13505 esac
13507 rm -f core conftest.err conftest.$ac_objext \
13508 conftest$ac_exeext conftest.$ac_ext
13509 LIBS=$ac_check_soname_save_LIBS
13511 if ${ac_cv_lib_soname_netapi:+false} :; then :
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13513 $as_echo "not found" >&6; }
13514 cat >>confdefs.h <<_ACEOF
13515 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13516 _ACEOF
13518 else
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13520 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13522 cat >>confdefs.h <<_ACEOF
13523 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13524 _ACEOF
13530 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13531 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13532 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13533 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13535 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13536 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13537 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13538 then
13539 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13543 EXTRACFLAGS=""
13545 if test "x${GCC}" = "xyes"
13546 then
13547 EXTRACFLAGS="-Wall -pipe"
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13550 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13551 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13552 $as_echo_n "(cached) " >&6
13553 else
13554 if test "$cross_compiling" = yes; then :
13555 ac_cv_c_gcc_strength_bug="yes"
13556 else
13557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13558 /* end confdefs.h. */
13559 int L[4] = {0,1,2,3};
13561 main ()
13563 static int Array[3];
13564 unsigned int B = 3;
13565 int i;
13566 for(i=0; i<B; i++) Array[i] = i - 3;
13567 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13568 L[i] = 4;
13569 return (Array[1] != -2 || L[2] != 3)
13571 return 0;
13573 _ACEOF
13574 if ac_fn_c_try_run "$LINENO"; then :
13575 ac_cv_c_gcc_strength_bug="no"
13576 else
13577 ac_cv_c_gcc_strength_bug="yes"
13579 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13580 conftest.$ac_objext conftest.beam conftest.$ac_ext
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13585 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13586 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13587 then
13588 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13592 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13593 if ${ac_cv_cflags__fno_builtin+:} false; then :
13594 $as_echo_n "(cached) " >&6
13595 else
13596 ac_wine_try_cflags_saved=$CFLAGS
13597 CFLAGS="$CFLAGS -fno-builtin"
13598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13599 /* end confdefs.h. */
13600 int main(int argc, char **argv) { return 0; }
13601 _ACEOF
13602 if ac_fn_c_try_link "$LINENO"; then :
13603 ac_cv_cflags__fno_builtin=yes
13604 else
13605 ac_cv_cflags__fno_builtin=no
13607 rm -f core conftest.err conftest.$ac_objext \
13608 conftest$ac_exeext conftest.$ac_ext
13609 CFLAGS=$ac_wine_try_cflags_saved
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13612 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13613 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13614 BUILTINFLAG="-fno-builtin"
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13618 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13619 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13620 $as_echo_n "(cached) " >&6
13621 else
13622 ac_wine_try_cflags_saved=$CFLAGS
13623 CFLAGS="$CFLAGS -fno-strict-aliasing"
13624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13625 /* end confdefs.h. */
13626 int main(int argc, char **argv) { return 0; }
13627 _ACEOF
13628 if ac_fn_c_try_link "$LINENO"; then :
13629 ac_cv_cflags__fno_strict_aliasing=yes
13630 else
13631 ac_cv_cflags__fno_strict_aliasing=no
13633 rm -f core conftest.err conftest.$ac_objext \
13634 conftest$ac_exeext conftest.$ac_ext
13635 CFLAGS=$ac_wine_try_cflags_saved
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13638 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13639 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13640 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13642 saved_CFLAGS=$CFLAGS
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13644 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13645 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13646 $as_echo_n "(cached) " >&6
13647 else
13648 ac_wine_try_cflags_saved=$CFLAGS
13649 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13651 /* end confdefs.h. */
13652 int main(int argc, char **argv) { return 0; }
13653 _ACEOF
13654 if ac_fn_c_try_link "$LINENO"; then :
13655 ac_cv_cflags__Werror_unknown_warning_option=yes
13656 else
13657 ac_cv_cflags__Werror_unknown_warning_option=no
13659 rm -f core conftest.err conftest.$ac_objext \
13660 conftest$ac_exeext conftest.$ac_ext
13661 CFLAGS=$ac_wine_try_cflags_saved
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13664 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13665 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13666 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13669 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13670 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13671 $as_echo_n "(cached) " >&6
13672 else
13673 ac_wine_try_cflags_saved=$CFLAGS
13674 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13676 /* end confdefs.h. */
13677 int main(int argc, char **argv) { return 0; }
13678 _ACEOF
13679 if ac_fn_c_try_link "$LINENO"; then :
13680 ac_cv_cflags__Wdeclaration_after_statement=yes
13681 else
13682 ac_cv_cflags__Wdeclaration_after_statement=no
13684 rm -f core conftest.err conftest.$ac_objext \
13685 conftest$ac_exeext conftest.$ac_ext
13686 CFLAGS=$ac_wine_try_cflags_saved
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13689 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13690 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13691 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13694 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13695 if ${ac_cv_cflags__Wempty_body+:} false; then :
13696 $as_echo_n "(cached) " >&6
13697 else
13698 ac_wine_try_cflags_saved=$CFLAGS
13699 CFLAGS="$CFLAGS -Wempty-body"
13700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13701 /* end confdefs.h. */
13702 int main(int argc, char **argv) { return 0; }
13703 _ACEOF
13704 if ac_fn_c_try_link "$LINENO"; then :
13705 ac_cv_cflags__Wempty_body=yes
13706 else
13707 ac_cv_cflags__Wempty_body=no
13709 rm -f core conftest.err conftest.$ac_objext \
13710 conftest$ac_exeext conftest.$ac_ext
13711 CFLAGS=$ac_wine_try_cflags_saved
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13714 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13715 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13716 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13719 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13720 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13721 $as_echo_n "(cached) " >&6
13722 else
13723 ac_wine_try_cflags_saved=$CFLAGS
13724 CFLAGS="$CFLAGS -Wignored-qualifiers"
13725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13726 /* end confdefs.h. */
13727 int main(int argc, char **argv) { return 0; }
13728 _ACEOF
13729 if ac_fn_c_try_link "$LINENO"; then :
13730 ac_cv_cflags__Wignored_qualifiers=yes
13731 else
13732 ac_cv_cflags__Wignored_qualifiers=no
13734 rm -f core conftest.err conftest.$ac_objext \
13735 conftest$ac_exeext conftest.$ac_ext
13736 CFLAGS=$ac_wine_try_cflags_saved
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13739 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13740 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13741 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13744 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13745 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13746 $as_echo_n "(cached) " >&6
13747 else
13748 ac_wine_try_cflags_saved=$CFLAGS
13749 CFLAGS="$CFLAGS -Wstrict-prototypes"
13750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13751 /* end confdefs.h. */
13752 int main(int argc, char **argv) { return 0; }
13753 _ACEOF
13754 if ac_fn_c_try_link "$LINENO"; then :
13755 ac_cv_cflags__Wstrict_prototypes=yes
13756 else
13757 ac_cv_cflags__Wstrict_prototypes=no
13759 rm -f core conftest.err conftest.$ac_objext \
13760 conftest$ac_exeext conftest.$ac_ext
13761 CFLAGS=$ac_wine_try_cflags_saved
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13764 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13765 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13766 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13769 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13770 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13771 $as_echo_n "(cached) " >&6
13772 else
13773 ac_wine_try_cflags_saved=$CFLAGS
13774 CFLAGS="$CFLAGS -Wtype-limits"
13775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13776 /* end confdefs.h. */
13777 int main(int argc, char **argv) { return 0; }
13778 _ACEOF
13779 if ac_fn_c_try_link "$LINENO"; then :
13780 ac_cv_cflags__Wtype_limits=yes
13781 else
13782 ac_cv_cflags__Wtype_limits=no
13784 rm -f core conftest.err conftest.$ac_objext \
13785 conftest$ac_exeext conftest.$ac_ext
13786 CFLAGS=$ac_wine_try_cflags_saved
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13789 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13790 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13791 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13794 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13795 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13796 $as_echo_n "(cached) " >&6
13797 else
13798 ac_wine_try_cflags_saved=$CFLAGS
13799 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13801 /* end confdefs.h. */
13802 int main(int argc, char **argv) { return 0; }
13803 _ACEOF
13804 if ac_fn_c_try_link "$LINENO"; then :
13805 ac_cv_cflags__Wunused_but_set_parameter=yes
13806 else
13807 ac_cv_cflags__Wunused_but_set_parameter=no
13809 rm -f core conftest.err conftest.$ac_objext \
13810 conftest$ac_exeext conftest.$ac_ext
13811 CFLAGS=$ac_wine_try_cflags_saved
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13814 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13815 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13816 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13819 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13820 if ${ac_cv_cflags__Wvla+:} false; then :
13821 $as_echo_n "(cached) " >&6
13822 else
13823 ac_wine_try_cflags_saved=$CFLAGS
13824 CFLAGS="$CFLAGS -Wvla"
13825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13826 /* end confdefs.h. */
13827 int main(int argc, char **argv) { return 0; }
13828 _ACEOF
13829 if ac_fn_c_try_link "$LINENO"; then :
13830 ac_cv_cflags__Wvla=yes
13831 else
13832 ac_cv_cflags__Wvla=no
13834 rm -f core conftest.err conftest.$ac_objext \
13835 conftest$ac_exeext conftest.$ac_ext
13836 CFLAGS=$ac_wine_try_cflags_saved
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13839 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13840 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13841 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13844 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13845 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13846 $as_echo_n "(cached) " >&6
13847 else
13848 ac_wine_try_cflags_saved=$CFLAGS
13849 CFLAGS="$CFLAGS -Wwrite-strings"
13850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13851 /* end confdefs.h. */
13852 int main(int argc, char **argv) { return 0; }
13853 _ACEOF
13854 if ac_fn_c_try_link "$LINENO"; then :
13855 ac_cv_cflags__Wwrite_strings=yes
13856 else
13857 ac_cv_cflags__Wwrite_strings=no
13859 rm -f core conftest.err conftest.$ac_objext \
13860 conftest$ac_exeext conftest.$ac_ext
13861 CFLAGS=$ac_wine_try_cflags_saved
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13864 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13865 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13866 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13870 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13871 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13872 $as_echo_n "(cached) " >&6
13873 else
13874 ac_wine_try_cflags_saved=$CFLAGS
13875 CFLAGS="$CFLAGS -Wpointer-arith"
13876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13877 /* end confdefs.h. */
13878 int main(int argc, char **argv) { return 0; }
13879 _ACEOF
13880 if ac_fn_c_try_link "$LINENO"; then :
13881 ac_cv_cflags__Wpointer_arith=yes
13882 else
13883 ac_cv_cflags__Wpointer_arith=no
13885 rm -f core conftest.err conftest.$ac_objext \
13886 conftest$ac_exeext conftest.$ac_ext
13887 CFLAGS=$ac_wine_try_cflags_saved
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13890 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13891 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13892 saved_string_h_CFLAGS=$CFLAGS
13893 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13895 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13896 if ${ac_cv_c_string_h_warnings+:} false; then :
13897 $as_echo_n "(cached) " >&6
13898 else
13899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13900 /* end confdefs.h. */
13901 #include <string.h>
13903 main ()
13907 return 0;
13909 _ACEOF
13910 if ac_fn_c_try_compile "$LINENO"; then :
13911 ac_cv_c_string_h_warnings=no
13912 else
13913 ac_cv_c_string_h_warnings=yes
13915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13918 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13919 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13920 CFLAGS=$saved_string_h_CFLAGS
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13924 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13925 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13926 $as_echo_n "(cached) " >&6
13927 else
13928 ac_wine_try_cflags_saved=$CFLAGS
13929 CFLAGS="$CFLAGS -Wlogical-op"
13930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13931 /* end confdefs.h. */
13932 int main(int argc, char **argv) { return 0; }
13933 _ACEOF
13934 if ac_fn_c_try_link "$LINENO"; then :
13935 ac_cv_cflags__Wlogical_op=yes
13936 else
13937 ac_cv_cflags__Wlogical_op=no
13939 rm -f core conftest.err conftest.$ac_objext \
13940 conftest$ac_exeext conftest.$ac_ext
13941 CFLAGS=$ac_wine_try_cflags_saved
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13944 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13945 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13946 saved_string_h_CFLAGS=$CFLAGS
13947 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13949 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13950 if ${ac_cv_c_logicalop_noisy+:} false; then :
13951 $as_echo_n "(cached) " >&6
13952 else
13953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13954 /* end confdefs.h. */
13955 #include <string.h>
13956 char*f(const char *h,char n) {return strchr(h,n);}
13958 main ()
13962 return 0;
13964 _ACEOF
13965 if ac_fn_c_try_compile "$LINENO"; then :
13966 ac_cv_c_logicalop_noisy=no
13967 else
13968 ac_cv_c_logicalop_noisy=yes
13970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13973 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13974 CFLAGS=$saved_string_h_CFLAGS
13975 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13978 CFLAGS=$saved_CFLAGS
13980 for ac_flag in $CFLAGS; do
13981 case $ac_flag in
13982 -g) case $host_os in
13983 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13984 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13985 if ${ac_cv_cflags__gstabsp+:} false; then :
13986 $as_echo_n "(cached) " >&6
13987 else
13988 ac_wine_try_cflags_saved=$CFLAGS
13989 CFLAGS="$CFLAGS -gstabs+"
13990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13991 /* end confdefs.h. */
13992 int main(int argc, char **argv) { return 0; }
13993 _ACEOF
13994 if ac_fn_c_try_link "$LINENO"; then :
13995 ac_cv_cflags__gstabsp=yes
13996 else
13997 ac_cv_cflags__gstabsp=no
13999 rm -f core conftest.err conftest.$ac_objext \
14000 conftest$ac_exeext conftest.$ac_ext
14001 CFLAGS=$ac_wine_try_cflags_saved
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14004 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14005 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14006 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14007 fi ;;
14008 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14009 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14010 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14011 $as_echo_n "(cached) " >&6
14012 else
14013 ac_wine_try_cflags_saved=$CFLAGS
14014 CFLAGS="$CFLAGS -gdwarf-2"
14015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14016 /* end confdefs.h. */
14017 int main(int argc, char **argv) { return 0; }
14018 _ACEOF
14019 if ac_fn_c_try_link "$LINENO"; then :
14020 ac_cv_cflags__gdwarf_2=yes
14021 else
14022 ac_cv_cflags__gdwarf_2=no
14024 rm -f core conftest.err conftest.$ac_objext \
14025 conftest$ac_exeext conftest.$ac_ext
14026 CFLAGS=$ac_wine_try_cflags_saved
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14029 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14030 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14031 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14034 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14035 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14036 $as_echo_n "(cached) " >&6
14037 else
14038 ac_wine_try_cflags_saved=$CFLAGS
14039 CFLAGS="$CFLAGS -gstrict-dwarf"
14040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14041 /* end confdefs.h. */
14042 int main(int argc, char **argv) { return 0; }
14043 _ACEOF
14044 if ac_fn_c_try_link "$LINENO"; then :
14045 ac_cv_cflags__gstrict_dwarf=yes
14046 else
14047 ac_cv_cflags__gstrict_dwarf=no
14049 rm -f core conftest.err conftest.$ac_objext \
14050 conftest$ac_exeext conftest.$ac_ext
14051 CFLAGS=$ac_wine_try_cflags_saved
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14054 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14055 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14056 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14057 fi ;;
14058 esac ;;
14059 esac
14060 done
14062 case $host_cpu in
14063 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14064 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14065 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14066 $as_echo_n "(cached) " >&6
14067 else
14068 ac_wine_try_cflags_saved=$CFLAGS
14069 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14071 /* end confdefs.h. */
14072 int main(int argc, char **argv) { return 0; }
14073 _ACEOF
14074 if ac_fn_c_try_link "$LINENO"; then :
14075 ac_cv_cflags__fno_omit_frame_pointer=yes
14076 else
14077 ac_cv_cflags__fno_omit_frame_pointer=no
14079 rm -f core conftest.err conftest.$ac_objext \
14080 conftest$ac_exeext conftest.$ac_ext
14081 CFLAGS=$ac_wine_try_cflags_saved
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14084 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14085 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14086 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14087 fi ;;
14088 esac
14090 case $host in
14091 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14092 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14093 if ${ac_cv_cflags__Wno_format+:} false; then :
14094 $as_echo_n "(cached) " >&6
14095 else
14096 ac_wine_try_cflags_saved=$CFLAGS
14097 CFLAGS="$CFLAGS -Wno-format"
14098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14100 int main(int argc, char **argv) { return 0; }
14101 _ACEOF
14102 if ac_fn_c_try_link "$LINENO"; then :
14103 ac_cv_cflags__Wno_format=yes
14104 else
14105 ac_cv_cflags__Wno_format=no
14107 rm -f core conftest.err conftest.$ac_objext \
14108 conftest$ac_exeext conftest.$ac_ext
14109 CFLAGS=$ac_wine_try_cflags_saved
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14112 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14113 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14114 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14115 fi ;;
14116 esac
14118 if test "x$enable_maintainer_mode" = "xyes"
14119 then
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14121 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14122 if ${ac_cv_cflags__Werror+:} false; then :
14123 $as_echo_n "(cached) " >&6
14124 else
14125 ac_wine_try_cflags_saved=$CFLAGS
14126 CFLAGS="$CFLAGS -Werror"
14127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14128 /* end confdefs.h. */
14129 int main(int argc, char **argv) { return 0; }
14130 _ACEOF
14131 if ac_fn_c_try_link "$LINENO"; then :
14132 ac_cv_cflags__Werror=yes
14133 else
14134 ac_cv_cflags__Werror=no
14136 rm -f core conftest.err conftest.$ac_objext \
14137 conftest$ac_exeext conftest.$ac_ext
14138 CFLAGS=$ac_wine_try_cflags_saved
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14141 $as_echo "$ac_cv_cflags__Werror" >&6; }
14142 if test "x$ac_cv_cflags__Werror" = xyes; then :
14143 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14147 saved_CFLAGS="$CFLAGS"
14148 CFLAGS="$CFLAGS -Werror"
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14150 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14151 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14152 $as_echo_n "(cached) " >&6
14153 else
14154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14156 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14158 main ()
14162 return 0;
14164 _ACEOF
14165 if ac_fn_c_try_compile "$LINENO"; then :
14166 ac_cv_have_ms_hook_prologue="yes"
14167 else
14168 ac_cv_have_ms_hook_prologue="no"
14170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14173 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14174 CFLAGS="$saved_CFLAGS"
14175 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14176 then
14178 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14180 else
14181 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14188 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14189 if ${ac_cv_c_fortify_enabled+:} false; then :
14190 $as_echo_n "(cached) " >&6
14191 else
14192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14193 /* end confdefs.h. */
14194 #include <string.h>
14196 main ()
14198 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14199 #error Fortify enabled
14200 #endif
14202 return 0;
14204 _ACEOF
14205 if ac_fn_c_try_compile "$LINENO"; then :
14206 ac_cv_c_fortify_enabled=no
14207 else
14208 ac_cv_c_fortify_enabled=yes
14210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14213 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14214 if test "$ac_cv_c_fortify_enabled" = yes
14215 then
14216 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14221 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14222 if ${ac_cv_c_extern_prefix+:} false; then :
14223 $as_echo_n "(cached) " >&6
14224 else
14225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14227 extern int ac_test;
14229 main ()
14231 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14233 return 0;
14235 _ACEOF
14236 if ac_fn_c_try_link "$LINENO"; then :
14237 ac_cv_c_extern_prefix="yes"
14238 else
14239 ac_cv_c_extern_prefix="no"
14241 rm -f core conftest.err conftest.$ac_objext \
14242 conftest$ac_exeext conftest.$ac_ext
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14245 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14247 case $host_cpu in
14248 *i[3456789]86*)
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14250 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14251 if ${ac_cv_c_stdcall_suffix+:} false; then :
14252 $as_echo_n "(cached) " >&6
14253 else
14254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14255 /* end confdefs.h. */
14256 #ifndef _MSC_VER
14257 #define __stdcall __attribute__((__stdcall__))
14258 #endif
14259 int __stdcall ac_test(int i) { return i; }
14261 main ()
14263 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14265 return 0;
14267 _ACEOF
14268 if ac_fn_c_try_link "$LINENO"; then :
14269 ac_cv_c_stdcall_suffix="yes"
14270 else
14271 ac_cv_c_stdcall_suffix="no"
14273 rm -f core conftest.err conftest.$ac_objext \
14274 conftest$ac_exeext conftest.$ac_ext
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14277 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14278 *) ac_cv_c_stdcall_suffix="no" ;;
14279 esac
14282 if test "$ac_cv_c_extern_prefix" = "yes"
14283 then
14284 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14286 asm_name_prefix="_"
14287 else
14288 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14290 asm_name_prefix=""
14294 if test "$ac_cv_c_stdcall_suffix" = "yes"
14295 then
14296 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14298 else
14299 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14305 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14306 if ${ac_cv_asm_func_def+:} false; then :
14307 $as_echo_n "(cached) " >&6
14308 else
14309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14313 main ()
14315 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14317 return 0;
14319 _ACEOF
14320 if ac_fn_c_try_link "$LINENO"; then :
14321 ac_cv_asm_func_def=".def"
14322 else
14323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14324 /* end confdefs.h. */
14327 main ()
14329 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14331 return 0;
14333 _ACEOF
14334 if ac_fn_c_try_link "$LINENO"; then :
14335 ac_cv_asm_func_def=".type @function"
14336 else
14337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14341 main ()
14343 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14345 return 0;
14347 _ACEOF
14348 if ac_fn_c_try_link "$LINENO"; then :
14349 ac_cv_asm_func_def=".type 2"
14350 else
14351 ac_cv_asm_func_def="unknown"
14353 rm -f core conftest.err conftest.$ac_objext \
14354 conftest$ac_exeext conftest.$ac_ext
14356 rm -f core conftest.err conftest.$ac_objext \
14357 conftest$ac_exeext conftest.$ac_ext
14359 rm -f core conftest.err conftest.$ac_objext \
14360 conftest$ac_exeext conftest.$ac_ext
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14363 $as_echo "$ac_cv_asm_func_def" >&6; }
14366 case "$ac_cv_asm_func_def" in
14367 ".def")
14368 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14370 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14371 ".type @function")
14372 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14374 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14375 ".type 2")
14376 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14378 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14380 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14382 asm_func_header="" ;;
14383 esac
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14386 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14387 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14388 $as_echo_n "(cached) " >&6
14389 else
14390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14391 /* end confdefs.h. */
14392 asm(".text\n\t.long 0");
14394 main ()
14398 return 0;
14400 _ACEOF
14401 if ac_fn_c_try_compile "$LINENO"; then :
14402 ac_cv_c_asm_outside_funcs="yes"
14403 else
14404 ac_cv_c_asm_outside_funcs="no"
14406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14409 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14412 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14413 if ${ac_cv_c_dot_previous+:} false; then :
14414 $as_echo_n "(cached) " >&6
14415 else
14416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14417 /* end confdefs.h. */
14420 main ()
14422 asm(".text\nac_test:\t.long 0\n\t.previous");
14424 return 0;
14426 _ACEOF
14427 if ac_fn_c_try_link "$LINENO"; then :
14428 ac_cv_c_dot_previous="yes"
14429 else
14430 ac_cv_c_dot_previous="no"
14432 rm -f core conftest.err conftest.$ac_objext \
14433 conftest$ac_exeext conftest.$ac_ext
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14436 $as_echo "$ac_cv_c_dot_previous" >&6; }
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14439 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14440 if ${ac_cv_c_cfi_support+:} false; then :
14441 $as_echo_n "(cached) " >&6
14442 else
14443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14444 /* end confdefs.h. */
14445 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14447 main ()
14451 return 0;
14453 _ACEOF
14454 if ac_fn_c_try_compile "$LINENO"; then :
14455 ac_cv_c_cfi_support="yes"
14456 else
14457 ac_cv_c_cfi_support="no"
14459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14462 $as_echo "$ac_cv_c_cfi_support" >&6; }
14464 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14465 asm_func_trailer=""
14466 if test "$ac_cv_c_dot_previous" = "yes"
14467 then
14468 asm_func_trailer="\\n\\t.previous"
14470 if test "$ac_cv_c_cfi_support" = "yes"
14471 then
14472 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14473 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14475 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14477 UNWINDFLAGS=-fasynchronous-unwind-tables
14479 else
14480 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14484 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14487 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14488 then
14489 cat >>confdefs.h <<_ACEOF
14490 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14491 _ACEOF
14493 else
14494 cat >>confdefs.h <<_ACEOF
14495 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14496 _ACEOF
14500 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14503 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14507 case $build_os in
14508 cygwin*|mingw32*) TOOLSEXT=".exe"
14510 esac
14512 case $host_os in
14513 linux*)
14514 case $host_cpu in
14515 *i[3456789]86*|x86_64*)
14516 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14517 loader_programs="$loader_programs $wine_binary-preloader"
14518 as_fn_append LOADER_RULES "
14519 $wine_binary-preloader: preloader.o
14520 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14522 install install-lib:: $wine_binary-preloader
14523 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14525 uninstall::
14526 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14528 preloader_EXTRADEFS = $BUILTINFLAG
14529 " ;;
14530 esac
14532 esac
14533 as_fn_append LOADER_RULES "
14534 PROGRAMS = $loader_programs
14538 ac_save_CFLAGS="$CFLAGS"
14539 CFLAGS="$CFLAGS $BUILTINFLAG"
14540 for ac_func in \
14541 __res_get_state \
14542 __res_getservers \
14543 _finite \
14544 _isnan \
14545 _pclose \
14546 _popen \
14547 _snprintf \
14548 _spawnvp \
14549 _strdup \
14550 _stricmp \
14551 _strnicmp \
14552 _strtoi64 \
14553 _strtoui64 \
14554 _vsnprintf \
14555 asctime_r \
14556 chsize \
14557 dlopen \
14558 epoll_create \
14559 ffs \
14560 fnmatch \
14561 fork \
14562 fpclass \
14563 fstatfs \
14564 fstatvfs \
14565 ftruncate \
14566 futimens \
14567 futimes \
14568 futimesat \
14569 getattrlist \
14570 getdirentries \
14571 getopt_long_only \
14572 getpwuid \
14573 gettimeofday \
14574 getuid \
14575 if_nameindex \
14576 kqueue \
14577 lstat \
14578 memmove \
14579 mmap \
14580 pclose \
14581 pipe2 \
14582 poll \
14583 popen \
14584 port_create \
14585 prctl \
14586 pread \
14587 proc_pidinfo \
14588 pwrite \
14589 readdir \
14590 readlink \
14591 sched_yield \
14592 select \
14593 setproctitle \
14594 setrlimit \
14595 settimeofday \
14596 sigaltstack \
14597 sigprocmask \
14598 snprintf \
14599 statfs \
14600 statvfs \
14601 strcasecmp \
14602 strdup \
14603 strerror \
14604 strncasecmp \
14605 strtold \
14606 strtoll \
14607 strtoull \
14608 symlink \
14609 tcdrain \
14610 thr_kill2 \
14611 timegm \
14612 usleep \
14613 vsnprintf
14615 do :
14616 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14617 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14618 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14619 cat >>confdefs.h <<_ACEOF
14620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14621 _ACEOF
14624 done
14626 CFLAGS="$ac_save_CFLAGS"
14628 if test "$ac_cv_func_dlopen" = no
14629 then
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14631 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14632 if ${ac_cv_lib_dl_dlopen+:} false; then :
14633 $as_echo_n "(cached) " >&6
14634 else
14635 ac_check_lib_save_LIBS=$LIBS
14636 LIBS="-ldl $LIBS"
14637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h. */
14640 /* Override any GCC internal prototype to avoid an error.
14641 Use char because int might match the return type of a GCC
14642 builtin and then its argument prototype would still apply. */
14643 #ifdef __cplusplus
14644 extern "C"
14645 #endif
14646 char dlopen ();
14648 main ()
14650 return dlopen ();
14652 return 0;
14654 _ACEOF
14655 if ac_fn_c_try_link "$LINENO"; then :
14656 ac_cv_lib_dl_dlopen=yes
14657 else
14658 ac_cv_lib_dl_dlopen=no
14660 rm -f core conftest.err conftest.$ac_objext \
14661 conftest$ac_exeext conftest.$ac_ext
14662 LIBS=$ac_check_lib_save_LIBS
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14665 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14666 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14667 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14668 DL_LIBS="-ldl"
14673 ac_wine_check_funcs_save_LIBS="$LIBS"
14674 LIBS="$LIBS $DL_LIBS"
14675 for ac_func in dladdr
14676 do :
14677 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14678 if test "x$ac_cv_func_dladdr" = xyes; then :
14679 cat >>confdefs.h <<_ACEOF
14680 #define HAVE_DLADDR 1
14681 _ACEOF
14684 done
14686 LIBS="$ac_wine_check_funcs_save_LIBS"
14688 if test "$ac_cv_func_poll" = no
14689 then
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14691 $as_echo_n "checking for poll in -lpoll... " >&6; }
14692 if ${ac_cv_lib_poll_poll+:} false; then :
14693 $as_echo_n "(cached) " >&6
14694 else
14695 ac_check_lib_save_LIBS=$LIBS
14696 LIBS="-lpoll $LIBS"
14697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14698 /* end confdefs.h. */
14700 /* Override any GCC internal prototype to avoid an error.
14701 Use char because int might match the return type of a GCC
14702 builtin and then its argument prototype would still apply. */
14703 #ifdef __cplusplus
14704 extern "C"
14705 #endif
14706 char poll ();
14708 main ()
14710 return poll ();
14712 return 0;
14714 _ACEOF
14715 if ac_fn_c_try_link "$LINENO"; then :
14716 ac_cv_lib_poll_poll=yes
14717 else
14718 ac_cv_lib_poll_poll=no
14720 rm -f core conftest.err conftest.$ac_objext \
14721 conftest$ac_exeext conftest.$ac_ext
14722 LIBS=$ac_check_lib_save_LIBS
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14725 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14726 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14727 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14728 POLL_LIBS="-lpoll"
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14735 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14736 if ${ac_cv_search_gethostbyname+:} false; then :
14737 $as_echo_n "(cached) " >&6
14738 else
14739 ac_func_search_save_LIBS=$LIBS
14740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14741 /* end confdefs.h. */
14743 /* Override any GCC internal prototype to avoid an error.
14744 Use char because int might match the return type of a GCC
14745 builtin and then its argument prototype would still apply. */
14746 #ifdef __cplusplus
14747 extern "C"
14748 #endif
14749 char gethostbyname ();
14751 main ()
14753 return gethostbyname ();
14755 return 0;
14757 _ACEOF
14758 for ac_lib in '' nsl; do
14759 if test -z "$ac_lib"; then
14760 ac_res="none required"
14761 else
14762 ac_res=-l$ac_lib
14763 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14765 if ac_fn_c_try_link "$LINENO"; then :
14766 ac_cv_search_gethostbyname=$ac_res
14768 rm -f core conftest.err conftest.$ac_objext \
14769 conftest$ac_exeext
14770 if ${ac_cv_search_gethostbyname+:} false; then :
14771 break
14773 done
14774 if ${ac_cv_search_gethostbyname+:} false; then :
14776 else
14777 ac_cv_search_gethostbyname=no
14779 rm conftest.$ac_ext
14780 LIBS=$ac_func_search_save_LIBS
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14783 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14784 ac_res=$ac_cv_search_gethostbyname
14785 if test "$ac_res" != no; then :
14786 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14792 $as_echo_n "checking for library containing connect... " >&6; }
14793 if ${ac_cv_search_connect+:} false; then :
14794 $as_echo_n "(cached) " >&6
14795 else
14796 ac_func_search_save_LIBS=$LIBS
14797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14798 /* end confdefs.h. */
14800 /* Override any GCC internal prototype to avoid an error.
14801 Use char because int might match the return type of a GCC
14802 builtin and then its argument prototype would still apply. */
14803 #ifdef __cplusplus
14804 extern "C"
14805 #endif
14806 char connect ();
14808 main ()
14810 return connect ();
14812 return 0;
14814 _ACEOF
14815 for ac_lib in '' socket; do
14816 if test -z "$ac_lib"; then
14817 ac_res="none required"
14818 else
14819 ac_res=-l$ac_lib
14820 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14822 if ac_fn_c_try_link "$LINENO"; then :
14823 ac_cv_search_connect=$ac_res
14825 rm -f core conftest.err conftest.$ac_objext \
14826 conftest$ac_exeext
14827 if ${ac_cv_search_connect+:} false; then :
14828 break
14830 done
14831 if ${ac_cv_search_connect+:} false; then :
14833 else
14834 ac_cv_search_connect=no
14836 rm conftest.$ac_ext
14837 LIBS=$ac_func_search_save_LIBS
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14840 $as_echo "$ac_cv_search_connect" >&6; }
14841 ac_res=$ac_cv_search_connect
14842 if test "$ac_res" != no; then :
14843 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14849 $as_echo_n "checking for library containing inet_aton... " >&6; }
14850 if ${ac_cv_search_inet_aton+:} false; then :
14851 $as_echo_n "(cached) " >&6
14852 else
14853 ac_func_search_save_LIBS=$LIBS
14854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14857 /* Override any GCC internal prototype to avoid an error.
14858 Use char because int might match the return type of a GCC
14859 builtin and then its argument prototype would still apply. */
14860 #ifdef __cplusplus
14861 extern "C"
14862 #endif
14863 char inet_aton ();
14865 main ()
14867 return inet_aton ();
14869 return 0;
14871 _ACEOF
14872 for ac_lib in '' resolv; do
14873 if test -z "$ac_lib"; then
14874 ac_res="none required"
14875 else
14876 ac_res=-l$ac_lib
14877 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14879 if ac_fn_c_try_link "$LINENO"; then :
14880 ac_cv_search_inet_aton=$ac_res
14882 rm -f core conftest.err conftest.$ac_objext \
14883 conftest$ac_exeext
14884 if ${ac_cv_search_inet_aton+:} false; then :
14885 break
14887 done
14888 if ${ac_cv_search_inet_aton+:} false; then :
14890 else
14891 ac_cv_search_inet_aton=no
14893 rm conftest.$ac_ext
14894 LIBS=$ac_func_search_save_LIBS
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14897 $as_echo "$ac_cv_search_inet_aton" >&6; }
14898 ac_res=$ac_cv_search_inet_aton
14899 if test "$ac_res" != no; then :
14900 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14905 for ac_func in \
14906 getaddrinfo \
14907 getnameinfo \
14908 getnetbyname \
14909 getprotobyname \
14910 getprotobynumber \
14911 getservbyport \
14912 inet_addr \
14913 inet_network \
14914 inet_ntop \
14915 inet_pton \
14916 sendmsg \
14917 socketpair \
14919 do :
14920 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14921 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14922 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14923 cat >>confdefs.h <<_ACEOF
14924 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14925 _ACEOF
14928 done
14931 ac_save_LIBS=$LIBS
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14933 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14934 if ${ac_cv_search_clock_gettime+:} false; then :
14935 $as_echo_n "(cached) " >&6
14936 else
14937 ac_func_search_save_LIBS=$LIBS
14938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14939 /* end confdefs.h. */
14941 /* Override any GCC internal prototype to avoid an error.
14942 Use char because int might match the return type of a GCC
14943 builtin and then its argument prototype would still apply. */
14944 #ifdef __cplusplus
14945 extern "C"
14946 #endif
14947 char clock_gettime ();
14949 main ()
14951 return clock_gettime ();
14953 return 0;
14955 _ACEOF
14956 for ac_lib in '' rt; do
14957 if test -z "$ac_lib"; then
14958 ac_res="none required"
14959 else
14960 ac_res=-l$ac_lib
14961 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14963 if ac_fn_c_try_link "$LINENO"; then :
14964 ac_cv_search_clock_gettime=$ac_res
14966 rm -f core conftest.err conftest.$ac_objext \
14967 conftest$ac_exeext
14968 if ${ac_cv_search_clock_gettime+:} false; then :
14969 break
14971 done
14972 if ${ac_cv_search_clock_gettime+:} false; then :
14974 else
14975 ac_cv_search_clock_gettime=no
14977 rm conftest.$ac_ext
14978 LIBS=$ac_func_search_save_LIBS
14980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14981 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14982 ac_res=$ac_cv_search_clock_gettime
14983 if test "$ac_res" != no; then :
14984 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14986 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14988 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14992 LIBS=$ac_save_LIBS
14994 LDAP_LIBS=""
14996 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14997 then
14998 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15000 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15002 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15003 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15004 $as_echo_n "(cached) " >&6
15005 else
15006 ac_check_lib_save_LIBS=$LIBS
15007 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15011 /* Override any GCC internal prototype to avoid an error.
15012 Use char because int might match the return type of a GCC
15013 builtin and then its argument prototype would still apply. */
15014 #ifdef __cplusplus
15015 extern "C"
15016 #endif
15017 char ldap_initialize ();
15019 main ()
15021 return ldap_initialize ();
15023 return 0;
15025 _ACEOF
15026 if ac_fn_c_try_link "$LINENO"; then :
15027 ac_cv_lib_ldap_r_ldap_initialize=yes
15028 else
15029 ac_cv_lib_ldap_r_ldap_initialize=no
15031 rm -f core conftest.err conftest.$ac_objext \
15032 conftest$ac_exeext conftest.$ac_ext
15033 LIBS=$ac_check_lib_save_LIBS
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15036 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15037 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15039 $as_echo_n "checking for ber_init in -llber... " >&6; }
15040 if ${ac_cv_lib_lber_ber_init+:} false; then :
15041 $as_echo_n "(cached) " >&6
15042 else
15043 ac_check_lib_save_LIBS=$LIBS
15044 LIBS="-llber $PTHREAD_LIBS $LIBS"
15045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15046 /* end confdefs.h. */
15048 /* Override any GCC internal prototype to avoid an error.
15049 Use char because int might match the return type of a GCC
15050 builtin and then its argument prototype would still apply. */
15051 #ifdef __cplusplus
15052 extern "C"
15053 #endif
15054 char ber_init ();
15056 main ()
15058 return ber_init ();
15060 return 0;
15062 _ACEOF
15063 if ac_fn_c_try_link "$LINENO"; then :
15064 ac_cv_lib_lber_ber_init=yes
15065 else
15066 ac_cv_lib_lber_ber_init=no
15068 rm -f core conftest.err conftest.$ac_objext \
15069 conftest$ac_exeext conftest.$ac_ext
15070 LIBS=$ac_check_lib_save_LIBS
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15073 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15074 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15076 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15078 LDAP_LIBS="-lldap_r -llber"
15085 ac_wine_check_funcs_save_LIBS="$LIBS"
15086 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15087 for ac_func in \
15088 ldap_count_references \
15089 ldap_first_reference \
15090 ldap_next_reference \
15091 ldap_parse_reference \
15092 ldap_parse_sort_control \
15093 ldap_parse_sortresponse_control \
15094 ldap_parse_vlv_control \
15095 ldap_parse_vlvresponse_control
15096 do :
15097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15099 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15100 cat >>confdefs.h <<_ACEOF
15101 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15102 _ACEOF
15105 done
15107 LIBS="$ac_wine_check_funcs_save_LIBS"
15109 if test "x$LDAP_LIBS" = "x"; then :
15110 case "x$with_ldap" in
15111 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15112 xno) ;;
15113 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15114 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15115 esac
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15119 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15120 if ${wine_cv_one_arg_mkdir+:} false; then :
15121 $as_echo_n "(cached) " >&6
15122 else
15123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15124 /* end confdefs.h. */
15125 #include <sys/stat.h>
15127 main ()
15129 mkdir("foo");
15131 return 0;
15133 _ACEOF
15134 if ac_fn_c_try_compile "$LINENO"; then :
15135 wine_cv_one_arg_mkdir=yes
15136 else
15137 wine_cv_one_arg_mkdir=no
15139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15142 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15143 if test "$wine_cv_one_arg_mkdir" = "yes"
15144 then
15146 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15151 $as_echo_n "checking for sched_setaffinity... " >&6; }
15152 if ${wine_cv_have_sched_setaffinity+:} false; then :
15153 $as_echo_n "(cached) " >&6
15154 else
15155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15156 /* end confdefs.h. */
15157 #define _GNU_SOURCE
15158 #include <sched.h>
15160 main ()
15162 sched_setaffinity(0, 0, 0);
15164 return 0;
15166 _ACEOF
15167 if ac_fn_c_try_link "$LINENO"; then :
15168 wine_cv_have_sched_setaffinity=yes
15169 else
15170 wine_cv_have_sched_setaffinity=no
15172 rm -f core conftest.err conftest.$ac_objext \
15173 conftest$ac_exeext conftest.$ac_ext
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15176 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15177 if test "$wine_cv_have_sched_setaffinity" = "yes"
15178 then
15180 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15185 $as_echo_n "checking for fallocate... " >&6; }
15186 if ${wine_cv_have_fallocate+:} false; then :
15187 $as_echo_n "(cached) " >&6
15188 else
15189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15190 /* end confdefs.h. */
15191 #define _GNU_SOURCE
15192 #include <fcntl.h>
15194 main ()
15196 fallocate(-1, 0, 0, 0);
15198 return 0;
15200 _ACEOF
15201 if ac_fn_c_try_link "$LINENO"; then :
15202 wine_cv_have_fallocate=yes
15203 else
15204 wine_cv_have_fallocate=no
15206 rm -f core conftest.err conftest.$ac_objext \
15207 conftest$ac_exeext conftest.$ac_ext
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15210 $as_echo "$wine_cv_have_fallocate" >&6; }
15211 if test "$wine_cv_have_fallocate" = "yes"
15212 then
15214 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15220 $as_echo_n "checking for inline... " >&6; }
15221 if ${ac_cv_c_inline+:} false; then :
15222 $as_echo_n "(cached) " >&6
15223 else
15224 ac_cv_c_inline=no
15225 for ac_kw in inline __inline__ __inline; do
15226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15227 /* end confdefs.h. */
15228 #ifndef __cplusplus
15229 typedef int foo_t;
15230 static $ac_kw foo_t static_foo () {return 0; }
15231 $ac_kw foo_t foo () {return 0; }
15232 #endif
15234 _ACEOF
15235 if ac_fn_c_try_compile "$LINENO"; then :
15236 ac_cv_c_inline=$ac_kw
15238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15239 test "$ac_cv_c_inline" != no && break
15240 done
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15244 $as_echo "$ac_cv_c_inline" >&6; }
15246 case $ac_cv_c_inline in
15247 inline | yes) ;;
15249 case $ac_cv_c_inline in
15250 no) ac_val=;;
15251 *) ac_val=$ac_cv_c_inline;;
15252 esac
15253 cat >>confdefs.h <<_ACEOF
15254 #ifndef __cplusplus
15255 #define inline $ac_val
15256 #endif
15257 _ACEOF
15259 esac
15261 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15262 if test "x$ac_cv_type_mode_t" = xyes; then :
15264 cat >>confdefs.h <<_ACEOF
15265 #define HAVE_MODE_T 1
15266 _ACEOF
15270 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15271 if test "x$ac_cv_type_off_t" = xyes; then :
15273 cat >>confdefs.h <<_ACEOF
15274 #define HAVE_OFF_T 1
15275 _ACEOF
15279 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15280 if test "x$ac_cv_type_pid_t" = xyes; then :
15282 cat >>confdefs.h <<_ACEOF
15283 #define HAVE_PID_T 1
15284 _ACEOF
15288 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15289 if test "x$ac_cv_type_size_t" = xyes; then :
15291 cat >>confdefs.h <<_ACEOF
15292 #define HAVE_SIZE_T 1
15293 _ACEOF
15297 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15298 if test "x$ac_cv_type_ssize_t" = xyes; then :
15300 cat >>confdefs.h <<_ACEOF
15301 #define HAVE_SSIZE_T 1
15302 _ACEOF
15306 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15307 if test "x$ac_cv_type_long_long" = xyes; then :
15309 cat >>confdefs.h <<_ACEOF
15310 #define HAVE_LONG_LONG 1
15311 _ACEOF
15315 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15316 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15318 cat >>confdefs.h <<_ACEOF
15319 #define HAVE_FSBLKCNT_T 1
15320 _ACEOF
15324 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15325 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15327 cat >>confdefs.h <<_ACEOF
15328 #define HAVE_FSFILCNT_T 1
15329 _ACEOF
15334 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15335 #include <signal.h>
15337 if test "x$ac_cv_type_sigset_t" = xyes; then :
15339 cat >>confdefs.h <<_ACEOF
15340 #define HAVE_SIGSET_T 1
15341 _ACEOF
15346 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15348 if test "x$ac_cv_type_request_sense" = xyes; then :
15350 cat >>confdefs.h <<_ACEOF
15351 #define HAVE_REQUEST_SENSE 1
15352 _ACEOF
15358 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15359 #ifdef HAVE_SYS_SOCKET_H
15360 #include <sys/socket.h>
15361 #endif
15362 #ifdef HAVE_SYS_SOCKETVAR_H
15363 #include <sys/socketvar.h>
15364 #endif
15365 #ifdef HAVE_NET_ROUTE_H
15366 #include <net/route.h>
15367 #endif
15368 #ifdef HAVE_NETINET_IN_H
15369 #include <netinet/in.h>
15370 #endif
15371 #ifdef HAVE_NETINET_IN_SYSTM_H
15372 #include <netinet/in_systm.h>
15373 #endif
15374 #ifdef HAVE_NETINET_IP_H
15375 #include <netinet/ip.h>
15376 #endif
15377 #ifdef HAVE_NETINET_IN_PCB_H
15378 #include <netinet/in_pcb.h>
15379 #endif
15381 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15383 cat >>confdefs.h <<_ACEOF
15384 #define HAVE_STRUCT_XINPGEN 1
15385 _ACEOF
15391 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15392 #include <link.h>
15393 #endif
15394 #ifdef HAVE_SYS_LINK_H
15395 #include <sys/link.h>
15396 #endif
15398 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15400 cat >>confdefs.h <<_ACEOF
15401 #define HAVE_STRUCT_R_DEBUG 1
15402 _ACEOF
15406 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15407 #include <link.h>
15408 #endif
15409 #ifdef HAVE_SYS_LINK_H
15410 #include <sys/link.h>
15411 #endif
15413 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15415 cat >>confdefs.h <<_ACEOF
15416 #define HAVE_STRUCT_LINK_MAP 1
15417 _ACEOF
15423 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15424 #include <linux/input.h>
15425 #endif
15427 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15429 cat >>confdefs.h <<_ACEOF
15430 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15431 _ACEOF
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15438 $as_echo_n "checking for sigaddset... " >&6; }
15439 if ${wine_cv_have_sigaddset+:} false; then :
15440 $as_echo_n "(cached) " >&6
15441 else
15442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15443 /* end confdefs.h. */
15444 #include <signal.h>
15446 main ()
15448 sigset_t set; sigaddset(&set,SIGTERM);
15450 return 0;
15452 _ACEOF
15453 if ac_fn_c_try_link "$LINENO"; then :
15454 wine_cv_have_sigaddset=yes
15455 else
15456 wine_cv_have_sigaddset=no
15458 rm -f core conftest.err conftest.$ac_objext \
15459 conftest$ac_exeext conftest.$ac_ext
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15462 $as_echo "$wine_cv_have_sigaddset" >&6; }
15463 if test "$wine_cv_have_sigaddset" = "yes"
15464 then
15466 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15472 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15473 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15474 $as_echo_n "(cached) " >&6
15475 else
15476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15477 /* end confdefs.h. */
15478 #include <netdb.h>
15480 main ()
15483 char *name=0;
15484 struct hostent he;
15485 struct hostent *result;
15486 char *buf=0;
15487 int bufsize=0;
15488 int errnr;
15489 char *addr=0;
15490 int addrlen=0;
15491 int addrtype=0;
15492 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15493 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15496 return 0;
15498 _ACEOF
15499 if ac_fn_c_try_link "$LINENO"; then :
15500 wine_cv_linux_gethostbyname_r_6=yes
15501 else
15502 wine_cv_linux_gethostbyname_r_6=no
15505 rm -f core conftest.err conftest.$ac_objext \
15506 conftest$ac_exeext conftest.$ac_ext
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15510 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15511 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15512 then
15514 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15518 if test "$ac_cv_header_linux_joystick_h" = "yes"
15519 then
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15521 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15522 if ${wine_cv_linux_joystick_22_api+:} false; then :
15523 $as_echo_n "(cached) " >&6
15524 else
15525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15526 /* end confdefs.h. */
15528 #include <sys/ioctl.h>
15529 #include <sys/types.h>
15530 #include <linux/joystick.h>
15532 struct js_event blub;
15533 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15534 #error "no 2.2 header"
15535 #endif
15538 main ()
15540 /*empty*/
15542 return 0;
15544 _ACEOF
15545 if ac_fn_c_try_compile "$LINENO"; then :
15546 wine_cv_linux_joystick_22_api=yes
15547 else
15548 wine_cv_linux_joystick_22_api=no
15550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15554 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15555 if test "$wine_cv_linux_joystick_22_api" = "yes"
15556 then
15558 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15564 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15565 #ifdef HAVE_SYS_PARAM_H
15566 # include <sys/param.h>
15567 #endif
15568 #ifdef HAVE_SYS_MOUNT_H
15569 # include <sys/mount.h>
15570 #endif
15571 #ifdef HAVE_SYS_VFS_H
15572 # include <sys/vfs.h>
15573 #endif
15574 #ifdef HAVE_SYS_STATFS_H
15575 # include <sys/statfs.h>
15576 #endif
15578 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15580 cat >>confdefs.h <<_ACEOF
15581 #define HAVE_STRUCT_STATFS_F_BFREE 1
15582 _ACEOF
15586 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15587 #ifdef HAVE_SYS_PARAM_H
15588 # include <sys/param.h>
15589 #endif
15590 #ifdef HAVE_SYS_MOUNT_H
15591 # include <sys/mount.h>
15592 #endif
15593 #ifdef HAVE_SYS_VFS_H
15594 # include <sys/vfs.h>
15595 #endif
15596 #ifdef HAVE_SYS_STATFS_H
15597 # include <sys/statfs.h>
15598 #endif
15600 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15602 cat >>confdefs.h <<_ACEOF
15603 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15604 _ACEOF
15608 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15609 #ifdef HAVE_SYS_PARAM_H
15610 # include <sys/param.h>
15611 #endif
15612 #ifdef HAVE_SYS_MOUNT_H
15613 # include <sys/mount.h>
15614 #endif
15615 #ifdef HAVE_SYS_VFS_H
15616 # include <sys/vfs.h>
15617 #endif
15618 #ifdef HAVE_SYS_STATFS_H
15619 # include <sys/statfs.h>
15620 #endif
15622 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15624 cat >>confdefs.h <<_ACEOF
15625 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15626 _ACEOF
15630 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15631 #ifdef HAVE_SYS_PARAM_H
15632 # include <sys/param.h>
15633 #endif
15634 #ifdef HAVE_SYS_MOUNT_H
15635 # include <sys/mount.h>
15636 #endif
15637 #ifdef HAVE_SYS_VFS_H
15638 # include <sys/vfs.h>
15639 #endif
15640 #ifdef HAVE_SYS_STATFS_H
15641 # include <sys/statfs.h>
15642 #endif
15644 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15646 cat >>confdefs.h <<_ACEOF
15647 #define HAVE_STRUCT_STATFS_F_FFREE 1
15648 _ACEOF
15652 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15653 #ifdef HAVE_SYS_PARAM_H
15654 # include <sys/param.h>
15655 #endif
15656 #ifdef HAVE_SYS_MOUNT_H
15657 # include <sys/mount.h>
15658 #endif
15659 #ifdef HAVE_SYS_VFS_H
15660 # include <sys/vfs.h>
15661 #endif
15662 #ifdef HAVE_SYS_STATFS_H
15663 # include <sys/statfs.h>
15664 #endif
15666 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15668 cat >>confdefs.h <<_ACEOF
15669 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15670 _ACEOF
15674 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15675 #ifdef HAVE_SYS_PARAM_H
15676 # include <sys/param.h>
15677 #endif
15678 #ifdef HAVE_SYS_MOUNT_H
15679 # include <sys/mount.h>
15680 #endif
15681 #ifdef HAVE_SYS_VFS_H
15682 # include <sys/vfs.h>
15683 #endif
15684 #ifdef HAVE_SYS_STATFS_H
15685 # include <sys/statfs.h>
15686 #endif
15688 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15690 cat >>confdefs.h <<_ACEOF
15691 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15692 _ACEOF
15698 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15699 #include <sys/statvfs.h>
15700 #endif
15702 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15704 cat >>confdefs.h <<_ACEOF
15705 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15706 _ACEOF
15712 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15713 #include <dirent.h>
15714 #endif
15716 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15718 cat >>confdefs.h <<_ACEOF
15719 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15720 _ACEOF
15726 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15727 #ifdef HAVE_SYS_SOCKET_H
15728 # include <sys/socket.h>
15729 #endif
15730 #ifdef HAVE_SYS_UN_H
15731 # include <sys/un.h>
15732 #endif
15734 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15736 cat >>confdefs.h <<_ACEOF
15737 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15738 _ACEOF
15742 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15743 #ifdef HAVE_SYS_SOCKET_H
15744 # include <sys/socket.h>
15745 #endif
15746 #ifdef HAVE_SYS_UN_H
15747 # include <sys/un.h>
15748 #endif
15750 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15752 cat >>confdefs.h <<_ACEOF
15753 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15754 _ACEOF
15758 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15759 #ifdef HAVE_SYS_SOCKET_H
15760 # include <sys/socket.h>
15761 #endif
15762 #ifdef HAVE_SYS_UN_H
15763 # include <sys/un.h>
15764 #endif
15766 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15768 cat >>confdefs.h <<_ACEOF
15769 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15770 _ACEOF
15776 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15777 #ifdef HAVE_SCSI_SG_H
15778 #include <scsi/sg.h>
15779 #endif
15781 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15783 cat >>confdefs.h <<_ACEOF
15784 #define HAVE_SCSIREQ_T_CMD 1
15785 _ACEOF
15789 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>
15790 #ifdef HAVE_SCSI_SG_H
15791 #include <scsi/sg.h>
15792 #endif
15794 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15796 cat >>confdefs.h <<_ACEOF
15797 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15798 _ACEOF
15804 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15806 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15808 cat >>confdefs.h <<_ACEOF
15809 #define HAVE_SIGINFO_T_SI_FD 1
15810 _ACEOF
15816 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15817 #ifdef HAVE_SYS_MTIO_H
15818 #include <sys/mtio.h>
15819 #endif
15821 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15823 cat >>confdefs.h <<_ACEOF
15824 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15825 _ACEOF
15829 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15830 #ifdef HAVE_SYS_MTIO_H
15831 #include <sys/mtio.h>
15832 #endif
15834 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15836 cat >>confdefs.h <<_ACEOF
15837 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15838 _ACEOF
15842 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15843 #ifdef HAVE_SYS_MTIO_H
15844 #include <sys/mtio.h>
15845 #endif
15847 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15849 cat >>confdefs.h <<_ACEOF
15850 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15851 _ACEOF
15857 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15858 #include <getopt.h>
15859 #endif
15861 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15863 cat >>confdefs.h <<_ACEOF
15864 #define HAVE_STRUCT_OPTION_NAME 1
15865 _ACEOF
15871 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15872 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15874 cat >>confdefs.h <<_ACEOF
15875 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15876 _ACEOF
15880 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15881 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15883 cat >>confdefs.h <<_ACEOF
15884 #define HAVE_STRUCT_STAT_ST_MTIM 1
15885 _ACEOF
15889 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15890 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15892 cat >>confdefs.h <<_ACEOF
15893 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15894 _ACEOF
15898 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15899 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15901 cat >>confdefs.h <<_ACEOF
15902 #define HAVE_STRUCT_STAT_ST_CTIM 1
15903 _ACEOF
15907 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15908 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15910 cat >>confdefs.h <<_ACEOF
15911 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15912 _ACEOF
15916 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15917 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15919 cat >>confdefs.h <<_ACEOF
15920 #define HAVE_STRUCT_STAT_ST_ATIM 1
15921 _ACEOF
15925 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15926 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15928 cat >>confdefs.h <<_ACEOF
15929 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15930 _ACEOF
15934 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15935 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15937 cat >>confdefs.h <<_ACEOF
15938 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15939 _ACEOF
15943 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15944 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15946 cat >>confdefs.h <<_ACEOF
15947 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15948 _ACEOF
15952 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15953 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15955 cat >>confdefs.h <<_ACEOF
15956 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15957 _ACEOF
15961 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15962 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15964 cat >>confdefs.h <<_ACEOF
15965 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15966 _ACEOF
15970 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15971 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15973 cat >>confdefs.h <<_ACEOF
15974 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15975 _ACEOF
15981 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
15982 #include <sys/types.h>
15983 #endif
15984 #ifdef HAVE_NETINET_IN_H
15985 #include <netinet/in.h>
15986 #endif
15988 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15990 cat >>confdefs.h <<_ACEOF
15991 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15992 _ACEOF
15998 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15999 #include <resolv.h>
16000 #endif
16002 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16004 cat >>confdefs.h <<_ACEOF
16005 #define HAVE_STRUCT___RES_STATE 1
16006 _ACEOF
16012 ac_fn_c_check_member "$LINENO" "struct __res_state" "_u._ext.nscount6" "ac_cv_member_struct___res_state__u__ext_nscount6" "#ifdef HAVE_RESOLV_H
16013 #include <resolv.h>
16014 #endif
16016 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16018 cat >>confdefs.h <<_ACEOF
16019 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16020 _ACEOF
16026 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16027 #include <sys/types.h>
16028 #endif
16029 #ifdef HAVE_NETINET_IN_H
16030 # include <netinet/in.h>
16031 #endif
16032 #ifdef HAVE_ARPA_NAMESER_H
16033 # include <arpa/nameser.h>
16034 #endif
16036 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16038 cat >>confdefs.h <<_ACEOF
16039 #define HAVE_NS_MSG__MSG_PTR 1
16040 _ACEOF
16046 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16047 #include <sys/types.h>
16048 #endif
16049 #ifdef HAVE_NETINET_IP_H
16050 #include <netinet/ip.h>
16051 #endif
16052 #ifdef HAVE_NETINET_IP_ICMP_H
16053 #include <netinet/ip_icmp.h>
16054 #endif
16055 #ifdef HAVE_NETINET_ICMP_VAR_H
16056 #include <netinet/icmp_var.h>
16057 #endif
16059 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16061 cat >>confdefs.h <<_ACEOF
16062 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16063 _ACEOF
16069 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16070 #include <sys/types.h>
16071 #endif
16072 #ifdef HAVE_ALIAS_H
16073 #include <alias.h>
16074 #endif
16075 #ifdef HAVE_SYS_SOCKET_H
16076 #include <sys/socket.h>
16077 #endif
16078 #ifdef HAVE_SYS_SOCKETVAR_H
16079 #include <sys/socketvar.h>
16080 #endif
16081 #ifdef HAVE_SYS_TIMEOUT_H
16082 #include <sys/timeout.h>
16083 #endif
16084 #ifdef HAVE_NETINET_IN_H
16085 #include <netinet/in.h>
16086 #endif
16087 #ifdef HAVE_NETINET_IN_SYSTM_H
16088 #include <netinet/in_systm.h>
16089 #endif
16090 #ifdef HAVE_NETINET_IP_H
16091 #include <netinet/ip.h>
16092 #endif
16093 #ifdef HAVE_NETINET_IP_VAR_H
16094 #include <netinet/ip_var.h>
16095 #endif
16096 #ifdef HAVE_NETINET_IP_ICMP_H
16097 #include <netinet/ip_icmp.h>
16098 #endif
16099 #ifdef HAVE_NETINET_ICMP_VAR_H
16100 #include <netinet/icmp_var.h>
16101 #endif
16103 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16105 cat >>confdefs.h <<_ACEOF
16106 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16107 _ACEOF
16113 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16114 #include <sys/types.h>
16115 #endif
16116 #ifdef HAVE_SYS_SOCKETVAR_H
16117 #include <sys/socketvar.h>
16118 #endif
16119 #ifdef HAVE_NETINET_IN_H
16120 #include <netinet/in.h>
16121 #endif
16122 #ifdef HAVE_NETINET_IP_VAR_H
16123 #include <netinet/ip_var.h>
16124 #endif
16126 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16128 cat >>confdefs.h <<_ACEOF
16129 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16130 _ACEOF
16136 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
16137 #include <netinet/ip_var.h>
16138 #endif
16140 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16142 cat >>confdefs.h <<_ACEOF
16143 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16144 _ACEOF
16150 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16151 #include <sys/types.h>
16152 #endif
16153 #ifdef HAVE_SYS_SOCKETVAR_H
16154 #include <sys/socketvar.h>
16155 #endif
16156 #ifdef HAVE_NETINET_IN_H
16157 #include <netinet/in.h>
16158 #endif
16159 #ifdef HAVE_NETINET_TCP_H
16160 #include <netinet/tcp.h>
16161 #endif
16162 #ifdef HAVE_NETINET_TCP_VAR_H
16163 #include <netinet/tcp_var.h>
16164 #endif
16166 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16168 cat >>confdefs.h <<_ACEOF
16169 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16170 _ACEOF
16176 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
16177 #include <netinet/tcp_var.h>
16178 #endif
16180 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16182 cat >>confdefs.h <<_ACEOF
16183 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16184 _ACEOF
16190 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16191 #include <sys/types.h>
16192 #endif
16193 #ifdef HAVE_NETINET_IN_H
16194 #include <netinet/in.h>
16195 #endif
16196 #ifdef HAVE_NETINET_IP_VAR_H
16197 #include <netinet/ip_var.h>
16198 #endif
16199 #ifdef HAVE_NETINET_UDP_H
16200 #include <netinet/udp.h>
16201 #endif
16202 #ifdef HAVE_NETINET_UDP_VAR_H
16203 #include <netinet/udp_var.h>
16204 #endif
16206 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16208 cat >>confdefs.h <<_ACEOF
16209 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16210 _ACEOF
16216 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16217 #include <sys/types.h>
16218 #endif
16219 #ifdef HAVE_NET_IF_H
16220 # include <net/if.h>
16221 #endif
16223 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16225 cat >>confdefs.h <<_ACEOF
16226 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16227 _ACEOF
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16234 $as_echo_n "checking for timezone variable... " >&6; }
16235 if ${ac_cv_have_timezone+:} false; then :
16236 $as_echo_n "(cached) " >&6
16237 else
16238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16239 /* end confdefs.h. */
16240 #include <time.h>
16242 main ()
16244 timezone = 1
16246 return 0;
16248 _ACEOF
16249 if ac_fn_c_try_link "$LINENO"; then :
16250 ac_cv_have_timezone="yes"
16251 else
16252 ac_cv_have_timezone="no"
16254 rm -f core conftest.err conftest.$ac_objext \
16255 conftest$ac_exeext conftest.$ac_ext
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16258 $as_echo "$ac_cv_have_timezone" >&6; }
16259 if test "$ac_cv_have_timezone" = "yes"
16260 then
16262 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16266 $as_echo_n "checking for daylight variable... " >&6; }
16267 if ${ac_cv_have_daylight+:} false; then :
16268 $as_echo_n "(cached) " >&6
16269 else
16270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16271 /* end confdefs.h. */
16272 #include <time.h>
16274 main ()
16276 daylight = 1
16278 return 0;
16280 _ACEOF
16281 if ac_fn_c_try_link "$LINENO"; then :
16282 ac_cv_have_daylight="yes"
16283 else
16284 ac_cv_have_daylight="no"
16286 rm -f core conftest.err conftest.$ac_objext \
16287 conftest$ac_exeext conftest.$ac_ext
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16290 $as_echo "$ac_cv_have_daylight" >&6; }
16291 if test "$ac_cv_have_daylight" = "yes"
16292 then
16294 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16298 ac_save_LIBS="$LIBS"
16299 LIBS="$LIBS -lm"
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16301 $as_echo_n "checking for isfinite... " >&6; }
16302 if ${ac_cv_have_isfinite+:} false; then :
16303 $as_echo_n "(cached) " >&6
16304 else
16305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16306 /* end confdefs.h. */
16307 #define _GNU_SOURCE
16308 #include <math.h>
16310 main ()
16312 float f = 0.0; return isfinite(f)
16314 return 0;
16316 _ACEOF
16317 if ac_fn_c_try_link "$LINENO"; then :
16318 ac_cv_have_isfinite="yes"
16319 else
16320 ac_cv_have_isfinite="no"
16322 rm -f core conftest.err conftest.$ac_objext \
16323 conftest$ac_exeext conftest.$ac_ext
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16326 $as_echo "$ac_cv_have_isfinite" >&6; }
16327 if test "$ac_cv_have_isfinite" = "yes"
16328 then
16330 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16334 ac_save_LIBS="$LIBS"
16335 LIBS="$LIBS -lm"
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16337 $as_echo_n "checking for isinf... " >&6; }
16338 if ${ac_cv_have_isinf+:} false; then :
16339 $as_echo_n "(cached) " >&6
16340 else
16341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16342 /* end confdefs.h. */
16343 #include <math.h>
16345 main ()
16347 float f = 0.0; return isinf(f)
16349 return 0;
16351 _ACEOF
16352 if ac_fn_c_try_link "$LINENO"; then :
16353 ac_cv_have_isinf="yes"
16354 else
16355 ac_cv_have_isinf="no"
16357 rm -f core conftest.err conftest.$ac_objext \
16358 conftest$ac_exeext conftest.$ac_ext
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16361 $as_echo "$ac_cv_have_isinf" >&6; }
16362 if test "$ac_cv_have_isinf" = "yes"
16363 then
16365 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16370 $as_echo_n "checking for isnan... " >&6; }
16371 if ${ac_cv_have_isnan+:} false; then :
16372 $as_echo_n "(cached) " >&6
16373 else
16374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16375 /* end confdefs.h. */
16376 #include <math.h>
16378 main ()
16380 float f = 0.0; return isnan(f)
16382 return 0;
16384 _ACEOF
16385 if ac_fn_c_try_link "$LINENO"; then :
16386 ac_cv_have_isnan="yes"
16387 else
16388 ac_cv_have_isnan="no"
16390 rm -f core conftest.err conftest.$ac_objext \
16391 conftest$ac_exeext conftest.$ac_ext
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16394 $as_echo "$ac_cv_have_isnan" >&6; }
16395 if test "$ac_cv_have_isnan" = "yes"
16396 then
16398 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16401 LIBS="$ac_save_LIBS"
16404 case $host_cpu in
16405 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16406 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16407 if ${ac_cv_cpp_def___i386__+:} false; then :
16408 $as_echo_n "(cached) " >&6
16409 else
16410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16411 /* end confdefs.h. */
16412 #ifndef __i386__
16414 #endif
16415 _ACEOF
16416 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16417 $EGREP "yes" >/dev/null 2>&1; then :
16418 ac_cv_cpp_def___i386__=yes
16419 else
16420 ac_cv_cpp_def___i386__=no
16422 rm -f conftest*
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16426 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16427 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16428 CFLAGS="$CFLAGS -D__i386__"
16429 LINTFLAGS="$LINTFLAGS -D__i386__"
16430 fi ;;
16431 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16432 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16433 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16434 $as_echo_n "(cached) " >&6
16435 else
16436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16437 /* end confdefs.h. */
16438 #ifndef __x86_64__
16440 #endif
16441 _ACEOF
16442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16443 $EGREP "yes" >/dev/null 2>&1; then :
16444 ac_cv_cpp_def___x86_64__=yes
16445 else
16446 ac_cv_cpp_def___x86_64__=no
16448 rm -f conftest*
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16452 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16453 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16454 CFLAGS="$CFLAGS -D__x86_64__"
16455 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16456 fi ;;
16457 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16458 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16459 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16460 $as_echo_n "(cached) " >&6
16461 else
16462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16463 /* end confdefs.h. */
16464 #ifndef __sparc64__
16466 #endif
16467 _ACEOF
16468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16469 $EGREP "yes" >/dev/null 2>&1; then :
16470 ac_cv_cpp_def___sparc64__=yes
16471 else
16472 ac_cv_cpp_def___sparc64__=no
16474 rm -f conftest*
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16478 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16479 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16480 CFLAGS="$CFLAGS -D__sparc64__"
16481 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16482 fi ;;
16483 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16484 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16485 if ${ac_cv_cpp_def___sparc__+:} false; then :
16486 $as_echo_n "(cached) " >&6
16487 else
16488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16489 /* end confdefs.h. */
16490 #ifndef __sparc__
16492 #endif
16493 _ACEOF
16494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16495 $EGREP "yes" >/dev/null 2>&1; then :
16496 ac_cv_cpp_def___sparc__=yes
16497 else
16498 ac_cv_cpp_def___sparc__=no
16500 rm -f conftest*
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16504 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16505 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16506 CFLAGS="$CFLAGS -D__sparc__"
16507 LINTFLAGS="$LINTFLAGS -D__sparc__"
16508 fi ;;
16509 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16510 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16511 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16512 $as_echo_n "(cached) " >&6
16513 else
16514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16515 /* end confdefs.h. */
16516 #ifndef __powerpc64__
16518 #endif
16519 _ACEOF
16520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16521 $EGREP "yes" >/dev/null 2>&1; then :
16522 ac_cv_cpp_def___powerpc64__=yes
16523 else
16524 ac_cv_cpp_def___powerpc64__=no
16526 rm -f conftest*
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16530 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16531 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16532 CFLAGS="$CFLAGS -D__powerpc64__"
16533 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16534 fi ;;
16535 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16536 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16537 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16538 $as_echo_n "(cached) " >&6
16539 else
16540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16541 /* end confdefs.h. */
16542 #ifndef __powerpc__
16544 #endif
16545 _ACEOF
16546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16547 $EGREP "yes" >/dev/null 2>&1; then :
16548 ac_cv_cpp_def___powerpc__=yes
16549 else
16550 ac_cv_cpp_def___powerpc__=no
16552 rm -f conftest*
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16556 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16557 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16558 CFLAGS="$CFLAGS -D__powerpc__"
16559 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16560 fi ;;
16561 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16562 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16563 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16564 $as_echo_n "(cached) " >&6
16565 else
16566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16567 /* end confdefs.h. */
16568 #ifndef __aarch64__
16570 #endif
16571 _ACEOF
16572 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16573 $EGREP "yes" >/dev/null 2>&1; then :
16574 ac_cv_cpp_def___aarch64__=yes
16575 else
16576 ac_cv_cpp_def___aarch64__=no
16578 rm -f conftest*
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16582 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16583 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16584 CFLAGS="$CFLAGS -D__aarch64__"
16585 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16586 fi ;;
16587 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16588 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16589 if ${ac_cv_cpp_def___arm__+:} false; then :
16590 $as_echo_n "(cached) " >&6
16591 else
16592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16593 /* end confdefs.h. */
16594 #ifndef __arm__
16596 #endif
16597 _ACEOF
16598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16599 $EGREP "yes" >/dev/null 2>&1; then :
16600 ac_cv_cpp_def___arm__=yes
16601 else
16602 ac_cv_cpp_def___arm__=no
16604 rm -f conftest*
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16608 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16609 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16610 CFLAGS="$CFLAGS -D__arm__"
16611 LINTFLAGS="$LINTFLAGS -D__arm__"
16612 fi ;;
16613 esac
16615 case $host_vendor in
16616 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16617 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16618 if ${ac_cv_cpp_def___sun__+:} false; then :
16619 $as_echo_n "(cached) " >&6
16620 else
16621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16622 /* end confdefs.h. */
16623 #ifndef __sun__
16625 #endif
16626 _ACEOF
16627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16628 $EGREP "yes" >/dev/null 2>&1; then :
16629 ac_cv_cpp_def___sun__=yes
16630 else
16631 ac_cv_cpp_def___sun__=no
16633 rm -f conftest*
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16637 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16638 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16639 CFLAGS="$CFLAGS -D__sun__"
16640 LINTFLAGS="$LINTFLAGS -D__sun__"
16641 fi ;;
16642 esac
16648 ac_config_commands="$ac_config_commands include/stamp-h"
16650 $as_echo_n "creating Makefile rules..." >&6
16652 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16653 SOCKET_LIBS = $SOCKET_LIBS
16654 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16655 IOKIT_LIBS = $IOKIT_LIBS
16656 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16657 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16658 CORESERVICES_LIBS = $CORESERVICES_LIBS
16659 APPKIT_LIBS = $APPKIT_LIBS
16660 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16661 SECURITY_LIBS = $SECURITY_LIBS
16662 COREAUDIO_LIBS = $COREAUDIO_LIBS
16663 OPENAL_LIBS = $OPENAL_LIBS
16664 OPENCL_LIBS = $OPENCL_LIBS
16665 QUICKTIME_LIBS = $QUICKTIME_LIBS
16666 CARBON_LIBS = $CARBON_LIBS
16667 PTHREAD_LIBS = $PTHREAD_LIBS
16668 X_CFLAGS = $X_CFLAGS
16669 X_PRE_LIBS = $X_PRE_LIBS
16670 X_LIBS = $X_LIBS
16671 X_EXTRA_LIBS = $X_EXTRA_LIBS
16672 XML2_CFLAGS = $XML2_CFLAGS
16673 XML2_LIBS = $XML2_LIBS
16674 XSLT_CFLAGS = $XSLT_CFLAGS
16675 XSLT_LIBS = $XSLT_LIBS
16676 DBUS_CFLAGS = $DBUS_CFLAGS
16677 DBUS_LIBS = $DBUS_LIBS
16678 HAL_CFLAGS = $HAL_CFLAGS
16679 HAL_LIBS = $HAL_LIBS
16680 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16681 GNUTLS_LIBS = $GNUTLS_LIBS
16682 SANE_CFLAGS = $SANE_CFLAGS
16683 SANE_LIBS = $SANE_LIBS
16684 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16685 GPHOTO2_LIBS = $GPHOTO2_LIBS
16686 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16687 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16688 RESOLV_LIBS = $RESOLV_LIBS
16689 LCMS2_CFLAGS = $LCMS2_CFLAGS
16690 LCMS2_LIBS = $LCMS2_LIBS
16691 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16692 FREETYPE_LIBS = $FREETYPE_LIBS
16693 Z_LIBS = $Z_LIBS
16694 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16695 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16696 GSTREAMER_LIBS = $GSTREAMER_LIBS
16697 ALSA_LIBS = $ALSA_LIBS
16698 OSS4_CFLAGS = $OSS4_CFLAGS
16699 CAPI20_CFLAGS = $CAPI20_CFLAGS
16700 CAPI20_LIBS = $CAPI20_LIBS
16701 CUPS_CFLAGS = $CUPS_CFLAGS
16702 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16703 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16704 JPEG_CFLAGS = $JPEG_CFLAGS
16705 JPEG_LIBS = $JPEG_LIBS
16706 PNG_CFLAGS = $PNG_CFLAGS
16707 PNG_LIBS = $PNG_LIBS
16708 TIFF_CFLAGS = $TIFF_CFLAGS
16709 TIFF_LIBS = $TIFF_LIBS
16710 MPG123_CFLAGS = $MPG123_CFLAGS
16711 MPG123_LIBS = $MPG123_LIBS
16712 KSTAT_LIBS = $KSTAT_LIBS
16713 PROCSTAT_LIBS = $PROCSTAT_LIBS
16714 DL_LIBS = $DL_LIBS
16715 POLL_LIBS = $POLL_LIBS
16716 RT_LIBS = $RT_LIBS
16717 LDAP_LIBS = $LDAP_LIBS
16722 wine_fn_append_rule "
16723 # Rules automatically generated by configure
16725 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16727 .INIT: Makefile
16728 .MAKEFILEDEPS:
16729 all: Makefile
16730 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16731 @./config.status Make.tmp Makefile"
16733 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16734 .gitignore: config.status
16735 @./config.status .gitignore"
16737 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16738 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16740 if test "x$enable_fonts" != xno; then
16741 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16742 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16743 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16744 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16745 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16747 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16748 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16749 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16750 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16751 ac_config_links="$ac_config_links wine:tools/winewrapper"
16752 wine_fn_config_symlink wine
16753 if test "x$enable_win64" != xno; then
16754 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16755 wine_fn_config_symlink wine64
16758 wine_fn_config_dll acledit enable_acledit
16759 wine_fn_config_dll aclui enable_aclui implib
16760 wine_fn_config_dll activeds enable_activeds implib
16761 wine_fn_config_dll actxprxy enable_actxprxy clean
16762 wine_fn_config_lib adsiid
16763 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16764 wine_fn_config_test dlls/advapi32/tests advapi32_test
16765 wine_fn_config_dll advpack enable_advpack implib
16766 wine_fn_config_test dlls/advpack/tests advpack_test
16767 wine_fn_config_dll amstream enable_amstream clean
16768 wine_fn_config_test dlls/amstream/tests amstream_test
16769 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16770 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16771 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16772 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16773 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16774 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16775 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16776 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16777 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16778 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16779 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16780 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16781 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16782 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16783 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16784 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16785 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16786 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16787 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16788 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16789 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16790 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16791 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16792 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16793 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16794 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16795 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16796 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16797 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16798 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16799 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16800 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16801 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16802 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16803 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16804 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16805 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16806 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16807 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16808 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16809 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16810 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16811 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16812 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16813 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16814 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16815 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16816 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16817 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16818 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16819 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16820 wine_fn_config_dll apphelp enable_apphelp
16821 wine_fn_config_test dlls/apphelp/tests apphelp_test
16822 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16823 wine_fn_config_dll atl enable_atl clean,implib
16824 wine_fn_config_test dlls/atl/tests atl_test
16825 wine_fn_config_dll atl100 enable_atl100 clean,implib
16826 wine_fn_config_test dlls/atl100/tests atl100_test
16827 wine_fn_config_dll atl110 enable_atl110 clean
16828 wine_fn_config_dll atl80 enable_atl80 clean,implib
16829 wine_fn_config_test dlls/atl80/tests atl80_test
16830 wine_fn_config_dll atl90 enable_atl90 clean
16831 wine_fn_config_dll authz enable_authz
16832 wine_fn_config_dll avicap32 enable_avicap32 implib
16833 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16834 wine_fn_config_test dlls/avifil32/tests avifil32_test
16835 wine_fn_config_dll avifile.dll16 enable_win16
16836 wine_fn_config_dll avrt enable_avrt implib
16837 wine_fn_config_dll bcrypt enable_bcrypt
16838 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16839 wine_fn_config_dll browseui enable_browseui clean,po
16840 wine_fn_config_test dlls/browseui/tests browseui_test
16841 wine_fn_config_dll cabinet enable_cabinet implib
16842 wine_fn_config_test dlls/cabinet/tests cabinet_test
16843 wine_fn_config_dll capi2032 enable_capi2032 implib
16844 wine_fn_config_dll cards enable_cards implib
16845 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16846 wine_fn_config_dll clusapi enable_clusapi implib
16847 wine_fn_config_dll comcat enable_comcat
16848 wine_fn_config_test dlls/comcat/tests comcat_test
16849 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16850 wine_fn_config_test dlls/comctl32/tests comctl32_test
16851 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16852 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16853 wine_fn_config_dll comm.drv16 enable_win16
16854 wine_fn_config_dll commdlg.dll16 enable_win16
16855 wine_fn_config_dll compobj.dll16 enable_win16
16856 wine_fn_config_dll compstui enable_compstui implib
16857 wine_fn_config_dll comsvcs enable_comsvcs implib
16858 wine_fn_config_dll credui enable_credui implib,po
16859 wine_fn_config_test dlls/credui/tests credui_test
16860 wine_fn_config_dll crtdll enable_crtdll implib
16861 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16862 wine_fn_config_test dlls/crypt32/tests crypt32_test
16863 wine_fn_config_dll cryptdlg enable_cryptdlg po
16864 wine_fn_config_dll cryptdll enable_cryptdll implib
16865 wine_fn_config_dll cryptext enable_cryptext
16866 wine_fn_config_dll cryptnet enable_cryptnet implib
16867 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16868 wine_fn_config_dll cryptui enable_cryptui implib,po
16869 wine_fn_config_test dlls/cryptui/tests cryptui_test
16870 wine_fn_config_dll ctapi32 enable_ctapi32
16871 wine_fn_config_dll ctl3d.dll16 enable_win16
16872 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16873 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16874 wine_fn_config_dll d2d1 enable_d2d1 implib
16875 wine_fn_config_test dlls/d2d1/tests d2d1_test
16876 wine_fn_config_dll d3d10 enable_d3d10 implib
16877 wine_fn_config_test dlls/d3d10/tests d3d10_test
16878 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16879 wine_fn_config_dll d3d10core enable_d3d10core implib
16880 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16881 wine_fn_config_dll d3d11 enable_d3d11
16882 wine_fn_config_dll d3d8 enable_d3d8 implib
16883 wine_fn_config_test dlls/d3d8/tests d3d8_test
16884 wine_fn_config_dll d3d9 enable_d3d9 implib
16885 wine_fn_config_test dlls/d3d9/tests d3d9_test
16886 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16887 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16888 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16889 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16890 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16891 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16892 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16893 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16894 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16895 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16896 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16897 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16898 wine_fn_config_dll d3dim enable_d3dim implib
16899 wine_fn_config_dll d3drm enable_d3drm implib
16900 wine_fn_config_test dlls/d3drm/tests d3drm_test
16901 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16902 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16903 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16904 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16905 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16906 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16907 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16908 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16909 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16910 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16911 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16912 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16913 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16914 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16915 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16916 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16917 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16918 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16919 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16920 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16921 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16922 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16923 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16924 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16925 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16926 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16927 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16928 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16929 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16930 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16931 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16932 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16933 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16934 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16935 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16936 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16937 wine_fn_config_dll dbgeng enable_dbgeng implib
16938 wine_fn_config_dll dbghelp enable_dbghelp implib
16939 wine_fn_config_dll dciman32 enable_dciman32 implib
16940 wine_fn_config_dll ddeml.dll16 enable_win16
16941 wine_fn_config_dll ddraw enable_ddraw clean,implib
16942 wine_fn_config_test dlls/ddraw/tests ddraw_test
16943 wine_fn_config_dll ddrawex enable_ddrawex clean
16944 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16945 wine_fn_config_dll devenum enable_devenum clean,po
16946 wine_fn_config_test dlls/devenum/tests devenum_test
16947 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16948 wine_fn_config_dll difxapi enable_difxapi
16949 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16950 wine_fn_config_test dlls/dinput/tests dinput_test
16951 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16952 wine_fn_config_test dlls/dinput8/tests dinput8_test
16953 wine_fn_config_dll dispdib.dll16 enable_win16
16954 wine_fn_config_dll dispex enable_dispex clean
16955 wine_fn_config_test dlls/dispex/tests dispex_test
16956 wine_fn_config_dll display.drv16 enable_win16
16957 wine_fn_config_dll dmband enable_dmband clean
16958 wine_fn_config_test dlls/dmband/tests dmband_test
16959 wine_fn_config_dll dmcompos enable_dmcompos clean
16960 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16961 wine_fn_config_dll dmime enable_dmime clean
16962 wine_fn_config_test dlls/dmime/tests dmime_test
16963 wine_fn_config_dll dmloader enable_dmloader clean
16964 wine_fn_config_test dlls/dmloader/tests dmloader_test
16965 wine_fn_config_dll dmscript enable_dmscript clean
16966 wine_fn_config_test dlls/dmscript/tests dmscript_test
16967 wine_fn_config_dll dmstyle enable_dmstyle clean
16968 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16969 wine_fn_config_dll dmsynth enable_dmsynth clean
16970 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16971 wine_fn_config_dll dmusic enable_dmusic clean
16972 wine_fn_config_test dlls/dmusic/tests dmusic_test
16973 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16974 wine_fn_config_dll dnsapi enable_dnsapi implib
16975 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16976 wine_fn_config_dll dplay enable_dplay implib
16977 wine_fn_config_dll dplayx enable_dplayx clean,implib
16978 wine_fn_config_test dlls/dplayx/tests dplayx_test
16979 wine_fn_config_dll dpnaddr enable_dpnaddr
16980 wine_fn_config_dll dpnet enable_dpnet clean,implib
16981 wine_fn_config_test dlls/dpnet/tests dpnet_test
16982 wine_fn_config_dll dpnhpast enable_dpnhpast
16983 wine_fn_config_dll dpnlobby enable_dpnlobby
16984 wine_fn_config_dll dpvoice enable_dpvoice clean
16985 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
16986 wine_fn_config_dll dpwsockx enable_dpwsockx
16987 wine_fn_config_dll drmclien enable_drmclien
16988 wine_fn_config_dll dsound enable_dsound clean,implib
16989 wine_fn_config_test dlls/dsound/tests dsound_test
16990 wine_fn_config_dll dssenh enable_dssenh
16991 wine_fn_config_test dlls/dssenh/tests dssenh_test
16992 wine_fn_config_dll dswave enable_dswave clean
16993 wine_fn_config_test dlls/dswave/tests dswave_test
16994 wine_fn_config_dll dwmapi enable_dwmapi implib
16995 wine_fn_config_dll dwrite enable_dwrite implib
16996 wine_fn_config_test dlls/dwrite/tests dwrite_test
16997 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16998 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16999 wine_fn_config_lib dxerr8
17000 wine_fn_config_lib dxerr9
17001 wine_fn_config_dll dxgi enable_dxgi implib
17002 wine_fn_config_test dlls/dxgi/tests dxgi_test
17003 wine_fn_config_lib dxguid
17004 wine_fn_config_dll dxva2 enable_dxva2
17005 wine_fn_config_dll explorerframe enable_explorerframe clean
17006 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17007 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17008 wine_fn_config_dll faultrep enable_faultrep implib
17009 wine_fn_config_test dlls/faultrep/tests faultrep_test
17010 wine_fn_config_dll fltlib enable_fltlib
17011 wine_fn_config_dll fntcache enable_fntcache
17012 wine_fn_config_dll fontsub enable_fontsub
17013 wine_fn_config_dll fusion enable_fusion
17014 wine_fn_config_test dlls/fusion/tests fusion_test
17015 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17016 wine_fn_config_dll gameux enable_gameux clean
17017 wine_fn_config_test dlls/gameux/tests gameux_test
17018 wine_fn_config_dll gdi.exe16 enable_win16
17019 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17020 wine_fn_config_test dlls/gdi32/tests gdi32_test
17021 wine_fn_config_dll gdiplus enable_gdiplus implib
17022 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17023 wine_fn_config_dll glu32 enable_glu32 implib
17024 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17025 wine_fn_config_dll gpkcsp enable_gpkcsp
17026 wine_fn_config_dll hal enable_hal
17027 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17028 wine_fn_config_dll hid enable_hid implib
17029 wine_fn_config_dll hlink enable_hlink clean,implib
17030 wine_fn_config_test dlls/hlink/tests hlink_test
17031 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17032 wine_fn_config_dll httpapi enable_httpapi
17033 wine_fn_config_dll iccvid enable_iccvid po
17034 wine_fn_config_dll icmp enable_icmp
17035 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17036 wine_fn_config_test dlls/ieframe/tests ieframe_test
17037 wine_fn_config_dll ifsmgr.vxd enable_win16
17038 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17039 wine_fn_config_dll imagehlp enable_imagehlp implib
17040 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17041 wine_fn_config_dll imm.dll16 enable_win16
17042 wine_fn_config_dll imm32 enable_imm32 implib
17043 wine_fn_config_test dlls/imm32/tests imm32_test
17044 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17045 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17046 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17047 wine_fn_config_dll inetmib1 enable_inetmib1
17048 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17049 wine_fn_config_dll infosoft enable_infosoft clean
17050 wine_fn_config_test dlls/infosoft/tests infosoft_test
17051 wine_fn_config_dll initpki enable_initpki
17052 wine_fn_config_dll inkobj enable_inkobj
17053 wine_fn_config_dll inseng enable_inseng clean
17054 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17055 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17056 wine_fn_config_dll itircl enable_itircl
17057 wine_fn_config_dll itss enable_itss clean
17058 wine_fn_config_test dlls/itss/tests itss_test
17059 wine_fn_config_dll joy.cpl enable_joy_cpl po
17060 wine_fn_config_dll jscript enable_jscript clean,po
17061 wine_fn_config_test dlls/jscript/tests jscript_test
17062 wine_fn_config_dll jsproxy enable_jsproxy implib
17063 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17064 wine_fn_config_test dlls/kernel32/tests kernel32_test
17065 wine_fn_config_dll keyboard.drv16 enable_win16
17066 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17067 wine_fn_config_dll ksuser enable_ksuser
17068 wine_fn_config_dll ktmw32 enable_ktmw32
17069 wine_fn_config_dll loadperf enable_loadperf implib
17070 wine_fn_config_dll localspl enable_localspl po
17071 wine_fn_config_test dlls/localspl/tests localspl_test
17072 wine_fn_config_dll localui enable_localui po
17073 wine_fn_config_test dlls/localui/tests localui_test
17074 wine_fn_config_dll lz32 enable_lz32 implib
17075 wine_fn_config_test dlls/lz32/tests lz32_test
17076 wine_fn_config_dll lzexpand.dll16 enable_win16
17077 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17078 wine_fn_config_test dlls/mapi32/tests mapi32_test
17079 wine_fn_config_dll mapistub enable_mapistub
17080 wine_fn_config_dll mciavi32 enable_mciavi32
17081 wine_fn_config_dll mcicda enable_mcicda
17082 wine_fn_config_dll mciqtz32 enable_mciqtz32
17083 wine_fn_config_dll mciseq enable_mciseq
17084 wine_fn_config_dll mciwave enable_mciwave
17085 wine_fn_config_dll mgmtapi enable_mgmtapi
17086 wine_fn_config_dll midimap enable_midimap
17087 wine_fn_config_dll mlang enable_mlang clean,implib
17088 wine_fn_config_test dlls/mlang/tests mlang_test
17089 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17090 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17091 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17092 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17093 wine_fn_config_dll mmdevldr.vxd enable_win16
17094 wine_fn_config_dll mmsystem.dll16 enable_win16
17095 wine_fn_config_dll monodebg.vxd enable_win16
17096 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17097 wine_fn_config_dll mouse.drv16 enable_win16
17098 wine_fn_config_dll mpr enable_mpr implib,po
17099 wine_fn_config_test dlls/mpr/tests mpr_test
17100 wine_fn_config_dll mprapi enable_mprapi implib
17101 wine_fn_config_dll msacm.dll16 enable_win16
17102 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17103 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17104 wine_fn_config_test dlls/msacm32/tests msacm32_test
17105 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17106 wine_fn_config_dll msasn1 enable_msasn1 implib
17107 wine_fn_config_dll mscat32 enable_mscat32
17108 wine_fn_config_dll mscms enable_mscms implib
17109 wine_fn_config_test dlls/mscms/tests mscms_test
17110 wine_fn_config_dll mscoree enable_mscoree clean
17111 wine_fn_config_test dlls/mscoree/tests mscoree_test
17112 wine_fn_config_dll msctf enable_msctf clean
17113 wine_fn_config_test dlls/msctf/tests msctf_test
17114 wine_fn_config_dll msdaps enable_msdaps clean
17115 wine_fn_config_dll msdmo enable_msdmo implib
17116 wine_fn_config_dll msftedit enable_msftedit
17117 wine_fn_config_dll msg711.acm enable_msg711_acm
17118 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17119 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17120 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17121 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17122 wine_fn_config_dll msi enable_msi clean,implib,po
17123 wine_fn_config_test dlls/msi/tests msi_test
17124 wine_fn_config_dll msident enable_msident clean
17125 wine_fn_config_dll msimg32 enable_msimg32 implib
17126 wine_fn_config_dll msimsg enable_msimsg
17127 wine_fn_config_dll msimtf enable_msimtf clean
17128 wine_fn_config_dll msisip enable_msisip
17129 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17130 wine_fn_config_dll msls31 enable_msls31
17131 wine_fn_config_dll msnet32 enable_msnet32
17132 wine_fn_config_dll mspatcha enable_mspatcha
17133 wine_fn_config_dll msrle32 enable_msrle32 po
17134 wine_fn_config_test dlls/msrle32/tests msrle32_test
17135 wine_fn_config_dll mssign32 enable_mssign32
17136 wine_fn_config_dll mssip32 enable_mssip32
17137 wine_fn_config_dll mstask enable_mstask clean
17138 wine_fn_config_test dlls/mstask/tests mstask_test
17139 wine_fn_config_dll msvcirt enable_msvcirt
17140 wine_fn_config_dll msvcm80 enable_msvcm80
17141 wine_fn_config_dll msvcm90 enable_msvcm90
17142 wine_fn_config_dll msvcp100 enable_msvcp100
17143 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17144 wine_fn_config_dll msvcp110 enable_msvcp110
17145 wine_fn_config_dll msvcp120 enable_msvcp120
17146 wine_fn_config_dll msvcp60 enable_msvcp60
17147 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17148 wine_fn_config_dll msvcp70 enable_msvcp70
17149 wine_fn_config_dll msvcp71 enable_msvcp71
17150 wine_fn_config_dll msvcp80 enable_msvcp80
17151 wine_fn_config_dll msvcp90 enable_msvcp90
17152 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17153 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17154 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17155 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17156 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17157 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17158 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17159 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17160 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17161 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17162 wine_fn_config_dll msvcrt enable_msvcrt implib
17163 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17164 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17165 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17166 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17167 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17168 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17169 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17170 wine_fn_config_dll msvidc32 enable_msvidc32 po
17171 wine_fn_config_dll msvideo.dll16 enable_win16
17172 wine_fn_config_dll mswsock enable_mswsock implib
17173 wine_fn_config_dll msxml enable_msxml clean
17174 wine_fn_config_dll msxml2 enable_msxml2 clean
17175 wine_fn_config_dll msxml3 enable_msxml3 clean
17176 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17177 wine_fn_config_dll msxml4 enable_msxml4 clean
17178 wine_fn_config_dll msxml6 enable_msxml6 clean
17179 wine_fn_config_dll nddeapi enable_nddeapi implib
17180 wine_fn_config_dll ndis.sys enable_ndis_sys
17181 wine_fn_config_dll netapi32 enable_netapi32 implib
17182 wine_fn_config_test dlls/netapi32/tests netapi32_test
17183 wine_fn_config_dll netcfgx enable_netcfgx clean
17184 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17185 wine_fn_config_dll netprofm enable_netprofm clean
17186 wine_fn_config_test dlls/netprofm/tests netprofm_test
17187 wine_fn_config_dll newdev enable_newdev implib
17188 wine_fn_config_dll normaliz enable_normaliz implib
17189 wine_fn_config_dll npmshtml enable_npmshtml
17190 wine_fn_config_dll npptools enable_npptools
17191 wine_fn_config_dll ntdll enable_ntdll implib
17192 wine_fn_config_test dlls/ntdll/tests ntdll_test
17193 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17194 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17195 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17196 wine_fn_config_dll ntprint enable_ntprint
17197 wine_fn_config_test dlls/ntprint/tests ntprint_test
17198 wine_fn_config_dll objsel enable_objsel clean
17199 wine_fn_config_dll odbc32 enable_odbc32 implib
17200 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17201 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17202 wine_fn_config_dll odbccu32 enable_odbccu32
17203 wine_fn_config_dll ole2.dll16 enable_win16
17204 wine_fn_config_dll ole2conv.dll16 enable_win16
17205 wine_fn_config_dll ole2disp.dll16 enable_win16
17206 wine_fn_config_dll ole2nls.dll16 enable_win16
17207 wine_fn_config_dll ole2prox.dll16 enable_win16
17208 wine_fn_config_dll ole2thk.dll16 enable_win16
17209 wine_fn_config_dll ole32 enable_ole32 clean,implib
17210 wine_fn_config_test dlls/ole32/tests ole32_test
17211 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17212 wine_fn_config_test dlls/oleacc/tests oleacc_test
17213 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17214 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17215 wine_fn_config_dll olecli.dll16 enable_win16
17216 wine_fn_config_dll olecli32 enable_olecli32 implib
17217 wine_fn_config_dll oledb32 enable_oledb32 clean
17218 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17219 wine_fn_config_dll oledlg enable_oledlg implib,po
17220 wine_fn_config_dll olepro32 enable_olepro32 implib
17221 wine_fn_config_dll olesvr.dll16 enable_win16
17222 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17223 wine_fn_config_dll olethk32 enable_olethk32
17224 wine_fn_config_dll openal32 enable_openal32
17225 wine_fn_config_dll opencl enable_opencl
17226 wine_fn_config_dll opengl32 enable_opengl32 implib
17227 wine_fn_config_test dlls/opengl32/tests opengl32_test
17228 wine_fn_config_dll packager enable_packager clean
17229 wine_fn_config_test dlls/packager/tests packager_test
17230 wine_fn_config_dll pdh enable_pdh implib
17231 wine_fn_config_test dlls/pdh/tests pdh_test
17232 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17233 wine_fn_config_dll pidgen enable_pidgen
17234 wine_fn_config_dll powrprof enable_powrprof implib
17235 wine_fn_config_dll printui enable_printui
17236 wine_fn_config_dll prntvpt enable_prntvpt
17237 wine_fn_config_dll propsys enable_propsys clean,implib
17238 wine_fn_config_test dlls/propsys/tests propsys_test
17239 wine_fn_config_dll psapi enable_psapi implib
17240 wine_fn_config_test dlls/psapi/tests psapi_test
17241 wine_fn_config_dll pstorec enable_pstorec clean
17242 wine_fn_config_dll qcap enable_qcap
17243 wine_fn_config_test dlls/qcap/tests qcap_test
17244 wine_fn_config_dll qedit enable_qedit clean
17245 wine_fn_config_test dlls/qedit/tests qedit_test
17246 wine_fn_config_dll qmgr enable_qmgr clean
17247 wine_fn_config_test dlls/qmgr/tests qmgr_test
17248 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17249 wine_fn_config_dll quartz enable_quartz clean,implib
17250 wine_fn_config_test dlls/quartz/tests quartz_test clean
17251 wine_fn_config_dll query enable_query
17252 wine_fn_config_dll rasapi16.dll16 enable_win16
17253 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17254 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17255 wine_fn_config_dll rasdlg enable_rasdlg implib
17256 wine_fn_config_dll regapi enable_regapi
17257 wine_fn_config_dll resutils enable_resutils implib
17258 wine_fn_config_dll riched20 enable_riched20 implib
17259 wine_fn_config_test dlls/riched20/tests riched20_test
17260 wine_fn_config_dll riched32 enable_riched32
17261 wine_fn_config_test dlls/riched32/tests riched32_test
17262 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17263 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17264 wine_fn_config_dll rsabase enable_rsabase
17265 wine_fn_config_dll rsaenh enable_rsaenh implib
17266 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17267 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17268 wine_fn_config_dll rtutils enable_rtutils implib
17269 wine_fn_config_dll samlib enable_samlib
17270 wine_fn_config_dll sane.ds enable_sane_ds po
17271 wine_fn_config_dll scarddlg enable_scarddlg
17272 wine_fn_config_dll sccbase enable_sccbase
17273 wine_fn_config_dll schannel enable_schannel
17274 wine_fn_config_test dlls/schannel/tests schannel_test
17275 wine_fn_config_dll schedsvc enable_schedsvc clean
17276 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17277 wine_fn_config_dll scrrun enable_scrrun clean
17278 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17279 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17280 wine_fn_config_dll secur32 enable_secur32 implib
17281 wine_fn_config_test dlls/secur32/tests secur32_test
17282 wine_fn_config_dll security enable_security
17283 wine_fn_config_dll sensapi enable_sensapi implib
17284 wine_fn_config_dll serialui enable_serialui implib,po
17285 wine_fn_config_test dlls/serialui/tests serialui_test
17286 wine_fn_config_dll setupapi enable_setupapi implib,po
17287 wine_fn_config_test dlls/setupapi/tests setupapi_test
17288 wine_fn_config_dll setupx.dll16 enable_win16
17289 wine_fn_config_dll sfc enable_sfc implib
17290 wine_fn_config_dll sfc_os enable_sfc_os implib
17291 wine_fn_config_dll shdoclc enable_shdoclc po
17292 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17293 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17294 wine_fn_config_dll shell.dll16 enable_win16
17295 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17296 wine_fn_config_test dlls/shell32/tests shell32_test
17297 wine_fn_config_dll shfolder enable_shfolder implib
17298 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17299 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17300 wine_fn_config_dll slbcsp enable_slbcsp
17301 wine_fn_config_dll slc enable_slc implib
17302 wine_fn_config_dll snmpapi enable_snmpapi implib
17303 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17304 wine_fn_config_dll softpub enable_softpub
17305 wine_fn_config_dll sound.drv16 enable_win16
17306 wine_fn_config_dll spoolss enable_spoolss implib
17307 wine_fn_config_test dlls/spoolss/tests spoolss_test
17308 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17309 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17310 wine_fn_config_dll sti enable_sti clean,implib
17311 wine_fn_config_test dlls/sti/tests sti_test
17312 wine_fn_config_dll storage.dll16 enable_win16
17313 wine_fn_config_dll stress.dll16 enable_win16
17314 wine_fn_config_lib strmbase
17315 wine_fn_config_lib strmiids
17316 wine_fn_config_dll svrapi enable_svrapi
17317 wine_fn_config_dll sxs enable_sxs implib
17318 wine_fn_config_test dlls/sxs/tests sxs_test
17319 wine_fn_config_dll system.drv16 enable_win16
17320 wine_fn_config_dll t2embed enable_t2embed
17321 wine_fn_config_dll tapi32 enable_tapi32 implib
17322 wine_fn_config_dll taskschd enable_taskschd clean
17323 wine_fn_config_test dlls/taskschd/tests taskschd_test
17324 wine_fn_config_dll toolhelp.dll16 enable_win16
17325 wine_fn_config_dll traffic enable_traffic
17326 wine_fn_config_dll twain.dll16 enable_win16
17327 wine_fn_config_dll twain_32 enable_twain_32
17328 wine_fn_config_test dlls/twain_32/tests twain_32_test
17329 wine_fn_config_dll typelib.dll16 enable_win16
17330 wine_fn_config_dll unicows enable_unicows implib
17331 wine_fn_config_dll updspapi enable_updspapi
17332 wine_fn_config_dll url enable_url implib
17333 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17334 wine_fn_config_test dlls/urlmon/tests urlmon_test
17335 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17336 wine_fn_config_dll user.exe16 enable_win16
17337 wine_fn_config_dll user32 enable_user32 clean,implib,po
17338 wine_fn_config_test dlls/user32/tests user32_test
17339 wine_fn_config_dll userenv enable_userenv implib
17340 wine_fn_config_test dlls/userenv/tests userenv_test
17341 wine_fn_config_dll usp10 enable_usp10 implib
17342 wine_fn_config_test dlls/usp10/tests usp10_test
17343 wine_fn_config_lib uuid
17344 wine_fn_config_dll uxtheme enable_uxtheme implib
17345 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17346 wine_fn_config_dll vbscript enable_vbscript clean
17347 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17348 wine_fn_config_dll vcomp enable_vcomp
17349 wine_fn_config_dll vcomp100 enable_vcomp100
17350 wine_fn_config_dll vcomp90 enable_vcomp90
17351 wine_fn_config_dll vdhcp.vxd enable_win16
17352 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17353 wine_fn_config_dll ver.dll16 enable_win16
17354 wine_fn_config_dll version enable_version implib
17355 wine_fn_config_test dlls/version/tests version_test
17356 wine_fn_config_dll vmm.vxd enable_win16
17357 wine_fn_config_dll vnbt.vxd enable_win16
17358 wine_fn_config_dll vnetbios.vxd enable_win16
17359 wine_fn_config_dll vtdapi.vxd enable_win16
17360 wine_fn_config_dll vwin32.vxd enable_win16
17361 wine_fn_config_dll w32skrnl enable_win16
17362 wine_fn_config_dll w32sys.dll16 enable_win16
17363 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17364 wine_fn_config_dll wbemprox enable_wbemprox clean
17365 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17366 wine_fn_config_dll webservices enable_webservices implib
17367 wine_fn_config_dll wer enable_wer implib
17368 wine_fn_config_test dlls/wer/tests wer_test
17369 wine_fn_config_dll wevtapi enable_wevtapi
17370 wine_fn_config_dll wiaservc enable_wiaservc clean
17371 wine_fn_config_dll win32s16.dll16 enable_win16
17372 wine_fn_config_dll win87em.dll16 enable_win16
17373 wine_fn_config_dll winaspi.dll16 enable_win16
17374 wine_fn_config_dll windebug.dll16 enable_win16
17375 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17376 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17377 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17378 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17379 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17380 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17381 wine_fn_config_lib winecrt0
17382 wine_fn_config_dll wined3d enable_wined3d implib
17383 wine_fn_config_dll winegstreamer enable_winegstreamer
17384 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17385 wine_fn_config_dll winemac.drv enable_winemac_drv
17386 wine_fn_config_dll winemapi enable_winemapi
17387 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17388 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17389 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17390 wine_fn_config_dll wineps16.drv16 enable_win16
17391 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17392 wine_fn_config_dll winex11.drv enable_winex11_drv
17393 wine_fn_config_dll wing.dll16 enable_win16
17394 wine_fn_config_dll wing32 enable_wing32
17395 wine_fn_config_dll winhttp enable_winhttp clean,implib
17396 wine_fn_config_test dlls/winhttp/tests winhttp_test
17397 wine_fn_config_dll wininet enable_wininet implib,po
17398 wine_fn_config_test dlls/wininet/tests wininet_test
17399 wine_fn_config_dll winmm enable_winmm implib,po
17400 wine_fn_config_test dlls/winmm/tests winmm_test
17401 wine_fn_config_dll winnls.dll16 enable_win16
17402 wine_fn_config_dll winnls32 enable_winnls32 implib
17403 wine_fn_config_dll winscard enable_winscard implib
17404 wine_fn_config_dll winsock.dll16 enable_win16
17405 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17406 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17407 wine_fn_config_dll winsta enable_winsta
17408 wine_fn_config_dll wintab.dll16 enable_win16
17409 wine_fn_config_dll wintab32 enable_wintab32 implib
17410 wine_fn_config_test dlls/wintab32/tests wintab32_test
17411 wine_fn_config_dll wintrust enable_wintrust implib
17412 wine_fn_config_test dlls/wintrust/tests wintrust_test
17413 wine_fn_config_dll wlanapi enable_wlanapi
17414 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17415 wine_fn_config_test dlls/wldap32/tests wldap32_test
17416 wine_fn_config_dll wmi enable_wmi
17417 wine_fn_config_dll wmiutils enable_wmiutils clean
17418 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17419 wine_fn_config_dll wmp enable_wmp clean
17420 wine_fn_config_test dlls/wmp/tests wmp_test
17421 wine_fn_config_dll wmvcore enable_wmvcore
17422 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17423 wine_fn_config_dll wow32 enable_win16 implib
17424 wine_fn_config_dll wpcap enable_wpcap
17425 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17426 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17427 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17428 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17429 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17430 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17431 wine_fn_config_dll wsock32 enable_wsock32 implib
17432 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17433 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17434 wine_fn_config_dll wuapi enable_wuapi clean
17435 wine_fn_config_dll wuaueng enable_wuaueng
17436 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17437 wine_fn_config_dll xinput1_1 enable_xinput1_1
17438 wine_fn_config_dll xinput1_2 enable_xinput1_2
17439 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17440 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17441 wine_fn_config_dll xinput1_4 enable_xinput1_4
17442 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17443 wine_fn_config_dll xmllite enable_xmllite implib
17444 wine_fn_config_test dlls/xmllite/tests xmllite_test
17445 wine_fn_config_dll xolehlp enable_xolehlp
17446 wine_fn_config_dll xpsprint enable_xpsprint
17447 wine_fn_config_dll xpssvcs enable_xpssvcs
17448 wine_fn_config_makefile documentation enable_documentation clean
17449 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17450 wine_fn_config_makefile include enable_include clean,install-dev
17451 wine_fn_config_makefile libs/port enable_libs_port
17452 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17453 wine_fn_config_makefile libs/wpp enable_libs_wpp
17454 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17455 wine_fn_config_program arp enable_arp install
17456 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17457 wine_fn_config_program attrib enable_attrib install,po
17458 wine_fn_config_program cabarc enable_cabarc install
17459 wine_fn_config_program cacls enable_cacls install
17460 wine_fn_config_program clock enable_clock install,po
17461 wine_fn_config_program cmd enable_cmd install,po
17462 wine_fn_config_test programs/cmd/tests cmd.exe_test
17463 wine_fn_config_program conhost enable_conhost install
17464 wine_fn_config_program control enable_control install
17465 wine_fn_config_program cscript enable_cscript clean,install
17466 wine_fn_config_program dpnsvr enable_dpnsvr install
17467 wine_fn_config_program dxdiag enable_dxdiag install,po
17468 wine_fn_config_program eject enable_eject install
17469 wine_fn_config_program expand enable_expand install
17470 wine_fn_config_program explorer enable_explorer install,po
17471 wine_fn_config_program extrac32 enable_extrac32 install
17472 wine_fn_config_program findstr enable_findstr install
17473 wine_fn_config_program hh enable_hh install
17474 wine_fn_config_program hostname enable_hostname install,po
17475 wine_fn_config_program icinfo enable_icinfo install
17476 wine_fn_config_program iexplore enable_iexplore install
17477 wine_fn_config_program ipconfig enable_ipconfig install,po
17478 wine_fn_config_program lodctr enable_lodctr install
17479 wine_fn_config_program mofcomp enable_mofcomp install
17480 wine_fn_config_program mshta enable_mshta install
17481 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17482 wine_fn_config_program net enable_net install,po
17483 wine_fn_config_program netsh enable_netsh install
17484 wine_fn_config_program netstat enable_netstat install,po
17485 wine_fn_config_program ngen enable_ngen install
17486 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17487 wine_fn_config_program oleview enable_oleview install,po
17488 wine_fn_config_program ping enable_ping install
17489 wine_fn_config_program plugplay enable_plugplay install
17490 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17491 wine_fn_config_program progman enable_progman install,po
17492 wine_fn_config_program reg enable_reg install,po
17493 wine_fn_config_test programs/reg/tests reg.exe_test
17494 wine_fn_config_program regasm enable_regasm install
17495 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17496 wine_fn_config_test programs/regedit/tests regedit.exe_test
17497 wine_fn_config_program regsvcs enable_regsvcs install
17498 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17499 wine_fn_config_program rpcss enable_rpcss clean,install
17500 wine_fn_config_program rundll.exe16 enable_win16 install
17501 wine_fn_config_program rundll32 enable_rundll32 install
17502 wine_fn_config_program sc enable_sc install
17503 wine_fn_config_program schtasks enable_schtasks install
17504 wine_fn_config_program sdbinst enable_sdbinst install
17505 wine_fn_config_program secedit enable_secedit install
17506 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17507 wine_fn_config_program services enable_services clean,install
17508 wine_fn_config_test programs/services/tests services.exe_test
17509 wine_fn_config_program spoolsv enable_spoolsv install
17510 wine_fn_config_program start enable_start install,po
17511 wine_fn_config_program svchost enable_svchost install
17512 wine_fn_config_program systeminfo enable_systeminfo install
17513 wine_fn_config_program taskkill enable_taskkill install,po
17514 wine_fn_config_program tasklist enable_tasklist install
17515 wine_fn_config_program taskmgr enable_taskmgr install,po
17516 wine_fn_config_program termsv enable_termsv install
17517 wine_fn_config_program uninstaller enable_uninstaller install,po
17518 wine_fn_config_program unlodctr enable_unlodctr install
17519 wine_fn_config_program view enable_view install,po
17520 wine_fn_config_program wevtutil enable_wevtutil install
17521 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17522 wine_fn_config_program winebrowser enable_winebrowser install
17523 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17524 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17525 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17526 wine_fn_config_program winedevice enable_winedevice install
17527 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17528 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17529 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17530 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17531 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17532 wine_fn_config_program winetest enable_winetest clean
17533 wine_fn_config_program winevdm enable_win16 install
17534 wine_fn_config_program winhelp.exe16 enable_win16 install
17535 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17536 wine_fn_config_program winoldap.mod16 enable_win16 install
17537 wine_fn_config_program winver enable_winver install
17538 wine_fn_config_program wmic enable_wmic install,po
17539 wine_fn_config_program wordpad enable_wordpad install,po
17540 wine_fn_config_program write enable_write install,po
17541 wine_fn_config_program wscript enable_wscript clean,install
17542 wine_fn_config_test programs/wscript/tests wscript.exe_test
17543 wine_fn_config_program wusa enable_wusa install
17544 wine_fn_config_program xcopy enable_xcopy install,po
17545 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17546 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17547 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17548 wine_fn_config_tool tools/sfnt2fon clean
17549 wine_fn_config_tool tools/widl clean,install-dev,manpage
17550 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17551 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17552 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17553 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17554 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17556 LINGUAS="\
17557 ar \
17558 bg \
17559 ca \
17560 cs \
17561 da \
17562 de \
17563 el \
17564 en \
17565 en_US \
17566 eo \
17567 es \
17568 fa \
17569 fi \
17570 fr \
17571 he \
17572 hi \
17573 hr \
17574 hu \
17575 it \
17576 ja \
17577 ko \
17578 lt \
17579 ml \
17580 nb_NO \
17581 nl \
17582 or \
17583 pa \
17584 pl \
17585 pt_BR \
17586 pt_PT \
17587 rm \
17588 ro \
17589 ru \
17590 sk \
17591 sl \
17592 sr_RS@cyrillic \
17593 sr_RS@latin \
17594 sv \
17595 te \
17596 th \
17597 tr \
17598 uk \
17599 wa \
17600 zh_CN \
17601 zh_TW"
17606 wine_fn_ignore_file ".gitignore"
17607 wine_fn_ignore_file "Makefile"
17608 wine_fn_ignore_file "TAGS"
17609 wine_fn_ignore_file "tags"
17610 wine_fn_ignore_file "autom4te.cache"
17611 wine_fn_ignore_file "config.cache"
17612 wine_fn_ignore_file "config.log"
17613 wine_fn_ignore_file "config.status"
17614 wine_fn_ignore_file "configure.lineno"
17615 wine_fn_ignore_file "include/config.h"
17616 wine_fn_ignore_file "include/stamp-h"
17617 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17619 if test "x$enable_tools" != xno
17620 then
17621 wine_fn_ignore_file "tools/makedep$ac_exeext"
17622 ac_config_commands="$ac_config_commands tools/makedep"
17626 ac_config_commands="$ac_config_commands Makefile"
17629 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17633 if test "x$enable_maintainer_mode" = xyes
17634 then
17635 wine_fn_append_rule "configure: configure.ac aclocal.m4
17636 autoconf --warnings=all
17637 include/config.h.in: include/stamp-h.in
17638 include/stamp-h.in: configure.ac aclocal.m4
17639 autoheader --warnings=all
17640 @echo timestamp > \$@"
17643 if test "x$with_gettextpo" = xyes
17644 then
17645 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17646 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17647 \$(LINGUAS:%=po/%.po): po/wine.pot
17648 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17649 po/wine.pot: \$(ALL_POT_FILES)
17650 msgcat -o \$@ \$(ALL_POT_FILES)"
17653 if test "$MSGFMT" != false
17654 then
17655 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17656 clean::
17657 \$(RM) \$(LINGUAS:%=po/%.mo)"
17659 posrc="po"
17660 test "$srcdir" = . || posrc="$srcdir/po"
17661 for i in $LINGUAS
17663 wine_fn_ignore_file "po/$i.mo"
17664 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17665 \$(MSGFMT) -o \$@ $posrc/$i.po"
17666 done
17667 else
17668 LINGUAS=
17671 if test "x$enable_tools" != xno
17672 then
17673 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17674 @./config.status tools/makedep
17675 Makefile: tools/makedep$ac_exeext
17676 distclean:: clean
17677 \$(RM) tools/makedep$ac_exeext"
17678 else
17679 wine_fn_append_rule "\$(MAKEDEP):
17680 @echo \"You need to run make in $TOOLSDIR first\" && false"
17683 if test -n "$with_wine64"
17684 then
17685 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17686 fonts server tools:
17687 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17688 $with_wine64/loader/wine:
17689 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17690 $with_wine64/loader/wine-preloader:
17691 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17692 clean::
17693 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17694 else
17695 as_fn_append LOADER_RULES "
17696 install install-lib:: wine.inf install-man-pages
17697 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17698 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17700 uninstall::
17701 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17705 if test "$srcdir" = .
17706 then
17707 ac_config_commands="$ac_config_commands .gitignore"
17711 $as_echo " done" >&6
17712 cat >confcache <<\_ACEOF
17713 # This file is a shell script that caches the results of configure
17714 # tests run on this system so they can be shared between configure
17715 # scripts and configure runs, see configure's option --config-cache.
17716 # It is not useful on other systems. If it contains results you don't
17717 # want to keep, you may remove or edit it.
17719 # config.status only pays attention to the cache file if you give it
17720 # the --recheck option to rerun configure.
17722 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17723 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17724 # following values.
17726 _ACEOF
17728 # The following way of writing the cache mishandles newlines in values,
17729 # but we know of no workaround that is simple, portable, and efficient.
17730 # So, we kill variables containing newlines.
17731 # Ultrix sh set writes to stderr and can't be redirected directly,
17732 # and sets the high bit in the cache file unless we assign to the vars.
17734 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17735 eval ac_val=\$$ac_var
17736 case $ac_val in #(
17737 *${as_nl}*)
17738 case $ac_var in #(
17739 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17740 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17741 esac
17742 case $ac_var in #(
17743 _ | IFS | as_nl) ;; #(
17744 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17745 *) { eval $ac_var=; unset $ac_var;} ;;
17746 esac ;;
17747 esac
17748 done
17750 (set) 2>&1 |
17751 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17752 *${as_nl}ac_space=\ *)
17753 # `set' does not quote correctly, so add quotes: double-quote
17754 # substitution turns \\\\ into \\, and sed turns \\ into \.
17755 sed -n \
17756 "s/'/'\\\\''/g;
17757 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17758 ;; #(
17760 # `set' quotes correctly as required by POSIX, so do not add quotes.
17761 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17763 esac |
17764 sort
17766 sed '
17767 /^ac_cv_env_/b end
17768 t clear
17769 :clear
17770 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17771 t end
17772 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17773 :end' >>confcache
17774 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17775 if test -w "$cache_file"; then
17776 if test "x$cache_file" != "x/dev/null"; then
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17778 $as_echo "$as_me: updating cache $cache_file" >&6;}
17779 if test ! -f "$cache_file" || test -h "$cache_file"; then
17780 cat confcache >"$cache_file"
17781 else
17782 case $cache_file in #(
17783 */* | ?:*)
17784 mv -f confcache "$cache_file"$$ &&
17785 mv -f "$cache_file"$$ "$cache_file" ;; #(
17787 mv -f confcache "$cache_file" ;;
17788 esac
17791 else
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17793 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17796 rm -f confcache
17798 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17799 # Let make expand exec_prefix.
17800 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17802 DEFS=-DHAVE_CONFIG_H
17804 ac_libobjs=
17805 ac_ltlibobjs=
17807 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17808 # 1. Remove the extension, and $U if already installed.
17809 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17810 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17811 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17812 # will be set to the directory where LIBOBJS objects are built.
17813 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17814 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17815 done
17816 LIBOBJS=$ac_libobjs
17818 LTLIBOBJS=$ac_ltlibobjs
17822 : "${CONFIG_STATUS=./config.status}"
17823 ac_write_fail=0
17824 ac_clean_files_save=$ac_clean_files
17825 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17826 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17827 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17828 as_write_fail=0
17829 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17830 #! $SHELL
17831 # Generated by $as_me.
17832 # Run this file to recreate the current configuration.
17833 # Compiler output produced by configure, useful for debugging
17834 # configure, is in config.log if it exists.
17836 debug=false
17837 ac_cs_recheck=false
17838 ac_cs_silent=false
17840 SHELL=\${CONFIG_SHELL-$SHELL}
17841 export SHELL
17842 _ASEOF
17843 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17844 ## -------------------- ##
17845 ## M4sh Initialization. ##
17846 ## -------------------- ##
17848 # Be more Bourne compatible
17849 DUALCASE=1; export DUALCASE # for MKS sh
17850 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17851 emulate sh
17852 NULLCMD=:
17853 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17854 # is contrary to our usage. Disable this feature.
17855 alias -g '${1+"$@"}'='"$@"'
17856 setopt NO_GLOB_SUBST
17857 else
17858 case `(set -o) 2>/dev/null` in #(
17859 *posix*) :
17860 set -o posix ;; #(
17861 *) :
17863 esac
17867 as_nl='
17869 export as_nl
17870 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17871 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17872 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17873 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17874 # Prefer a ksh shell builtin over an external printf program on Solaris,
17875 # but without wasting forks for bash or zsh.
17876 if test -z "$BASH_VERSION$ZSH_VERSION" \
17877 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17878 as_echo='print -r --'
17879 as_echo_n='print -rn --'
17880 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17881 as_echo='printf %s\n'
17882 as_echo_n='printf %s'
17883 else
17884 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17885 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17886 as_echo_n='/usr/ucb/echo -n'
17887 else
17888 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17889 as_echo_n_body='eval
17890 arg=$1;
17891 case $arg in #(
17892 *"$as_nl"*)
17893 expr "X$arg" : "X\\(.*\\)$as_nl";
17894 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17895 esac;
17896 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17898 export as_echo_n_body
17899 as_echo_n='sh -c $as_echo_n_body as_echo'
17901 export as_echo_body
17902 as_echo='sh -c $as_echo_body as_echo'
17905 # The user is always right.
17906 if test "${PATH_SEPARATOR+set}" != set; then
17907 PATH_SEPARATOR=:
17908 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17909 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17910 PATH_SEPARATOR=';'
17915 # IFS
17916 # We need space, tab and new line, in precisely that order. Quoting is
17917 # there to prevent editors from complaining about space-tab.
17918 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17919 # splitting by setting IFS to empty value.)
17920 IFS=" "" $as_nl"
17922 # Find who we are. Look in the path if we contain no directory separator.
17923 as_myself=
17924 case $0 in #((
17925 *[\\/]* ) as_myself=$0 ;;
17926 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17927 for as_dir in $PATH
17929 IFS=$as_save_IFS
17930 test -z "$as_dir" && as_dir=.
17931 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17932 done
17933 IFS=$as_save_IFS
17936 esac
17937 # We did not find ourselves, most probably we were run as `sh COMMAND'
17938 # in which case we are not to be found in the path.
17939 if test "x$as_myself" = x; then
17940 as_myself=$0
17942 if test ! -f "$as_myself"; then
17943 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17944 exit 1
17947 # Unset variables that we do not need and which cause bugs (e.g. in
17948 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17949 # suppresses any "Segmentation fault" message there. '((' could
17950 # trigger a bug in pdksh 5.2.14.
17951 for as_var in BASH_ENV ENV MAIL MAILPATH
17952 do eval test x\${$as_var+set} = xset \
17953 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17954 done
17955 PS1='$ '
17956 PS2='> '
17957 PS4='+ '
17959 # NLS nuisances.
17960 LC_ALL=C
17961 export LC_ALL
17962 LANGUAGE=C
17963 export LANGUAGE
17965 # CDPATH.
17966 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17969 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17970 # ----------------------------------------
17971 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17972 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17973 # script with STATUS, using 1 if that was 0.
17974 as_fn_error ()
17976 as_status=$1; test $as_status -eq 0 && as_status=1
17977 if test "$4"; then
17978 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17979 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17981 $as_echo "$as_me: error: $2" >&2
17982 as_fn_exit $as_status
17983 } # as_fn_error
17986 # as_fn_set_status STATUS
17987 # -----------------------
17988 # Set $? to STATUS, without forking.
17989 as_fn_set_status ()
17991 return $1
17992 } # as_fn_set_status
17994 # as_fn_exit STATUS
17995 # -----------------
17996 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17997 as_fn_exit ()
17999 set +e
18000 as_fn_set_status $1
18001 exit $1
18002 } # as_fn_exit
18004 # as_fn_unset VAR
18005 # ---------------
18006 # Portably unset VAR.
18007 as_fn_unset ()
18009 { eval $1=; unset $1;}
18011 as_unset=as_fn_unset
18012 # as_fn_append VAR VALUE
18013 # ----------------------
18014 # Append the text in VALUE to the end of the definition contained in VAR. Take
18015 # advantage of any shell optimizations that allow amortized linear growth over
18016 # repeated appends, instead of the typical quadratic growth present in naive
18017 # implementations.
18018 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18019 eval 'as_fn_append ()
18021 eval $1+=\$2
18023 else
18024 as_fn_append ()
18026 eval $1=\$$1\$2
18028 fi # as_fn_append
18030 # as_fn_arith ARG...
18031 # ------------------
18032 # Perform arithmetic evaluation on the ARGs, and store the result in the
18033 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18034 # must be portable across $(()) and expr.
18035 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18036 eval 'as_fn_arith ()
18038 as_val=$(( $* ))
18040 else
18041 as_fn_arith ()
18043 as_val=`expr "$@" || test $? -eq 1`
18045 fi # as_fn_arith
18048 if expr a : '\(a\)' >/dev/null 2>&1 &&
18049 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18050 as_expr=expr
18051 else
18052 as_expr=false
18055 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18056 as_basename=basename
18057 else
18058 as_basename=false
18061 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18062 as_dirname=dirname
18063 else
18064 as_dirname=false
18067 as_me=`$as_basename -- "$0" ||
18068 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18069 X"$0" : 'X\(//\)$' \| \
18070 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18071 $as_echo X/"$0" |
18072 sed '/^.*\/\([^/][^/]*\)\/*$/{
18073 s//\1/
18076 /^X\/\(\/\/\)$/{
18077 s//\1/
18080 /^X\/\(\/\).*/{
18081 s//\1/
18084 s/.*/./; q'`
18086 # Avoid depending upon Character Ranges.
18087 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18088 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18089 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18090 as_cr_digits='0123456789'
18091 as_cr_alnum=$as_cr_Letters$as_cr_digits
18093 ECHO_C= ECHO_N= ECHO_T=
18094 case `echo -n x` in #(((((
18095 -n*)
18096 case `echo 'xy\c'` in
18097 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18098 xy) ECHO_C='\c';;
18099 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18100 ECHO_T=' ';;
18101 esac;;
18103 ECHO_N='-n';;
18104 esac
18106 rm -f conf$$ conf$$.exe conf$$.file
18107 if test -d conf$$.dir; then
18108 rm -f conf$$.dir/conf$$.file
18109 else
18110 rm -f conf$$.dir
18111 mkdir conf$$.dir 2>/dev/null
18113 if (echo >conf$$.file) 2>/dev/null; then
18114 if ln -s conf$$.file conf$$ 2>/dev/null; then
18115 as_ln_s='ln -s'
18116 # ... but there are two gotchas:
18117 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18118 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18119 # In both cases, we have to default to `cp -pR'.
18120 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18121 as_ln_s='cp -pR'
18122 elif ln conf$$.file conf$$ 2>/dev/null; then
18123 as_ln_s=ln
18124 else
18125 as_ln_s='cp -pR'
18127 else
18128 as_ln_s='cp -pR'
18130 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18131 rmdir conf$$.dir 2>/dev/null
18134 # as_fn_mkdir_p
18135 # -------------
18136 # Create "$as_dir" as a directory, including parents if necessary.
18137 as_fn_mkdir_p ()
18140 case $as_dir in #(
18141 -*) as_dir=./$as_dir;;
18142 esac
18143 test -d "$as_dir" || eval $as_mkdir_p || {
18144 as_dirs=
18145 while :; do
18146 case $as_dir in #(
18147 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18148 *) as_qdir=$as_dir;;
18149 esac
18150 as_dirs="'$as_qdir' $as_dirs"
18151 as_dir=`$as_dirname -- "$as_dir" ||
18152 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18153 X"$as_dir" : 'X\(//\)[^/]' \| \
18154 X"$as_dir" : 'X\(//\)$' \| \
18155 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18156 $as_echo X"$as_dir" |
18157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18158 s//\1/
18161 /^X\(\/\/\)[^/].*/{
18162 s//\1/
18165 /^X\(\/\/\)$/{
18166 s//\1/
18169 /^X\(\/\).*/{
18170 s//\1/
18173 s/.*/./; q'`
18174 test -d "$as_dir" && break
18175 done
18176 test -z "$as_dirs" || eval "mkdir $as_dirs"
18177 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18180 } # as_fn_mkdir_p
18181 if mkdir -p . 2>/dev/null; then
18182 as_mkdir_p='mkdir -p "$as_dir"'
18183 else
18184 test -d ./-p && rmdir ./-p
18185 as_mkdir_p=false
18189 # as_fn_executable_p FILE
18190 # -----------------------
18191 # Test if FILE is an executable regular file.
18192 as_fn_executable_p ()
18194 test -f "$1" && test -x "$1"
18195 } # as_fn_executable_p
18196 as_test_x='test -x'
18197 as_executable_p=as_fn_executable_p
18199 # Sed expression to map a string onto a valid CPP name.
18200 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18202 # Sed expression to map a string onto a valid variable name.
18203 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18206 exec 6>&1
18207 ## ----------------------------------- ##
18208 ## Main body of $CONFIG_STATUS script. ##
18209 ## ----------------------------------- ##
18210 _ASEOF
18211 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18214 # Save the log message, to keep $0 and so on meaningful, and to
18215 # report actual input values of CONFIG_FILES etc. instead of their
18216 # values after options handling.
18217 ac_log="
18218 This file was extended by Wine $as_me 1.7.31, which was
18219 generated by GNU Autoconf 2.69. Invocation command line was
18221 CONFIG_FILES = $CONFIG_FILES
18222 CONFIG_HEADERS = $CONFIG_HEADERS
18223 CONFIG_LINKS = $CONFIG_LINKS
18224 CONFIG_COMMANDS = $CONFIG_COMMANDS
18225 $ $0 $@
18227 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18230 _ACEOF
18232 case $ac_config_files in *"
18233 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18234 esac
18236 case $ac_config_headers in *"
18237 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18238 esac
18241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18242 # Files that config.status was made for.
18243 config_files="$ac_config_files"
18244 config_headers="$ac_config_headers"
18245 config_links="$ac_config_links"
18246 config_commands="$ac_config_commands"
18248 _ACEOF
18250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18251 ac_cs_usage="\
18252 \`$as_me' instantiates files and other configuration actions
18253 from templates according to the current configuration. Unless the files
18254 and actions are specified as TAGs, all are instantiated by default.
18256 Usage: $0 [OPTION]... [TAG]...
18258 -h, --help print this help, then exit
18259 -V, --version print version number and configuration settings, then exit
18260 --config print configuration, then exit
18261 -q, --quiet, --silent
18262 do not print progress messages
18263 -d, --debug don't remove temporary files
18264 --recheck update $as_me by reconfiguring in the same conditions
18265 --file=FILE[:TEMPLATE]
18266 instantiate the configuration file FILE
18267 --header=FILE[:TEMPLATE]
18268 instantiate the configuration header FILE
18270 Configuration files:
18271 $config_files
18273 Configuration headers:
18274 $config_headers
18276 Configuration links:
18277 $config_links
18279 Configuration commands:
18280 $config_commands
18282 Report bugs to <wine-devel@winehq.org>.
18283 Wine home page: <http://www.winehq.org>."
18285 _ACEOF
18286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18287 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18288 ac_cs_version="\\
18289 Wine config.status 1.7.31
18290 configured by $0, generated by GNU Autoconf 2.69,
18291 with options \\"\$ac_cs_config\\"
18293 Copyright (C) 2012 Free Software Foundation, Inc.
18294 This config.status script is free software; the Free Software Foundation
18295 gives unlimited permission to copy, distribute and modify it."
18297 ac_pwd='$ac_pwd'
18298 srcdir='$srcdir'
18299 test -n "\$AWK" || AWK=awk
18300 _ACEOF
18302 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18303 # The default lists apply if the user does not specify any file.
18304 ac_need_defaults=:
18305 while test $# != 0
18307 case $1 in
18308 --*=?*)
18309 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18310 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18311 ac_shift=:
18313 --*=)
18314 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18315 ac_optarg=
18316 ac_shift=:
18319 ac_option=$1
18320 ac_optarg=$2
18321 ac_shift=shift
18323 esac
18325 case $ac_option in
18326 # Handling of the options.
18327 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18328 ac_cs_recheck=: ;;
18329 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18330 $as_echo "$ac_cs_version"; exit ;;
18331 --config | --confi | --conf | --con | --co | --c )
18332 $as_echo "$ac_cs_config"; exit ;;
18333 --debug | --debu | --deb | --de | --d | -d )
18334 debug=: ;;
18335 --file | --fil | --fi | --f )
18336 $ac_shift
18337 case $ac_optarg in
18338 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18339 '') as_fn_error $? "missing file argument" ;;
18340 esac
18341 as_fn_append CONFIG_FILES " '$ac_optarg'"
18342 ac_need_defaults=false;;
18343 --header | --heade | --head | --hea )
18344 $ac_shift
18345 case $ac_optarg in
18346 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18347 esac
18348 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18349 ac_need_defaults=false;;
18350 --he | --h)
18351 # Conflict between --help and --header
18352 as_fn_error $? "ambiguous option: \`$1'
18353 Try \`$0 --help' for more information.";;
18354 --help | --hel | -h )
18355 $as_echo "$ac_cs_usage"; exit ;;
18356 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18357 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18358 ac_cs_silent=: ;;
18360 # This is an error.
18361 -*) as_fn_error $? "unrecognized option: \`$1'
18362 Try \`$0 --help' for more information." ;;
18364 *) as_fn_append ac_config_targets " $1"
18365 ac_need_defaults=false ;;
18367 esac
18368 shift
18369 done
18371 ac_configure_extra_args=
18373 if $ac_cs_silent; then
18374 exec 6>/dev/null
18375 ac_configure_extra_args="$ac_configure_extra_args --silent"
18378 _ACEOF
18379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18380 if \$ac_cs_recheck; then
18381 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18382 shift
18383 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18384 CONFIG_SHELL='$SHELL'
18385 export CONFIG_SHELL
18386 exec "\$@"
18389 _ACEOF
18390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18391 exec 5>>config.log
18393 echo
18394 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18395 ## Running $as_me. ##
18396 _ASBOX
18397 $as_echo "$ac_log"
18398 } >&5
18400 _ACEOF
18401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18403 # INIT-COMMANDS
18405 wine_fn_output_makedep ()
18407 as_dir=tools; as_fn_mkdir_p
18408 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18410 wine_fn_output_makefile ()
18412 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18413 `cat $wine_rules_file`
18414 _WINE_EOF
18415 as_fn_error $? "could not create Makefile" "$LINENO" 5
18417 wine_fn_output_gitignore ()
18419 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18420 $GITIGNORE
18421 _WINE_EOF
18422 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18425 _ACEOF
18427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18429 # Handling of arguments.
18430 for ac_config_target in $ac_config_targets
18432 case $ac_config_target in
18433 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18434 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18435 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18436 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18437 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18438 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18439 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18440 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18441 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18442 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18443 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18444 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18445 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18446 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18448 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18449 esac
18450 done
18453 # If the user did not use the arguments to specify the items to instantiate,
18454 # then the envvar interface is used. Set only those that are not.
18455 # We use the long form for the default assignment because of an extremely
18456 # bizarre bug on SunOS 4.1.3.
18457 if $ac_need_defaults; then
18458 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18459 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18460 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18461 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18464 # Have a temporary directory for convenience. Make it in the build tree
18465 # simply because there is no reason against having it here, and in addition,
18466 # creating and moving files from /tmp can sometimes cause problems.
18467 # Hook for its removal unless debugging.
18468 # Note that there is a small window in which the directory will not be cleaned:
18469 # after its creation but before its name has been assigned to `$tmp'.
18470 $debug ||
18472 tmp= ac_tmp=
18473 trap 'exit_status=$?
18474 : "${ac_tmp:=$tmp}"
18475 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18477 trap 'as_fn_exit 1' 1 2 13 15
18479 # Create a (secure) tmp directory for tmp files.
18482 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18483 test -d "$tmp"
18484 } ||
18486 tmp=./conf$$-$RANDOM
18487 (umask 077 && mkdir "$tmp")
18488 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18489 ac_tmp=$tmp
18491 # Set up the scripts for CONFIG_FILES section.
18492 # No need to generate them if there are no CONFIG_FILES.
18493 # This happens for instance with `./config.status config.h'.
18494 if test -n "$CONFIG_FILES"; then
18497 ac_cr=`echo X | tr X '\015'`
18498 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18499 # But we know of no other shell where ac_cr would be empty at this
18500 # point, so we can use a bashism as a fallback.
18501 if test "x$ac_cr" = x; then
18502 eval ac_cr=\$\'\\r\'
18504 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18505 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18506 ac_cs_awk_cr='\\r'
18507 else
18508 ac_cs_awk_cr=$ac_cr
18511 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18512 _ACEOF
18516 echo "cat >conf$$subs.awk <<_ACEOF" &&
18517 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18518 echo "_ACEOF"
18519 } >conf$$subs.sh ||
18520 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18521 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18522 ac_delim='%!_!# '
18523 for ac_last_try in false false false false false :; do
18524 . ./conf$$subs.sh ||
18525 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18527 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18528 if test $ac_delim_n = $ac_delim_num; then
18529 break
18530 elif $ac_last_try; then
18531 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18532 else
18533 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18535 done
18536 rm -f conf$$subs.sh
18538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18539 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18540 _ACEOF
18541 sed -n '
18543 s/^/S["/; s/!.*/"]=/
18546 s/^[^!]*!//
18547 :repl
18548 t repl
18549 s/'"$ac_delim"'$//
18550 t delim
18553 s/\(.\{148\}\)..*/\1/
18554 t more1
18555 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18558 b repl
18559 :more1
18560 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18563 s/.\{148\}//
18564 t nl
18565 :delim
18567 s/\(.\{148\}\)..*/\1/
18568 t more2
18569 s/["\\]/\\&/g; s/^/"/; s/$/"/
18572 :more2
18573 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18576 s/.\{148\}//
18577 t delim
18578 ' <conf$$subs.awk | sed '
18579 /^[^""]/{
18581 s/\n//
18583 ' >>$CONFIG_STATUS || ac_write_fail=1
18584 rm -f conf$$subs.awk
18585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18586 _ACAWK
18587 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18588 for (key in S) S_is_set[key] = 1
18589 FS = "\a"
18593 line = $ 0
18594 nfields = split(line, field, "@")
18595 substed = 0
18596 len = length(field[1])
18597 for (i = 2; i < nfields; i++) {
18598 key = field[i]
18599 keylen = length(key)
18600 if (S_is_set[key]) {
18601 value = S[key]
18602 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18603 len += length(value) + length(field[++i])
18604 substed = 1
18605 } else
18606 len += 1 + keylen
18609 print line
18612 _ACAWK
18613 _ACEOF
18614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18615 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18616 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18617 else
18619 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18620 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18621 _ACEOF
18623 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18624 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18625 # trailing colons and then remove the whole line if VPATH becomes empty
18626 # (actually we leave an empty line to preserve line numbers).
18627 if test "x$srcdir" = x.; then
18628 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18630 s///
18631 s/^/:/
18632 s/[ ]*$/:/
18633 s/:\$(srcdir):/:/g
18634 s/:\${srcdir}:/:/g
18635 s/:@srcdir@:/:/g
18636 s/^:*//
18637 s/:*$//
18639 s/\(=[ ]*\).*/\1/
18641 s/\n//
18642 s/^[^=]*=[ ]*$//
18646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18647 fi # test -n "$CONFIG_FILES"
18649 # Set up the scripts for CONFIG_HEADERS section.
18650 # No need to generate them if there are no CONFIG_HEADERS.
18651 # This happens for instance with `./config.status Makefile'.
18652 if test -n "$CONFIG_HEADERS"; then
18653 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18654 BEGIN {
18655 _ACEOF
18657 # Transform confdefs.h into an awk script `defines.awk', embedded as
18658 # here-document in config.status, that substitutes the proper values into
18659 # config.h.in to produce config.h.
18661 # Create a delimiter string that does not exist in confdefs.h, to ease
18662 # handling of long lines.
18663 ac_delim='%!_!# '
18664 for ac_last_try in false false :; do
18665 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18666 if test -z "$ac_tt"; then
18667 break
18668 elif $ac_last_try; then
18669 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18670 else
18671 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18673 done
18675 # For the awk script, D is an array of macro values keyed by name,
18676 # likewise P contains macro parameters if any. Preserve backslash
18677 # newline sequences.
18679 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18680 sed -n '
18681 s/.\{148\}/&'"$ac_delim"'/g
18682 t rset
18683 :rset
18684 s/^[ ]*#[ ]*define[ ][ ]*/ /
18685 t def
18687 :def
18688 s/\\$//
18689 t bsnl
18690 s/["\\]/\\&/g
18691 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18692 D["\1"]=" \3"/p
18693 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18695 :bsnl
18696 s/["\\]/\\&/g
18697 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18698 D["\1"]=" \3\\\\\\n"\\/p
18699 t cont
18700 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18701 t cont
18703 :cont
18705 s/.\{148\}/&'"$ac_delim"'/g
18706 t clear
18707 :clear
18708 s/\\$//
18709 t bsnlc
18710 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18712 :bsnlc
18713 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18714 b cont
18715 ' <confdefs.h | sed '
18716 s/'"$ac_delim"'/"\\\
18717 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18720 for (key in D) D_is_set[key] = 1
18721 FS = "\a"
18723 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18724 line = \$ 0
18725 split(line, arg, " ")
18726 if (arg[1] == "#") {
18727 defundef = arg[2]
18728 mac1 = arg[3]
18729 } else {
18730 defundef = substr(arg[1], 2)
18731 mac1 = arg[2]
18733 split(mac1, mac2, "(") #)
18734 macro = mac2[1]
18735 prefix = substr(line, 1, index(line, defundef) - 1)
18736 if (D_is_set[macro]) {
18737 # Preserve the white space surrounding the "#".
18738 print prefix "define", macro P[macro] D[macro]
18739 next
18740 } else {
18741 # Replace #undef with comments. This is necessary, for example,
18742 # in the case of _POSIX_SOURCE, which is predefined and required
18743 # on some systems where configure will not decide to define it.
18744 if (defundef == "undef") {
18745 print "/*", prefix defundef, macro, "*/"
18746 next
18750 { print }
18751 _ACAWK
18752 _ACEOF
18753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18754 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18755 fi # test -n "$CONFIG_HEADERS"
18758 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18759 shift
18760 for ac_tag
18762 case $ac_tag in
18763 :[FHLC]) ac_mode=$ac_tag; continue;;
18764 esac
18765 case $ac_mode$ac_tag in
18766 :[FHL]*:*);;
18767 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18768 :[FH]-) ac_tag=-:-;;
18769 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18770 esac
18771 ac_save_IFS=$IFS
18772 IFS=:
18773 set x $ac_tag
18774 IFS=$ac_save_IFS
18775 shift
18776 ac_file=$1
18777 shift
18779 case $ac_mode in
18780 :L) ac_source=$1;;
18781 :[FH])
18782 ac_file_inputs=
18783 for ac_f
18785 case $ac_f in
18786 -) ac_f="$ac_tmp/stdin";;
18787 *) # Look for the file first in the build tree, then in the source tree
18788 # (if the path is not absolute). The absolute path cannot be DOS-style,
18789 # because $ac_f cannot contain `:'.
18790 test -f "$ac_f" ||
18791 case $ac_f in
18792 [\\/$]*) false;;
18793 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18794 esac ||
18795 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18796 esac
18797 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18798 as_fn_append ac_file_inputs " '$ac_f'"
18799 done
18801 # Let's still pretend it is `configure' which instantiates (i.e., don't
18802 # use $as_me), people would be surprised to read:
18803 # /* config.h. Generated by config.status. */
18804 configure_input='Generated from '`
18805 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18806 `' by configure.'
18807 if test x"$ac_file" != x-; then
18808 configure_input="$ac_file. $configure_input"
18809 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18810 $as_echo "$as_me: creating $ac_file" >&6;}
18812 # Neutralize special characters interpreted by sed in replacement strings.
18813 case $configure_input in #(
18814 *\&* | *\|* | *\\* )
18815 ac_sed_conf_input=`$as_echo "$configure_input" |
18816 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18817 *) ac_sed_conf_input=$configure_input;;
18818 esac
18820 case $ac_tag in
18821 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18822 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18823 esac
18825 esac
18827 ac_dir=`$as_dirname -- "$ac_file" ||
18828 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18829 X"$ac_file" : 'X\(//\)[^/]' \| \
18830 X"$ac_file" : 'X\(//\)$' \| \
18831 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18832 $as_echo X"$ac_file" |
18833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18834 s//\1/
18837 /^X\(\/\/\)[^/].*/{
18838 s//\1/
18841 /^X\(\/\/\)$/{
18842 s//\1/
18845 /^X\(\/\).*/{
18846 s//\1/
18849 s/.*/./; q'`
18850 as_dir="$ac_dir"; as_fn_mkdir_p
18851 ac_builddir=.
18853 case "$ac_dir" in
18854 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18856 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18857 # A ".." for each directory in $ac_dir_suffix.
18858 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18859 case $ac_top_builddir_sub in
18860 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18861 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18862 esac ;;
18863 esac
18864 ac_abs_top_builddir=$ac_pwd
18865 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18866 # for backward compatibility:
18867 ac_top_builddir=$ac_top_build_prefix
18869 case $srcdir in
18870 .) # We are building in place.
18871 ac_srcdir=.
18872 ac_top_srcdir=$ac_top_builddir_sub
18873 ac_abs_top_srcdir=$ac_pwd ;;
18874 [\\/]* | ?:[\\/]* ) # Absolute name.
18875 ac_srcdir=$srcdir$ac_dir_suffix;
18876 ac_top_srcdir=$srcdir
18877 ac_abs_top_srcdir=$srcdir ;;
18878 *) # Relative name.
18879 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18880 ac_top_srcdir=$ac_top_build_prefix$srcdir
18881 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18882 esac
18883 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18886 case $ac_mode in
18889 # CONFIG_FILE
18892 _ACEOF
18894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18895 # If the template does not know about datarootdir, expand it.
18896 # FIXME: This hack should be removed a few years after 2.60.
18897 ac_datarootdir_hack=; ac_datarootdir_seen=
18898 ac_sed_dataroot='
18899 /datarootdir/ {
18903 /@datadir@/p
18904 /@docdir@/p
18905 /@infodir@/p
18906 /@localedir@/p
18907 /@mandir@/p'
18908 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18909 *datarootdir*) ac_datarootdir_seen=yes;;
18910 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18912 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18913 _ACEOF
18914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18915 ac_datarootdir_hack='
18916 s&@datadir@&$datadir&g
18917 s&@docdir@&$docdir&g
18918 s&@infodir@&$infodir&g
18919 s&@localedir@&$localedir&g
18920 s&@mandir@&$mandir&g
18921 s&\\\${datarootdir}&$datarootdir&g' ;;
18922 esac
18923 _ACEOF
18925 # Neutralize VPATH when `$srcdir' = `.'.
18926 # Shell code in configure.ac might set extrasub.
18927 # FIXME: do we really want to maintain this feature?
18928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18929 ac_sed_extra="$ac_vpsub
18930 $extrasub
18931 _ACEOF
18932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18934 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18935 s|@configure_input@|$ac_sed_conf_input|;t t
18936 s&@top_builddir@&$ac_top_builddir_sub&;t t
18937 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18938 s&@srcdir@&$ac_srcdir&;t t
18939 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18940 s&@top_srcdir@&$ac_top_srcdir&;t t
18941 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18942 s&@builddir@&$ac_builddir&;t t
18943 s&@abs_builddir@&$ac_abs_builddir&;t t
18944 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18945 $ac_datarootdir_hack
18947 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18948 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18950 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18951 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18952 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18953 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18955 which seems to be undefined. Please make sure it is defined" >&5
18956 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18957 which seems to be undefined. Please make sure it is defined" >&2;}
18959 rm -f "$ac_tmp/stdin"
18960 case $ac_file in
18961 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18962 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18963 esac \
18964 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18968 # CONFIG_HEADER
18970 if test x"$ac_file" != x-; then
18972 $as_echo "/* $configure_input */" \
18973 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18974 } >"$ac_tmp/config.h" \
18975 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18976 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18977 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18978 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18979 else
18980 rm -f "$ac_file"
18981 mv "$ac_tmp/config.h" "$ac_file" \
18982 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18984 else
18985 $as_echo "/* $configure_input */" \
18986 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18987 || as_fn_error $? "could not create -" "$LINENO" 5
18992 # CONFIG_LINK
18995 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18997 else
18998 # Prefer the file from the source tree if names are identical.
18999 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19000 ac_source=$srcdir/$ac_source
19003 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19004 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19006 if test ! -r "$ac_source"; then
19007 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19009 rm -f "$ac_file"
19011 # Try a relative symlink, then a hard link, then a copy.
19012 case $ac_source in
19013 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19014 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19015 esac
19016 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19017 ln "$ac_source" "$ac_file" 2>/dev/null ||
19018 cp -p "$ac_source" "$ac_file" ||
19019 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19022 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19023 $as_echo "$as_me: executing $ac_file commands" >&6;}
19025 esac
19028 case $ac_file$ac_mode in
19029 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19030 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19031 "Makefile":C) wine_fn_output_makefile Makefile ;;
19032 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19034 esac
19035 done # for ac_tag
19038 as_fn_exit 0
19039 _ACEOF
19040 ac_clean_files=$ac_clean_files_save
19042 test $ac_write_fail = 0 ||
19043 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19046 # configure is writing to config.log, and then calls config.status.
19047 # config.status does its own redirection, appending to config.log.
19048 # Unfortunately, on DOS this fails, as config.log is still kept open
19049 # by configure, so config.status won't be able to write to it; its
19050 # output is simply discarded. So we exec the FD to /dev/null,
19051 # effectively closing config.log, so it can be properly (re)opened and
19052 # appended to by config.status. When coming back to configure, we
19053 # need to make the FD available again.
19054 if test "$no_create" != yes; then
19055 ac_cs_success=:
19056 ac_config_status_args=
19057 test "$silent" = yes &&
19058 ac_config_status_args="$ac_config_status_args --quiet"
19059 exec 5>/dev/null
19060 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19061 exec 5>>config.log
19062 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19063 # would make configure fail if this is the last instruction.
19064 $ac_cs_success || as_fn_exit 1
19066 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19068 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19072 if test "$no_create" = "yes"
19073 then
19074 exit 0
19077 ac_save_IFS="$IFS"
19078 if test "x$wine_notices != "x; then
19079 echo >&6
19080 IFS="|"
19081 for msg in $wine_notices; do
19082 IFS="$ac_save_IFS"
19083 if ${msg:+false} :; then :
19085 else
19086 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19087 $as_echo "$as_me: $msg" >&6;}
19089 done
19091 IFS="|"
19092 for msg in $wine_warnings; do
19093 IFS="$ac_save_IFS"
19094 if ${msg:+false} :; then :
19096 else
19097 echo >&2
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19099 $as_echo "$as_me: WARNING: $msg" >&2;}
19101 done
19102 IFS="$ac_save_IFS"
19104 $as_echo "
19105 $as_me: Finished. Do '${ac_make}' to compile Wine.
19106 " >&6