winedump: Update minidump output.
[wine.git] / configure
blob4125ac9682ebcbd93cc854477b9e35dd5058548b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.28.
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.28'
584 PACKAGE_STRING='Wine 1.7.28'
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_cryptnet
936 enable_cryptui
937 enable_ctapi32
938 enable_ctl3d32
939 enable_d2d1
940 enable_d3d10
941 enable_d3d10_1
942 enable_d3d10core
943 enable_d3d11
944 enable_d3d8
945 enable_d3d9
946 enable_d3dcompiler_33
947 enable_d3dcompiler_34
948 enable_d3dcompiler_35
949 enable_d3dcompiler_36
950 enable_d3dcompiler_37
951 enable_d3dcompiler_38
952 enable_d3dcompiler_39
953 enable_d3dcompiler_40
954 enable_d3dcompiler_41
955 enable_d3dcompiler_42
956 enable_d3dcompiler_43
957 enable_d3dim
958 enable_d3drm
959 enable_d3dx10_33
960 enable_d3dx10_34
961 enable_d3dx10_35
962 enable_d3dx10_36
963 enable_d3dx10_37
964 enable_d3dx10_38
965 enable_d3dx10_39
966 enable_d3dx10_40
967 enable_d3dx10_41
968 enable_d3dx10_42
969 enable_d3dx10_43
970 enable_d3dx11_42
971 enable_d3dx11_43
972 enable_d3dx9_24
973 enable_d3dx9_25
974 enable_d3dx9_26
975 enable_d3dx9_27
976 enable_d3dx9_28
977 enable_d3dx9_29
978 enable_d3dx9_30
979 enable_d3dx9_31
980 enable_d3dx9_32
981 enable_d3dx9_33
982 enable_d3dx9_34
983 enable_d3dx9_35
984 enable_d3dx9_36
985 enable_d3dx9_37
986 enable_d3dx9_38
987 enable_d3dx9_39
988 enable_d3dx9_40
989 enable_d3dx9_41
990 enable_d3dx9_42
991 enable_d3dx9_43
992 enable_d3dxof
993 enable_dbgeng
994 enable_dbghelp
995 enable_dciman32
996 enable_ddraw
997 enable_ddrawex
998 enable_devenum
999 enable_dhcpcsvc
1000 enable_difxapi
1001 enable_dinput
1002 enable_dinput8
1003 enable_dispex
1004 enable_dmband
1005 enable_dmcompos
1006 enable_dmime
1007 enable_dmloader
1008 enable_dmscript
1009 enable_dmstyle
1010 enable_dmsynth
1011 enable_dmusic
1012 enable_dmusic32
1013 enable_dnsapi
1014 enable_dplay
1015 enable_dplayx
1016 enable_dpnaddr
1017 enable_dpnet
1018 enable_dpnhpast
1019 enable_dpnlobby
1020 enable_dpvoice
1021 enable_dpwsockx
1022 enable_drmclien
1023 enable_dsound
1024 enable_dssenh
1025 enable_dswave
1026 enable_dwmapi
1027 enable_dwrite
1028 enable_dxdiagn
1029 enable_dxgi
1030 enable_dxva2
1031 enable_explorerframe
1032 enable_ext_ms_win_gdi_devcaps_l1_1_0
1033 enable_faultrep
1034 enable_fltlib
1035 enable_fntcache
1036 enable_fontsub
1037 enable_fusion
1038 enable_fwpuclnt
1039 enable_gameux
1040 enable_gdi32
1041 enable_gdiplus
1042 enable_glu32
1043 enable_gphoto2_ds
1044 enable_gpkcsp
1045 enable_hal
1046 enable_hhctrl_ocx
1047 enable_hid
1048 enable_hlink
1049 enable_hnetcfg
1050 enable_httpapi
1051 enable_iccvid
1052 enable_icmp
1053 enable_ieframe
1054 enable_imaadp32_acm
1055 enable_imagehlp
1056 enable_imm32
1057 enable_inetcomm
1058 enable_inetcpl_cpl
1059 enable_inetmib1
1060 enable_infosoft
1061 enable_initpki
1062 enable_inkobj
1063 enable_inseng
1064 enable_iphlpapi
1065 enable_itircl
1066 enable_itss
1067 enable_joy_cpl
1068 enable_jscript
1069 enable_jsproxy
1070 enable_kernel32
1071 enable_ksuser
1072 enable_ktmw32
1073 enable_loadperf
1074 enable_localspl
1075 enable_localui
1076 enable_lz32
1077 enable_mapi32
1078 enable_mapistub
1079 enable_mciavi32
1080 enable_mcicda
1081 enable_mciqtz32
1082 enable_mciseq
1083 enable_mciwave
1084 enable_mgmtapi
1085 enable_midimap
1086 enable_mlang
1087 enable_mmcndmgr
1088 enable_mmdevapi
1089 enable_mountmgr_sys
1090 enable_mpr
1091 enable_mprapi
1092 enable_msacm32_drv
1093 enable_msacm32
1094 enable_msadp32_acm
1095 enable_msasn1
1096 enable_mscat32
1097 enable_mscms
1098 enable_mscoree
1099 enable_msctf
1100 enable_msdaps
1101 enable_msdmo
1102 enable_msftedit
1103 enable_msg711_acm
1104 enable_msgsm32_acm
1105 enable_mshtml_tlb
1106 enable_mshtml
1107 enable_msi
1108 enable_msident
1109 enable_msimg32
1110 enable_msimsg
1111 enable_msimtf
1112 enable_msisip
1113 enable_msisys_ocx
1114 enable_msls31
1115 enable_msnet32
1116 enable_mspatcha
1117 enable_msrle32
1118 enable_mssign32
1119 enable_mssip32
1120 enable_mstask
1121 enable_msvcirt
1122 enable_msvcm80
1123 enable_msvcm90
1124 enable_msvcp100
1125 enable_msvcp110
1126 enable_msvcp60
1127 enable_msvcp70
1128 enable_msvcp71
1129 enable_msvcp80
1130 enable_msvcp90
1131 enable_msvcr100
1132 enable_msvcr110
1133 enable_msvcr70
1134 enable_msvcr71
1135 enable_msvcr80
1136 enable_msvcr90
1137 enable_msvcrt
1138 enable_msvcrt20
1139 enable_msvcrt40
1140 enable_msvcrtd
1141 enable_msvfw32
1142 enable_msvidc32
1143 enable_mswsock
1144 enable_msxml
1145 enable_msxml2
1146 enable_msxml3
1147 enable_msxml4
1148 enable_msxml6
1149 enable_nddeapi
1150 enable_netapi32
1151 enable_netcfgx
1152 enable_netprofm
1153 enable_newdev
1154 enable_normaliz
1155 enable_npmshtml
1156 enable_npptools
1157 enable_ntdll
1158 enable_ntdsapi
1159 enable_ntoskrnl_exe
1160 enable_ntprint
1161 enable_objsel
1162 enable_odbc32
1163 enable_odbccp32
1164 enable_odbccu32
1165 enable_ole32
1166 enable_oleacc
1167 enable_oleaut32
1168 enable_olecli32
1169 enable_oledb32
1170 enable_oledlg
1171 enable_olepro32
1172 enable_olesvr32
1173 enable_olethk32
1174 enable_openal32
1175 enable_opencl
1176 enable_opengl32
1177 enable_packager
1178 enable_pdh
1179 enable_photometadatahandler
1180 enable_pidgen
1181 enable_powrprof
1182 enable_printui
1183 enable_propsys
1184 enable_psapi
1185 enable_pstorec
1186 enable_qcap
1187 enable_qedit
1188 enable_qmgr
1189 enable_qmgrprxy
1190 enable_quartz
1191 enable_query
1192 enable_rasapi32
1193 enable_rasdlg
1194 enable_regapi
1195 enable_resutils
1196 enable_riched20
1197 enable_riched32
1198 enable_rpcrt4
1199 enable_rsabase
1200 enable_rsaenh
1201 enable_rstrtmgr
1202 enable_rtutils
1203 enable_samlib
1204 enable_sane_ds
1205 enable_scarddlg
1206 enable_sccbase
1207 enable_schannel
1208 enable_schedsvc
1209 enable_scrrun
1210 enable_scsiport_sys
1211 enable_secur32
1212 enable_security
1213 enable_sensapi
1214 enable_serialui
1215 enable_setupapi
1216 enable_sfc
1217 enable_sfc_os
1218 enable_shdoclc
1219 enable_shdocvw
1220 enable_shell32
1221 enable_shfolder
1222 enable_shlwapi
1223 enable_slbcsp
1224 enable_slc
1225 enable_snmpapi
1226 enable_softpub
1227 enable_spoolss
1228 enable_stdole2_tlb
1229 enable_stdole32_tlb
1230 enable_sti
1231 enable_svrapi
1232 enable_sxs
1233 enable_t2embed
1234 enable_tapi32
1235 enable_taskschd
1236 enable_traffic
1237 enable_twain_32
1238 enable_unicows
1239 enable_updspapi
1240 enable_url
1241 enable_urlmon
1242 enable_usbd_sys
1243 enable_user32
1244 enable_userenv
1245 enable_usp10
1246 enable_uxtheme
1247 enable_vbscript
1248 enable_vcomp
1249 enable_vcomp100
1250 enable_vcomp90
1251 enable_vdmdbg
1252 enable_version
1253 enable_wbemdisp
1254 enable_wbemprox
1255 enable_webservices
1256 enable_wer
1257 enable_wevtapi
1258 enable_wiaservc
1259 enable_windowscodecs
1260 enable_windowscodecsext
1261 enable_winealsa_drv
1262 enable_winecoreaudio_drv
1263 enable_wined3d
1264 enable_winegstreamer
1265 enable_winejoystick_drv
1266 enable_winemac_drv
1267 enable_winemapi
1268 enable_winemp3_acm
1269 enable_wineoss_drv
1270 enable_wineps_drv
1271 enable_wineqtdecoder
1272 enable_winex11_drv
1273 enable_wing32
1274 enable_winhttp
1275 enable_wininet
1276 enable_winmm
1277 enable_winnls32
1278 enable_winscard
1279 enable_winspool_drv
1280 enable_winsta
1281 enable_wintab32
1282 enable_wintrust
1283 enable_wlanapi
1284 enable_wldap32
1285 enable_wmi
1286 enable_wmiutils
1287 enable_wmp
1288 enable_wmvcore
1289 enable_wnaspi32
1290 enable_wpcap
1291 enable_ws2_32
1292 enable_wshom_ocx
1293 enable_wsnmp32
1294 enable_wsock32
1295 enable_wtsapi32
1296 enable_wuapi
1297 enable_wuaueng
1298 enable_xapofx1_1
1299 enable_xinput1_1
1300 enable_xinput1_2
1301 enable_xinput1_3
1302 enable_xinput1_4
1303 enable_xinput9_1_0
1304 enable_xmllite
1305 enable_xolehlp
1306 enable_xpsprint
1307 enable_xpssvcs
1308 enable_documentation
1309 enable_fonts
1310 enable_include
1311 enable_libs_port
1312 enable_libs_wine
1313 enable_libs_wpp
1314 enable_loader
1315 enable_arp
1316 enable_aspnet_regiis
1317 enable_attrib
1318 enable_cabarc
1319 enable_cacls
1320 enable_clock
1321 enable_cmd
1322 enable_conhost
1323 enable_control
1324 enable_cscript
1325 enable_dpnsvr
1326 enable_dxdiag
1327 enable_eject
1328 enable_expand
1329 enable_explorer
1330 enable_extrac32
1331 enable_findstr
1332 enable_hh
1333 enable_hostname
1334 enable_icinfo
1335 enable_iexplore
1336 enable_ipconfig
1337 enable_lodctr
1338 enable_mofcomp
1339 enable_mshta
1340 enable_msiexec
1341 enable_net
1342 enable_netsh
1343 enable_netstat
1344 enable_ngen
1345 enable_notepad
1346 enable_oleview
1347 enable_ping
1348 enable_plugplay
1349 enable_presentationfontcache
1350 enable_progman
1351 enable_reg
1352 enable_regasm
1353 enable_regedit
1354 enable_regsvcs
1355 enable_regsvr32
1356 enable_rpcss
1357 enable_rundll32
1358 enable_sc
1359 enable_schtasks
1360 enable_sdbinst
1361 enable_secedit
1362 enable_servicemodelreg
1363 enable_services
1364 enable_spoolsv
1365 enable_start
1366 enable_svchost
1367 enable_taskkill
1368 enable_tasklist
1369 enable_taskmgr
1370 enable_termsv
1371 enable_uninstaller
1372 enable_unlodctr
1373 enable_view
1374 enable_wevtutil
1375 enable_wineboot
1376 enable_winebrowser
1377 enable_winecfg
1378 enable_wineconsole
1379 enable_winedbg
1380 enable_winedevice
1381 enable_winefile
1382 enable_winemenubuilder
1383 enable_winemine
1384 enable_winemsibuilder
1385 enable_winepath
1386 enable_winetest
1387 enable_winhlp32
1388 enable_winver
1389 enable_wmic
1390 enable_wordpad
1391 enable_write
1392 enable_wscript
1393 enable_wusa
1394 enable_xcopy
1395 enable_server
1396 enable_tools
1398 ac_precious_vars='build_alias
1399 host_alias
1400 target_alias
1402 CFLAGS
1403 LDFLAGS
1404 LIBS
1405 CPPFLAGS
1407 CXXFLAGS
1410 XMKMF
1411 XML2_CFLAGS
1412 XML2_LIBS
1413 XSLT_CFLAGS
1414 XSLT_LIBS
1415 DBUS_CFLAGS
1416 DBUS_LIBS
1417 HAL_CFLAGS
1418 HAL_LIBS
1419 GNUTLS_CFLAGS
1420 GNUTLS_LIBS
1421 SANE_CFLAGS
1422 SANE_LIBS
1423 GPHOTO2_CFLAGS
1424 GPHOTO2_LIBS
1425 GPHOTO2_PORT_CFLAGS
1426 GPHOTO2_PORT_LIBS
1427 LCMS2_CFLAGS
1428 LCMS2_LIBS
1429 FREETYPE_CFLAGS
1430 FREETYPE_LIBS
1431 GSTREAMER_CFLAGS
1432 GSTREAMER_LIBS
1433 CAPI20_CFLAGS
1434 CAPI20_LIBS
1435 FONTCONFIG_CFLAGS
1436 FONTCONFIG_LIBS
1437 JPEG_CFLAGS
1438 JPEG_LIBS
1439 PNG_CFLAGS
1440 PNG_LIBS
1441 TIFF_CFLAGS
1442 TIFF_LIBS
1443 MPG123_CFLAGS
1444 MPG123_LIBS'
1447 # Initialize some variables set by options.
1448 ac_init_help=
1449 ac_init_version=false
1450 ac_unrecognized_opts=
1451 ac_unrecognized_sep=
1452 # The variables have the same names as the options, with
1453 # dashes changed to underlines.
1454 cache_file=/dev/null
1455 exec_prefix=NONE
1456 no_create=
1457 no_recursion=
1458 prefix=NONE
1459 program_prefix=NONE
1460 program_suffix=NONE
1461 program_transform_name=s,x,x,
1462 silent=
1463 site=
1464 srcdir=
1465 verbose=
1466 x_includes=NONE
1467 x_libraries=NONE
1469 # Installation directory options.
1470 # These are left unexpanded so users can "make install exec_prefix=/foo"
1471 # and all the variables that are supposed to be based on exec_prefix
1472 # by default will actually change.
1473 # Use braces instead of parens because sh, perl, etc. also accept them.
1474 # (The list follows the same order as the GNU Coding Standards.)
1475 bindir='${exec_prefix}/bin'
1476 sbindir='${exec_prefix}/sbin'
1477 libexecdir='${exec_prefix}/libexec'
1478 datarootdir='${prefix}/share'
1479 datadir='${datarootdir}'
1480 sysconfdir='${prefix}/etc'
1481 sharedstatedir='${prefix}/com'
1482 localstatedir='${prefix}/var'
1483 includedir='${prefix}/include'
1484 oldincludedir='/usr/include'
1485 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1486 infodir='${datarootdir}/info'
1487 htmldir='${docdir}'
1488 dvidir='${docdir}'
1489 pdfdir='${docdir}'
1490 psdir='${docdir}'
1491 libdir='${exec_prefix}/lib'
1492 localedir='${datarootdir}/locale'
1493 mandir='${datarootdir}/man'
1495 ac_prev=
1496 ac_dashdash=
1497 for ac_option
1499 # If the previous option needs an argument, assign it.
1500 if test -n "$ac_prev"; then
1501 eval $ac_prev=\$ac_option
1502 ac_prev=
1503 continue
1506 case $ac_option in
1507 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1508 *=) ac_optarg= ;;
1509 *) ac_optarg=yes ;;
1510 esac
1512 # Accept the important Cygnus configure options, so we can diagnose typos.
1514 case $ac_dashdash$ac_option in
1516 ac_dashdash=yes ;;
1518 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1519 ac_prev=bindir ;;
1520 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1521 bindir=$ac_optarg ;;
1523 -build | --build | --buil | --bui | --bu)
1524 ac_prev=build_alias ;;
1525 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1526 build_alias=$ac_optarg ;;
1528 -cache-file | --cache-file | --cache-fil | --cache-fi \
1529 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1530 ac_prev=cache_file ;;
1531 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1532 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1533 cache_file=$ac_optarg ;;
1535 --config-cache | -C)
1536 cache_file=config.cache ;;
1538 -datadir | --datadir | --datadi | --datad)
1539 ac_prev=datadir ;;
1540 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1541 datadir=$ac_optarg ;;
1543 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1544 | --dataroo | --dataro | --datar)
1545 ac_prev=datarootdir ;;
1546 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1547 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1548 datarootdir=$ac_optarg ;;
1550 -disable-* | --disable-*)
1551 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1552 # Reject names that are not valid shell variable names.
1553 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1554 as_fn_error $? "invalid feature name: $ac_useropt"
1555 ac_useropt_orig=$ac_useropt
1556 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1557 case $ac_user_opts in
1559 "enable_$ac_useropt"
1560 "*) ;;
1561 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1562 ac_unrecognized_sep=', ';;
1563 esac
1564 eval enable_$ac_useropt=no ;;
1566 -docdir | --docdir | --docdi | --doc | --do)
1567 ac_prev=docdir ;;
1568 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1569 docdir=$ac_optarg ;;
1571 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1572 ac_prev=dvidir ;;
1573 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1574 dvidir=$ac_optarg ;;
1576 -enable-* | --enable-*)
1577 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1578 # Reject names that are not valid shell variable names.
1579 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1580 as_fn_error $? "invalid feature name: $ac_useropt"
1581 ac_useropt_orig=$ac_useropt
1582 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1583 case $ac_user_opts in
1585 "enable_$ac_useropt"
1586 "*) ;;
1587 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1588 ac_unrecognized_sep=', ';;
1589 esac
1590 eval enable_$ac_useropt=\$ac_optarg ;;
1592 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1593 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1594 | --exec | --exe | --ex)
1595 ac_prev=exec_prefix ;;
1596 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1597 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1598 | --exec=* | --exe=* | --ex=*)
1599 exec_prefix=$ac_optarg ;;
1601 -gas | --gas | --ga | --g)
1602 # Obsolete; use --with-gas.
1603 with_gas=yes ;;
1605 -help | --help | --hel | --he | -h)
1606 ac_init_help=long ;;
1607 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1608 ac_init_help=recursive ;;
1609 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1610 ac_init_help=short ;;
1612 -host | --host | --hos | --ho)
1613 ac_prev=host_alias ;;
1614 -host=* | --host=* | --hos=* | --ho=*)
1615 host_alias=$ac_optarg ;;
1617 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1618 ac_prev=htmldir ;;
1619 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1620 | --ht=*)
1621 htmldir=$ac_optarg ;;
1623 -includedir | --includedir | --includedi | --included | --include \
1624 | --includ | --inclu | --incl | --inc)
1625 ac_prev=includedir ;;
1626 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1627 | --includ=* | --inclu=* | --incl=* | --inc=*)
1628 includedir=$ac_optarg ;;
1630 -infodir | --infodir | --infodi | --infod | --info | --inf)
1631 ac_prev=infodir ;;
1632 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1633 infodir=$ac_optarg ;;
1635 -libdir | --libdir | --libdi | --libd)
1636 ac_prev=libdir ;;
1637 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1638 libdir=$ac_optarg ;;
1640 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1641 | --libexe | --libex | --libe)
1642 ac_prev=libexecdir ;;
1643 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1644 | --libexe=* | --libex=* | --libe=*)
1645 libexecdir=$ac_optarg ;;
1647 -localedir | --localedir | --localedi | --localed | --locale)
1648 ac_prev=localedir ;;
1649 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1650 localedir=$ac_optarg ;;
1652 -localstatedir | --localstatedir | --localstatedi | --localstated \
1653 | --localstate | --localstat | --localsta | --localst | --locals)
1654 ac_prev=localstatedir ;;
1655 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1656 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1657 localstatedir=$ac_optarg ;;
1659 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1660 ac_prev=mandir ;;
1661 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1662 mandir=$ac_optarg ;;
1664 -nfp | --nfp | --nf)
1665 # Obsolete; use --without-fp.
1666 with_fp=no ;;
1668 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1669 | --no-cr | --no-c | -n)
1670 no_create=yes ;;
1672 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1673 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1674 no_recursion=yes ;;
1676 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1677 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1678 | --oldin | --oldi | --old | --ol | --o)
1679 ac_prev=oldincludedir ;;
1680 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1681 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1682 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1683 oldincludedir=$ac_optarg ;;
1685 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1686 ac_prev=prefix ;;
1687 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1688 prefix=$ac_optarg ;;
1690 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1691 | --program-pre | --program-pr | --program-p)
1692 ac_prev=program_prefix ;;
1693 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1694 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1695 program_prefix=$ac_optarg ;;
1697 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1698 | --program-suf | --program-su | --program-s)
1699 ac_prev=program_suffix ;;
1700 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1701 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1702 program_suffix=$ac_optarg ;;
1704 -program-transform-name | --program-transform-name \
1705 | --program-transform-nam | --program-transform-na \
1706 | --program-transform-n | --program-transform- \
1707 | --program-transform | --program-transfor \
1708 | --program-transfo | --program-transf \
1709 | --program-trans | --program-tran \
1710 | --progr-tra | --program-tr | --program-t)
1711 ac_prev=program_transform_name ;;
1712 -program-transform-name=* | --program-transform-name=* \
1713 | --program-transform-nam=* | --program-transform-na=* \
1714 | --program-transform-n=* | --program-transform-=* \
1715 | --program-transform=* | --program-transfor=* \
1716 | --program-transfo=* | --program-transf=* \
1717 | --program-trans=* | --program-tran=* \
1718 | --progr-tra=* | --program-tr=* | --program-t=*)
1719 program_transform_name=$ac_optarg ;;
1721 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1722 ac_prev=pdfdir ;;
1723 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1724 pdfdir=$ac_optarg ;;
1726 -psdir | --psdir | --psdi | --psd | --ps)
1727 ac_prev=psdir ;;
1728 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1729 psdir=$ac_optarg ;;
1731 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1732 | -silent | --silent | --silen | --sile | --sil)
1733 silent=yes ;;
1735 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1736 ac_prev=sbindir ;;
1737 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1738 | --sbi=* | --sb=*)
1739 sbindir=$ac_optarg ;;
1741 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1742 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1743 | --sharedst | --shareds | --shared | --share | --shar \
1744 | --sha | --sh)
1745 ac_prev=sharedstatedir ;;
1746 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1747 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1748 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1749 | --sha=* | --sh=*)
1750 sharedstatedir=$ac_optarg ;;
1752 -site | --site | --sit)
1753 ac_prev=site ;;
1754 -site=* | --site=* | --sit=*)
1755 site=$ac_optarg ;;
1757 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1758 ac_prev=srcdir ;;
1759 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1760 srcdir=$ac_optarg ;;
1762 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1763 | --syscon | --sysco | --sysc | --sys | --sy)
1764 ac_prev=sysconfdir ;;
1765 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1766 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1767 sysconfdir=$ac_optarg ;;
1769 -target | --target | --targe | --targ | --tar | --ta | --t)
1770 ac_prev=target_alias ;;
1771 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1772 target_alias=$ac_optarg ;;
1774 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1775 verbose=yes ;;
1777 -version | --version | --versio | --versi | --vers | -V)
1778 ac_init_version=: ;;
1780 -with-* | --with-*)
1781 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1782 # Reject names that are not valid shell variable names.
1783 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1784 as_fn_error $? "invalid package name: $ac_useropt"
1785 ac_useropt_orig=$ac_useropt
1786 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1787 case $ac_user_opts in
1789 "with_$ac_useropt"
1790 "*) ;;
1791 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1792 ac_unrecognized_sep=', ';;
1793 esac
1794 eval with_$ac_useropt=\$ac_optarg ;;
1796 -without-* | --without-*)
1797 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1798 # Reject names that are not valid shell variable names.
1799 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1800 as_fn_error $? "invalid package name: $ac_useropt"
1801 ac_useropt_orig=$ac_useropt
1802 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1803 case $ac_user_opts in
1805 "with_$ac_useropt"
1806 "*) ;;
1807 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1808 ac_unrecognized_sep=', ';;
1809 esac
1810 eval with_$ac_useropt=no ;;
1812 --x)
1813 # Obsolete; use --with-x.
1814 with_x=yes ;;
1816 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1817 | --x-incl | --x-inc | --x-in | --x-i)
1818 ac_prev=x_includes ;;
1819 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1820 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1821 x_includes=$ac_optarg ;;
1823 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1824 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1825 ac_prev=x_libraries ;;
1826 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1827 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1828 x_libraries=$ac_optarg ;;
1830 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1831 Try \`$0 --help' for more information"
1834 *=*)
1835 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1836 # Reject names that are not valid shell variable names.
1837 case $ac_envvar in #(
1838 '' | [0-9]* | *[!_$as_cr_alnum]* )
1839 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1840 esac
1841 eval $ac_envvar=\$ac_optarg
1842 export $ac_envvar ;;
1845 # FIXME: should be removed in autoconf 3.0.
1846 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1847 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1848 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1849 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1852 esac
1853 done
1855 if test -n "$ac_prev"; then
1856 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1857 as_fn_error $? "missing argument to $ac_option"
1860 if test -n "$ac_unrecognized_opts"; then
1861 case $enable_option_checking in
1862 no) ;;
1863 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1864 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1865 esac
1868 # Check all directory arguments for consistency.
1869 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1870 datadir sysconfdir sharedstatedir localstatedir includedir \
1871 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1872 libdir localedir mandir
1874 eval ac_val=\$$ac_var
1875 # Remove trailing slashes.
1876 case $ac_val in
1877 */ )
1878 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1879 eval $ac_var=\$ac_val;;
1880 esac
1881 # Be sure to have absolute directory names.
1882 case $ac_val in
1883 [\\/$]* | ?:[\\/]* ) continue;;
1884 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1885 esac
1886 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1887 done
1889 # There might be people who depend on the old broken behavior: `$host'
1890 # used to hold the argument of --host etc.
1891 # FIXME: To remove some day.
1892 build=$build_alias
1893 host=$host_alias
1894 target=$target_alias
1896 # FIXME: To remove some day.
1897 if test "x$host_alias" != x; then
1898 if test "x$build_alias" = x; then
1899 cross_compiling=maybe
1900 elif test "x$build_alias" != "x$host_alias"; then
1901 cross_compiling=yes
1905 ac_tool_prefix=
1906 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1908 test "$silent" = yes && exec 6>/dev/null
1911 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1912 ac_ls_di=`ls -di .` &&
1913 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1914 as_fn_error $? "working directory cannot be determined"
1915 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1916 as_fn_error $? "pwd does not report name of working directory"
1919 # Find the source files, if location was not specified.
1920 if test -z "$srcdir"; then
1921 ac_srcdir_defaulted=yes
1922 # Try the directory containing this script, then the parent directory.
1923 ac_confdir=`$as_dirname -- "$as_myself" ||
1924 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1925 X"$as_myself" : 'X\(//\)[^/]' \| \
1926 X"$as_myself" : 'X\(//\)$' \| \
1927 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1928 $as_echo X"$as_myself" |
1929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1930 s//\1/
1933 /^X\(\/\/\)[^/].*/{
1934 s//\1/
1937 /^X\(\/\/\)$/{
1938 s//\1/
1941 /^X\(\/\).*/{
1942 s//\1/
1945 s/.*/./; q'`
1946 srcdir=$ac_confdir
1947 if test ! -r "$srcdir/$ac_unique_file"; then
1948 srcdir=..
1950 else
1951 ac_srcdir_defaulted=no
1953 if test ! -r "$srcdir/$ac_unique_file"; then
1954 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1955 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1957 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1958 ac_abs_confdir=`(
1959 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1960 pwd)`
1961 # When building in place, set srcdir=.
1962 if test "$ac_abs_confdir" = "$ac_pwd"; then
1963 srcdir=.
1965 # Remove unnecessary trailing slashes from srcdir.
1966 # Double slashes in file names in object file debugging info
1967 # mess up M-x gdb in Emacs.
1968 case $srcdir in
1969 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1970 esac
1971 for ac_var in $ac_precious_vars; do
1972 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1973 eval ac_env_${ac_var}_value=\$${ac_var}
1974 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1975 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1976 done
1979 # Report the --help message.
1981 if test "$ac_init_help" = "long"; then
1982 # Omit some internal or obsolete options to make the list less imposing.
1983 # This message is too long to be a string in the A/UX 3.1 sh.
1984 cat <<_ACEOF
1985 \`configure' configures Wine 1.7.28 to adapt to many kinds of systems.
1987 Usage: $0 [OPTION]... [VAR=VALUE]...
1989 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1990 VAR=VALUE. See below for descriptions of some of the useful variables.
1992 Defaults for the options are specified in brackets.
1994 Configuration:
1995 -h, --help display this help and exit
1996 --help=short display options specific to this package
1997 --help=recursive display the short help of all the included packages
1998 -V, --version display version information and exit
1999 -q, --quiet, --silent do not print \`checking ...' messages
2000 --cache-file=FILE cache test results in FILE [disabled]
2001 -C, --config-cache alias for \`--cache-file=config.cache'
2002 -n, --no-create do not create output files
2003 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2005 Installation directories:
2006 --prefix=PREFIX install architecture-independent files in PREFIX
2007 [$ac_default_prefix]
2008 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2009 [PREFIX]
2011 By default, \`make install' will install all the files in
2012 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2013 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2014 for instance \`--prefix=\$HOME'.
2016 For better control, use the options below.
2018 Fine tuning of the installation directories:
2019 --bindir=DIR user executables [EPREFIX/bin]
2020 --sbindir=DIR system admin executables [EPREFIX/sbin]
2021 --libexecdir=DIR program executables [EPREFIX/libexec]
2022 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2023 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2024 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2025 --libdir=DIR object code libraries [EPREFIX/lib]
2026 --includedir=DIR C header files [PREFIX/include]
2027 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2028 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2029 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2030 --infodir=DIR info documentation [DATAROOTDIR/info]
2031 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2032 --mandir=DIR man documentation [DATAROOTDIR/man]
2033 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2034 --htmldir=DIR html documentation [DOCDIR]
2035 --dvidir=DIR dvi documentation [DOCDIR]
2036 --pdfdir=DIR pdf documentation [DOCDIR]
2037 --psdir=DIR ps documentation [DOCDIR]
2038 _ACEOF
2040 cat <<\_ACEOF
2042 X features:
2043 --x-includes=DIR X include files are in DIR
2044 --x-libraries=DIR X library files are in DIR
2046 System types:
2047 --build=BUILD configure for building on BUILD [guessed]
2048 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2049 _ACEOF
2052 if test -n "$ac_init_help"; then
2053 case $ac_init_help in
2054 short | recursive ) echo "Configuration of Wine 1.7.28:";;
2055 esac
2056 cat <<\_ACEOF
2058 Optional Features:
2059 --disable-option-checking ignore unrecognized --enable/--with options
2060 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2061 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2062 --disable-win16 do not include Win16 support
2063 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2064 binaries)
2065 --disable-tests do not build the regression tests
2066 --enable-maintainer-mode
2067 enable maintainer-specific build rules
2068 --disable-largefile omit support for large files
2070 Optional Packages:
2071 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2072 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2073 --without-alsa do not use the Alsa sound support
2074 --without-capi do not use CAPI (ISDN support)
2075 --without-cms do not use CMS (color management support)
2076 --without-coreaudio do not use the CoreAudio sound support
2077 --without-cups do not use CUPS
2078 --without-curses do not use (n)curses
2079 --without-dbus do not use DBus (dynamic device support)
2080 --without-fontconfig do not use fontconfig
2081 --without-freetype do not use the FreeType library
2082 --without-gettext do not use gettext
2083 --with-gettextpo use the GetTextPO library to rebuild po files
2084 --without-gphoto do not use gphoto (Digital Camera support)
2085 --without-glu do not use the GLU library
2086 --without-gnutls do not use GnuTLS (schannel support)
2087 --without-gsm do not use libgsm (GSM 06.10 codec support)
2088 --without-gstreamer do not use GStreamer (codecs support)
2089 --without-hal do not use HAL (dynamic device support)
2090 --without-jpeg do not use JPEG
2091 --without-ldap do not use LDAP
2092 --without-mpg123 do not use the mpg123 library
2093 --without-netapi do not use the Samba NetAPI library
2094 --without-openal do not use OpenAL
2095 --without-opencl do not use OpenCL
2096 --without-opengl do not use OpenGL
2097 --without-osmesa do not use the OSMesa library
2098 --without-oss do not use the OSS sound support
2099 --without-pcap do not use the Packet Capture library
2100 --without-png do not use PNG
2101 --without-pthread do not use the pthread library
2102 --without-sane do not use SANE (scanner support)
2103 --without-tiff do not use TIFF
2104 --without-v4l do not use v4l1 (v4l support)
2105 --without-xcomposite do not use the Xcomposite extension
2106 --without-xcursor do not use the Xcursor extension
2107 --without-xinerama do not use Xinerama (multi-monitor support)
2108 --without-xinput do not use the Xinput extension
2109 --without-xinput2 do not use the Xinput 2 extension
2110 --without-xml do not use XML
2111 --without-xrandr do not use Xrandr (resolution changes)
2112 --without-xrender do not use the Xrender extension
2113 --without-xshape do not use the Xshape extension
2114 --without-xshm do not use XShm (shared memory extension)
2115 --without-xslt do not use XSLT
2116 --without-xxf86vm do not use XFree video mode extension
2117 --without-zlib do not use Zlib (data compression)
2118 --with-wine-tools=DIR use Wine tools from directory DIR
2119 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2120 --with-x use the X Window System
2122 Some influential environment variables:
2123 CC C compiler command
2124 CFLAGS C compiler flags
2125 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2126 nonstandard directory <lib dir>
2127 LIBS libraries to pass to the linker, e.g. -l<library>
2128 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2129 you have headers in a nonstandard directory <include dir>
2130 CXX C++ compiler command
2131 CXXFLAGS C++ compiler flags
2132 CPP C preprocessor
2133 XMKMF Path to xmkmf, Makefile generator for X Window System
2134 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2135 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2136 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2137 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2138 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2139 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2140 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2141 HAL_LIBS Linker flags for hal, overriding pkg-config
2142 GNUTLS_CFLAGS
2143 C compiler flags for gnutls, overriding pkg-config
2144 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2145 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2146 SANE_LIBS Linker flags for libsane, overriding pkg-config
2147 GPHOTO2_CFLAGS
2148 C compiler flags for libgphoto2, overriding pkg-config
2149 GPHOTO2_LIBS
2150 Linker flags for libgphoto2, overriding pkg-config
2151 GPHOTO2_PORT_CFLAGS
2152 C compiler flags for libgphoto2_port, overriding pkg-config
2153 GPHOTO2_PORT_LIBS
2154 Linker flags for libgphoto2_port, overriding pkg-config
2155 LCMS2_CFLAGS
2156 C compiler flags for lcms2, overriding pkg-config
2157 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2158 FREETYPE_CFLAGS
2159 C compiler flags for freetype2, overriding pkg-config
2160 FREETYPE_LIBS
2161 Linker flags for freetype2, overriding pkg-config
2162 GSTREAMER_CFLAGS
2163 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2164 GSTREAMER_LIBS
2165 Linker flags for gstreamer-app-0.10, overriding pkg-config
2166 CAPI20_CFLAGS
2167 C compiler flags for capi20, overriding pkg-config
2168 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2169 FONTCONFIG_CFLAGS
2170 C compiler flags for fontconfig, overriding pkg-config
2171 FONTCONFIG_LIBS
2172 Linker flags for fontconfig, overriding pkg-config
2173 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2174 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2175 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2176 PNG_LIBS Linker flags for libpng, overriding pkg-config
2177 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2178 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2179 MPG123_CFLAGS
2180 C compiler flags for libmpg123, overriding pkg-config
2181 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2183 Use these variables to override the choices made by `configure' or to help
2184 it to find libraries and programs with nonstandard names/locations.
2186 Report bugs to <wine-devel@winehq.org>.
2187 Wine home page: <http://www.winehq.org>.
2188 _ACEOF
2189 ac_status=$?
2192 if test "$ac_init_help" = "recursive"; then
2193 # If there are subdirs, report their specific --help.
2194 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2195 test -d "$ac_dir" ||
2196 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2197 continue
2198 ac_builddir=.
2200 case "$ac_dir" in
2201 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2203 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2204 # A ".." for each directory in $ac_dir_suffix.
2205 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2206 case $ac_top_builddir_sub in
2207 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2208 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2209 esac ;;
2210 esac
2211 ac_abs_top_builddir=$ac_pwd
2212 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2213 # for backward compatibility:
2214 ac_top_builddir=$ac_top_build_prefix
2216 case $srcdir in
2217 .) # We are building in place.
2218 ac_srcdir=.
2219 ac_top_srcdir=$ac_top_builddir_sub
2220 ac_abs_top_srcdir=$ac_pwd ;;
2221 [\\/]* | ?:[\\/]* ) # Absolute name.
2222 ac_srcdir=$srcdir$ac_dir_suffix;
2223 ac_top_srcdir=$srcdir
2224 ac_abs_top_srcdir=$srcdir ;;
2225 *) # Relative name.
2226 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2227 ac_top_srcdir=$ac_top_build_prefix$srcdir
2228 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2229 esac
2230 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2232 cd "$ac_dir" || { ac_status=$?; continue; }
2233 # Check for guested configure.
2234 if test -f "$ac_srcdir/configure.gnu"; then
2235 echo &&
2236 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2237 elif test -f "$ac_srcdir/configure"; then
2238 echo &&
2239 $SHELL "$ac_srcdir/configure" --help=recursive
2240 else
2241 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2242 fi || ac_status=$?
2243 cd "$ac_pwd" || { ac_status=$?; break; }
2244 done
2247 test -n "$ac_init_help" && exit $ac_status
2248 if $ac_init_version; then
2249 cat <<\_ACEOF
2250 Wine configure 1.7.28
2251 generated by GNU Autoconf 2.69
2253 Copyright (C) 2012 Free Software Foundation, Inc.
2254 This configure script is free software; the Free Software Foundation
2255 gives unlimited permission to copy, distribute and modify it.
2256 _ACEOF
2257 exit
2260 ## ------------------------ ##
2261 ## Autoconf initialization. ##
2262 ## ------------------------ ##
2264 # ac_fn_c_try_compile LINENO
2265 # --------------------------
2266 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2267 ac_fn_c_try_compile ()
2269 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2270 rm -f conftest.$ac_objext
2271 if { { ac_try="$ac_compile"
2272 case "(($ac_try" in
2273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2274 *) ac_try_echo=$ac_try;;
2275 esac
2276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2277 $as_echo "$ac_try_echo"; } >&5
2278 (eval "$ac_compile") 2>conftest.err
2279 ac_status=$?
2280 if test -s conftest.err; then
2281 grep -v '^ *+' conftest.err >conftest.er1
2282 cat conftest.er1 >&5
2283 mv -f conftest.er1 conftest.err
2285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2286 test $ac_status = 0; } && {
2287 test -z "$ac_c_werror_flag" ||
2288 test ! -s conftest.err
2289 } && test -s conftest.$ac_objext; then :
2290 ac_retval=0
2291 else
2292 $as_echo "$as_me: failed program was:" >&5
2293 sed 's/^/| /' conftest.$ac_ext >&5
2295 ac_retval=1
2297 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2298 as_fn_set_status $ac_retval
2300 } # ac_fn_c_try_compile
2302 # ac_fn_cxx_try_compile LINENO
2303 # ----------------------------
2304 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2305 ac_fn_cxx_try_compile ()
2307 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2308 rm -f conftest.$ac_objext
2309 if { { ac_try="$ac_compile"
2310 case "(($ac_try" in
2311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2312 *) ac_try_echo=$ac_try;;
2313 esac
2314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2315 $as_echo "$ac_try_echo"; } >&5
2316 (eval "$ac_compile") 2>conftest.err
2317 ac_status=$?
2318 if test -s conftest.err; then
2319 grep -v '^ *+' conftest.err >conftest.er1
2320 cat conftest.er1 >&5
2321 mv -f conftest.er1 conftest.err
2323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2324 test $ac_status = 0; } && {
2325 test -z "$ac_cxx_werror_flag" ||
2326 test ! -s conftest.err
2327 } && test -s conftest.$ac_objext; then :
2328 ac_retval=0
2329 else
2330 $as_echo "$as_me: failed program was:" >&5
2331 sed 's/^/| /' conftest.$ac_ext >&5
2333 ac_retval=1
2335 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2336 as_fn_set_status $ac_retval
2338 } # ac_fn_cxx_try_compile
2340 # ac_fn_c_try_link LINENO
2341 # -----------------------
2342 # Try to link conftest.$ac_ext, and return whether this succeeded.
2343 ac_fn_c_try_link ()
2345 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2346 rm -f conftest.$ac_objext conftest$ac_exeext
2347 if { { ac_try="$ac_link"
2348 case "(($ac_try" in
2349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2350 *) ac_try_echo=$ac_try;;
2351 esac
2352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2353 $as_echo "$ac_try_echo"; } >&5
2354 (eval "$ac_link") 2>conftest.err
2355 ac_status=$?
2356 if test -s conftest.err; then
2357 grep -v '^ *+' conftest.err >conftest.er1
2358 cat conftest.er1 >&5
2359 mv -f conftest.er1 conftest.err
2361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2362 test $ac_status = 0; } && {
2363 test -z "$ac_c_werror_flag" ||
2364 test ! -s conftest.err
2365 } && test -s conftest$ac_exeext && {
2366 test "$cross_compiling" = yes ||
2367 test -x conftest$ac_exeext
2368 }; then :
2369 ac_retval=0
2370 else
2371 $as_echo "$as_me: failed program was:" >&5
2372 sed 's/^/| /' conftest.$ac_ext >&5
2374 ac_retval=1
2376 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2377 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2378 # interfere with the next link command; also delete a directory that is
2379 # left behind by Apple's compiler. We do this before executing the actions.
2380 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2381 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2382 as_fn_set_status $ac_retval
2384 } # ac_fn_c_try_link
2386 # ac_fn_c_try_cpp LINENO
2387 # ----------------------
2388 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2389 ac_fn_c_try_cpp ()
2391 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2392 if { { ac_try="$ac_cpp conftest.$ac_ext"
2393 case "(($ac_try" in
2394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2395 *) ac_try_echo=$ac_try;;
2396 esac
2397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2398 $as_echo "$ac_try_echo"; } >&5
2399 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2400 ac_status=$?
2401 if test -s conftest.err; then
2402 grep -v '^ *+' conftest.err >conftest.er1
2403 cat conftest.er1 >&5
2404 mv -f conftest.er1 conftest.err
2406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2407 test $ac_status = 0; } > conftest.i && {
2408 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2409 test ! -s conftest.err
2410 }; then :
2411 ac_retval=0
2412 else
2413 $as_echo "$as_me: failed program was:" >&5
2414 sed 's/^/| /' conftest.$ac_ext >&5
2416 ac_retval=1
2418 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2419 as_fn_set_status $ac_retval
2421 } # ac_fn_c_try_cpp
2423 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2424 # -------------------------------------------------------
2425 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2426 # the include files in INCLUDES and setting the cache variable VAR
2427 # accordingly.
2428 ac_fn_c_check_header_mongrel ()
2430 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2431 if eval \${$3+:} false; then :
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2433 $as_echo_n "checking for $2... " >&6; }
2434 if eval \${$3+:} false; then :
2435 $as_echo_n "(cached) " >&6
2437 eval ac_res=\$$3
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2439 $as_echo "$ac_res" >&6; }
2440 else
2441 # Is the header compilable?
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2443 $as_echo_n "checking $2 usability... " >&6; }
2444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2445 /* end confdefs.h. */
2447 #include <$2>
2448 _ACEOF
2449 if ac_fn_c_try_compile "$LINENO"; then :
2450 ac_header_compiler=yes
2451 else
2452 ac_header_compiler=no
2454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2456 $as_echo "$ac_header_compiler" >&6; }
2458 # Is the header present?
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2460 $as_echo_n "checking $2 presence... " >&6; }
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2463 #include <$2>
2464 _ACEOF
2465 if ac_fn_c_try_cpp "$LINENO"; then :
2466 ac_header_preproc=yes
2467 else
2468 ac_header_preproc=no
2470 rm -f conftest.err conftest.i conftest.$ac_ext
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2472 $as_echo "$ac_header_preproc" >&6; }
2474 # So? What about this header?
2475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2476 yes:no: )
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2478 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2480 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2482 no:yes:* )
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2484 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2486 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2488 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2490 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2492 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2493 ( $as_echo "## ------------------------------------ ##
2494 ## Report this to wine-devel@winehq.org ##
2495 ## ------------------------------------ ##"
2496 ) | sed "s/^/$as_me: WARNING: /" >&2
2498 esac
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2500 $as_echo_n "checking for $2... " >&6; }
2501 if eval \${$3+:} false; then :
2502 $as_echo_n "(cached) " >&6
2503 else
2504 eval "$3=\$ac_header_compiler"
2506 eval ac_res=\$$3
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2508 $as_echo "$ac_res" >&6; }
2510 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2512 } # ac_fn_c_check_header_mongrel
2514 # ac_fn_c_try_run LINENO
2515 # ----------------------
2516 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2517 # that executables *can* be run.
2518 ac_fn_c_try_run ()
2520 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2521 if { { ac_try="$ac_link"
2522 case "(($ac_try" in
2523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2524 *) ac_try_echo=$ac_try;;
2525 esac
2526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2527 $as_echo "$ac_try_echo"; } >&5
2528 (eval "$ac_link") 2>&5
2529 ac_status=$?
2530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2531 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2532 { { case "(($ac_try" in
2533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2534 *) ac_try_echo=$ac_try;;
2535 esac
2536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2537 $as_echo "$ac_try_echo"; } >&5
2538 (eval "$ac_try") 2>&5
2539 ac_status=$?
2540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2541 test $ac_status = 0; }; }; then :
2542 ac_retval=0
2543 else
2544 $as_echo "$as_me: program exited with status $ac_status" >&5
2545 $as_echo "$as_me: failed program was:" >&5
2546 sed 's/^/| /' conftest.$ac_ext >&5
2548 ac_retval=$ac_status
2550 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2551 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2552 as_fn_set_status $ac_retval
2554 } # ac_fn_c_try_run
2556 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2557 # -------------------------------------------------------
2558 # Tests whether HEADER exists and can be compiled using the include files in
2559 # INCLUDES, setting the cache variable VAR accordingly.
2560 ac_fn_c_check_header_compile ()
2562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2564 $as_echo_n "checking for $2... " >&6; }
2565 if eval \${$3+:} false; then :
2566 $as_echo_n "(cached) " >&6
2567 else
2568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2569 /* end confdefs.h. */
2571 #include <$2>
2572 _ACEOF
2573 if ac_fn_c_try_compile "$LINENO"; then :
2574 eval "$3=yes"
2575 else
2576 eval "$3=no"
2578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2580 eval ac_res=\$$3
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2582 $as_echo "$ac_res" >&6; }
2583 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2585 } # ac_fn_c_check_header_compile
2587 # ac_fn_c_check_func LINENO FUNC VAR
2588 # ----------------------------------
2589 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2590 ac_fn_c_check_func ()
2592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2594 $as_echo_n "checking for $2... " >&6; }
2595 if eval \${$3+:} false; then :
2596 $as_echo_n "(cached) " >&6
2597 else
2598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2599 /* end confdefs.h. */
2600 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2602 #define $2 innocuous_$2
2604 /* System header to define __stub macros and hopefully few prototypes,
2605 which can conflict with char $2 (); below.
2606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2607 <limits.h> exists even on freestanding compilers. */
2609 #ifdef __STDC__
2610 # include <limits.h>
2611 #else
2612 # include <assert.h>
2613 #endif
2615 #undef $2
2617 /* Override any GCC internal prototype to avoid an error.
2618 Use char because int might match the return type of a GCC
2619 builtin and then its argument prototype would still apply. */
2620 #ifdef __cplusplus
2621 extern "C"
2622 #endif
2623 char $2 ();
2624 /* The GNU C library defines this for functions which it implements
2625 to always fail with ENOSYS. Some functions are actually named
2626 something starting with __ and the normal name is an alias. */
2627 #if defined __stub_$2 || defined __stub___$2
2628 choke me
2629 #endif
2632 main ()
2634 return $2 ();
2636 return 0;
2638 _ACEOF
2639 if ac_fn_c_try_link "$LINENO"; then :
2640 eval "$3=yes"
2641 else
2642 eval "$3=no"
2644 rm -f core conftest.err conftest.$ac_objext \
2645 conftest$ac_exeext conftest.$ac_ext
2647 eval ac_res=\$$3
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2649 $as_echo "$ac_res" >&6; }
2650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2652 } # ac_fn_c_check_func
2654 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2655 # ----------------------------------------------------
2656 # Tries to find if the field MEMBER exists in type AGGR, after including
2657 # INCLUDES, setting cache variable VAR accordingly.
2658 ac_fn_c_check_member ()
2660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2662 $as_echo_n "checking for $2.$3... " >&6; }
2663 if eval \${$4+:} false; then :
2664 $as_echo_n "(cached) " >&6
2665 else
2666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2667 /* end confdefs.h. */
2670 main ()
2672 static $2 ac_aggr;
2673 if (ac_aggr.$3)
2674 return 0;
2676 return 0;
2678 _ACEOF
2679 if ac_fn_c_try_compile "$LINENO"; then :
2680 eval "$4=yes"
2681 else
2682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2683 /* end confdefs.h. */
2686 main ()
2688 static $2 ac_aggr;
2689 if (sizeof ac_aggr.$3)
2690 return 0;
2692 return 0;
2694 _ACEOF
2695 if ac_fn_c_try_compile "$LINENO"; then :
2696 eval "$4=yes"
2697 else
2698 eval "$4=no"
2700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2704 eval ac_res=\$$4
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2706 $as_echo "$ac_res" >&6; }
2707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2709 } # ac_fn_c_check_member
2711 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2712 # -------------------------------------------
2713 # Tests whether TYPE exists after having included INCLUDES, setting cache
2714 # variable VAR accordingly.
2715 ac_fn_c_check_type ()
2717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2719 $as_echo_n "checking for $2... " >&6; }
2720 if eval \${$3+:} false; then :
2721 $as_echo_n "(cached) " >&6
2722 else
2723 eval "$3=no"
2724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2725 /* end confdefs.h. */
2728 main ()
2730 if (sizeof ($2))
2731 return 0;
2733 return 0;
2735 _ACEOF
2736 if ac_fn_c_try_compile "$LINENO"; then :
2737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2738 /* end confdefs.h. */
2741 main ()
2743 if (sizeof (($2)))
2744 return 0;
2746 return 0;
2748 _ACEOF
2749 if ac_fn_c_try_compile "$LINENO"; then :
2751 else
2752 eval "$3=yes"
2754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2758 eval ac_res=\$$3
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2760 $as_echo "$ac_res" >&6; }
2761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2763 } # ac_fn_c_check_type
2764 cat >config.log <<_ACEOF
2765 This file contains any messages produced by compilers while
2766 running configure, to aid debugging if configure makes a mistake.
2768 It was created by Wine $as_me 1.7.28, which was
2769 generated by GNU Autoconf 2.69. Invocation command line was
2771 $ $0 $@
2773 _ACEOF
2774 exec 5>>config.log
2776 cat <<_ASUNAME
2777 ## --------- ##
2778 ## Platform. ##
2779 ## --------- ##
2781 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2782 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2783 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2784 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2785 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2787 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2788 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2790 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2791 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2792 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2793 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2794 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2795 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2796 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2798 _ASUNAME
2800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2801 for as_dir in $PATH
2803 IFS=$as_save_IFS
2804 test -z "$as_dir" && as_dir=.
2805 $as_echo "PATH: $as_dir"
2806 done
2807 IFS=$as_save_IFS
2809 } >&5
2811 cat >&5 <<_ACEOF
2814 ## ----------- ##
2815 ## Core tests. ##
2816 ## ----------- ##
2818 _ACEOF
2821 # Keep a trace of the command line.
2822 # Strip out --no-create and --no-recursion so they do not pile up.
2823 # Strip out --silent because we don't want to record it for future runs.
2824 # Also quote any args containing shell meta-characters.
2825 # Make two passes to allow for proper duplicate-argument suppression.
2826 ac_configure_args=
2827 ac_configure_args0=
2828 ac_configure_args1=
2829 ac_must_keep_next=false
2830 for ac_pass in 1 2
2832 for ac_arg
2834 case $ac_arg in
2835 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2836 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2837 | -silent | --silent | --silen | --sile | --sil)
2838 continue ;;
2839 *\'*)
2840 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2841 esac
2842 case $ac_pass in
2843 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2845 as_fn_append ac_configure_args1 " '$ac_arg'"
2846 if test $ac_must_keep_next = true; then
2847 ac_must_keep_next=false # Got value, back to normal.
2848 else
2849 case $ac_arg in
2850 *=* | --config-cache | -C | -disable-* | --disable-* \
2851 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2852 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2853 | -with-* | --with-* | -without-* | --without-* | --x)
2854 case "$ac_configure_args0 " in
2855 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2856 esac
2858 -* ) ac_must_keep_next=true ;;
2859 esac
2861 as_fn_append ac_configure_args " '$ac_arg'"
2863 esac
2864 done
2865 done
2866 { ac_configure_args0=; unset ac_configure_args0;}
2867 { ac_configure_args1=; unset ac_configure_args1;}
2869 # When interrupted or exit'd, cleanup temporary files, and complete
2870 # config.log. We remove comments because anyway the quotes in there
2871 # would cause problems or look ugly.
2872 # WARNING: Use '\'' to represent an apostrophe within the trap.
2873 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2874 trap 'exit_status=$?
2875 # Save into config.log some information that might help in debugging.
2877 echo
2879 $as_echo "## ---------------- ##
2880 ## Cache variables. ##
2881 ## ---------------- ##"
2882 echo
2883 # The following way of writing the cache mishandles newlines in values,
2885 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2886 eval ac_val=\$$ac_var
2887 case $ac_val in #(
2888 *${as_nl}*)
2889 case $ac_var in #(
2890 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2891 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2892 esac
2893 case $ac_var in #(
2894 _ | IFS | as_nl) ;; #(
2895 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2896 *) { eval $ac_var=; unset $ac_var;} ;;
2897 esac ;;
2898 esac
2899 done
2900 (set) 2>&1 |
2901 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2902 *${as_nl}ac_space=\ *)
2903 sed -n \
2904 "s/'\''/'\''\\\\'\'''\''/g;
2905 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2906 ;; #(
2908 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2910 esac |
2911 sort
2913 echo
2915 $as_echo "## ----------------- ##
2916 ## Output variables. ##
2917 ## ----------------- ##"
2918 echo
2919 for ac_var in $ac_subst_vars
2921 eval ac_val=\$$ac_var
2922 case $ac_val in
2923 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2924 esac
2925 $as_echo "$ac_var='\''$ac_val'\''"
2926 done | sort
2927 echo
2929 if test -n "$ac_subst_files"; then
2930 $as_echo "## ------------------- ##
2931 ## File substitutions. ##
2932 ## ------------------- ##"
2933 echo
2934 for ac_var in $ac_subst_files
2936 eval ac_val=\$$ac_var
2937 case $ac_val in
2938 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2939 esac
2940 $as_echo "$ac_var='\''$ac_val'\''"
2941 done | sort
2942 echo
2945 if test -s confdefs.h; then
2946 $as_echo "## ----------- ##
2947 ## confdefs.h. ##
2948 ## ----------- ##"
2949 echo
2950 cat confdefs.h
2951 echo
2953 test "$ac_signal" != 0 &&
2954 $as_echo "$as_me: caught signal $ac_signal"
2955 $as_echo "$as_me: exit $exit_status"
2956 } >&5
2957 rm -f core *.core core.conftest.* &&
2958 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2959 exit $exit_status
2961 for ac_signal in 1 2 13 15; do
2962 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2963 done
2964 ac_signal=0
2966 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2967 rm -f -r conftest* confdefs.h
2969 $as_echo "/* confdefs.h */" > confdefs.h
2971 # Predefined preprocessor variables.
2973 cat >>confdefs.h <<_ACEOF
2974 #define PACKAGE_NAME "$PACKAGE_NAME"
2975 _ACEOF
2977 cat >>confdefs.h <<_ACEOF
2978 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2979 _ACEOF
2981 cat >>confdefs.h <<_ACEOF
2982 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2983 _ACEOF
2985 cat >>confdefs.h <<_ACEOF
2986 #define PACKAGE_STRING "$PACKAGE_STRING"
2987 _ACEOF
2989 cat >>confdefs.h <<_ACEOF
2990 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2991 _ACEOF
2993 cat >>confdefs.h <<_ACEOF
2994 #define PACKAGE_URL "$PACKAGE_URL"
2995 _ACEOF
2998 # Let the site file select an alternate cache file if it wants to.
2999 # Prefer an explicitly selected file to automatically selected ones.
3000 ac_site_file1=NONE
3001 ac_site_file2=NONE
3002 if test -n "$CONFIG_SITE"; then
3003 # We do not want a PATH search for config.site.
3004 case $CONFIG_SITE in #((
3005 -*) ac_site_file1=./$CONFIG_SITE;;
3006 */*) ac_site_file1=$CONFIG_SITE;;
3007 *) ac_site_file1=./$CONFIG_SITE;;
3008 esac
3009 elif test "x$prefix" != xNONE; then
3010 ac_site_file1=$prefix/share/config.site
3011 ac_site_file2=$prefix/etc/config.site
3012 else
3013 ac_site_file1=$ac_default_prefix/share/config.site
3014 ac_site_file2=$ac_default_prefix/etc/config.site
3016 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3018 test "x$ac_site_file" = xNONE && continue
3019 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3021 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3022 sed 's/^/| /' "$ac_site_file" >&5
3023 . "$ac_site_file" \
3024 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3026 as_fn_error $? "failed to load site script $ac_site_file
3027 See \`config.log' for more details" "$LINENO" 5; }
3029 done
3031 if test -r "$cache_file"; then
3032 # Some versions of bash will fail to source /dev/null (special files
3033 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3034 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3036 $as_echo "$as_me: loading cache $cache_file" >&6;}
3037 case $cache_file in
3038 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3039 *) . "./$cache_file";;
3040 esac
3042 else
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3044 $as_echo "$as_me: creating cache $cache_file" >&6;}
3045 >$cache_file
3048 # Check that the precious variables saved in the cache have kept the same
3049 # value.
3050 ac_cache_corrupted=false
3051 for ac_var in $ac_precious_vars; do
3052 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3053 eval ac_new_set=\$ac_env_${ac_var}_set
3054 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3055 eval ac_new_val=\$ac_env_${ac_var}_value
3056 case $ac_old_set,$ac_new_set in
3057 set,)
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3059 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3060 ac_cache_corrupted=: ;;
3061 ,set)
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3063 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3064 ac_cache_corrupted=: ;;
3065 ,);;
3067 if test "x$ac_old_val" != "x$ac_new_val"; then
3068 # differences in whitespace do not lead to failure.
3069 ac_old_val_w=`echo x $ac_old_val`
3070 ac_new_val_w=`echo x $ac_new_val`
3071 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3073 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3074 ac_cache_corrupted=:
3075 else
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3077 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3078 eval $ac_var=\$ac_old_val
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3081 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3083 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3084 fi;;
3085 esac
3086 # Pass precious variables to config.status.
3087 if test "$ac_new_set" = set; then
3088 case $ac_new_val in
3089 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3090 *) ac_arg=$ac_var=$ac_new_val ;;
3091 esac
3092 case " $ac_configure_args " in
3093 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3094 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3095 esac
3097 done
3098 if $ac_cache_corrupted; then
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3102 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3103 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3105 ## -------------------- ##
3106 ## Main body of script. ##
3107 ## -------------------- ##
3109 ac_ext=c
3110 ac_cpp='$CPP $CPPFLAGS'
3111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3117 ac_config_headers="$ac_config_headers include/config.h"
3119 ac_aux_dir=
3120 for ac_dir in tools "$srcdir"/tools; do
3121 if test -f "$ac_dir/install-sh"; then
3122 ac_aux_dir=$ac_dir
3123 ac_install_sh="$ac_aux_dir/install-sh -c"
3124 break
3125 elif test -f "$ac_dir/install.sh"; then
3126 ac_aux_dir=$ac_dir
3127 ac_install_sh="$ac_aux_dir/install.sh -c"
3128 break
3129 elif test -f "$ac_dir/shtool"; then
3130 ac_aux_dir=$ac_dir
3131 ac_install_sh="$ac_aux_dir/shtool install -c"
3132 break
3134 done
3135 if test -z "$ac_aux_dir"; then
3136 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3139 # These three variables are undocumented and unsupported,
3140 # and are intended to be withdrawn in a future Autoconf release.
3141 # They can cause serious problems if a builder's source tree is in a directory
3142 # whose full name contains unusual characters.
3143 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3144 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3145 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3149 libwine_version="1.0"
3153 # Check whether --enable-win16 was given.
3154 if test "${enable_win16+set}" = set; then :
3155 enableval=$enable_win16;
3158 # Check whether --enable-win64 was given.
3159 if test "${enable_win64+set}" = set; then :
3160 enableval=$enable_win64;
3163 # Check whether --enable-tests was given.
3164 if test "${enable_tests+set}" = set; then :
3165 enableval=$enable_tests;
3168 # Check whether --enable-maintainer-mode was given.
3169 if test "${enable_maintainer_mode+set}" = set; then :
3170 enableval=$enable_maintainer_mode;
3175 # Check whether --with-alsa was given.
3176 if test "${with_alsa+set}" = set; then :
3177 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3181 # Check whether --with-capi was given.
3182 if test "${with_capi+set}" = set; then :
3183 withval=$with_capi;
3187 # Check whether --with-cms was given.
3188 if test "${with_cms+set}" = set; then :
3189 withval=$with_cms;
3193 # Check whether --with-coreaudio was given.
3194 if test "${with_coreaudio+set}" = set; then :
3195 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3199 # Check whether --with-cups was given.
3200 if test "${with_cups+set}" = set; then :
3201 withval=$with_cups;
3205 # Check whether --with-curses was given.
3206 if test "${with_curses+set}" = set; then :
3207 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3211 # Check whether --with-dbus was given.
3212 if test "${with_dbus+set}" = set; then :
3213 withval=$with_dbus;
3217 # Check whether --with-fontconfig was given.
3218 if test "${with_fontconfig+set}" = set; then :
3219 withval=$with_fontconfig;
3223 # Check whether --with-freetype was given.
3224 if test "${with_freetype+set}" = set; then :
3225 withval=$with_freetype;
3229 # Check whether --with-gettext was given.
3230 if test "${with_gettext+set}" = set; then :
3231 withval=$with_gettext;
3235 # Check whether --with-gettextpo was given.
3236 if test "${with_gettextpo+set}" = set; then :
3237 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3241 # Check whether --with-gphoto was given.
3242 if test "${with_gphoto+set}" = set; then :
3243 withval=$with_gphoto;
3247 # Check whether --with-glu was given.
3248 if test "${with_glu+set}" = set; then :
3249 withval=$with_glu;
3253 # Check whether --with-gnutls was given.
3254 if test "${with_gnutls+set}" = set; then :
3255 withval=$with_gnutls;
3259 # Check whether --with-gsm was given.
3260 if test "${with_gsm+set}" = set; then :
3261 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3265 # Check whether --with-gstreamer was given.
3266 if test "${with_gstreamer+set}" = set; then :
3267 withval=$with_gstreamer;
3271 # Check whether --with-hal was given.
3272 if test "${with_hal+set}" = set; then :
3273 withval=$with_hal;
3277 # Check whether --with-jpeg was given.
3278 if test "${with_jpeg+set}" = set; then :
3279 withval=$with_jpeg;
3283 # Check whether --with-ldap was given.
3284 if test "${with_ldap+set}" = set; then :
3285 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3289 # Check whether --with-mpg123 was given.
3290 if test "${with_mpg123+set}" = set; then :
3291 withval=$with_mpg123;
3295 # Check whether --with-netapi was given.
3296 if test "${with_netapi+set}" = set; then :
3297 withval=$with_netapi;
3301 # Check whether --with-openal was given.
3302 if test "${with_openal+set}" = set; then :
3303 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3307 # Check whether --with-opencl was given.
3308 if test "${with_opencl+set}" = set; then :
3309 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3313 # Check whether --with-opengl was given.
3314 if test "${with_opengl+set}" = set; then :
3315 withval=$with_opengl;
3319 # Check whether --with-osmesa was given.
3320 if test "${with_osmesa+set}" = set; then :
3321 withval=$with_osmesa;
3325 # Check whether --with-oss was given.
3326 if test "${with_oss+set}" = set; then :
3327 withval=$with_oss;
3331 # Check whether --with-pcap was given.
3332 if test "${with_pcap+set}" = set; then :
3333 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3337 # Check whether --with-png was given.
3338 if test "${with_png+set}" = set; then :
3339 withval=$with_png;
3343 # Check whether --with-pthread was given.
3344 if test "${with_pthread+set}" = set; then :
3345 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3349 # Check whether --with-sane was given.
3350 if test "${with_sane+set}" = set; then :
3351 withval=$with_sane;
3355 # Check whether --with-tiff was given.
3356 if test "${with_tiff+set}" = set; then :
3357 withval=$with_tiff;
3361 # Check whether --with-v4l was given.
3362 if test "${with_v4l+set}" = set; then :
3363 withval=$with_v4l;
3367 # Check whether --with-xcomposite was given.
3368 if test "${with_xcomposite+set}" = set; then :
3369 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3373 # Check whether --with-xcursor was given.
3374 if test "${with_xcursor+set}" = set; then :
3375 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3379 # Check whether --with-xinerama was given.
3380 if test "${with_xinerama+set}" = set; then :
3381 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3385 # Check whether --with-xinput was given.
3386 if test "${with_xinput+set}" = set; then :
3387 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3391 # Check whether --with-xinput2 was given.
3392 if test "${with_xinput2+set}" = set; then :
3393 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3397 # Check whether --with-xml was given.
3398 if test "${with_xml+set}" = set; then :
3399 withval=$with_xml;
3403 # Check whether --with-xrandr was given.
3404 if test "${with_xrandr+set}" = set; then :
3405 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3409 # Check whether --with-xrender was given.
3410 if test "${with_xrender+set}" = set; then :
3411 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3415 # Check whether --with-xshape was given.
3416 if test "${with_xshape+set}" = set; then :
3417 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3421 # Check whether --with-xshm was given.
3422 if test "${with_xshm+set}" = set; then :
3423 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3427 # Check whether --with-xslt was given.
3428 if test "${with_xslt+set}" = set; then :
3429 withval=$with_xslt;
3433 # Check whether --with-xxf86vm was given.
3434 if test "${with_xxf86vm+set}" = set; then :
3435 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
3439 # Check whether --with-zlib was given.
3440 if test "${with_zlib+set}" = set; then :
3441 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3446 # Check whether --with-wine-tools was given.
3447 if test "${with_wine_tools+set}" = set; then :
3448 withval=$with_wine_tools;
3452 # Check whether --with-wine64 was given.
3453 if test "${with_wine64+set}" = set; then :
3454 withval=$with_wine64;
3458 # Make sure we can run config.sub.
3459 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3460 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3463 $as_echo_n "checking build system type... " >&6; }
3464 if ${ac_cv_build+:} false; then :
3465 $as_echo_n "(cached) " >&6
3466 else
3467 ac_build_alias=$build_alias
3468 test "x$ac_build_alias" = x &&
3469 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3470 test "x$ac_build_alias" = x &&
3471 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3472 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3473 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3477 $as_echo "$ac_cv_build" >&6; }
3478 case $ac_cv_build in
3479 *-*-*) ;;
3480 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3481 esac
3482 build=$ac_cv_build
3483 ac_save_IFS=$IFS; IFS='-'
3484 set x $ac_cv_build
3485 shift
3486 build_cpu=$1
3487 build_vendor=$2
3488 shift; shift
3489 # Remember, the first character of IFS is used to create $*,
3490 # except with old shells:
3491 build_os=$*
3492 IFS=$ac_save_IFS
3493 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3497 $as_echo_n "checking host system type... " >&6; }
3498 if ${ac_cv_host+:} false; then :
3499 $as_echo_n "(cached) " >&6
3500 else
3501 if test "x$host_alias" = x; then
3502 ac_cv_host=$ac_cv_build
3503 else
3504 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3505 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3510 $as_echo "$ac_cv_host" >&6; }
3511 case $ac_cv_host in
3512 *-*-*) ;;
3513 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3514 esac
3515 host=$ac_cv_host
3516 ac_save_IFS=$IFS; IFS='-'
3517 set x $ac_cv_host
3518 shift
3519 host_cpu=$1
3520 host_vendor=$2
3521 shift; shift
3522 # Remember, the first character of IFS is used to create $*,
3523 # except with old shells:
3524 host_os=$*
3525 IFS=$ac_save_IFS
3526 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3530 case "$srcdir" in
3531 .) ;;
3532 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3533 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3534 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3535 fi ;;
3536 esac
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3540 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3541 set x ${MAKE-make}
3542 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3543 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3544 $as_echo_n "(cached) " >&6
3545 else
3546 cat >conftest.make <<\_ACEOF
3547 SHELL = /bin/sh
3548 all:
3549 @echo '@@@%%%=$(MAKE)=@@@%%%'
3550 _ACEOF
3551 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3552 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3553 *@@@%%%=?*=@@@%%%*)
3554 eval ac_cv_prog_make_${ac_make}_set=yes;;
3556 eval ac_cv_prog_make_${ac_make}_set=no;;
3557 esac
3558 rm -f conftest.make
3560 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3562 $as_echo "yes" >&6; }
3563 SET_MAKE=
3564 else
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566 $as_echo "no" >&6; }
3567 SET_MAKE="MAKE=${MAKE-make}"
3570 ac_ext=c
3571 ac_cpp='$CPP $CPPFLAGS'
3572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3575 if test -n "$ac_tool_prefix"; then
3576 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3577 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3579 $as_echo_n "checking for $ac_word... " >&6; }
3580 if ${ac_cv_prog_CC+:} false; then :
3581 $as_echo_n "(cached) " >&6
3582 else
3583 if test -n "$CC"; then
3584 ac_cv_prog_CC="$CC" # Let the user override the test.
3585 else
3586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3587 for as_dir in $PATH
3589 IFS=$as_save_IFS
3590 test -z "$as_dir" && as_dir=.
3591 for ac_exec_ext in '' $ac_executable_extensions; do
3592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3593 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3595 break 2
3597 done
3598 done
3599 IFS=$as_save_IFS
3603 CC=$ac_cv_prog_CC
3604 if test -n "$CC"; then
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3606 $as_echo "$CC" >&6; }
3607 else
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3609 $as_echo "no" >&6; }
3614 if test -z "$ac_cv_prog_CC"; then
3615 ac_ct_CC=$CC
3616 # Extract the first word of "gcc", so it can be a program name with args.
3617 set dummy gcc; ac_word=$2
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619 $as_echo_n "checking for $ac_word... " >&6; }
3620 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3621 $as_echo_n "(cached) " >&6
3622 else
3623 if test -n "$ac_ct_CC"; then
3624 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3625 else
3626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3627 for as_dir in $PATH
3629 IFS=$as_save_IFS
3630 test -z "$as_dir" && as_dir=.
3631 for ac_exec_ext in '' $ac_executable_extensions; do
3632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3633 ac_cv_prog_ac_ct_CC="gcc"
3634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3635 break 2
3637 done
3638 done
3639 IFS=$as_save_IFS
3643 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3644 if test -n "$ac_ct_CC"; then
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3646 $as_echo "$ac_ct_CC" >&6; }
3647 else
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3649 $as_echo "no" >&6; }
3652 if test "x$ac_ct_CC" = x; then
3653 CC=""
3654 else
3655 case $cross_compiling:$ac_tool_warned in
3656 yes:)
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3659 ac_tool_warned=yes ;;
3660 esac
3661 CC=$ac_ct_CC
3663 else
3664 CC="$ac_cv_prog_CC"
3667 if test -z "$CC"; then
3668 if test -n "$ac_tool_prefix"; then
3669 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3670 set dummy ${ac_tool_prefix}cc; ac_word=$2
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3672 $as_echo_n "checking for $ac_word... " >&6; }
3673 if ${ac_cv_prog_CC+:} false; then :
3674 $as_echo_n "(cached) " >&6
3675 else
3676 if test -n "$CC"; then
3677 ac_cv_prog_CC="$CC" # Let the user override the test.
3678 else
3679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3680 for as_dir in $PATH
3682 IFS=$as_save_IFS
3683 test -z "$as_dir" && as_dir=.
3684 for ac_exec_ext in '' $ac_executable_extensions; do
3685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3686 ac_cv_prog_CC="${ac_tool_prefix}cc"
3687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3688 break 2
3690 done
3691 done
3692 IFS=$as_save_IFS
3696 CC=$ac_cv_prog_CC
3697 if test -n "$CC"; then
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3699 $as_echo "$CC" >&6; }
3700 else
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3702 $as_echo "no" >&6; }
3708 if test -z "$CC"; then
3709 # Extract the first word of "cc", so it can be a program name with args.
3710 set dummy cc; ac_word=$2
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3712 $as_echo_n "checking for $ac_word... " >&6; }
3713 if ${ac_cv_prog_CC+:} false; then :
3714 $as_echo_n "(cached) " >&6
3715 else
3716 if test -n "$CC"; then
3717 ac_cv_prog_CC="$CC" # Let the user override the test.
3718 else
3719 ac_prog_rejected=no
3720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3721 for as_dir in $PATH
3723 IFS=$as_save_IFS
3724 test -z "$as_dir" && as_dir=.
3725 for ac_exec_ext in '' $ac_executable_extensions; do
3726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3727 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3728 ac_prog_rejected=yes
3729 continue
3731 ac_cv_prog_CC="cc"
3732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3733 break 2
3735 done
3736 done
3737 IFS=$as_save_IFS
3739 if test $ac_prog_rejected = yes; then
3740 # We found a bogon in the path, so make sure we never use it.
3741 set dummy $ac_cv_prog_CC
3742 shift
3743 if test $# != 0; then
3744 # We chose a different compiler from the bogus one.
3745 # However, it has the same basename, so the bogon will be chosen
3746 # first if we set CC to just the basename; use the full file name.
3747 shift
3748 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3753 CC=$ac_cv_prog_CC
3754 if test -n "$CC"; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3756 $as_echo "$CC" >&6; }
3757 else
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3759 $as_echo "no" >&6; }
3764 if test -z "$CC"; then
3765 if test -n "$ac_tool_prefix"; then
3766 for ac_prog in cl.exe
3768 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3769 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771 $as_echo_n "checking for $ac_word... " >&6; }
3772 if ${ac_cv_prog_CC+:} false; then :
3773 $as_echo_n "(cached) " >&6
3774 else
3775 if test -n "$CC"; then
3776 ac_cv_prog_CC="$CC" # Let the user override the test.
3777 else
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779 for as_dir in $PATH
3781 IFS=$as_save_IFS
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3785 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3787 break 2
3789 done
3790 done
3791 IFS=$as_save_IFS
3795 CC=$ac_cv_prog_CC
3796 if test -n "$CC"; then
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3798 $as_echo "$CC" >&6; }
3799 else
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3801 $as_echo "no" >&6; }
3805 test -n "$CC" && break
3806 done
3808 if test -z "$CC"; then
3809 ac_ct_CC=$CC
3810 for ac_prog in cl.exe
3812 # Extract the first word of "$ac_prog", so it can be a program name with args.
3813 set dummy $ac_prog; ac_word=$2
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3815 $as_echo_n "checking for $ac_word... " >&6; }
3816 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3817 $as_echo_n "(cached) " >&6
3818 else
3819 if test -n "$ac_ct_CC"; then
3820 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3821 else
3822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3823 for as_dir in $PATH
3825 IFS=$as_save_IFS
3826 test -z "$as_dir" && as_dir=.
3827 for ac_exec_ext in '' $ac_executable_extensions; do
3828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3829 ac_cv_prog_ac_ct_CC="$ac_prog"
3830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3831 break 2
3833 done
3834 done
3835 IFS=$as_save_IFS
3839 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3840 if test -n "$ac_ct_CC"; then
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3842 $as_echo "$ac_ct_CC" >&6; }
3843 else
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3845 $as_echo "no" >&6; }
3849 test -n "$ac_ct_CC" && break
3850 done
3852 if test "x$ac_ct_CC" = x; then
3853 CC=""
3854 else
3855 case $cross_compiling:$ac_tool_warned in
3856 yes:)
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3859 ac_tool_warned=yes ;;
3860 esac
3861 CC=$ac_ct_CC
3868 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3870 as_fn_error $? "no acceptable C compiler found in \$PATH
3871 See \`config.log' for more details" "$LINENO" 5; }
3873 # Provide some information about the compiler.
3874 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3875 set X $ac_compile
3876 ac_compiler=$2
3877 for ac_option in --version -v -V -qversion; do
3878 { { ac_try="$ac_compiler $ac_option >&5"
3879 case "(($ac_try" in
3880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3881 *) ac_try_echo=$ac_try;;
3882 esac
3883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3884 $as_echo "$ac_try_echo"; } >&5
3885 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3886 ac_status=$?
3887 if test -s conftest.err; then
3888 sed '10a\
3889 ... rest of stderr output deleted ...
3890 10q' conftest.err >conftest.er1
3891 cat conftest.er1 >&5
3893 rm -f conftest.er1 conftest.err
3894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895 test $ac_status = 0; }
3896 done
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3902 main ()
3906 return 0;
3908 _ACEOF
3909 ac_clean_files_save=$ac_clean_files
3910 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3911 # Try to create an executable without -o first, disregard a.out.
3912 # It will help us diagnose broken compilers, and finding out an intuition
3913 # of exeext.
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3915 $as_echo_n "checking whether the C compiler works... " >&6; }
3916 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3918 # The possible output files:
3919 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3921 ac_rmfiles=
3922 for ac_file in $ac_files
3924 case $ac_file in
3925 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3926 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3927 esac
3928 done
3929 rm -f $ac_rmfiles
3931 if { { ac_try="$ac_link_default"
3932 case "(($ac_try" in
3933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3934 *) ac_try_echo=$ac_try;;
3935 esac
3936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3937 $as_echo "$ac_try_echo"; } >&5
3938 (eval "$ac_link_default") 2>&5
3939 ac_status=$?
3940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3941 test $ac_status = 0; }; then :
3942 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3943 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3944 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3945 # so that the user can short-circuit this test for compilers unknown to
3946 # Autoconf.
3947 for ac_file in $ac_files ''
3949 test -f "$ac_file" || continue
3950 case $ac_file in
3951 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3953 [ab].out )
3954 # We found the default executable, but exeext='' is most
3955 # certainly right.
3956 break;;
3957 *.* )
3958 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3959 then :; else
3960 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3962 # We set ac_cv_exeext here because the later test for it is not
3963 # safe: cross compilers may not add the suffix if given an `-o'
3964 # argument, so we may need to know it at that point already.
3965 # Even if this section looks crufty: it has the advantage of
3966 # actually working.
3967 break;;
3969 break;;
3970 esac
3971 done
3972 test "$ac_cv_exeext" = no && ac_cv_exeext=
3974 else
3975 ac_file=''
3977 if test -z "$ac_file"; then :
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3979 $as_echo "no" >&6; }
3980 $as_echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.$ac_ext >&5
3983 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3985 as_fn_error 77 "C compiler cannot create executables
3986 See \`config.log' for more details" "$LINENO" 5; }
3987 else
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3989 $as_echo "yes" >&6; }
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3992 $as_echo_n "checking for C compiler default output file name... " >&6; }
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3994 $as_echo "$ac_file" >&6; }
3995 ac_exeext=$ac_cv_exeext
3997 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3998 ac_clean_files=$ac_clean_files_save
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4000 $as_echo_n "checking for suffix of executables... " >&6; }
4001 if { { ac_try="$ac_link"
4002 case "(($ac_try" in
4003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004 *) ac_try_echo=$ac_try;;
4005 esac
4006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4007 $as_echo "$ac_try_echo"; } >&5
4008 (eval "$ac_link") 2>&5
4009 ac_status=$?
4010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4011 test $ac_status = 0; }; then :
4012 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4013 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4014 # work properly (i.e., refer to `conftest.exe'), while it won't with
4015 # `rm'.
4016 for ac_file in conftest.exe conftest conftest.*; do
4017 test -f "$ac_file" || continue
4018 case $ac_file in
4019 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4020 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4021 break;;
4022 * ) break;;
4023 esac
4024 done
4025 else
4026 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4028 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4029 See \`config.log' for more details" "$LINENO" 5; }
4031 rm -f conftest conftest$ac_cv_exeext
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4033 $as_echo "$ac_cv_exeext" >&6; }
4035 rm -f conftest.$ac_ext
4036 EXEEXT=$ac_cv_exeext
4037 ac_exeext=$EXEEXT
4038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4039 /* end confdefs.h. */
4040 #include <stdio.h>
4042 main ()
4044 FILE *f = fopen ("conftest.out", "w");
4045 return ferror (f) || fclose (f) != 0;
4048 return 0;
4050 _ACEOF
4051 ac_clean_files="$ac_clean_files conftest.out"
4052 # Check that the compiler produces executables we can run. If not, either
4053 # the compiler is broken, or we cross compile.
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4055 $as_echo_n "checking whether we are cross compiling... " >&6; }
4056 if test "$cross_compiling" != yes; then
4057 { { ac_try="$ac_link"
4058 case "(($ac_try" in
4059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4060 *) ac_try_echo=$ac_try;;
4061 esac
4062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4063 $as_echo "$ac_try_echo"; } >&5
4064 (eval "$ac_link") 2>&5
4065 ac_status=$?
4066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4067 test $ac_status = 0; }
4068 if { ac_try='./conftest$ac_cv_exeext'
4069 { { case "(($ac_try" in
4070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4071 *) ac_try_echo=$ac_try;;
4072 esac
4073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4074 $as_echo "$ac_try_echo"; } >&5
4075 (eval "$ac_try") 2>&5
4076 ac_status=$?
4077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4078 test $ac_status = 0; }; }; then
4079 cross_compiling=no
4080 else
4081 if test "$cross_compiling" = maybe; then
4082 cross_compiling=yes
4083 else
4084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4086 as_fn_error $? "cannot run C compiled programs.
4087 If you meant to cross compile, use \`--host'.
4088 See \`config.log' for more details" "$LINENO" 5; }
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4093 $as_echo "$cross_compiling" >&6; }
4095 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4096 ac_clean_files=$ac_clean_files_save
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4098 $as_echo_n "checking for suffix of object files... " >&6; }
4099 if ${ac_cv_objext+:} false; then :
4100 $as_echo_n "(cached) " >&6
4101 else
4102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4103 /* end confdefs.h. */
4106 main ()
4110 return 0;
4112 _ACEOF
4113 rm -f conftest.o conftest.obj
4114 if { { ac_try="$ac_compile"
4115 case "(($ac_try" in
4116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4117 *) ac_try_echo=$ac_try;;
4118 esac
4119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4120 $as_echo "$ac_try_echo"; } >&5
4121 (eval "$ac_compile") 2>&5
4122 ac_status=$?
4123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4124 test $ac_status = 0; }; then :
4125 for ac_file in conftest.o conftest.obj conftest.*; do
4126 test -f "$ac_file" || continue;
4127 case $ac_file in
4128 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4129 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4130 break;;
4131 esac
4132 done
4133 else
4134 $as_echo "$as_me: failed program was:" >&5
4135 sed 's/^/| /' conftest.$ac_ext >&5
4137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4139 as_fn_error $? "cannot compute suffix of object files: cannot compile
4140 See \`config.log' for more details" "$LINENO" 5; }
4142 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4145 $as_echo "$ac_cv_objext" >&6; }
4146 OBJEXT=$ac_cv_objext
4147 ac_objext=$OBJEXT
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4149 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4150 if ${ac_cv_c_compiler_gnu+:} false; then :
4151 $as_echo_n "(cached) " >&6
4152 else
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4157 main ()
4159 #ifndef __GNUC__
4160 choke me
4161 #endif
4164 return 0;
4166 _ACEOF
4167 if ac_fn_c_try_compile "$LINENO"; then :
4168 ac_compiler_gnu=yes
4169 else
4170 ac_compiler_gnu=no
4172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4173 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4177 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4178 if test $ac_compiler_gnu = yes; then
4179 GCC=yes
4180 else
4181 GCC=
4183 ac_test_CFLAGS=${CFLAGS+set}
4184 ac_save_CFLAGS=$CFLAGS
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4186 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4187 if ${ac_cv_prog_cc_g+:} false; then :
4188 $as_echo_n "(cached) " >&6
4189 else
4190 ac_save_c_werror_flag=$ac_c_werror_flag
4191 ac_c_werror_flag=yes
4192 ac_cv_prog_cc_g=no
4193 CFLAGS="-g"
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4198 main ()
4202 return 0;
4204 _ACEOF
4205 if ac_fn_c_try_compile "$LINENO"; then :
4206 ac_cv_prog_cc_g=yes
4207 else
4208 CFLAGS=""
4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h. */
4213 main ()
4217 return 0;
4219 _ACEOF
4220 if ac_fn_c_try_compile "$LINENO"; then :
4222 else
4223 ac_c_werror_flag=$ac_save_c_werror_flag
4224 CFLAGS="-g"
4225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4226 /* end confdefs.h. */
4229 main ()
4233 return 0;
4235 _ACEOF
4236 if ac_fn_c_try_compile "$LINENO"; then :
4237 ac_cv_prog_cc_g=yes
4239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4244 ac_c_werror_flag=$ac_save_c_werror_flag
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4247 $as_echo "$ac_cv_prog_cc_g" >&6; }
4248 if test "$ac_test_CFLAGS" = set; then
4249 CFLAGS=$ac_save_CFLAGS
4250 elif test $ac_cv_prog_cc_g = yes; then
4251 if test "$GCC" = yes; then
4252 CFLAGS="-g -O2"
4253 else
4254 CFLAGS="-g"
4256 else
4257 if test "$GCC" = yes; then
4258 CFLAGS="-O2"
4259 else
4260 CFLAGS=
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4264 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4265 if ${ac_cv_prog_cc_c89+:} false; then :
4266 $as_echo_n "(cached) " >&6
4267 else
4268 ac_cv_prog_cc_c89=no
4269 ac_save_CC=$CC
4270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4271 /* end confdefs.h. */
4272 #include <stdarg.h>
4273 #include <stdio.h>
4274 struct stat;
4275 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4276 struct buf { int x; };
4277 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4278 static char *e (p, i)
4279 char **p;
4280 int i;
4282 return p[i];
4284 static char *f (char * (*g) (char **, int), char **p, ...)
4286 char *s;
4287 va_list v;
4288 va_start (v,p);
4289 s = g (p, va_arg (v,int));
4290 va_end (v);
4291 return s;
4294 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4295 function prototypes and stuff, but not '\xHH' hex character constants.
4296 These don't provoke an error unfortunately, instead are silently treated
4297 as 'x'. The following induces an error, until -std is added to get
4298 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4299 array size at least. It's necessary to write '\x00'==0 to get something
4300 that's true only with -std. */
4301 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4303 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4304 inside strings and character constants. */
4305 #define FOO(x) 'x'
4306 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4308 int test (int i, double x);
4309 struct s1 {int (*f) (int a);};
4310 struct s2 {int (*f) (double a);};
4311 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4312 int argc;
4313 char **argv;
4315 main ()
4317 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4319 return 0;
4321 _ACEOF
4322 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4323 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4325 CC="$ac_save_CC $ac_arg"
4326 if ac_fn_c_try_compile "$LINENO"; then :
4327 ac_cv_prog_cc_c89=$ac_arg
4329 rm -f core conftest.err conftest.$ac_objext
4330 test "x$ac_cv_prog_cc_c89" != "xno" && break
4331 done
4332 rm -f conftest.$ac_ext
4333 CC=$ac_save_CC
4336 # AC_CACHE_VAL
4337 case "x$ac_cv_prog_cc_c89" in
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4340 $as_echo "none needed" >&6; } ;;
4341 xno)
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4343 $as_echo "unsupported" >&6; } ;;
4345 CC="$CC $ac_cv_prog_cc_c89"
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4347 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4348 esac
4349 if test "x$ac_cv_prog_cc_c89" != xno; then :
4353 ac_ext=c
4354 ac_cpp='$CPP $CPPFLAGS'
4355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4359 ac_ext=cpp
4360 ac_cpp='$CXXCPP $CPPFLAGS'
4361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4364 if test -z "$CXX"; then
4365 if test -n "$CCC"; then
4366 CXX=$CCC
4367 else
4368 if test -n "$ac_tool_prefix"; then
4369 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4371 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4372 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4374 $as_echo_n "checking for $ac_word... " >&6; }
4375 if ${ac_cv_prog_CXX+:} false; then :
4376 $as_echo_n "(cached) " >&6
4377 else
4378 if test -n "$CXX"; then
4379 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4380 else
4381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4382 for as_dir in $PATH
4384 IFS=$as_save_IFS
4385 test -z "$as_dir" && as_dir=.
4386 for ac_exec_ext in '' $ac_executable_extensions; do
4387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4388 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4390 break 2
4392 done
4393 done
4394 IFS=$as_save_IFS
4398 CXX=$ac_cv_prog_CXX
4399 if test -n "$CXX"; then
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4401 $as_echo "$CXX" >&6; }
4402 else
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4404 $as_echo "no" >&6; }
4408 test -n "$CXX" && break
4409 done
4411 if test -z "$CXX"; then
4412 ac_ct_CXX=$CXX
4413 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4415 # Extract the first word of "$ac_prog", so it can be a program name with args.
4416 set dummy $ac_prog; ac_word=$2
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4418 $as_echo_n "checking for $ac_word... " >&6; }
4419 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4420 $as_echo_n "(cached) " >&6
4421 else
4422 if test -n "$ac_ct_CXX"; then
4423 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4424 else
4425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426 for as_dir in $PATH
4428 IFS=$as_save_IFS
4429 test -z "$as_dir" && as_dir=.
4430 for ac_exec_ext in '' $ac_executable_extensions; do
4431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4432 ac_cv_prog_ac_ct_CXX="$ac_prog"
4433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4434 break 2
4436 done
4437 done
4438 IFS=$as_save_IFS
4442 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4443 if test -n "$ac_ct_CXX"; then
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4445 $as_echo "$ac_ct_CXX" >&6; }
4446 else
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4448 $as_echo "no" >&6; }
4452 test -n "$ac_ct_CXX" && break
4453 done
4455 if test "x$ac_ct_CXX" = x; then
4456 CXX="g++"
4457 else
4458 case $cross_compiling:$ac_tool_warned in
4459 yes:)
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4462 ac_tool_warned=yes ;;
4463 esac
4464 CXX=$ac_ct_CXX
4470 # Provide some information about the compiler.
4471 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4472 set X $ac_compile
4473 ac_compiler=$2
4474 for ac_option in --version -v -V -qversion; do
4475 { { ac_try="$ac_compiler $ac_option >&5"
4476 case "(($ac_try" in
4477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4478 *) ac_try_echo=$ac_try;;
4479 esac
4480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4481 $as_echo "$ac_try_echo"; } >&5
4482 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4483 ac_status=$?
4484 if test -s conftest.err; then
4485 sed '10a\
4486 ... rest of stderr output deleted ...
4487 10q' conftest.err >conftest.er1
4488 cat conftest.er1 >&5
4490 rm -f conftest.er1 conftest.err
4491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4492 test $ac_status = 0; }
4493 done
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4496 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4497 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4498 $as_echo_n "(cached) " >&6
4499 else
4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4504 main ()
4506 #ifndef __GNUC__
4507 choke me
4508 #endif
4511 return 0;
4513 _ACEOF
4514 if ac_fn_cxx_try_compile "$LINENO"; then :
4515 ac_compiler_gnu=yes
4516 else
4517 ac_compiler_gnu=no
4519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4520 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4524 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4525 if test $ac_compiler_gnu = yes; then
4526 GXX=yes
4527 else
4528 GXX=
4530 ac_test_CXXFLAGS=${CXXFLAGS+set}
4531 ac_save_CXXFLAGS=$CXXFLAGS
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4533 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4534 if ${ac_cv_prog_cxx_g+:} false; then :
4535 $as_echo_n "(cached) " >&6
4536 else
4537 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4538 ac_cxx_werror_flag=yes
4539 ac_cv_prog_cxx_g=no
4540 CXXFLAGS="-g"
4541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4545 main ()
4549 return 0;
4551 _ACEOF
4552 if ac_fn_cxx_try_compile "$LINENO"; then :
4553 ac_cv_prog_cxx_g=yes
4554 else
4555 CXXFLAGS=""
4556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4557 /* end confdefs.h. */
4560 main ()
4564 return 0;
4566 _ACEOF
4567 if ac_fn_cxx_try_compile "$LINENO"; then :
4569 else
4570 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4571 CXXFLAGS="-g"
4572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4576 main ()
4580 return 0;
4582 _ACEOF
4583 if ac_fn_cxx_try_compile "$LINENO"; then :
4584 ac_cv_prog_cxx_g=yes
4586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4591 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4594 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4595 if test "$ac_test_CXXFLAGS" = set; then
4596 CXXFLAGS=$ac_save_CXXFLAGS
4597 elif test $ac_cv_prog_cxx_g = yes; then
4598 if test "$GXX" = yes; then
4599 CXXFLAGS="-g -O2"
4600 else
4601 CXXFLAGS="-g"
4603 else
4604 if test "$GXX" = yes; then
4605 CXXFLAGS="-O2"
4606 else
4607 CXXFLAGS=
4610 ac_ext=c
4611 ac_cpp='$CPP $CPPFLAGS'
4612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4616 if test -n "$ac_tool_prefix"; then
4617 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4618 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4620 $as_echo_n "checking for $ac_word... " >&6; }
4621 if ${ac_cv_prog_CPPBIN+:} false; then :
4622 $as_echo_n "(cached) " >&6
4623 else
4624 if test -n "$CPPBIN"; then
4625 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4626 else
4627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4628 for as_dir in $PATH
4630 IFS=$as_save_IFS
4631 test -z "$as_dir" && as_dir=.
4632 for ac_exec_ext in '' $ac_executable_extensions; do
4633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4634 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4636 break 2
4638 done
4639 done
4640 IFS=$as_save_IFS
4644 CPPBIN=$ac_cv_prog_CPPBIN
4645 if test -n "$CPPBIN"; then
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4647 $as_echo "$CPPBIN" >&6; }
4648 else
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4650 $as_echo "no" >&6; }
4655 if test -z "$ac_cv_prog_CPPBIN"; then
4656 ac_ct_CPPBIN=$CPPBIN
4657 # Extract the first word of "cpp", so it can be a program name with args.
4658 set dummy cpp; ac_word=$2
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660 $as_echo_n "checking for $ac_word... " >&6; }
4661 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4662 $as_echo_n "(cached) " >&6
4663 else
4664 if test -n "$ac_ct_CPPBIN"; then
4665 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4666 else
4667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4668 for as_dir in $PATH
4670 IFS=$as_save_IFS
4671 test -z "$as_dir" && as_dir=.
4672 for ac_exec_ext in '' $ac_executable_extensions; do
4673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4674 ac_cv_prog_ac_ct_CPPBIN="cpp"
4675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 break 2
4678 done
4679 done
4680 IFS=$as_save_IFS
4684 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4685 if test -n "$ac_ct_CPPBIN"; then
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4687 $as_echo "$ac_ct_CPPBIN" >&6; }
4688 else
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 $as_echo "no" >&6; }
4693 if test "x$ac_ct_CPPBIN" = x; then
4694 CPPBIN="cpp"
4695 else
4696 case $cross_compiling:$ac_tool_warned in
4697 yes:)
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4700 ac_tool_warned=yes ;;
4701 esac
4702 CPPBIN=$ac_ct_CPPBIN
4704 else
4705 CPPBIN="$ac_cv_prog_CPPBIN"
4709 cat >>confdefs.h <<_ACEOF
4710 #define EXEEXT "$ac_exeext"
4711 _ACEOF
4714 case $host in
4715 *-darwin*)
4716 if test "x$enable_win64" = "xyes"
4717 then
4718 CC="$CC -m64"
4719 CXX="$CXX -m64"
4720 host_cpu="x86_64"
4721 notice_platform="64-bit "
4722 TARGETFLAGS="-m64"
4724 else
4725 CC="$CC -m32"
4726 CXX="$CXX -m32"
4727 host_cpu="i386"
4728 notice_platform="32-bit "
4729 TARGETFLAGS="-m32"
4731 enable_win16=${enable_win16:-yes}
4733 with_fontconfig=${with_fontconfig:-no}
4735 x86_64*)
4736 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4737 then
4738 CC="$CC -m32"
4739 CXX="$CXX -m32"
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4741 $as_echo_n "checking whether $CC works... " >&6; }
4743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4747 main ()
4751 return 0;
4753 _ACEOF
4754 if ac_fn_c_try_link "$LINENO"; then :
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4756 $as_echo "yes" >&6; }
4757 else
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4759 $as_echo "no" >&6; }
4760 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4762 rm -f core conftest.err conftest.$ac_objext \
4763 conftest$ac_exeext conftest.$ac_ext
4764 host_cpu="i386"
4765 notice_platform="32-bit "
4766 TARGETFLAGS="-m32"
4768 enable_win16=${enable_win16:-yes}
4769 else
4770 if test "x${GCC}" = "xyes"
4771 then
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4773 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4775 /* end confdefs.h. */
4776 #include <stdarg.h>
4778 main ()
4780 void func(__builtin_ms_va_list *args);
4782 return 0;
4784 _ACEOF
4785 if ac_fn_c_try_compile "$LINENO"; then :
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4787 $as_echo "yes" >&6; }
4788 else
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790 $as_echo "no" >&6; }
4791 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4795 TARGETFLAGS="-m64"
4799 arm*)
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4801 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4803 /* end confdefs.h. */
4804 int ac_test(int i) { return i; }
4806 main ()
4808 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4810 return 0;
4812 _ACEOF
4813 if ac_fn_c_try_link "$LINENO"; then :
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4815 $as_echo "yes" >&6; }
4816 else
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4818 $as_echo "no" >&6; }
4819 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4821 rm -f core conftest.err conftest.$ac_objext \
4822 conftest$ac_exeext conftest.$ac_ext
4823 CFLAGS="$CFLAGS -marm"
4824 TARGETFLAGS="-marm"
4827 *-mingw32*|*-cygwin*)
4828 enable_win16=${enable_win16:-no}
4829 CFLAGS="$CFLAGS -D_WIN32"
4831 i[3456789]86*)
4832 enable_win16=${enable_win16:-yes}
4834 esac
4836 enable_win16=${enable_win16:-no}
4837 enable_win64=${enable_win64:-no}
4839 enable_winetest=${enable_winetest:-$enable_tests}
4841 if test -n "$with_wine64"
4842 then
4843 if test "x$enable_win64" = "xyes"
4844 then
4845 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4846 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4848 enable_fonts=${enable_fonts:-no}
4849 enable_server=${enable_server:-no}
4850 elif test "x$enable_win64" = "xyes"
4851 then
4852 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4856 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4857 if ${wine_cv_toolsdir+:} false; then :
4858 $as_echo_n "(cached) " >&6
4859 else
4860 wine_cv_toolsdir="$with_wine_tools"
4861 if test -z "$with_wine_tools"; then
4862 if test "$cross_compiling" = "yes"; then
4863 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4864 elif test -n "$with_wine64"; then
4865 wine_cv_toolsdir="$with_wine64"
4868 if test -z "$wine_cv_toolsdir"; then
4869 wine_makedep=tools/makedep
4870 wine_cv_toolsdir="\$(top_builddir)"
4871 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4872 wine_makedep=$wine_cv_toolsdir/tools/makedep
4873 case "$wine_cv_toolsdir" in
4874 /*) ;;
4875 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4876 esac
4877 enable_tools=${enable_tools:-no}
4878 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4879 else
4880 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4884 $as_echo "$wine_cv_toolsdir" >&6; }
4885 TOOLSDIR=$wine_cv_toolsdir
4887 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4888 then
4889 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4893 for ac_prog in flex
4895 # Extract the first word of "$ac_prog", so it can be a program name with args.
4896 set dummy $ac_prog; ac_word=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if ${ac_cv_prog_FLEX+:} false; then :
4900 $as_echo_n "(cached) " >&6
4901 else
4902 if test -n "$FLEX"; then
4903 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4904 else
4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4906 for as_dir in $PATH
4908 IFS=$as_save_IFS
4909 test -z "$as_dir" && as_dir=.
4910 for ac_exec_ext in '' $ac_executable_extensions; do
4911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_FLEX="$ac_prog"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4914 break 2
4916 done
4917 done
4918 IFS=$as_save_IFS
4922 FLEX=$ac_cv_prog_FLEX
4923 if test -n "$FLEX"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4925 $as_echo "$FLEX" >&6; }
4926 else
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4932 test -n "$FLEX" && break
4933 done
4934 test -n "$FLEX" || FLEX="none"
4936 if test "$FLEX" = "none"
4937 then
4938 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4941 $as_echo_n "checking whether flex is recent enough... " >&6; }
4942 cat >conftest.l <<EOF
4943 %top{
4944 #include "prediluvian.h"
4948 if $FLEX -t conftest.l >/dev/null 2>&5
4949 then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4951 $as_echo "yes" >&6; }
4952 else
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4955 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4958 for ac_prog in bison
4960 # Extract the first word of "$ac_prog", so it can be a program name with args.
4961 set dummy $ac_prog; ac_word=$2
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4963 $as_echo_n "checking for $ac_word... " >&6; }
4964 if ${ac_cv_prog_BISON+:} false; then :
4965 $as_echo_n "(cached) " >&6
4966 else
4967 if test -n "$BISON"; then
4968 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4969 else
4970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4971 for as_dir in $PATH
4973 IFS=$as_save_IFS
4974 test -z "$as_dir" && as_dir=.
4975 for ac_exec_ext in '' $ac_executable_extensions; do
4976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4977 ac_cv_prog_BISON="$ac_prog"
4978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4979 break 2
4981 done
4982 done
4983 IFS=$as_save_IFS
4987 BISON=$ac_cv_prog_BISON
4988 if test -n "$BISON"; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4990 $as_echo "$BISON" >&6; }
4991 else
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4993 $as_echo "no" >&6; }
4997 test -n "$BISON" && break
4998 done
4999 test -n "$BISON" || BISON="none"
5001 if test "$BISON" = "none"
5002 then
5003 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5006 if test -n "$ac_tool_prefix"; then
5007 for ac_prog in ar gar
5009 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5010 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if ${ac_cv_prog_AR+:} false; then :
5014 $as_echo_n "(cached) " >&6
5015 else
5016 if test -n "$AR"; then
5017 ac_cv_prog_AR="$AR" # Let the user override the test.
5018 else
5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5020 for as_dir in $PATH
5022 IFS=$as_save_IFS
5023 test -z "$as_dir" && as_dir=.
5024 for ac_exec_ext in '' $ac_executable_extensions; do
5025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5026 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5028 break 2
5030 done
5031 done
5032 IFS=$as_save_IFS
5036 AR=$ac_cv_prog_AR
5037 if test -n "$AR"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5039 $as_echo "$AR" >&6; }
5040 else
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5046 test -n "$AR" && break
5047 done
5049 if test -z "$AR"; then
5050 ac_ct_AR=$AR
5051 for ac_prog in ar gar
5053 # Extract the first word of "$ac_prog", so it can be a program name with args.
5054 set dummy $ac_prog; ac_word=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5058 $as_echo_n "(cached) " >&6
5059 else
5060 if test -n "$ac_ct_AR"; then
5061 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5062 else
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH
5066 IFS=$as_save_IFS
5067 test -z "$as_dir" && as_dir=.
5068 for ac_exec_ext in '' $ac_executable_extensions; do
5069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5070 ac_cv_prog_ac_ct_AR="$ac_prog"
5071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 break 2
5074 done
5075 done
5076 IFS=$as_save_IFS
5080 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5081 if test -n "$ac_ct_AR"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5083 $as_echo "$ac_ct_AR" >&6; }
5084 else
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5090 test -n "$ac_ct_AR" && break
5091 done
5093 if test "x$ac_ct_AR" = x; then
5094 AR="ar"
5095 else
5096 case $cross_compiling:$ac_tool_warned in
5097 yes:)
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5100 ac_tool_warned=yes ;;
5101 esac
5102 AR=$ac_ct_AR
5106 if test -n "$ac_tool_prefix"; then
5107 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5108 set dummy ${ac_tool_prefix}strip; ac_word=$2
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5110 $as_echo_n "checking for $ac_word... " >&6; }
5111 if ${ac_cv_prog_STRIP+:} false; then :
5112 $as_echo_n "(cached) " >&6
5113 else
5114 if test -n "$STRIP"; then
5115 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5116 else
5117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5118 for as_dir in $PATH
5120 IFS=$as_save_IFS
5121 test -z "$as_dir" && as_dir=.
5122 for ac_exec_ext in '' $ac_executable_extensions; do
5123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5124 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5126 break 2
5128 done
5129 done
5130 IFS=$as_save_IFS
5134 STRIP=$ac_cv_prog_STRIP
5135 if test -n "$STRIP"; then
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5137 $as_echo "$STRIP" >&6; }
5138 else
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5145 if test -z "$ac_cv_prog_STRIP"; then
5146 ac_ct_STRIP=$STRIP
5147 # Extract the first word of "strip", so it can be a program name with args.
5148 set dummy strip; ac_word=$2
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5150 $as_echo_n "checking for $ac_word... " >&6; }
5151 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5152 $as_echo_n "(cached) " >&6
5153 else
5154 if test -n "$ac_ct_STRIP"; then
5155 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5156 else
5157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5158 for as_dir in $PATH
5160 IFS=$as_save_IFS
5161 test -z "$as_dir" && as_dir=.
5162 for ac_exec_ext in '' $ac_executable_extensions; do
5163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5164 ac_cv_prog_ac_ct_STRIP="strip"
5165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5166 break 2
5168 done
5169 done
5170 IFS=$as_save_IFS
5174 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5175 if test -n "$ac_ct_STRIP"; then
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5177 $as_echo "$ac_ct_STRIP" >&6; }
5178 else
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5180 $as_echo "no" >&6; }
5183 if test "x$ac_ct_STRIP" = x; then
5184 STRIP="strip"
5185 else
5186 case $cross_compiling:$ac_tool_warned in
5187 yes:)
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5190 ac_tool_warned=yes ;;
5191 esac
5192 STRIP=$ac_ct_STRIP
5194 else
5195 STRIP="$ac_cv_prog_STRIP"
5198 ARFLAGS=rc
5200 if test -n "$ac_tool_prefix"; then
5201 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5202 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5204 $as_echo_n "checking for $ac_word... " >&6; }
5205 if ${ac_cv_prog_RANLIB+:} false; then :
5206 $as_echo_n "(cached) " >&6
5207 else
5208 if test -n "$RANLIB"; then
5209 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5210 else
5211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5212 for as_dir in $PATH
5214 IFS=$as_save_IFS
5215 test -z "$as_dir" && as_dir=.
5216 for ac_exec_ext in '' $ac_executable_extensions; do
5217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5218 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5220 break 2
5222 done
5223 done
5224 IFS=$as_save_IFS
5228 RANLIB=$ac_cv_prog_RANLIB
5229 if test -n "$RANLIB"; then
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5231 $as_echo "$RANLIB" >&6; }
5232 else
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5234 $as_echo "no" >&6; }
5239 if test -z "$ac_cv_prog_RANLIB"; then
5240 ac_ct_RANLIB=$RANLIB
5241 # Extract the first word of "ranlib", so it can be a program name with args.
5242 set dummy ranlib; ac_word=$2
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5244 $as_echo_n "checking for $ac_word... " >&6; }
5245 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5246 $as_echo_n "(cached) " >&6
5247 else
5248 if test -n "$ac_ct_RANLIB"; then
5249 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5250 else
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 for as_dir in $PATH
5254 IFS=$as_save_IFS
5255 test -z "$as_dir" && as_dir=.
5256 for ac_exec_ext in '' $ac_executable_extensions; do
5257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5258 ac_cv_prog_ac_ct_RANLIB="ranlib"
5259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5260 break 2
5262 done
5263 done
5264 IFS=$as_save_IFS
5268 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5269 if test -n "$ac_ct_RANLIB"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5271 $as_echo "$ac_ct_RANLIB" >&6; }
5272 else
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5277 if test "x$ac_ct_RANLIB" = x; then
5278 RANLIB=":"
5279 else
5280 case $cross_compiling:$ac_tool_warned in
5281 yes:)
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5284 ac_tool_warned=yes ;;
5285 esac
5286 RANLIB=$ac_ct_RANLIB
5288 else
5289 RANLIB="$ac_cv_prog_RANLIB"
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5293 $as_echo_n "checking whether ln -s works... " >&6; }
5294 LN_S=$as_ln_s
5295 if test "$LN_S" = "ln -s"; then
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5297 $as_echo "yes" >&6; }
5298 else
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5300 $as_echo "no, using $LN_S" >&6; }
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5304 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5305 if ${ac_cv_path_GREP+:} false; then :
5306 $as_echo_n "(cached) " >&6
5307 else
5308 if test -z "$GREP"; then
5309 ac_path_GREP_found=false
5310 # Loop through the user's path and test for each of PROGNAME-LIST
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5312 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5314 IFS=$as_save_IFS
5315 test -z "$as_dir" && as_dir=.
5316 for ac_prog in grep ggrep; do
5317 for ac_exec_ext in '' $ac_executable_extensions; do
5318 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5319 as_fn_executable_p "$ac_path_GREP" || continue
5320 # Check for GNU ac_path_GREP and select it if it is found.
5321 # Check for GNU $ac_path_GREP
5322 case `"$ac_path_GREP" --version 2>&1` in
5323 *GNU*)
5324 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5326 ac_count=0
5327 $as_echo_n 0123456789 >"conftest.in"
5328 while :
5330 cat "conftest.in" "conftest.in" >"conftest.tmp"
5331 mv "conftest.tmp" "conftest.in"
5332 cp "conftest.in" "conftest.nl"
5333 $as_echo 'GREP' >> "conftest.nl"
5334 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5335 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5336 as_fn_arith $ac_count + 1 && ac_count=$as_val
5337 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5338 # Best one so far, save it but keep looking for a better one
5339 ac_cv_path_GREP="$ac_path_GREP"
5340 ac_path_GREP_max=$ac_count
5342 # 10*(2^10) chars as input seems more than enough
5343 test $ac_count -gt 10 && break
5344 done
5345 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5346 esac
5348 $ac_path_GREP_found && break 3
5349 done
5350 done
5351 done
5352 IFS=$as_save_IFS
5353 if test -z "$ac_cv_path_GREP"; then
5354 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5356 else
5357 ac_cv_path_GREP=$GREP
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5362 $as_echo "$ac_cv_path_GREP" >&6; }
5363 GREP="$ac_cv_path_GREP"
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5367 $as_echo_n "checking for egrep... " >&6; }
5368 if ${ac_cv_path_EGREP+:} false; then :
5369 $as_echo_n "(cached) " >&6
5370 else
5371 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5372 then ac_cv_path_EGREP="$GREP -E"
5373 else
5374 if test -z "$EGREP"; then
5375 ac_path_EGREP_found=false
5376 # Loop through the user's path and test for each of PROGNAME-LIST
5377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5378 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5380 IFS=$as_save_IFS
5381 test -z "$as_dir" && as_dir=.
5382 for ac_prog in egrep; do
5383 for ac_exec_ext in '' $ac_executable_extensions; do
5384 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5385 as_fn_executable_p "$ac_path_EGREP" || continue
5386 # Check for GNU ac_path_EGREP and select it if it is found.
5387 # Check for GNU $ac_path_EGREP
5388 case `"$ac_path_EGREP" --version 2>&1` in
5389 *GNU*)
5390 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5392 ac_count=0
5393 $as_echo_n 0123456789 >"conftest.in"
5394 while :
5396 cat "conftest.in" "conftest.in" >"conftest.tmp"
5397 mv "conftest.tmp" "conftest.in"
5398 cp "conftest.in" "conftest.nl"
5399 $as_echo 'EGREP' >> "conftest.nl"
5400 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5401 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5402 as_fn_arith $ac_count + 1 && ac_count=$as_val
5403 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5404 # Best one so far, save it but keep looking for a better one
5405 ac_cv_path_EGREP="$ac_path_EGREP"
5406 ac_path_EGREP_max=$ac_count
5408 # 10*(2^10) chars as input seems more than enough
5409 test $ac_count -gt 10 && break
5410 done
5411 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5412 esac
5414 $ac_path_EGREP_found && break 3
5415 done
5416 done
5417 done
5418 IFS=$as_save_IFS
5419 if test -z "$ac_cv_path_EGREP"; then
5420 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5422 else
5423 ac_cv_path_EGREP=$EGREP
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5429 $as_echo "$ac_cv_path_EGREP" >&6; }
5430 EGREP="$ac_cv_path_EGREP"
5433 # Extract the first word of "ldconfig", so it can be a program name with args.
5434 set dummy ldconfig; ac_word=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if ${ac_cv_path_LDCONFIG+:} false; then :
5438 $as_echo_n "(cached) " >&6
5439 else
5440 case $LDCONFIG in
5441 [\\/]* | ?:[\\/]*)
5442 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5446 for as_dir in /sbin /usr/sbin $PATH
5448 IFS=$as_save_IFS
5449 test -z "$as_dir" && as_dir=.
5450 for ac_exec_ext in '' $ac_executable_extensions; do
5451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5452 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5454 break 2
5456 done
5457 done
5458 IFS=$as_save_IFS
5460 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5462 esac
5464 LDCONFIG=$ac_cv_path_LDCONFIG
5465 if test -n "$LDCONFIG"; then
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5467 $as_echo "$LDCONFIG" >&6; }
5468 else
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5470 $as_echo "no" >&6; }
5474 for ac_prog in msgfmt
5476 # Extract the first word of "$ac_prog", so it can be a program name with args.
5477 set dummy $ac_prog; ac_word=$2
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5479 $as_echo_n "checking for $ac_word... " >&6; }
5480 if ${ac_cv_prog_MSGFMT+:} false; then :
5481 $as_echo_n "(cached) " >&6
5482 else
5483 if test -n "$MSGFMT"; then
5484 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5485 else
5486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5487 for as_dir in $PATH
5489 IFS=$as_save_IFS
5490 test -z "$as_dir" && as_dir=.
5491 for ac_exec_ext in '' $ac_executable_extensions; do
5492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5493 ac_cv_prog_MSGFMT="$ac_prog"
5494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5495 break 2
5497 done
5498 done
5499 IFS=$as_save_IFS
5503 MSGFMT=$ac_cv_prog_MSGFMT
5504 if test -n "$MSGFMT"; then
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5506 $as_echo "$MSGFMT" >&6; }
5507 else
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5509 $as_echo "no" >&6; }
5513 test -n "$MSGFMT" && break
5514 done
5515 test -n "$MSGFMT" || MSGFMT="false"
5517 if ${ac_tool_prefix+:} false; then :
5518 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5519 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5521 $as_echo_n "checking for $ac_word... " >&6; }
5522 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5523 $as_echo_n "(cached) " >&6
5524 else
5525 if test -n "$PKG_CONFIG"; then
5526 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5527 else
5528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5529 for as_dir in $PATH
5531 IFS=$as_save_IFS
5532 test -z "$as_dir" && as_dir=.
5533 for ac_exec_ext in '' $ac_executable_extensions; do
5534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5535 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5537 break 2
5539 done
5540 done
5541 IFS=$as_save_IFS
5545 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5546 if test -n "$PKG_CONFIG"; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5548 $as_echo "$PKG_CONFIG" >&6; }
5549 else
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5551 $as_echo "no" >&6; }
5556 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5557 if test "x$cross_compiling" = xyes; then :
5559 else
5560 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5561 # Extract the first word of "pkg-config", so it can be a program name with args.
5562 set dummy pkg-config; ac_word=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564 $as_echo_n "checking for $ac_word... " >&6; }
5565 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5566 $as_echo_n "(cached) " >&6
5567 else
5568 if test -n "$PKG_CONFIG"; then
5569 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5570 else
5571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5572 for as_dir in $PATH
5574 IFS=$as_save_IFS
5575 test -z "$as_dir" && as_dir=.
5576 for ac_exec_ext in '' $ac_executable_extensions; do
5577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5578 ac_cv_prog_PKG_CONFIG="pkg-config"
5579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5580 break 2
5582 done
5583 done
5584 IFS=$as_save_IFS
5588 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5589 if test -n "$PKG_CONFIG"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5591 $as_echo "$PKG_CONFIG" >&6; }
5592 else
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5599 else
5600 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5603 if test "x$enable_maintainer_mode" != "xyes"
5604 then
5605 FONTFORGE=""
5606 RSVG=""
5607 CONVERT=""
5608 ICOTOOL=""
5609 else
5610 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5611 for ac_prog in fontforge
5613 # Extract the first word of "$ac_prog", so it can be a program name with args.
5614 set dummy $ac_prog; ac_word=$2
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5616 $as_echo_n "checking for $ac_word... " >&6; }
5617 if ${ac_cv_prog_FONTFORGE+:} false; then :
5618 $as_echo_n "(cached) " >&6
5619 else
5620 if test -n "$FONTFORGE"; then
5621 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5622 else
5623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5624 for as_dir in $PATH
5626 IFS=$as_save_IFS
5627 test -z "$as_dir" && as_dir=.
5628 for ac_exec_ext in '' $ac_executable_extensions; do
5629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5630 ac_cv_prog_FONTFORGE="$ac_prog"
5631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5632 break 2
5634 done
5635 done
5636 IFS=$as_save_IFS
5640 FONTFORGE=$ac_cv_prog_FONTFORGE
5641 if test -n "$FONTFORGE"; then
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5643 $as_echo "$FONTFORGE" >&6; }
5644 else
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5646 $as_echo "no" >&6; }
5650 test -n "$FONTFORGE" && break
5651 done
5652 test -n "$FONTFORGE" || FONTFORGE="false"
5654 for ac_prog in rsvg
5656 # Extract the first word of "$ac_prog", so it can be a program name with args.
5657 set dummy $ac_prog; ac_word=$2
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5659 $as_echo_n "checking for $ac_word... " >&6; }
5660 if ${ac_cv_prog_RSVG+:} false; then :
5661 $as_echo_n "(cached) " >&6
5662 else
5663 if test -n "$RSVG"; then
5664 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5665 else
5666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5667 for as_dir in $PATH
5669 IFS=$as_save_IFS
5670 test -z "$as_dir" && as_dir=.
5671 for ac_exec_ext in '' $ac_executable_extensions; do
5672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5673 ac_cv_prog_RSVG="$ac_prog"
5674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5675 break 2
5677 done
5678 done
5679 IFS=$as_save_IFS
5683 RSVG=$ac_cv_prog_RSVG
5684 if test -n "$RSVG"; then
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5686 $as_echo "$RSVG" >&6; }
5687 else
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689 $as_echo "no" >&6; }
5693 test -n "$RSVG" && break
5694 done
5695 test -n "$RSVG" || RSVG="false"
5697 for ac_prog in convert
5699 # Extract the first word of "$ac_prog", so it can be a program name with args.
5700 set dummy $ac_prog; ac_word=$2
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5702 $as_echo_n "checking for $ac_word... " >&6; }
5703 if ${ac_cv_prog_CONVERT+:} false; then :
5704 $as_echo_n "(cached) " >&6
5705 else
5706 if test -n "$CONVERT"; then
5707 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5708 else
5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 for as_dir in $PATH
5712 IFS=$as_save_IFS
5713 test -z "$as_dir" && as_dir=.
5714 for ac_exec_ext in '' $ac_executable_extensions; do
5715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5716 ac_cv_prog_CONVERT="$ac_prog"
5717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5718 break 2
5720 done
5721 done
5722 IFS=$as_save_IFS
5726 CONVERT=$ac_cv_prog_CONVERT
5727 if test -n "$CONVERT"; then
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5729 $as_echo "$CONVERT" >&6; }
5730 else
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5732 $as_echo "no" >&6; }
5736 test -n "$CONVERT" && break
5737 done
5738 test -n "$CONVERT" || CONVERT="false"
5740 for ac_prog in icotool
5742 # Extract the first word of "$ac_prog", so it can be a program name with args.
5743 set dummy $ac_prog; ac_word=$2
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5745 $as_echo_n "checking for $ac_word... " >&6; }
5746 if ${ac_cv_prog_ICOTOOL+:} false; then :
5747 $as_echo_n "(cached) " >&6
5748 else
5749 if test -n "$ICOTOOL"; then
5750 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5751 else
5752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753 for as_dir in $PATH
5755 IFS=$as_save_IFS
5756 test -z "$as_dir" && as_dir=.
5757 for ac_exec_ext in '' $ac_executable_extensions; do
5758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5759 ac_cv_prog_ICOTOOL="$ac_prog"
5760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5761 break 2
5763 done
5764 done
5765 IFS=$as_save_IFS
5769 ICOTOOL=$ac_cv_prog_ICOTOOL
5770 if test -n "$ICOTOOL"; then
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5772 $as_echo "$ICOTOOL" >&6; }
5773 else
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5775 $as_echo "no" >&6; }
5779 test -n "$ICOTOOL" && break
5780 done
5781 test -n "$ICOTOOL" || ICOTOOL="false"
5783 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5784 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5786 if test "$CONVERT" = false
5787 then
5788 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5789 else
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5791 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5792 convert_version=`convert --version | head -n1`
5793 if test "x$convert_version" != "x"
5794 then
5795 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5796 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5797 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5798 then
5799 CONVERT=false
5802 if test "$CONVERT" = false
5803 then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5805 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5806 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5809 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5813 if test "$ICOTOOL" = false
5814 then
5815 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5816 else
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5818 $as_echo_n "checking for recent enough icotool... " >&6; }
5819 icotool_version=`icotool --version | head -n1`
5820 if test "x$icotool_version" != "x"
5821 then
5822 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5823 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5824 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5825 then
5826 ICOTOOL=false
5827 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5830 if test "$ICOTOOL" = false
5831 then
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5833 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5834 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5835 else
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5837 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5841 with_gettext=yes
5842 with_gettextpo=yes
5843 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5846 test "x$with_gettext" != xno || MSGFMT=false
5847 if test "$MSGFMT" != "false"
5848 then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5850 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5851 cat >conftest.po <<EOF
5852 # comment
5853 msgctxt "ctxt"
5854 msgid "id"
5855 msgstr "str"
5857 if $MSGFMT -o /dev/null conftest.po 2>&5
5858 then
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5860 $as_echo "yes" >&6; }
5861 else
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5863 $as_echo "no" >&6; }
5864 MSGFMT=false
5867 if test "$MSGFMT" = false; then :
5868 case "x$with_gettext" in
5869 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5870 xno) ;;
5871 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5872 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5873 esac
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5878 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5879 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5880 $as_echo_n "(cached) " >&6
5881 else
5882 ac_check_lib_save_LIBS=$LIBS
5883 LIBS="-li386 $LIBS"
5884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5885 /* end confdefs.h. */
5887 /* Override any GCC internal prototype to avoid an error.
5888 Use char because int might match the return type of a GCC
5889 builtin and then its argument prototype would still apply. */
5890 #ifdef __cplusplus
5891 extern "C"
5892 #endif
5893 char i386_set_ldt ();
5895 main ()
5897 return i386_set_ldt ();
5899 return 0;
5901 _ACEOF
5902 if ac_fn_c_try_link "$LINENO"; then :
5903 ac_cv_lib_i386_i386_set_ldt=yes
5904 else
5905 ac_cv_lib_i386_i386_set_ldt=no
5907 rm -f core conftest.err conftest.$ac_objext \
5908 conftest$ac_exeext conftest.$ac_ext
5909 LIBS=$ac_check_lib_save_LIBS
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5912 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5913 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5914 cat >>confdefs.h <<_ACEOF
5915 #define HAVE_LIBI386 1
5916 _ACEOF
5918 LIBS="-li386 $LIBS"
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5923 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5924 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5925 $as_echo_n "(cached) " >&6
5926 else
5927 ac_check_lib_save_LIBS=$LIBS
5928 LIBS="-lossaudio $LIBS"
5929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5930 /* end confdefs.h. */
5932 /* Override any GCC internal prototype to avoid an error.
5933 Use char because int might match the return type of a GCC
5934 builtin and then its argument prototype would still apply. */
5935 #ifdef __cplusplus
5936 extern "C"
5937 #endif
5938 char _oss_ioctl ();
5940 main ()
5942 return _oss_ioctl ();
5944 return 0;
5946 _ACEOF
5947 if ac_fn_c_try_link "$LINENO"; then :
5948 ac_cv_lib_ossaudio__oss_ioctl=yes
5949 else
5950 ac_cv_lib_ossaudio__oss_ioctl=no
5952 rm -f core conftest.err conftest.$ac_objext \
5953 conftest$ac_exeext conftest.$ac_ext
5954 LIBS=$ac_check_lib_save_LIBS
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5957 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5958 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5959 cat >>confdefs.h <<_ACEOF
5960 #define HAVE_LIBOSSAUDIO 1
5961 _ACEOF
5963 LIBS="-lossaudio $LIBS"
5968 OPENGL_LIBS=""
5972 # Check whether --enable-largefile was given.
5973 if test "${enable_largefile+set}" = set; then :
5974 enableval=$enable_largefile;
5977 if test "$enable_largefile" != no; then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5980 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5981 if ${ac_cv_sys_largefile_CC+:} false; then :
5982 $as_echo_n "(cached) " >&6
5983 else
5984 ac_cv_sys_largefile_CC=no
5985 if test "$GCC" != yes; then
5986 ac_save_CC=$CC
5987 while :; do
5988 # IRIX 6.2 and later do not support large files by default,
5989 # so use the C compiler's -n32 option if that helps.
5990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5991 /* end confdefs.h. */
5992 #include <sys/types.h>
5993 /* Check that off_t can represent 2**63 - 1 correctly.
5994 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5995 since some C++ compilers masquerading as C compilers
5996 incorrectly reject 9223372036854775807. */
5997 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5998 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5999 && LARGE_OFF_T % 2147483647 == 1)
6000 ? 1 : -1];
6002 main ()
6006 return 0;
6008 _ACEOF
6009 if ac_fn_c_try_compile "$LINENO"; then :
6010 break
6012 rm -f core conftest.err conftest.$ac_objext
6013 CC="$CC -n32"
6014 if ac_fn_c_try_compile "$LINENO"; then :
6015 ac_cv_sys_largefile_CC=' -n32'; break
6017 rm -f core conftest.err conftest.$ac_objext
6018 break
6019 done
6020 CC=$ac_save_CC
6021 rm -f conftest.$ac_ext
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6025 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6026 if test "$ac_cv_sys_largefile_CC" != no; then
6027 CC=$CC$ac_cv_sys_largefile_CC
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6031 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6032 if ${ac_cv_sys_file_offset_bits+:} false; then :
6033 $as_echo_n "(cached) " >&6
6034 else
6035 while :; do
6036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6037 /* end confdefs.h. */
6038 #include <sys/types.h>
6039 /* Check that off_t can represent 2**63 - 1 correctly.
6040 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6041 since some C++ compilers masquerading as C compilers
6042 incorrectly reject 9223372036854775807. */
6043 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6044 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6045 && LARGE_OFF_T % 2147483647 == 1)
6046 ? 1 : -1];
6048 main ()
6052 return 0;
6054 _ACEOF
6055 if ac_fn_c_try_compile "$LINENO"; then :
6056 ac_cv_sys_file_offset_bits=no; break
6058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6060 /* end confdefs.h. */
6061 #define _FILE_OFFSET_BITS 64
6062 #include <sys/types.h>
6063 /* Check that off_t can represent 2**63 - 1 correctly.
6064 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6065 since some C++ compilers masquerading as C compilers
6066 incorrectly reject 9223372036854775807. */
6067 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6068 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6069 && LARGE_OFF_T % 2147483647 == 1)
6070 ? 1 : -1];
6072 main ()
6076 return 0;
6078 _ACEOF
6079 if ac_fn_c_try_compile "$LINENO"; then :
6080 ac_cv_sys_file_offset_bits=64; break
6082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6083 ac_cv_sys_file_offset_bits=unknown
6084 break
6085 done
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6088 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6089 case $ac_cv_sys_file_offset_bits in #(
6090 no | unknown) ;;
6092 cat >>confdefs.h <<_ACEOF
6093 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6094 _ACEOF
6096 esac
6097 rm -rf conftest*
6098 if test $ac_cv_sys_file_offset_bits = unknown; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6100 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6101 if ${ac_cv_sys_large_files+:} false; then :
6102 $as_echo_n "(cached) " >&6
6103 else
6104 while :; do
6105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6106 /* end confdefs.h. */
6107 #include <sys/types.h>
6108 /* Check that off_t can represent 2**63 - 1 correctly.
6109 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6110 since some C++ compilers masquerading as C compilers
6111 incorrectly reject 9223372036854775807. */
6112 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6113 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6114 && LARGE_OFF_T % 2147483647 == 1)
6115 ? 1 : -1];
6117 main ()
6121 return 0;
6123 _ACEOF
6124 if ac_fn_c_try_compile "$LINENO"; then :
6125 ac_cv_sys_large_files=no; break
6127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6129 /* end confdefs.h. */
6130 #define _LARGE_FILES 1
6131 #include <sys/types.h>
6132 /* Check that off_t can represent 2**63 - 1 correctly.
6133 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6134 since some C++ compilers masquerading as C compilers
6135 incorrectly reject 9223372036854775807. */
6136 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6137 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6138 && LARGE_OFF_T % 2147483647 == 1)
6139 ? 1 : -1];
6141 main ()
6145 return 0;
6147 _ACEOF
6148 if ac_fn_c_try_compile "$LINENO"; then :
6149 ac_cv_sys_large_files=1; break
6151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6152 ac_cv_sys_large_files=unknown
6153 break
6154 done
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6157 $as_echo "$ac_cv_sys_large_files" >&6; }
6158 case $ac_cv_sys_large_files in #(
6159 no | unknown) ;;
6161 cat >>confdefs.h <<_ACEOF
6162 #define _LARGE_FILES $ac_cv_sys_large_files
6163 _ACEOF
6165 esac
6166 rm -rf conftest*
6173 ac_ext=c
6174 ac_cpp='$CPP $CPPFLAGS'
6175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6179 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6180 # On Suns, sometimes $CPP names a directory.
6181 if test -n "$CPP" && test -d "$CPP"; then
6182 CPP=
6184 if test -z "$CPP"; then
6185 if ${ac_cv_prog_CPP+:} false; then :
6186 $as_echo_n "(cached) " >&6
6187 else
6188 # Double quotes because CPP needs to be expanded
6189 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6191 ac_preproc_ok=false
6192 for ac_c_preproc_warn_flag in '' yes
6194 # Use a header file that comes with gcc, so configuring glibc
6195 # with a fresh cross-compiler works.
6196 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6197 # <limits.h> exists even on freestanding compilers.
6198 # On the NeXT, cc -E runs the code through the compiler's parser,
6199 # not just through cpp. "Syntax error" is here to catch this case.
6200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6201 /* end confdefs.h. */
6202 #ifdef __STDC__
6203 # include <limits.h>
6204 #else
6205 # include <assert.h>
6206 #endif
6207 Syntax error
6208 _ACEOF
6209 if ac_fn_c_try_cpp "$LINENO"; then :
6211 else
6212 # Broken: fails on valid input.
6213 continue
6215 rm -f conftest.err conftest.i conftest.$ac_ext
6217 # OK, works on sane cases. Now check whether nonexistent headers
6218 # can be detected and how.
6219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6220 /* end confdefs.h. */
6221 #include <ac_nonexistent.h>
6222 _ACEOF
6223 if ac_fn_c_try_cpp "$LINENO"; then :
6224 # Broken: success on invalid input.
6225 continue
6226 else
6227 # Passes both tests.
6228 ac_preproc_ok=:
6229 break
6231 rm -f conftest.err conftest.i conftest.$ac_ext
6233 done
6234 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6235 rm -f conftest.i conftest.err conftest.$ac_ext
6236 if $ac_preproc_ok; then :
6237 break
6240 done
6241 ac_cv_prog_CPP=$CPP
6244 CPP=$ac_cv_prog_CPP
6245 else
6246 ac_cv_prog_CPP=$CPP
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6249 $as_echo "$CPP" >&6; }
6250 ac_preproc_ok=false
6251 for ac_c_preproc_warn_flag in '' yes
6253 # Use a header file that comes with gcc, so configuring glibc
6254 # with a fresh cross-compiler works.
6255 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6256 # <limits.h> exists even on freestanding compilers.
6257 # On the NeXT, cc -E runs the code through the compiler's parser,
6258 # not just through cpp. "Syntax error" is here to catch this case.
6259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6261 #ifdef __STDC__
6262 # include <limits.h>
6263 #else
6264 # include <assert.h>
6265 #endif
6266 Syntax error
6267 _ACEOF
6268 if ac_fn_c_try_cpp "$LINENO"; then :
6270 else
6271 # Broken: fails on valid input.
6272 continue
6274 rm -f conftest.err conftest.i conftest.$ac_ext
6276 # OK, works on sane cases. Now check whether nonexistent headers
6277 # can be detected and how.
6278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6280 #include <ac_nonexistent.h>
6281 _ACEOF
6282 if ac_fn_c_try_cpp "$LINENO"; then :
6283 # Broken: success on invalid input.
6284 continue
6285 else
6286 # Passes both tests.
6287 ac_preproc_ok=:
6288 break
6290 rm -f conftest.err conftest.i conftest.$ac_ext
6292 done
6293 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6294 rm -f conftest.i conftest.err conftest.$ac_ext
6295 if $ac_preproc_ok; then :
6297 else
6298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6300 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6301 See \`config.log' for more details" "$LINENO" 5; }
6304 ac_ext=c
6305 ac_cpp='$CPP $CPPFLAGS'
6306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6312 $as_echo_n "checking for ANSI C header files... " >&6; }
6313 if ${ac_cv_header_stdc+:} false; then :
6314 $as_echo_n "(cached) " >&6
6315 else
6316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6318 #include <stdlib.h>
6319 #include <stdarg.h>
6320 #include <string.h>
6321 #include <float.h>
6324 main ()
6328 return 0;
6330 _ACEOF
6331 if ac_fn_c_try_compile "$LINENO"; then :
6332 ac_cv_header_stdc=yes
6333 else
6334 ac_cv_header_stdc=no
6336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6338 if test $ac_cv_header_stdc = yes; then
6339 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6342 #include <string.h>
6344 _ACEOF
6345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6346 $EGREP "memchr" >/dev/null 2>&1; then :
6348 else
6349 ac_cv_header_stdc=no
6351 rm -f conftest*
6355 if test $ac_cv_header_stdc = yes; then
6356 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6358 /* end confdefs.h. */
6359 #include <stdlib.h>
6361 _ACEOF
6362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6363 $EGREP "free" >/dev/null 2>&1; then :
6365 else
6366 ac_cv_header_stdc=no
6368 rm -f conftest*
6372 if test $ac_cv_header_stdc = yes; then
6373 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6374 if test "$cross_compiling" = yes; then :
6376 else
6377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6378 /* end confdefs.h. */
6379 #include <ctype.h>
6380 #include <stdlib.h>
6381 #if ((' ' & 0x0FF) == 0x020)
6382 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6383 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6384 #else
6385 # define ISLOWER(c) \
6386 (('a' <= (c) && (c) <= 'i') \
6387 || ('j' <= (c) && (c) <= 'r') \
6388 || ('s' <= (c) && (c) <= 'z'))
6389 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6390 #endif
6392 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6394 main ()
6396 int i;
6397 for (i = 0; i < 256; i++)
6398 if (XOR (islower (i), ISLOWER (i))
6399 || toupper (i) != TOUPPER (i))
6400 return 2;
6401 return 0;
6403 _ACEOF
6404 if ac_fn_c_try_run "$LINENO"; then :
6406 else
6407 ac_cv_header_stdc=no
6409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6410 conftest.$ac_objext conftest.beam conftest.$ac_ext
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6416 $as_echo "$ac_cv_header_stdc" >&6; }
6417 if test $ac_cv_header_stdc = yes; then
6419 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6423 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6424 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6425 inttypes.h stdint.h unistd.h
6426 do :
6427 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6428 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6430 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6431 cat >>confdefs.h <<_ACEOF
6432 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6433 _ACEOF
6437 done
6440 for ac_header in \
6441 AL/al.h \
6442 ApplicationServices/ApplicationServices.h \
6443 AudioToolbox/AudioConverter.h \
6444 AudioUnit/AudioUnit.h \
6445 AudioUnit/AudioComponent.h \
6446 CL/cl.h \
6447 Carbon/Carbon.h \
6448 CoreAudio/CoreAudio.h \
6449 CoreServices/CoreServices.h \
6450 DiskArbitration/DiskArbitration.h \
6451 IOKit/IOKitLib.h \
6452 IOKit/hid/IOHIDLib.h \
6453 OpenAL/al.h \
6454 OpenCL/opencl.h \
6455 QuickTime/ImageCompression.h \
6456 Security/Security.h \
6457 alias.h \
6458 alsa/asoundlib.h \
6459 arpa/inet.h \
6460 arpa/nameser.h \
6461 asm/types.h \
6462 asm/user.h \
6463 curses.h \
6464 direct.h \
6465 dirent.h \
6466 dlfcn.h \
6467 elf.h \
6468 float.h \
6469 fnmatch.h \
6470 getopt.h \
6471 gettext-po.h \
6472 grp.h \
6473 gsm.h \
6474 gsm/gsm.h \
6475 ieeefp.h \
6476 inet/mib2.h \
6477 io.h \
6478 kstat.h \
6479 lber.h \
6480 ldap.h \
6481 libproc.h \
6482 link.h \
6483 linux/cdrom.h \
6484 linux/compiler.h \
6485 linux/filter.h \
6486 linux/hdreg.h \
6487 linux/input.h \
6488 linux/ioctl.h \
6489 linux/joystick.h \
6490 linux/major.h \
6491 linux/param.h \
6492 linux/serial.h \
6493 linux/types.h \
6494 linux/ucdrom.h \
6495 lwp.h \
6496 mach-o/nlist.h \
6497 mach-o/loader.h \
6498 mach/mach.h \
6499 mach/machine.h \
6500 machine/cpu.h \
6501 machine/limits.h \
6502 machine/sysarch.h \
6503 mntent.h \
6504 ncurses.h \
6505 netdb.h \
6506 netinet/in.h \
6507 netinet/in_systm.h \
6508 netinet/tcp.h \
6509 netinet/tcp_fsm.h \
6510 pcap/pcap.h \
6511 poll.h \
6512 port.h \
6513 process.h \
6514 pthread.h \
6515 pwd.h \
6516 sched.h \
6517 scsi/scsi.h \
6518 scsi/scsi_ioctl.h \
6519 scsi/sg.h \
6520 stdbool.h \
6521 stdint.h \
6522 stropts.h \
6523 sys/asoundlib.h \
6524 sys/attr.h \
6525 sys/cdio.h \
6526 sys/elf32.h \
6527 sys/epoll.h \
6528 sys/event.h \
6529 sys/exec_elf.h \
6530 sys/filio.h \
6531 sys/inotify.h \
6532 sys/ioctl.h \
6533 sys/ipc.h \
6534 sys/limits.h \
6535 sys/link.h \
6536 sys/mman.h \
6537 sys/modem.h \
6538 sys/msg.h \
6539 sys/mtio.h \
6540 sys/param.h \
6541 sys/poll.h \
6542 sys/prctl.h \
6543 sys/protosw.h \
6544 sys/ptrace.h \
6545 sys/queue.h \
6546 sys/resource.h \
6547 sys/scsiio.h \
6548 sys/shm.h \
6549 sys/signal.h \
6550 sys/socket.h \
6551 sys/socketvar.h \
6552 sys/sockio.h \
6553 sys/statvfs.h \
6554 sys/strtio.h \
6555 sys/syscall.h \
6556 sys/tihdr.h \
6557 sys/time.h \
6558 sys/timeout.h \
6559 sys/times.h \
6560 sys/uio.h \
6561 sys/user.h \
6562 sys/utsname.h \
6563 sys/vm86.h \
6564 sys/wait.h \
6565 syscall.h \
6566 termios.h \
6567 unistd.h \
6568 utime.h \
6569 valgrind/memcheck.h \
6570 valgrind/valgrind.h \
6571 zlib.h
6573 do :
6574 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6575 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6576 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6577 cat >>confdefs.h <<_ACEOF
6578 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6579 _ACEOF
6583 done
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6586 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6587 if ${ac_cv_header_stat_broken+:} false; then :
6588 $as_echo_n "(cached) " >&6
6589 else
6590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6591 /* end confdefs.h. */
6592 #include <sys/types.h>
6593 #include <sys/stat.h>
6595 #if defined S_ISBLK && defined S_IFDIR
6596 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6597 #endif
6599 #if defined S_ISBLK && defined S_IFCHR
6600 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6601 #endif
6603 #if defined S_ISLNK && defined S_IFREG
6604 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6605 #endif
6607 #if defined S_ISSOCK && defined S_IFREG
6608 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6609 #endif
6611 _ACEOF
6612 if ac_fn_c_try_compile "$LINENO"; then :
6613 ac_cv_header_stat_broken=no
6614 else
6615 ac_cv_header_stat_broken=yes
6617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6620 $as_echo "$ac_cv_header_stat_broken" >&6; }
6621 if test $ac_cv_header_stat_broken = yes; then
6623 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6629 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6630 do :
6631 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6632 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6633 #ifdef HAVE_SYS_PARAM_H
6634 # include <sys/param.h>
6635 #endif
6637 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6638 cat >>confdefs.h <<_ACEOF
6639 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6640 _ACEOF
6644 done
6647 for ac_header in \
6648 netinet/ip.h \
6649 net/if.h \
6650 net/if_arp.h \
6651 net/if_dl.h \
6652 net/if_types.h \
6653 net/route.h \
6654 netinet/if_ether.h \
6655 netinet/if_inarp.h \
6656 netinet/in_pcb.h \
6657 netinet/ip_icmp.h \
6658 netinet/ip_var.h \
6659 netinet/udp.h \
6660 netipx/ipx.h \
6661 sys/un.h \
6663 do :
6664 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6665 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6666 #ifdef HAVE_SYS_SOCKET_H
6667 # include <sys/socket.h>
6668 #endif
6669 #ifdef HAVE_SYS_SOCKETVAR_H
6670 # include <sys/socketvar.h>
6671 #endif
6672 #ifdef HAVE_NET_ROUTE_H
6673 # include <net/route.h>
6674 #endif
6675 #ifdef HAVE_NETINET_IN_H
6676 # include <netinet/in.h>
6677 #endif
6678 #ifdef HAVE_NETINET_IN_SYSTM_H
6679 # include <netinet/in_systm.h>
6680 #endif
6681 #ifdef HAVE_NET_IF_H
6682 # include <net/if.h>
6683 #endif
6684 #ifdef HAVE_NETINET_IP_H
6685 # include <netinet/ip.h>
6686 #endif
6688 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6689 cat >>confdefs.h <<_ACEOF
6690 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6691 _ACEOF
6695 done
6698 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6699 do :
6700 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6701 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6702 #ifdef HAVE_ALIAS_H
6703 # include <alias.h>
6704 #endif
6705 #ifdef HAVE_SYS_SOCKET_H
6706 # include <sys/socket.h>
6707 #endif
6708 #ifdef HAVE_SYS_SOCKETVAR_H
6709 # include <sys/socketvar.h>
6710 #endif
6711 #ifdef HAVE_SYS_TIMEOUT_H
6712 # include <sys/timeout.h>
6713 #endif
6714 #ifdef HAVE_NETINET_IN_H
6715 # include <netinet/in.h>
6716 #endif
6717 #ifdef HAVE_NETINET_IN_SYSTM_H
6718 # include <netinet/in_systm.h>
6719 #endif
6720 #ifdef HAVE_NETINET_IP_H
6721 # include <netinet/ip.h>
6722 #endif
6723 #ifdef HAVE_NETINET_IP_VAR_H
6724 # include <netinet/ip_var.h>
6725 #endif
6726 #ifdef HAVE_NETINET_IP_ICMP_H
6727 # include <netinet/ip_icmp.h>
6728 #endif
6729 #ifdef HAVE_NETINET_UDP_H
6730 # include <netinet/udp.h>
6731 #endif
6732 #ifdef HAVE_NETINET_TCP_H
6733 # include <netinet/tcp.h>
6734 #endif
6735 #ifdef HAVE_NETINET_TCP_TIMER_H
6736 #include <netinet/tcp_timer.h>
6737 #endif
6739 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6740 cat >>confdefs.h <<_ACEOF
6741 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6742 _ACEOF
6746 done
6749 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6750 do :
6751 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6752 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6753 #ifdef HAVE_ASM_TYPES_H
6754 # include <asm/types.h>
6755 #endif
6756 #ifdef HAVE_SYS_SOCKET_H
6757 # include <sys/socket.h>
6758 #endif
6759 #ifdef HAVE_LINUX_TYPES_H
6760 # include <linux/types.h>
6761 #endif
6763 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6764 cat >>confdefs.h <<_ACEOF
6765 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6766 _ACEOF
6770 done
6773 for ac_header in mach-o/dyld_images.h
6774 do :
6775 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6776 # include <stdbool.h>
6777 #endif
6778 #ifdef HAVE_STDINT_H
6779 # include <stdint.h>
6780 #endif
6782 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6783 cat >>confdefs.h <<_ACEOF
6784 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6785 _ACEOF
6789 done
6792 for ac_header in resolv.h
6793 do :
6794 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6795 #ifdef HAVE_SYS_SOCKET_H
6796 # include <sys/socket.h>
6797 #endif
6798 #ifdef HAVE_NETINET_IN_H
6799 # include <netinet/in.h>
6800 #endif
6801 #ifdef HAVE_ARPA_NAMESER_H
6802 # include <arpa/nameser.h>
6803 #endif
6805 if test "x$ac_cv_header_resolv_h" = xyes; then :
6806 cat >>confdefs.h <<_ACEOF
6807 #define HAVE_RESOLV_H 1
6808 _ACEOF
6812 done
6815 for ac_header in ifaddrs.h
6816 do :
6817 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6819 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6820 cat >>confdefs.h <<_ACEOF
6821 #define HAVE_IFADDRS_H 1
6822 _ACEOF
6826 done
6829 for ac_header in sys/ucontext.h
6830 do :
6831 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6833 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6834 cat >>confdefs.h <<_ACEOF
6835 #define HAVE_SYS_UCONTEXT_H 1
6836 _ACEOF
6840 done
6843 for ac_header in sys/thr.h
6844 do :
6845 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6846 #ifdef HAVE_SYS_UCONTEXT_H
6847 #include <sys/ucontext.h>
6848 #endif
6850 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6851 cat >>confdefs.h <<_ACEOF
6852 #define HAVE_SYS_THR_H 1
6853 _ACEOF
6857 done
6860 for ac_header in pthread_np.h
6861 do :
6862 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6863 #include <pthread.h>
6864 #endif
6866 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6867 cat >>confdefs.h <<_ACEOF
6868 #define HAVE_PTHREAD_NP_H 1
6869 _ACEOF
6873 done
6876 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6877 do :
6878 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6879 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6880 #include <sys/time.h>
6881 #endif
6882 #include <sys/types.h>
6883 #ifdef HAVE_ASM_TYPES_H
6884 #include <asm/types.h>
6885 #endif
6887 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6888 cat >>confdefs.h <<_ACEOF
6889 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6890 _ACEOF
6894 done
6897 for ac_header in libprocstat.h
6898 do :
6899 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6900 #include <sys/param.h>
6901 #endif
6902 #ifdef HAVE_SYS_QUEUE_H
6903 #include <sys/queue.h>
6904 #endif
6905 #ifdef HAVE_SYS_SOCKET_H
6906 #include <sys/socket.h>
6907 #endif
6909 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6910 cat >>confdefs.h <<_ACEOF
6911 #define HAVE_LIBPROCSTAT_H 1
6912 _ACEOF
6916 done
6920 dlldir="\${libdir}/wine"
6922 DLLPREFIX=""
6924 DLLFLAGS="-D_REENTRANT"
6926 LDRPATH_INSTALL=""
6928 LDRPATH_LOCAL=""
6930 LIBEXT="so"
6931 DLLEXT=".so"
6932 IMPLIBEXT="def"
6933 STATIC_IMPLIBEXT="def.a"
6934 # Extract the first word of "ldd", so it can be a program name with args.
6935 set dummy ldd; ac_word=$2
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6937 $as_echo_n "checking for $ac_word... " >&6; }
6938 if ${ac_cv_path_LDD+:} false; then :
6939 $as_echo_n "(cached) " >&6
6940 else
6941 case $LDD in
6942 [\\/]* | ?:[\\/]*)
6943 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6947 as_dummy="/sbin:/usr/sbin:$PATH"
6948 for as_dir in $as_dummy
6950 IFS=$as_save_IFS
6951 test -z "$as_dir" && as_dir=.
6952 for ac_exec_ext in '' $ac_executable_extensions; do
6953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6954 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6956 break 2
6958 done
6959 done
6960 IFS=$as_save_IFS
6962 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6964 esac
6966 LDD=$ac_cv_path_LDD
6967 if test -n "$LDD"; then
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6969 $as_echo "$LDD" >&6; }
6970 else
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6972 $as_echo "no" >&6; }
6976 if test -n "$ac_tool_prefix"; then
6977 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6978 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6980 $as_echo_n "checking for $ac_word... " >&6; }
6981 if ${ac_cv_prog_READELF+:} false; then :
6982 $as_echo_n "(cached) " >&6
6983 else
6984 if test -n "$READELF"; then
6985 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6986 else
6987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6988 for as_dir in $PATH
6990 IFS=$as_save_IFS
6991 test -z "$as_dir" && as_dir=.
6992 for ac_exec_ext in '' $ac_executable_extensions; do
6993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6994 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6996 break 2
6998 done
6999 done
7000 IFS=$as_save_IFS
7004 READELF=$ac_cv_prog_READELF
7005 if test -n "$READELF"; then
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7007 $as_echo "$READELF" >&6; }
7008 else
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7010 $as_echo "no" >&6; }
7015 if test -z "$ac_cv_prog_READELF"; then
7016 ac_ct_READELF=$READELF
7017 # Extract the first word of "readelf", so it can be a program name with args.
7018 set dummy readelf; ac_word=$2
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7020 $as_echo_n "checking for $ac_word... " >&6; }
7021 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7022 $as_echo_n "(cached) " >&6
7023 else
7024 if test -n "$ac_ct_READELF"; then
7025 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7026 else
7027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7028 for as_dir in $PATH
7030 IFS=$as_save_IFS
7031 test -z "$as_dir" && as_dir=.
7032 for ac_exec_ext in '' $ac_executable_extensions; do
7033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7034 ac_cv_prog_ac_ct_READELF="readelf"
7035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7036 break 2
7038 done
7039 done
7040 IFS=$as_save_IFS
7044 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7045 if test -n "$ac_ct_READELF"; then
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7047 $as_echo "$ac_ct_READELF" >&6; }
7048 else
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7050 $as_echo "no" >&6; }
7053 if test "x$ac_ct_READELF" = x; then
7054 READELF="true"
7055 else
7056 case $cross_compiling:$ac_tool_warned in
7057 yes:)
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7060 ac_tool_warned=yes ;;
7061 esac
7062 READELF=$ac_ct_READELF
7064 else
7065 READELF="$ac_cv_prog_READELF"
7068 wine_rules_file=conf$$rules.make
7069 rm -f $wine_rules_file
7070 ALL_POT_FILES=""
7071 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7072 ALL_TEST_RESOURCES=""
7075 wine_fn_append_file ()
7077 as_fn_append $1 " \\$as_nl $2"
7080 wine_fn_ignore_file ()
7082 case "$1" in
7083 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7084 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7085 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7086 esac
7089 wine_fn_append_rule ()
7091 $as_echo "$1" >>$wine_rules_file
7094 wine_fn_has_flag ()
7096 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7099 wine_fn_depend_rules ()
7101 wine_fn_append_rule \
7102 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7103 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7104 depend: $ac_dir/depend
7105 .PHONY: $ac_dir/depend
7106 $ac_dir/depend: \$(MAKEDEP) dummy
7107 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7110 wine_fn_pot_rules ()
7112 test "x$with_gettextpo" = xyes || return
7114 if wine_fn_has_flag mc
7115 then
7116 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7117 wine_fn_append_rule \
7118 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7119 @cd $ac_dir && \$(MAKE) msg.pot
7120 $ac_dir/msg.pot: tools/wmc include"
7122 if wine_fn_has_flag po
7123 then
7124 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7125 wine_fn_append_rule \
7126 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7127 @cd $ac_dir && \$(MAKE) rsrc.pot
7128 $ac_dir/rsrc.pot: tools/wrc include"
7132 wine_fn_all_rules ()
7134 wine_fn_depend_rules
7135 wine_fn_append_rule \
7136 "all: $ac_dir
7137 .PHONY: $ac_dir
7138 $ac_dir: $ac_dir/Makefile dummy
7139 @cd $ac_dir && \$(MAKE)"
7142 wine_fn_install_rules ()
7144 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7146 wine_fn_append_rule \
7147 ".PHONY: $ac_dir/install $ac_dir/uninstall
7148 $ac_dir/install:: $ac_dir
7149 @cd $ac_dir && \$(MAKE) install
7150 $ac_dir/uninstall:: $ac_dir/Makefile
7151 @cd $ac_dir && \$(MAKE) uninstall
7152 install:: $ac_dir/install
7153 __uninstall__: $ac_dir/uninstall"
7155 if wine_fn_has_flag install-lib
7156 then
7157 wine_fn_append_rule \
7158 ".PHONY: $ac_dir/install-lib
7159 $ac_dir/install-lib:: $ac_dir
7160 @cd $ac_dir && \$(MAKE) install-lib
7161 install-lib:: $ac_dir/install-lib"
7164 if wine_fn_has_flag install-dev
7165 then
7166 wine_fn_append_rule \
7167 ".PHONY: $ac_dir/install-dev
7168 $ac_dir/install-dev:: $ac_dir
7169 @cd $ac_dir && \$(MAKE) install-dev
7170 install-dev:: $ac_dir/install-dev"
7174 wine_fn_clean_rules ()
7176 ac_clean=$@
7177 ac_extraclean="$ac_dir/Makefile"
7178 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7179 case $ac_dir in
7180 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7181 esac
7183 if wine_fn_has_flag clean
7184 then
7185 wine_fn_append_rule \
7186 "__clean__: $ac_dir/clean
7187 .PHONY: $ac_dir/clean
7188 $ac_dir/clean: $ac_dir/Makefile
7189 @cd $ac_dir && \$(MAKE) clean
7190 \$(RM) $ac_extraclean"
7191 else
7192 wine_fn_append_rule \
7193 "__clean__: $ac_dir/clean
7194 .PHONY: $ac_dir/clean
7195 $ac_dir/clean: dummy
7196 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7200 wine_fn_disabled_rules ()
7202 ac_clean=$@
7203 ac_extraclean="$ac_dir/Makefile"
7204 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7206 wine_fn_append_rule \
7207 "__clean__: $ac_dir/clean
7208 .PHONY: $ac_dir/clean
7209 $ac_dir/clean: dummy
7210 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7213 wine_fn_config_makefile ()
7215 ac_dir=$1
7216 ac_enable=$2
7217 ac_flags=$3
7219 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7220 wine_fn_disabled_rules; return
7222 wine_fn_all_rules
7223 wine_fn_install_rules
7224 wine_fn_clean_rules
7227 wine_fn_config_lib ()
7229 ac_name=$1
7230 ac_flags=$2
7231 ac_dir=dlls/$ac_name
7232 ac_deps="include"
7234 if test "x$enable_tools" = xno; then :
7236 else
7237 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7239 wine_fn_all_rules
7240 wine_fn_clean_rules
7242 wine_fn_append_rule \
7243 ".PHONY: $ac_dir/install $ac_dir/uninstall
7244 $ac_dir/install:: $ac_dir
7245 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7246 $ac_dir/uninstall::
7247 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7248 install install-dev:: $ac_dir/install
7249 __uninstall__: $ac_dir/uninstall
7250 __builddeps__: $ac_dir
7251 $ac_dir: $ac_deps"
7254 wine_fn_config_dll ()
7256 ac_name=$1
7257 ac_dir=dlls/$ac_name
7258 ac_enable=$2
7259 ac_flags=$3
7260 ac_implib=${4:-$ac_name}
7261 ac_file=$ac_dir/lib$ac_implib
7262 ac_dll=$ac_name
7263 ac_deps="include"
7264 ac_implibflags=""
7266 if test "x$enable_tools" = xno; then :
7268 else
7269 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7271 case $ac_name in
7272 *16) ac_implibflags=" -m16" ;;
7273 *.*) ;;
7274 *) ac_dll=$ac_dll.dll ;;
7275 esac
7277 ac_clean=
7278 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7279 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7280 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7281 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7283 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7284 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7285 then
7286 wine_fn_depend_rules
7287 wine_fn_clean_rules $ac_clean
7288 else
7289 wine_fn_disabled_rules $ac_clean
7290 return
7292 else
7293 wine_fn_all_rules
7294 wine_fn_clean_rules $ac_clean
7295 wine_fn_append_rule \
7296 "$ac_dir: __builddeps__
7297 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7298 @cd $ac_dir && \$(MAKE) \$@
7299 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7300 install install-lib:: $ac_dir/install-lib
7301 __uninstall__: $ac_dir/uninstall"
7302 if test -n "$DLLEXT"
7303 then
7304 wine_fn_append_rule \
7305 "$ac_dir/install-lib:: $ac_dir
7306 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7307 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7308 $ac_dir/uninstall::
7309 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7310 else
7311 wine_fn_append_rule \
7312 "$ac_dir/install-lib:: $ac_dir
7313 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7314 $ac_dir/uninstall::
7315 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7318 wine_fn_pot_rules
7321 if wine_fn_has_flag staticimplib
7322 then
7323 wine_fn_append_rule \
7324 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7325 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7326 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7327 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7328 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7329 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7330 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7331 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7332 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7333 $ac_dir/uninstall::
7334 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7335 install install-dev:: $ac_dir/install-dev
7336 __uninstall__: $ac_dir/uninstall"
7338 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7339 then
7340 wine_fn_append_rule \
7341 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7342 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7343 $ac_dir/uninstall::
7344 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7347 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7348 then
7349 wine_fn_append_rule \
7350 "__builddeps__: $ac_file.cross.a
7351 $ac_file.cross.a: $ac_dir/Makefile dummy
7352 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7355 elif wine_fn_has_flag implib
7356 then
7357 wine_fn_append_rule \
7358 "__builddeps__: $ac_file.$IMPLIBEXT
7359 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7360 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7361 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7362 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7363 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7364 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7365 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7366 $ac_dir/uninstall::
7367 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7368 install install-dev:: $ac_dir/install-dev
7369 __uninstall__: $ac_dir/uninstall"
7370 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7371 then
7372 wine_fn_append_rule \
7373 "__builddeps__: $ac_file.cross.a
7374 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7375 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7378 if test "$ac_name" != "$ac_implib"
7379 then
7380 wine_fn_append_rule \
7381 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7382 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7383 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7384 clean::
7385 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7386 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7387 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7388 then
7389 wine_fn_append_rule \
7390 "__builddeps__: dlls/lib$ac_implib.cross.a
7391 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7392 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7393 clean::
7394 \$(RM) dlls/lib$ac_implib.cross.a"
7395 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7401 wine_fn_config_program ()
7403 ac_name=$1
7404 ac_dir=programs/$ac_name
7405 ac_enable=$2
7406 ac_flags=$3
7407 ac_program=$ac_name
7409 case $ac_name in
7410 *.*) ;;
7411 *) ac_program=$ac_program.exe ;;
7412 esac
7414 ac_clean=
7415 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7416 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7417 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7418 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7420 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7421 wine_fn_disabled_rules $ac_clean; return
7424 wine_fn_all_rules
7425 wine_fn_clean_rules $ac_clean
7426 wine_fn_append_rule "$ac_dir: __builddeps__"
7427 wine_fn_pot_rules
7429 wine_fn_has_flag install || return
7430 wine_fn_append_rule \
7431 ".PHONY: $ac_dir/install $ac_dir/uninstall
7432 install install-lib:: $ac_dir/install
7433 __uninstall__: $ac_dir/uninstall"
7435 if test -n "$DLLEXT"
7436 then
7437 wine_fn_append_rule \
7438 "$ac_dir/install:: $ac_dir
7439 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7440 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7441 $ac_dir/uninstall::
7442 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7444 if test -z "$with_wine64" && wine_fn_has_flag installbin
7445 then
7446 wine_fn_append_rule \
7447 "$ac_dir/install:: __tooldeps__
7448 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7449 $ac_dir/uninstall::
7450 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7452 else
7453 wine_fn_append_rule \
7454 "$ac_dir/install:: $ac_dir
7455 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7456 $ac_dir/uninstall::
7457 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7460 if test -z "$with_wine64" && wine_fn_has_flag manpage
7461 then
7462 wine_fn_append_rule \
7463 "$ac_dir/install:: $ac_dir
7464 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7465 $ac_dir/uninstall::
7466 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7470 wine_fn_config_test ()
7472 ac_dir=$1
7473 ac_name=$2
7474 ac_flags=$3
7476 ac_clean=
7477 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7478 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7480 if test "x$enable_tests" = xno; then :
7481 wine_fn_disabled_rules $ac_clean; return
7484 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7485 wine_fn_all_rules
7486 wine_fn_clean_rules $ac_clean
7488 wine_fn_append_rule \
7489 "$ac_dir: programs/winetest/Makefile __builddeps__
7490 programs/winetest: $ac_dir
7491 check test: $ac_dir/test
7492 .PHONY: $ac_dir/test
7493 $ac_dir/test: dummy
7494 @cd $ac_dir && \$(MAKE) test
7495 testclean::
7496 \$(RM) $ac_dir/*.ok"
7498 if test -n "$CROSSTARGET"
7499 then
7500 wine_fn_append_rule \
7501 "crosstest: $ac_dir/crosstest
7502 .PHONY: $ac_dir/crosstest
7503 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7504 @cd $ac_dir && \$(MAKE) crosstest"
7508 wine_fn_config_tool ()
7510 ac_dir=$1
7511 ac_flags=$2
7512 if test "x$enable_tools" = xno; then :
7513 return
7516 wine_fn_all_rules
7517 wine_fn_install_rules
7518 wine_fn_clean_rules
7520 wine_fn_append_rule "__tooldeps__: $ac_dir"
7521 wine_fn_append_rule "$ac_dir: libs/port"
7522 case $ac_dir in
7523 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7524 esac
7527 wine_fn_config_symlink ()
7529 ac_linkdir=
7530 if test "x$1" = "x-d"
7531 then
7532 ac_linkdir=$2
7533 shift; shift
7535 ac_links=$@
7536 wine_fn_append_rule \
7537 "$ac_links:
7538 @./config.status \$@
7539 distclean::
7540 \$(RM) $ac_links"
7541 for f in $ac_links; do wine_fn_ignore_file $f; done
7542 test -n "$ac_linkdir" || return
7543 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7546 wine_binary="wine"
7547 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7548 loader_programs="$wine_binary wine-installed"
7549 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7551 LOADER_RULES="
7552 all: wine.inf
7554 install install-lib:: wine-installed
7555 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7557 uninstall::
7558 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7562 case $host_os in
7563 cygwin*|mingw32*)
7564 if test -n "$ac_tool_prefix"; then
7565 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7566 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7568 $as_echo_n "checking for $ac_word... " >&6; }
7569 if ${ac_cv_prog_DLLTOOL+:} false; then :
7570 $as_echo_n "(cached) " >&6
7571 else
7572 if test -n "$DLLTOOL"; then
7573 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7574 else
7575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7576 for as_dir in $PATH
7578 IFS=$as_save_IFS
7579 test -z "$as_dir" && as_dir=.
7580 for ac_exec_ext in '' $ac_executable_extensions; do
7581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7582 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7584 break 2
7586 done
7587 done
7588 IFS=$as_save_IFS
7592 DLLTOOL=$ac_cv_prog_DLLTOOL
7593 if test -n "$DLLTOOL"; then
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7595 $as_echo "$DLLTOOL" >&6; }
7596 else
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7598 $as_echo "no" >&6; }
7603 if test -z "$ac_cv_prog_DLLTOOL"; then
7604 ac_ct_DLLTOOL=$DLLTOOL
7605 # Extract the first word of "dlltool", so it can be a program name with args.
7606 set dummy dlltool; ac_word=$2
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7608 $as_echo_n "checking for $ac_word... " >&6; }
7609 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7610 $as_echo_n "(cached) " >&6
7611 else
7612 if test -n "$ac_ct_DLLTOOL"; then
7613 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7614 else
7615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7616 for as_dir in $PATH
7618 IFS=$as_save_IFS
7619 test -z "$as_dir" && as_dir=.
7620 for ac_exec_ext in '' $ac_executable_extensions; do
7621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7622 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7624 break 2
7626 done
7627 done
7628 IFS=$as_save_IFS
7632 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7633 if test -n "$ac_ct_DLLTOOL"; then
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7635 $as_echo "$ac_ct_DLLTOOL" >&6; }
7636 else
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7638 $as_echo "no" >&6; }
7641 if test "x$ac_ct_DLLTOOL" = x; then
7642 DLLTOOL="false"
7643 else
7644 case $cross_compiling:$ac_tool_warned in
7645 yes:)
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7648 ac_tool_warned=yes ;;
7649 esac
7650 DLLTOOL=$ac_ct_DLLTOOL
7652 else
7653 DLLTOOL="$ac_cv_prog_DLLTOOL"
7656 LIBEXT="dll"
7657 DLLEXT=""
7658 IMPLIBEXT="a"
7659 STATIC_IMPLIBEXT="a"
7660 enable_iphlpapi=${enable_iphlpapi:-no}
7661 enable_kernel32=${enable_kernel32:-no}
7662 enable_msvcrt=${enable_msvcrt:-no}
7663 enable_ntdll=${enable_ntdll:-no}
7664 enable_ws2_32=${enable_ws2_32:-no}
7665 enable_loader=${enable_loader:-no}
7666 enable_server=${enable_server:-no}
7667 with_x=${with_x:-no}
7668 with_pthread=${with_pthread:-no}
7670 crtlibs=""
7671 case $host_os in
7672 mingw32*)
7673 crtlibs="-lmsvcrt"
7674 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7676 esac
7678 libwine_targets="libwine.dll libwine.a"
7679 LIBWINE_RULES="
7680 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7682 all: libwine.dll libwine.a
7684 libwine.a: \$(srcdir)/wine.def
7685 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7687 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7688 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7690 install install-lib:: libwine.dll
7691 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7693 install install-dev:: libwine.a
7694 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7696 uninstall::
7697 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7702 darwin*|macosx*)
7703 LIBEXT="dylib"
7704 DLLFLAGS="$DLLFLAGS -fPIC"
7705 LIBWINE_LDFLAGS="-multiply_defined suppress"
7706 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7707 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7708 COREFOUNDATION_LIBS="-framework CoreFoundation"
7710 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7712 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7714 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7716 CORESERVICES_LIBS="-framework CoreServices"
7718 APPKIT_LIBS="-framework AppKit"
7720 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7721 case $host_os in
7722 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7723 esac
7724 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7725 then
7726 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7729 if test "$ac_cv_header_Security_Security_h" = "yes"
7730 then
7731 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7733 ac_save_LIBS="$LIBS"
7734 LIBS="$LIBS $SECURITY_LIBS"
7735 for ac_func in SSLCopyPeerCertificates
7736 do :
7737 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7738 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7739 cat >>confdefs.h <<_ACEOF
7740 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7741 _ACEOF
7744 done
7746 LIBS="$ac_save_LIBS"
7747 with_gnutls=${with_gnutls:-no}
7749 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7750 then
7751 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7752 then
7753 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7755 else
7756 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7759 ac_save_LIBS="$LIBS"
7760 LIBS="$LIBS $COREAUDIO_LIBS"
7761 for ac_func in AUGraphAddNode
7762 do :
7763 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7764 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7765 cat >>confdefs.h <<_ACEOF
7766 #define HAVE_AUGRAPHADDNODE 1
7767 _ACEOF
7770 done
7772 LIBS="$ac_save_LIBS"
7774 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7775 then
7776 OPENAL_LIBS="-framework OpenAL"
7779 cat >>confdefs.h <<_ACEOF
7780 #define HAVE_OPENAL 1
7781 _ACEOF
7783 ac_cv_lib_openal=yes
7785 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7786 then
7787 OPENCL_LIBS="-framework OpenCL"
7789 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7791 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7792 then
7793 ac_save_LIBS="$LIBS"
7794 LIBS="$LIBS $IOKIT_LIBS"
7795 for ac_func in IOHIDManagerCreate
7796 do :
7797 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7798 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7799 cat >>confdefs.h <<_ACEOF
7800 #define HAVE_IOHIDMANAGERCREATE 1
7801 _ACEOF
7804 done
7806 LIBS="$ac_save_LIBS"
7808 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7809 then
7810 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7812 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7813 else
7814 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7816 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7817 then
7818 CARBON_LIBS="-framework Carbon"
7822 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7823 then
7824 ac_save_LIBS="$LIBS"
7825 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7826 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7827 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7828 enable_winemac_drv=${enable_winemac_drv:-yes}
7831 LIBS="$ac_save_LIBS"
7834 if test "x$enable_win16" = "xyes"
7835 then
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7837 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7838 if test "$cross_compiling" = yes; then :
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7840 $as_echo "cross-compiling, assuming yes" >&6; }
7841 else
7842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7843 /* end confdefs.h. */
7844 asm(".text\n"
7845 "bad:\tnop;nop\n"
7846 "good:\tnop;nop\n\t"
7847 ".globl _testfunc\n"
7848 "_testfunc:\tcallw good");
7849 extern void testfunc();
7851 main ()
7853 unsigned short *p = (unsigned short *)testfunc;
7854 return p[0] != 0xe866 || p[1] != 0xfffa
7856 return 0;
7858 _ACEOF
7859 if ac_fn_c_try_run "$LINENO"; then :
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7861 $as_echo "yes" >&6; }
7862 else
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7864 $as_echo "no" >&6; }
7865 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
7867 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7868 conftest.$ac_objext conftest.beam conftest.$ac_ext
7873 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7874 LIBWINE_RULES="
7875 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7877 all: libwine.dylib
7879 libwine.$libwine_version.dylib: \$(OBJS)
7880 \$(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 \$@
7882 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7883 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7885 libwine.dylib: libwine.$libwine_soversion.dylib
7886 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7888 install install-lib:: libwine.$libwine_version.dylib
7889 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7890 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7892 install install-dev::
7893 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7895 uninstall::
7896 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7900 as_fn_append LOADER_RULES "
7901 $wine_binary: main.o wine_info.plist
7902 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7904 wine-installed: main.o wine_info.plist
7905 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7909 linux-android*)
7910 DLLFLAGS="$DLLFLAGS -fPIC"
7911 DLLPREFIX="lib"
7912 LDEXECFLAGS=""
7913 dlldir="\${libdir}"
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7915 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7916 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7917 $as_echo_n "(cached) " >&6
7918 else
7919 ac_wine_try_cflags_saved=$CFLAGS
7920 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7922 /* end confdefs.h. */
7923 int main(int argc, char **argv) { return 0; }
7924 _ACEOF
7925 if ac_fn_c_try_link "$LINENO"; then :
7926 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7927 else
7928 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7930 rm -f core conftest.err conftest.$ac_objext \
7931 conftest$ac_exeext conftest.$ac_ext
7932 CFLAGS=$ac_wine_try_cflags_saved
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7935 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7936 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7937 LDEXECFLAGS="-Wl,--export-dynamic"
7939 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7941 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7942 if eval \${$as_ac_var+:} false; then :
7943 $as_echo_n "(cached) " >&6
7944 else
7945 ac_wine_try_cflags_saved=$CFLAGS
7946 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7948 /* end confdefs.h. */
7949 int main(int argc, char **argv) { return 0; }
7950 _ACEOF
7951 if ac_fn_c_try_link "$LINENO"; then :
7952 eval "$as_ac_var=yes"
7953 else
7954 eval "$as_ac_var=no"
7956 rm -f core conftest.err conftest.$ac_objext \
7957 conftest$ac_exeext conftest.$ac_ext
7958 CFLAGS=$ac_wine_try_cflags_saved
7960 eval ac_res=\$$as_ac_var
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7962 $as_echo "$ac_res" >&6; }
7963 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7964 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7965 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7966 else
7967 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7969 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$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,-R,\$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,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7993 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7998 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7999 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8000 $as_echo_n "(cached) " >&6
8001 else
8002 ac_wine_try_cflags_saved=$CFLAGS
8003 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8005 /* end confdefs.h. */
8006 int main(int argc, char **argv) { return 0; }
8007 _ACEOF
8008 if ac_fn_c_try_link "$LINENO"; then :
8009 ac_cv_cflags__Wl___enable_new_dtags=yes
8010 else
8011 ac_cv_cflags__Wl___enable_new_dtags=no
8013 rm -f core conftest.err conftest.$ac_objext \
8014 conftest$ac_exeext conftest.$ac_ext
8015 CFLAGS=$ac_wine_try_cflags_saved
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8018 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8019 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8020 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8023 case $host_cpu in
8024 *i[3456789]86* | x86_64)
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8026 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8027 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8028 $as_echo_n "(cached) " >&6
8029 else
8030 ac_wine_try_cflags_saved=$CFLAGS
8031 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
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___section_start__interp_0x7bf00400=yes
8038 else
8039 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=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___section_start__interp_0x7bf00400" >&5
8046 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8047 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8048 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8051 esac
8053 libwine_targets="libwine.so"
8054 LIBWINE_RULES="
8055 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8057 all: libwine.so
8059 libwine.so: \$(OBJS)
8060 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8062 install install-lib:: libwine.so
8063 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8065 uninstall::
8066 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8070 as_fn_append LOADER_RULES "
8071 $wine_binary: main.o
8072 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8074 wine-installed: main.o
8075 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8080 DLLFLAGS="$DLLFLAGS -fPIC"
8081 LDEXECFLAGS=""
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8083 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8084 if ${ac_cv_c_dll_gnuelf+:} false; then :
8085 $as_echo_n "(cached) " >&6
8086 else
8087 ac_wine_try_cflags_saved=$CFLAGS
8088 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8090 /* end confdefs.h. */
8091 void myfunc() {}
8092 _ACEOF
8093 if ac_fn_c_try_link "$LINENO"; then :
8094 ac_cv_c_dll_gnuelf="yes"
8095 else
8096 ac_cv_c_dll_gnuelf="no"
8098 rm -f core conftest.err conftest.$ac_objext \
8099 conftest$ac_exeext conftest.$ac_ext
8100 CFLAGS=$ac_wine_try_cflags_saved
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8103 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8104 if test "$ac_cv_c_dll_gnuelf" = "yes"
8105 then
8106 LDSHARED="\$(CC) -shared"
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8108 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8109 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8110 $as_echo_n "(cached) " >&6
8111 else
8112 ac_wine_try_cflags_saved=$CFLAGS
8113 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8115 /* end confdefs.h. */
8116 int main(int argc, char **argv) { return 0; }
8117 _ACEOF
8118 if ac_fn_c_try_link "$LINENO"; then :
8119 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8120 else
8121 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8123 rm -f core conftest.err conftest.$ac_objext \
8124 conftest$ac_exeext conftest.$ac_ext
8125 CFLAGS=$ac_wine_try_cflags_saved
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8128 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8129 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8130 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8131 else
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8133 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8134 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8135 $as_echo_n "(cached) " >&6
8136 else
8137 ac_wine_try_cflags_saved=$CFLAGS
8138 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8140 /* end confdefs.h. */
8141 int main(int argc, char **argv) { return 0; }
8142 _ACEOF
8143 if ac_fn_c_try_link "$LINENO"; then :
8144 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8145 else
8146 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8148 rm -f core conftest.err conftest.$ac_objext \
8149 conftest$ac_exeext conftest.$ac_ext
8150 CFLAGS=$ac_wine_try_cflags_saved
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8153 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8154 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8155 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8159 echo '{ global: *; };' >conftest.map
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8161 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8162 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8163 $as_echo_n "(cached) " >&6
8164 else
8165 ac_wine_try_cflags_saved=$CFLAGS
8166 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
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___version_script_conftest_map=yes
8173 else
8174 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=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___version_script_conftest_map" >&5
8181 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8182 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8183 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8185 rm -f conftest.map
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8188 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8189 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8190 $as_echo_n "(cached) " >&6
8191 else
8192 ac_wine_try_cflags_saved=$CFLAGS
8193 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8195 /* end confdefs.h. */
8196 int main(int argc, char **argv) { return 0; }
8197 _ACEOF
8198 if ac_fn_c_try_link "$LINENO"; then :
8199 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8200 else
8201 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8203 rm -f core conftest.err conftest.$ac_objext \
8204 conftest$ac_exeext conftest.$ac_ext
8205 CFLAGS=$ac_wine_try_cflags_saved
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8208 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8209 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8210 LDEXECFLAGS="-Wl,--export-dynamic"
8213 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8215 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8216 if eval \${$as_ac_var+:} false; then :
8217 $as_echo_n "(cached) " >&6
8218 else
8219 ac_wine_try_cflags_saved=$CFLAGS
8220 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8222 /* end confdefs.h. */
8223 int main(int argc, char **argv) { return 0; }
8224 _ACEOF
8225 if ac_fn_c_try_link "$LINENO"; then :
8226 eval "$as_ac_var=yes"
8227 else
8228 eval "$as_ac_var=no"
8230 rm -f core conftest.err conftest.$ac_objext \
8231 conftest$ac_exeext conftest.$ac_ext
8232 CFLAGS=$ac_wine_try_cflags_saved
8234 eval ac_res=\$$as_ac_var
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8236 $as_echo "$ac_res" >&6; }
8237 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8238 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8239 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8240 else
8241 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8243 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$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,-R,\$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,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8267 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8272 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8273 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8274 $as_echo_n "(cached) " >&6
8275 else
8276 ac_wine_try_cflags_saved=$CFLAGS
8277 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8279 /* end confdefs.h. */
8280 int main(int argc, char **argv) { return 0; }
8281 _ACEOF
8282 if ac_fn_c_try_link "$LINENO"; then :
8283 ac_cv_cflags__Wl___enable_new_dtags=yes
8284 else
8285 ac_cv_cflags__Wl___enable_new_dtags=no
8287 rm -f core conftest.err conftest.$ac_objext \
8288 conftest$ac_exeext conftest.$ac_ext
8289 CFLAGS=$ac_wine_try_cflags_saved
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8292 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8293 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8294 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8297 case $host_cpu in
8298 *i[3456789]86* | x86_64)
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8300 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8301 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8302 $as_echo_n "(cached) " >&6
8303 else
8304 ac_wine_try_cflags_saved=$CFLAGS
8305 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
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___section_start__interp_0x7bf00400=yes
8312 else
8313 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=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___section_start__interp_0x7bf00400" >&5
8320 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8321 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8322 case $host_os in
8323 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8324 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8325 esac
8328 # Extract the first word of "prelink", so it can be a program name with args.
8329 set dummy prelink; ac_word=$2
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8331 $as_echo_n "checking for $ac_word... " >&6; }
8332 if ${ac_cv_path_PRELINK+:} false; then :
8333 $as_echo_n "(cached) " >&6
8334 else
8335 case $PRELINK in
8336 [\\/]* | ?:[\\/]*)
8337 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8341 for as_dir in /sbin /usr/sbin $PATH
8343 IFS=$as_save_IFS
8344 test -z "$as_dir" && as_dir=.
8345 for ac_exec_ext in '' $ac_executable_extensions; do
8346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8347 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8349 break 2
8351 done
8352 done
8353 IFS=$as_save_IFS
8355 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8357 esac
8359 PRELINK=$ac_cv_path_PRELINK
8360 if test -n "$PRELINK"; then
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8362 $as_echo "$PRELINK" >&6; }
8363 else
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8365 $as_echo "no" >&6; }
8369 if test "x$PRELINK" = xfalse
8370 then
8371 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8374 esac
8376 else
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8378 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8379 if ${ac_cv_c_dll_unixware+:} false; then :
8380 $as_echo_n "(cached) " >&6
8381 else
8382 ac_wine_try_cflags_saved=$CFLAGS
8383 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8385 /* end confdefs.h. */
8386 void myfunc() {}
8387 _ACEOF
8388 if ac_fn_c_try_link "$LINENO"; then :
8389 ac_cv_c_dll_unixware="yes"
8390 else
8391 ac_cv_c_dll_unixware="no"
8393 rm -f core conftest.err conftest.$ac_objext \
8394 conftest$ac_exeext conftest.$ac_ext
8395 CFLAGS=$ac_wine_try_cflags_saved
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8398 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8399 if test "$ac_cv_c_dll_unixware" = "yes"
8400 then
8401 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8404 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8405 LIBWINE_RULES="
8406 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8408 all: libwine.so
8410 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8411 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8413 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8414 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8416 libwine.so: libwine.so.$libwine_soversion
8417 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8419 install install-lib:: libwine.so.$libwine_version
8420 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8421 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8423 install install-dev::
8424 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8426 uninstall::
8427 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8431 as_fn_append LOADER_RULES "
8432 $wine_binary: main.o
8433 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8435 wine-installed: main.o
8436 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8439 esac
8441 as_fn_append LIBWINE_RULES "
8442 EXTRA_TARGETS = $libwine_targets
8445 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8446 enable_winemac_drv=${enable_winemac_drv:-no}
8448 CROSSTARGET=""
8450 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8451 then
8452 case "$host_cpu" in
8453 i[3456789]86*)
8454 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
8455 mingw32-gcc" ;;
8456 x86_64)
8457 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 " ;;
8459 ac_prefix_list="" ;;
8460 esac
8461 for ac_prog in $ac_prefix_list
8463 # Extract the first word of "$ac_prog", so it can be a program name with args.
8464 set dummy $ac_prog; ac_word=$2
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8466 $as_echo_n "checking for $ac_word... " >&6; }
8467 if ${ac_cv_prog_CROSSCC+:} false; then :
8468 $as_echo_n "(cached) " >&6
8469 else
8470 if test -n "$CROSSCC"; then
8471 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8472 else
8473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8474 for as_dir in $PATH
8476 IFS=$as_save_IFS
8477 test -z "$as_dir" && as_dir=.
8478 for ac_exec_ext in '' $ac_executable_extensions; do
8479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8480 ac_cv_prog_CROSSCC="$ac_prog"
8481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8482 break 2
8484 done
8485 done
8486 IFS=$as_save_IFS
8490 CROSSCC=$ac_cv_prog_CROSSCC
8491 if test -n "$CROSSCC"; then
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8493 $as_echo "$CROSSCC" >&6; }
8494 else
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8496 $as_echo "no" >&6; }
8500 test -n "$CROSSCC" && break
8501 done
8502 test -n "$CROSSCC" || CROSSCC="false"
8504 if test "$CROSSCC" != "false"
8505 then
8506 ac_save_CC="$CC"
8507 CC="$CROSSCC"
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8509 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8514 main ()
8518 return 0;
8520 _ACEOF
8521 if ac_fn_c_try_compile "$LINENO"; then :
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8523 $as_echo "yes" >&6; }
8524 set x $CROSSCC
8525 shift
8526 while test $# -ge 1
8528 case "$1" in
8529 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8530 esac
8531 shift
8532 done
8533 else
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8535 $as_echo "no" >&6; }
8537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8538 CC="$ac_save_CC"
8543 if test "$ac_cv_header_pthread_h" = "yes"
8544 then
8545 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8546 if test "x$ac_cv_func_pthread_create" = xyes; then :
8548 else
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8550 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8551 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8552 $as_echo_n "(cached) " >&6
8553 else
8554 ac_check_lib_save_LIBS=$LIBS
8555 LIBS="-lpthread $LIBS"
8556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8559 /* Override any GCC internal prototype to avoid an error.
8560 Use char because int might match the return type of a GCC
8561 builtin and then its argument prototype would still apply. */
8562 #ifdef __cplusplus
8563 extern "C"
8564 #endif
8565 char pthread_create ();
8567 main ()
8569 return pthread_create ();
8571 return 0;
8573 _ACEOF
8574 if ac_fn_c_try_link "$LINENO"; then :
8575 ac_cv_lib_pthread_pthread_create=yes
8576 else
8577 ac_cv_lib_pthread_pthread_create=no
8579 rm -f core conftest.err conftest.$ac_objext \
8580 conftest$ac_exeext conftest.$ac_ext
8581 LIBS=$ac_check_lib_save_LIBS
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8584 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8585 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8586 PTHREAD_LIBS="-lpthread"
8593 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8594 case "x$with_pthread" in
8595 xno) ;;
8596 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8597 Wine cannot support threads without libpthread.
8598 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8599 esac
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8604 $as_echo_n "checking for X... " >&6; }
8607 # Check whether --with-x was given.
8608 if test "${with_x+set}" = set; then :
8609 withval=$with_x;
8612 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8613 if test "x$with_x" = xno; then
8614 # The user explicitly disabled X.
8615 have_x=disabled
8616 else
8617 case $x_includes,$x_libraries in #(
8618 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8619 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8620 $as_echo_n "(cached) " >&6
8621 else
8622 # One or both of the vars are not set, and there is no cached value.
8623 ac_x_includes=no ac_x_libraries=no
8624 rm -f -r conftest.dir
8625 if mkdir conftest.dir; then
8626 cd conftest.dir
8627 cat >Imakefile <<'_ACEOF'
8628 incroot:
8629 @echo incroot='${INCROOT}'
8630 usrlibdir:
8631 @echo usrlibdir='${USRLIBDIR}'
8632 libdir:
8633 @echo libdir='${LIBDIR}'
8634 _ACEOF
8635 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8636 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8637 for ac_var in incroot usrlibdir libdir; do
8638 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8639 done
8640 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8641 for ac_extension in a so sl dylib la dll; do
8642 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8643 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8644 ac_im_usrlibdir=$ac_im_libdir; break
8646 done
8647 # Screen out bogus values from the imake configuration. They are
8648 # bogus both because they are the default anyway, and because
8649 # using them would break gcc on systems where it needs fixed includes.
8650 case $ac_im_incroot in
8651 /usr/include) ac_x_includes= ;;
8652 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8653 esac
8654 case $ac_im_usrlibdir in
8655 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8656 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8657 esac
8659 cd ..
8660 rm -f -r conftest.dir
8663 # Standard set of common directories for X headers.
8664 # Check X11 before X11Rn because it is often a symlink to the current release.
8665 ac_x_header_dirs='
8666 /usr/X11/include
8667 /usr/X11R7/include
8668 /usr/X11R6/include
8669 /usr/X11R5/include
8670 /usr/X11R4/include
8672 /usr/include/X11
8673 /usr/include/X11R7
8674 /usr/include/X11R6
8675 /usr/include/X11R5
8676 /usr/include/X11R4
8678 /usr/local/X11/include
8679 /usr/local/X11R7/include
8680 /usr/local/X11R6/include
8681 /usr/local/X11R5/include
8682 /usr/local/X11R4/include
8684 /usr/local/include/X11
8685 /usr/local/include/X11R7
8686 /usr/local/include/X11R6
8687 /usr/local/include/X11R5
8688 /usr/local/include/X11R4
8690 /usr/X386/include
8691 /usr/x386/include
8692 /usr/XFree86/include/X11
8694 /usr/include
8695 /usr/local/include
8696 /usr/unsupported/include
8697 /usr/athena/include
8698 /usr/local/x11r5/include
8699 /usr/lpp/Xamples/include
8701 /usr/openwin/include
8702 /usr/openwin/share/include'
8704 if test "$ac_x_includes" = no; then
8705 # Guess where to find include files, by looking for Xlib.h.
8706 # First, try using that file with no special directory specified.
8707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8708 /* end confdefs.h. */
8709 #include <X11/Xlib.h>
8710 _ACEOF
8711 if ac_fn_c_try_cpp "$LINENO"; then :
8712 # We can compile using X headers with no special include directory.
8713 ac_x_includes=
8714 else
8715 for ac_dir in $ac_x_header_dirs; do
8716 if test -r "$ac_dir/X11/Xlib.h"; then
8717 ac_x_includes=$ac_dir
8718 break
8720 done
8722 rm -f conftest.err conftest.i conftest.$ac_ext
8723 fi # $ac_x_includes = no
8725 if test "$ac_x_libraries" = no; then
8726 # Check for the libraries.
8727 # See if we find them without any special options.
8728 # Don't add to $LIBS permanently.
8729 ac_save_LIBS=$LIBS
8730 LIBS="-lX11 $LIBS"
8731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8733 #include <X11/Xlib.h>
8735 main ()
8737 XrmInitialize ()
8739 return 0;
8741 _ACEOF
8742 if ac_fn_c_try_link "$LINENO"; then :
8743 LIBS=$ac_save_LIBS
8744 # We can link X programs with no special library path.
8745 ac_x_libraries=
8746 else
8747 LIBS=$ac_save_LIBS
8748 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8750 # Don't even attempt the hair of trying to link an X program!
8751 for ac_extension in a so sl dylib la dll; do
8752 if test -r "$ac_dir/libX11.$ac_extension"; then
8753 ac_x_libraries=$ac_dir
8754 break 2
8756 done
8757 done
8759 rm -f core conftest.err conftest.$ac_objext \
8760 conftest$ac_exeext conftest.$ac_ext
8761 fi # $ac_x_libraries = no
8763 case $ac_x_includes,$ac_x_libraries in #(
8764 no,* | *,no | *\'*)
8765 # Didn't find X, or a directory has "'" in its name.
8766 ac_cv_have_x="have_x=no";; #(
8768 # Record where we found X for the cache.
8769 ac_cv_have_x="have_x=yes\
8770 ac_x_includes='$ac_x_includes'\
8771 ac_x_libraries='$ac_x_libraries'"
8772 esac
8774 ;; #(
8775 *) have_x=yes;;
8776 esac
8777 eval "$ac_cv_have_x"
8778 fi # $with_x != no
8780 if test "$have_x" != yes; then
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8782 $as_echo "$have_x" >&6; }
8783 no_x=yes
8784 else
8785 # If each of the values was on the command line, it overrides each guess.
8786 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8787 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8788 # Update the cache value to reflect the command line values.
8789 ac_cv_have_x="have_x=yes\
8790 ac_x_includes='$x_includes'\
8791 ac_x_libraries='$x_libraries'"
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8793 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8796 if test "$no_x" = yes; then
8797 # Not all programs may use this symbol, but it does not hurt to define it.
8799 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8801 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8802 else
8803 if test -n "$x_includes"; then
8804 X_CFLAGS="$X_CFLAGS -I$x_includes"
8807 # It would also be nice to do this for all -L options, not just this one.
8808 if test -n "$x_libraries"; then
8809 X_LIBS="$X_LIBS -L$x_libraries"
8810 # For Solaris; some versions of Sun CC require a space after -R and
8811 # others require no space. Words are not sufficient . . . .
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8813 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8814 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8815 ac_xsave_c_werror_flag=$ac_c_werror_flag
8816 ac_c_werror_flag=yes
8817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8818 /* end confdefs.h. */
8821 main ()
8825 return 0;
8827 _ACEOF
8828 if ac_fn_c_try_link "$LINENO"; then :
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8830 $as_echo "no" >&6; }
8831 X_LIBS="$X_LIBS -R$x_libraries"
8832 else
8833 LIBS="$ac_xsave_LIBS -R $x_libraries"
8834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8835 /* end confdefs.h. */
8838 main ()
8842 return 0;
8844 _ACEOF
8845 if ac_fn_c_try_link "$LINENO"; then :
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8847 $as_echo "yes" >&6; }
8848 X_LIBS="$X_LIBS -R $x_libraries"
8849 else
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8851 $as_echo "neither works" >&6; }
8853 rm -f core conftest.err conftest.$ac_objext \
8854 conftest$ac_exeext conftest.$ac_ext
8856 rm -f core conftest.err conftest.$ac_objext \
8857 conftest$ac_exeext conftest.$ac_ext
8858 ac_c_werror_flag=$ac_xsave_c_werror_flag
8859 LIBS=$ac_xsave_LIBS
8862 # Check for system-dependent libraries X programs must link with.
8863 # Do this before checking for the system-independent R6 libraries
8864 # (-lICE), since we may need -lsocket or whatever for X linking.
8866 if test "$ISC" = yes; then
8867 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8868 else
8869 # Martyn Johnson says this is needed for Ultrix, if the X
8870 # libraries were built with DECnet support. And Karl Berry says
8871 # the Alpha needs dnet_stub (dnet does not exist).
8872 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8874 /* end confdefs.h. */
8876 /* Override any GCC internal prototype to avoid an error.
8877 Use char because int might match the return type of a GCC
8878 builtin and then its argument prototype would still apply. */
8879 #ifdef __cplusplus
8880 extern "C"
8881 #endif
8882 char XOpenDisplay ();
8884 main ()
8886 return XOpenDisplay ();
8888 return 0;
8890 _ACEOF
8891 if ac_fn_c_try_link "$LINENO"; then :
8893 else
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8895 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8896 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8897 $as_echo_n "(cached) " >&6
8898 else
8899 ac_check_lib_save_LIBS=$LIBS
8900 LIBS="-ldnet $LIBS"
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 dnet_ntoa ();
8912 main ()
8914 return dnet_ntoa ();
8916 return 0;
8918 _ACEOF
8919 if ac_fn_c_try_link "$LINENO"; then :
8920 ac_cv_lib_dnet_dnet_ntoa=yes
8921 else
8922 ac_cv_lib_dnet_dnet_ntoa=no
8924 rm -f core conftest.err conftest.$ac_objext \
8925 conftest$ac_exeext conftest.$ac_ext
8926 LIBS=$ac_check_lib_save_LIBS
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8929 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8930 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8931 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8934 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8936 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8937 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8938 $as_echo_n "(cached) " >&6
8939 else
8940 ac_check_lib_save_LIBS=$LIBS
8941 LIBS="-ldnet_stub $LIBS"
8942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8943 /* end confdefs.h. */
8945 /* Override any GCC internal prototype to avoid an error.
8946 Use char because int might match the return type of a GCC
8947 builtin and then its argument prototype would still apply. */
8948 #ifdef __cplusplus
8949 extern "C"
8950 #endif
8951 char dnet_ntoa ();
8953 main ()
8955 return dnet_ntoa ();
8957 return 0;
8959 _ACEOF
8960 if ac_fn_c_try_link "$LINENO"; then :
8961 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8962 else
8963 ac_cv_lib_dnet_stub_dnet_ntoa=no
8965 rm -f core conftest.err conftest.$ac_objext \
8966 conftest$ac_exeext conftest.$ac_ext
8967 LIBS=$ac_check_lib_save_LIBS
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8970 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8971 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8972 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8977 rm -f core conftest.err conftest.$ac_objext \
8978 conftest$ac_exeext conftest.$ac_ext
8979 LIBS="$ac_xsave_LIBS"
8981 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8982 # to get the SysV transport functions.
8983 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8984 # needs -lnsl.
8985 # The nsl library prevents programs from opening the X display
8986 # on Irix 5.2, according to T.E. Dickey.
8987 # The functions gethostbyname, getservbyname, and inet_addr are
8988 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8989 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8990 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8994 if test $ac_cv_func_gethostbyname = no; then
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8996 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8997 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8998 $as_echo_n "(cached) " >&6
8999 else
9000 ac_check_lib_save_LIBS=$LIBS
9001 LIBS="-lnsl $LIBS"
9002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9003 /* end confdefs.h. */
9005 /* Override any GCC internal prototype to avoid an error.
9006 Use char because int might match the return type of a GCC
9007 builtin and then its argument prototype would still apply. */
9008 #ifdef __cplusplus
9009 extern "C"
9010 #endif
9011 char gethostbyname ();
9013 main ()
9015 return gethostbyname ();
9017 return 0;
9019 _ACEOF
9020 if ac_fn_c_try_link "$LINENO"; then :
9021 ac_cv_lib_nsl_gethostbyname=yes
9022 else
9023 ac_cv_lib_nsl_gethostbyname=no
9025 rm -f core conftest.err conftest.$ac_objext \
9026 conftest$ac_exeext conftest.$ac_ext
9027 LIBS=$ac_check_lib_save_LIBS
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9030 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9031 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9032 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9035 if test $ac_cv_lib_nsl_gethostbyname = no; then
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9037 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9038 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9039 $as_echo_n "(cached) " >&6
9040 else
9041 ac_check_lib_save_LIBS=$LIBS
9042 LIBS="-lbsd $LIBS"
9043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9044 /* end confdefs.h. */
9046 /* Override any GCC internal prototype to avoid an error.
9047 Use char because int might match the return type of a GCC
9048 builtin and then its argument prototype would still apply. */
9049 #ifdef __cplusplus
9050 extern "C"
9051 #endif
9052 char gethostbyname ();
9054 main ()
9056 return gethostbyname ();
9058 return 0;
9060 _ACEOF
9061 if ac_fn_c_try_link "$LINENO"; then :
9062 ac_cv_lib_bsd_gethostbyname=yes
9063 else
9064 ac_cv_lib_bsd_gethostbyname=no
9066 rm -f core conftest.err conftest.$ac_objext \
9067 conftest$ac_exeext conftest.$ac_ext
9068 LIBS=$ac_check_lib_save_LIBS
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9071 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9072 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9073 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9079 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9080 # socket/setsockopt and other routines are undefined under SCO ODT
9081 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9082 # on later versions), says Simon Leinen: it contains gethostby*
9083 # variants that don't use the name server (or something). -lsocket
9084 # must be given before -lnsl if both are needed. We assume that
9085 # if connect needs -lnsl, so does gethostbyname.
9086 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9087 if test "x$ac_cv_func_connect" = xyes; then :
9091 if test $ac_cv_func_connect = no; then
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9093 $as_echo_n "checking for connect in -lsocket... " >&6; }
9094 if ${ac_cv_lib_socket_connect+:} false; then :
9095 $as_echo_n "(cached) " >&6
9096 else
9097 ac_check_lib_save_LIBS=$LIBS
9098 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9100 /* end confdefs.h. */
9102 /* Override any GCC internal prototype to avoid an error.
9103 Use char because int might match the return type of a GCC
9104 builtin and then its argument prototype would still apply. */
9105 #ifdef __cplusplus
9106 extern "C"
9107 #endif
9108 char connect ();
9110 main ()
9112 return connect ();
9114 return 0;
9116 _ACEOF
9117 if ac_fn_c_try_link "$LINENO"; then :
9118 ac_cv_lib_socket_connect=yes
9119 else
9120 ac_cv_lib_socket_connect=no
9122 rm -f core conftest.err conftest.$ac_objext \
9123 conftest$ac_exeext conftest.$ac_ext
9124 LIBS=$ac_check_lib_save_LIBS
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9127 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9128 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9129 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9134 # Guillermo Gomez says -lposix is necessary on A/UX.
9135 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9136 if test "x$ac_cv_func_remove" = xyes; then :
9140 if test $ac_cv_func_remove = no; then
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9142 $as_echo_n "checking for remove in -lposix... " >&6; }
9143 if ${ac_cv_lib_posix_remove+:} false; then :
9144 $as_echo_n "(cached) " >&6
9145 else
9146 ac_check_lib_save_LIBS=$LIBS
9147 LIBS="-lposix $LIBS"
9148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9149 /* end confdefs.h. */
9151 /* Override any GCC internal prototype to avoid an error.
9152 Use char because int might match the return type of a GCC
9153 builtin and then its argument prototype would still apply. */
9154 #ifdef __cplusplus
9155 extern "C"
9156 #endif
9157 char remove ();
9159 main ()
9161 return remove ();
9163 return 0;
9165 _ACEOF
9166 if ac_fn_c_try_link "$LINENO"; then :
9167 ac_cv_lib_posix_remove=yes
9168 else
9169 ac_cv_lib_posix_remove=no
9171 rm -f core conftest.err conftest.$ac_objext \
9172 conftest$ac_exeext conftest.$ac_ext
9173 LIBS=$ac_check_lib_save_LIBS
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9176 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9177 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9178 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9183 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9184 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9185 if test "x$ac_cv_func_shmat" = xyes; then :
9189 if test $ac_cv_func_shmat = no; then
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9191 $as_echo_n "checking for shmat in -lipc... " >&6; }
9192 if ${ac_cv_lib_ipc_shmat+:} false; then :
9193 $as_echo_n "(cached) " >&6
9194 else
9195 ac_check_lib_save_LIBS=$LIBS
9196 LIBS="-lipc $LIBS"
9197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9198 /* end confdefs.h. */
9200 /* Override any GCC internal prototype to avoid an error.
9201 Use char because int might match the return type of a GCC
9202 builtin and then its argument prototype would still apply. */
9203 #ifdef __cplusplus
9204 extern "C"
9205 #endif
9206 char shmat ();
9208 main ()
9210 return shmat ();
9212 return 0;
9214 _ACEOF
9215 if ac_fn_c_try_link "$LINENO"; then :
9216 ac_cv_lib_ipc_shmat=yes
9217 else
9218 ac_cv_lib_ipc_shmat=no
9220 rm -f core conftest.err conftest.$ac_objext \
9221 conftest$ac_exeext conftest.$ac_ext
9222 LIBS=$ac_check_lib_save_LIBS
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9225 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9226 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9227 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9233 # Check for libraries that X11R6 Xt/Xaw programs need.
9234 ac_save_LDFLAGS=$LDFLAGS
9235 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9236 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9237 # check for ICE first), but we must link in the order -lSM -lICE or
9238 # we get undefined symbols. So assume we have SM if we have ICE.
9239 # These have to be linked with before -lX11, unlike the other
9240 # libraries we check for below, so use a different variable.
9241 # John Interrante, Karl Berry
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9243 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9244 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9245 $as_echo_n "(cached) " >&6
9246 else
9247 ac_check_lib_save_LIBS=$LIBS
9248 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9250 /* end confdefs.h. */
9252 /* Override any GCC internal prototype to avoid an error.
9253 Use char because int might match the return type of a GCC
9254 builtin and then its argument prototype would still apply. */
9255 #ifdef __cplusplus
9256 extern "C"
9257 #endif
9258 char IceConnectionNumber ();
9260 main ()
9262 return IceConnectionNumber ();
9264 return 0;
9266 _ACEOF
9267 if ac_fn_c_try_link "$LINENO"; then :
9268 ac_cv_lib_ICE_IceConnectionNumber=yes
9269 else
9270 ac_cv_lib_ICE_IceConnectionNumber=no
9272 rm -f core conftest.err conftest.$ac_objext \
9273 conftest$ac_exeext conftest.$ac_ext
9274 LIBS=$ac_check_lib_save_LIBS
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9277 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9278 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9279 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9282 LDFLAGS=$ac_save_LDFLAGS
9287 if test "$have_x" = "yes"
9288 then
9289 ac_save_CPPFLAGS="$CPPFLAGS"
9290 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9293 $as_echo_n "checking for -lX11... " >&6; }
9294 if ${ac_cv_lib_soname_X11+:} false; then :
9295 $as_echo_n "(cached) " >&6
9296 else
9297 ac_check_soname_save_LIBS=$LIBS
9298 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9300 /* end confdefs.h. */
9302 /* Override any GCC internal prototype to avoid an error.
9303 Use char because int might match the return type of a GCC
9304 builtin and then its argument prototype would still apply. */
9305 #ifdef __cplusplus
9306 extern "C"
9307 #endif
9308 char XCreateWindow ();
9310 main ()
9312 return XCreateWindow ();
9314 return 0;
9316 _ACEOF
9317 if ac_fn_c_try_link "$LINENO"; then :
9318 case "$LIBEXT" in
9319 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9320 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'` ;;
9321 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9322 if ${ac_cv_lib_soname_X11:+false} :; then :
9323 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9324 fi ;;
9325 esac
9327 rm -f core conftest.err conftest.$ac_objext \
9328 conftest$ac_exeext conftest.$ac_ext
9329 LIBS=$ac_check_soname_save_LIBS
9331 if ${ac_cv_lib_soname_X11:+false} :; then :
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9333 $as_echo "not found" >&6; }
9335 else
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9337 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9339 cat >>confdefs.h <<_ACEOF
9340 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9341 _ACEOF
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9346 $as_echo_n "checking for -lXext... " >&6; }
9347 if ${ac_cv_lib_soname_Xext+:} false; then :
9348 $as_echo_n "(cached) " >&6
9349 else
9350 ac_check_soname_save_LIBS=$LIBS
9351 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9353 /* end confdefs.h. */
9355 /* Override any GCC internal prototype to avoid an error.
9356 Use char because int might match the return type of a GCC
9357 builtin and then its argument prototype would still apply. */
9358 #ifdef __cplusplus
9359 extern "C"
9360 #endif
9361 char XextCreateExtension ();
9363 main ()
9365 return XextCreateExtension ();
9367 return 0;
9369 _ACEOF
9370 if ac_fn_c_try_link "$LINENO"; then :
9371 case "$LIBEXT" in
9372 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9373 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'` ;;
9374 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9375 if ${ac_cv_lib_soname_Xext:+false} :; then :
9376 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9377 fi ;;
9378 esac
9380 rm -f core conftest.err conftest.$ac_objext \
9381 conftest$ac_exeext conftest.$ac_ext
9382 LIBS=$ac_check_soname_save_LIBS
9384 if ${ac_cv_lib_soname_Xext:+false} :; then :
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9386 $as_echo "not found" >&6; }
9388 else
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9390 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9392 cat >>confdefs.h <<_ACEOF
9393 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9394 _ACEOF
9396 X_LIBS="$X_LIBS -lXext"
9398 X_LIBS="$X_LIBS -lX11"
9400 for ac_header in X11/Xlib.h \
9401 X11/XKBlib.h \
9402 X11/Xutil.h \
9403 X11/Xcursor/Xcursor.h \
9404 X11/extensions/shape.h \
9405 X11/extensions/XInput.h \
9406 X11/extensions/XInput2.h \
9407 X11/extensions/XShm.h \
9408 X11/extensions/Xcomposite.h \
9409 X11/extensions/Xinerama.h \
9410 X11/extensions/Xrandr.h \
9411 X11/extensions/Xrender.h \
9412 X11/extensions/xf86vmode.h \
9413 X11/extensions/xf86vmproto.h
9414 do :
9415 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9416 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9417 # include <X11/Xlib.h>
9418 #endif
9419 #ifdef HAVE_X11_XUTIL_H
9420 # include <X11/Xutil.h>
9421 #endif
9423 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9424 cat >>confdefs.h <<_ACEOF
9425 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9426 _ACEOF
9430 done
9433 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9434 then
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9436 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9437 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9438 $as_echo_n "(cached) " >&6
9439 else
9440 ac_check_lib_save_LIBS=$LIBS
9441 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9445 /* Override any GCC internal prototype to avoid an error.
9446 Use char because int might match the return type of a GCC
9447 builtin and then its argument prototype would still apply. */
9448 #ifdef __cplusplus
9449 extern "C"
9450 #endif
9451 char XkbQueryExtension ();
9453 main ()
9455 return XkbQueryExtension ();
9457 return 0;
9459 _ACEOF
9460 if ac_fn_c_try_link "$LINENO"; then :
9461 ac_cv_lib_X11_XkbQueryExtension=yes
9462 else
9463 ac_cv_lib_X11_XkbQueryExtension=no
9465 rm -f core conftest.err conftest.$ac_objext \
9466 conftest$ac_exeext conftest.$ac_ext
9467 LIBS=$ac_check_lib_save_LIBS
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9470 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9471 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9473 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9479 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9480 then
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9482 $as_echo_n "checking for -lXcursor... " >&6; }
9483 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9484 $as_echo_n "(cached) " >&6
9485 else
9486 ac_check_soname_save_LIBS=$LIBS
9487 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9489 /* end confdefs.h. */
9491 /* Override any GCC internal prototype to avoid an error.
9492 Use char because int might match the return type of a GCC
9493 builtin and then its argument prototype would still apply. */
9494 #ifdef __cplusplus
9495 extern "C"
9496 #endif
9497 char XcursorImageLoadCursor ();
9499 main ()
9501 return XcursorImageLoadCursor ();
9503 return 0;
9505 _ACEOF
9506 if ac_fn_c_try_link "$LINENO"; then :
9507 case "$LIBEXT" in
9508 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9509 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'` ;;
9510 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9511 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9512 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9513 fi ;;
9514 esac
9516 rm -f core conftest.err conftest.$ac_objext \
9517 conftest$ac_exeext conftest.$ac_ext
9518 LIBS=$ac_check_soname_save_LIBS
9520 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9522 $as_echo "not found" >&6; }
9524 else
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9526 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9528 cat >>confdefs.h <<_ACEOF
9529 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9530 _ACEOF
9535 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9536 case "x$with_xcursor" in
9537 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9538 xno) ;;
9539 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9540 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9541 esac
9544 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9545 then
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9547 $as_echo_n "checking for -lXi... " >&6; }
9548 if ${ac_cv_lib_soname_Xi+:} false; then :
9549 $as_echo_n "(cached) " >&6
9550 else
9551 ac_check_soname_save_LIBS=$LIBS
9552 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9554 /* end confdefs.h. */
9556 /* Override any GCC internal prototype to avoid an error.
9557 Use char because int might match the return type of a GCC
9558 builtin and then its argument prototype would still apply. */
9559 #ifdef __cplusplus
9560 extern "C"
9561 #endif
9562 char XOpenDevice ();
9564 main ()
9566 return XOpenDevice ();
9568 return 0;
9570 _ACEOF
9571 if ac_fn_c_try_link "$LINENO"; then :
9572 case "$LIBEXT" in
9573 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9574 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'` ;;
9575 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9576 if ${ac_cv_lib_soname_Xi:+false} :; then :
9577 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9578 fi ;;
9579 esac
9581 rm -f core conftest.err conftest.$ac_objext \
9582 conftest$ac_exeext conftest.$ac_ext
9583 LIBS=$ac_check_soname_save_LIBS
9585 if ${ac_cv_lib_soname_Xi:+false} :; then :
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9587 $as_echo "not found" >&6; }
9589 else
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9591 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9593 cat >>confdefs.h <<_ACEOF
9594 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9595 _ACEOF
9600 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9601 case "x$with_xinput" in
9602 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9603 xno) ;;
9604 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9605 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9606 esac
9609 if test "x$ac_cv_lib_soname_Xi" != x
9610 then
9611 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9612 case "x$with_xinput2" in
9613 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9614 xno) ;;
9615 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9616 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9617 esac
9621 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9622 then
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9624 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9625 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9626 $as_echo_n "(cached) " >&6
9627 else
9628 ac_check_lib_save_LIBS=$LIBS
9629 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9633 /* Override any GCC internal prototype to avoid an error.
9634 Use char because int might match the return type of a GCC
9635 builtin and then its argument prototype would still apply. */
9636 #ifdef __cplusplus
9637 extern "C"
9638 #endif
9639 char XShmQueryExtension ();
9641 main ()
9643 return XShmQueryExtension ();
9645 return 0;
9647 _ACEOF
9648 if ac_fn_c_try_link "$LINENO"; then :
9649 ac_cv_lib_Xext_XShmQueryExtension=yes
9650 else
9651 ac_cv_lib_Xext_XShmQueryExtension=no
9653 rm -f core conftest.err conftest.$ac_objext \
9654 conftest$ac_exeext conftest.$ac_ext
9655 LIBS=$ac_check_lib_save_LIBS
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9658 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9659 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9661 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9666 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9667 case "x$with_xshm" in
9668 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9669 xno) ;;
9670 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9671 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9672 esac
9675 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9676 then
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9678 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9679 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9680 $as_echo_n "(cached) " >&6
9681 else
9682 ac_check_lib_save_LIBS=$LIBS
9683 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9685 /* end confdefs.h. */
9687 /* Override any GCC internal prototype to avoid an error.
9688 Use char because int might match the return type of a GCC
9689 builtin and then its argument prototype would still apply. */
9690 #ifdef __cplusplus
9691 extern "C"
9692 #endif
9693 char XShapeQueryExtension ();
9695 main ()
9697 return XShapeQueryExtension ();
9699 return 0;
9701 _ACEOF
9702 if ac_fn_c_try_link "$LINENO"; then :
9703 ac_cv_lib_Xext_XShapeQueryExtension=yes
9704 else
9705 ac_cv_lib_Xext_XShapeQueryExtension=no
9707 rm -f core conftest.err conftest.$ac_objext \
9708 conftest$ac_exeext conftest.$ac_ext
9709 LIBS=$ac_check_lib_save_LIBS
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9712 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9713 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9715 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9720 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9721 case "x$with_xshape" in
9722 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9723 xno) ;;
9724 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9725 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9726 esac
9729 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9730 then
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9732 $as_echo_n "checking for -lXxf86vm... " >&6; }
9733 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9734 $as_echo_n "(cached) " >&6
9735 else
9736 ac_check_soname_save_LIBS=$LIBS
9737 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9739 /* end confdefs.h. */
9741 /* Override any GCC internal prototype to avoid an error.
9742 Use char because int might match the return type of a GCC
9743 builtin and then its argument prototype would still apply. */
9744 #ifdef __cplusplus
9745 extern "C"
9746 #endif
9747 char XF86VidModeQueryExtension ();
9749 main ()
9751 return XF86VidModeQueryExtension ();
9753 return 0;
9755 _ACEOF
9756 if ac_fn_c_try_link "$LINENO"; then :
9757 case "$LIBEXT" in
9758 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9759 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'` ;;
9760 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9761 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9762 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9763 fi ;;
9764 esac
9766 rm -f core conftest.err conftest.$ac_objext \
9767 conftest$ac_exeext conftest.$ac_ext
9768 LIBS=$ac_check_soname_save_LIBS
9770 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9772 $as_echo "not found" >&6; }
9774 else
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9776 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9778 cat >>confdefs.h <<_ACEOF
9779 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9780 _ACEOF
9785 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9786 case "x$with_xxf86vm" in
9787 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9788 xno) ;;
9789 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9790 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9791 esac
9794 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
9795 then
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9797 $as_echo_n "checking for -lXrender... " >&6; }
9798 if ${ac_cv_lib_soname_Xrender+:} false; then :
9799 $as_echo_n "(cached) " >&6
9800 else
9801 ac_check_soname_save_LIBS=$LIBS
9802 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9804 /* end confdefs.h. */
9806 /* Override any GCC internal prototype to avoid an error.
9807 Use char because int might match the return type of a GCC
9808 builtin and then its argument prototype would still apply. */
9809 #ifdef __cplusplus
9810 extern "C"
9811 #endif
9812 char XRenderQueryExtension ();
9814 main ()
9816 return XRenderQueryExtension ();
9818 return 0;
9820 _ACEOF
9821 if ac_fn_c_try_link "$LINENO"; then :
9822 case "$LIBEXT" in
9823 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9824 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'` ;;
9825 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9826 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9827 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9828 fi ;;
9829 esac
9831 rm -f core conftest.err conftest.$ac_objext \
9832 conftest$ac_exeext conftest.$ac_ext
9833 LIBS=$ac_check_soname_save_LIBS
9835 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9837 $as_echo "not found" >&6; }
9839 else
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9841 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9843 cat >>confdefs.h <<_ACEOF
9844 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9845 _ACEOF
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9848 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9849 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9850 $as_echo_n "(cached) " >&6
9851 else
9852 ac_check_lib_save_LIBS=$LIBS
9853 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9855 /* end confdefs.h. */
9857 /* Override any GCC internal prototype to avoid an error.
9858 Use char because int might match the return type of a GCC
9859 builtin and then its argument prototype would still apply. */
9860 #ifdef __cplusplus
9861 extern "C"
9862 #endif
9863 char XRenderSetPictureTransform ();
9865 main ()
9867 return XRenderSetPictureTransform ();
9869 return 0;
9871 _ACEOF
9872 if ac_fn_c_try_link "$LINENO"; then :
9873 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9874 else
9875 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9877 rm -f core conftest.err conftest.$ac_objext \
9878 conftest$ac_exeext conftest.$ac_ext
9879 LIBS=$ac_check_lib_save_LIBS
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9882 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9883 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9885 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9890 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9891 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9892 $as_echo_n "(cached) " >&6
9893 else
9894 ac_check_lib_save_LIBS=$LIBS
9895 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9899 /* Override any GCC internal prototype to avoid an error.
9900 Use char because int might match the return type of a GCC
9901 builtin and then its argument prototype would still apply. */
9902 #ifdef __cplusplus
9903 extern "C"
9904 #endif
9905 char XRenderCreateLinearGradient ();
9907 main ()
9909 return XRenderCreateLinearGradient ();
9911 return 0;
9913 _ACEOF
9914 if ac_fn_c_try_link "$LINENO"; then :
9915 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9916 else
9917 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9919 rm -f core conftest.err conftest.$ac_objext \
9920 conftest$ac_exeext conftest.$ac_ext
9921 LIBS=$ac_check_lib_save_LIBS
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9924 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9925 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9927 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9934 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9935 case "x$with_xrender" in
9936 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9937 xno) ;;
9938 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9939 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9940 esac
9943 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9944 then
9945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9946 /* end confdefs.h. */
9947 #include <X11/Xlib.h>
9948 #include <X11/extensions/Xrandr.h>
9950 main ()
9952 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9954 return 0;
9956 _ACEOF
9957 if ac_fn_c_try_compile "$LINENO"; then :
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9959 $as_echo_n "checking for -lXrandr... " >&6; }
9960 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9961 $as_echo_n "(cached) " >&6
9962 else
9963 ac_check_soname_save_LIBS=$LIBS
9964 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9966 /* end confdefs.h. */
9968 /* Override any GCC internal prototype to avoid an error.
9969 Use char because int might match the return type of a GCC
9970 builtin and then its argument prototype would still apply. */
9971 #ifdef __cplusplus
9972 extern "C"
9973 #endif
9974 char XRRQueryExtension ();
9976 main ()
9978 return XRRQueryExtension ();
9980 return 0;
9982 _ACEOF
9983 if ac_fn_c_try_link "$LINENO"; then :
9984 case "$LIBEXT" in
9985 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9986 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'` ;;
9987 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9988 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9989 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9990 fi ;;
9991 esac
9993 rm -f core conftest.err conftest.$ac_objext \
9994 conftest$ac_exeext conftest.$ac_ext
9995 LIBS=$ac_check_soname_save_LIBS
9997 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9999 $as_echo "not found" >&6; }
10001 else
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10003 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10005 cat >>confdefs.h <<_ACEOF
10006 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10007 _ACEOF
10009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10010 /* end confdefs.h. */
10011 #include <X11/Xlib.h>
10012 #include <X11/extensions/Xrandr.h>
10014 main ()
10016 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10018 return 0;
10020 _ACEOF
10021 if ac_fn_c_try_compile "$LINENO"; then :
10023 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10031 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10032 case "x$with_xrandr" in
10033 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10034 xno) ;;
10035 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10036 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10037 esac
10040 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10041 then
10042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10044 #include <X11/Xlib.h>
10045 #include <X11/extensions/Xinerama.h>
10047 main ()
10049 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10051 return 0;
10053 _ACEOF
10054 if ac_fn_c_try_compile "$LINENO"; then :
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10056 $as_echo_n "checking for -lXinerama... " >&6; }
10057 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10058 $as_echo_n "(cached) " >&6
10059 else
10060 ac_check_soname_save_LIBS=$LIBS
10061 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10065 /* Override any GCC internal prototype to avoid an error.
10066 Use char because int might match the return type of a GCC
10067 builtin and then its argument prototype would still apply. */
10068 #ifdef __cplusplus
10069 extern "C"
10070 #endif
10071 char XineramaQueryScreens ();
10073 main ()
10075 return XineramaQueryScreens ();
10077 return 0;
10079 _ACEOF
10080 if ac_fn_c_try_link "$LINENO"; then :
10081 case "$LIBEXT" in
10082 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10083 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'` ;;
10084 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10085 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10086 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10087 fi ;;
10088 esac
10090 rm -f core conftest.err conftest.$ac_objext \
10091 conftest$ac_exeext conftest.$ac_ext
10092 LIBS=$ac_check_soname_save_LIBS
10094 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10096 $as_echo "not found" >&6; }
10098 else
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10100 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10102 cat >>confdefs.h <<_ACEOF
10103 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10104 _ACEOF
10109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10111 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10112 case "x$with_xinerama" in
10113 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10114 xno) ;;
10115 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10116 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10117 esac
10120 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10121 then
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10123 $as_echo_n "checking for -lXcomposite... " >&6; }
10124 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10125 $as_echo_n "(cached) " >&6
10126 else
10127 ac_check_soname_save_LIBS=$LIBS
10128 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10130 /* end confdefs.h. */
10132 /* Override any GCC internal prototype to avoid an error.
10133 Use char because int might match the return type of a GCC
10134 builtin and then its argument prototype would still apply. */
10135 #ifdef __cplusplus
10136 extern "C"
10137 #endif
10138 char XCompositeRedirectWindow ();
10140 main ()
10142 return XCompositeRedirectWindow ();
10144 return 0;
10146 _ACEOF
10147 if ac_fn_c_try_link "$LINENO"; then :
10148 case "$LIBEXT" in
10149 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10150 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'` ;;
10151 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10152 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10153 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10154 fi ;;
10155 esac
10157 rm -f core conftest.err conftest.$ac_objext \
10158 conftest$ac_exeext conftest.$ac_ext
10159 LIBS=$ac_check_soname_save_LIBS
10161 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10163 $as_echo "not found" >&6; }
10165 else
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10167 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10169 cat >>confdefs.h <<_ACEOF
10170 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10171 _ACEOF
10176 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10177 case "x$with_xcomposite" in
10178 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10179 xno) ;;
10180 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10181 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10182 esac
10185 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10186 #include <X11/Xlib.h>
10187 #endif
10189 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10191 cat >>confdefs.h <<_ACEOF
10192 #define HAVE_XICCALLBACK_CALLBACK 1
10193 _ACEOF
10197 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10198 #include <X11/Xlib.h>
10199 #endif
10201 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10203 cat >>confdefs.h <<_ACEOF
10204 #define HAVE_XEVENT_XCOOKIE 1
10205 _ACEOF
10212 opengl_msg=""
10213 if test "x$with_opengl" != "xno"
10214 then
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10216 $as_echo_n "checking for -lGL... " >&6; }
10217 if ${ac_cv_lib_soname_GL+:} false; then :
10218 $as_echo_n "(cached) " >&6
10219 else
10220 ac_check_soname_save_LIBS=$LIBS
10221 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10223 /* end confdefs.h. */
10225 /* Override any GCC internal prototype to avoid an error.
10226 Use char because int might match the return type of a GCC
10227 builtin and then its argument prototype would still apply. */
10228 #ifdef __cplusplus
10229 extern "C"
10230 #endif
10231 char glXCreateContext ();
10233 main ()
10235 return glXCreateContext ();
10237 return 0;
10239 _ACEOF
10240 if ac_fn_c_try_link "$LINENO"; then :
10241 case "$LIBEXT" in
10242 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10243 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'` ;;
10244 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10245 if ${ac_cv_lib_soname_GL:+false} :; then :
10246 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10247 fi ;;
10248 esac
10250 rm -f core conftest.err conftest.$ac_objext \
10251 conftest$ac_exeext conftest.$ac_ext
10252 LIBS=$ac_check_soname_save_LIBS
10254 if ${ac_cv_lib_soname_GL:+false} :; then :
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10256 $as_echo "not found" >&6; }
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10258 $as_echo_n "checking for -lGL... " >&6; }
10259 if ${ac_cv_lib_soname_GL+:} false; then :
10260 $as_echo_n "(cached) " >&6
10261 else
10262 ac_check_soname_save_LIBS=$LIBS
10263 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"
10264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10265 /* end confdefs.h. */
10267 /* Override any GCC internal prototype to avoid an error.
10268 Use char because int might match the return type of a GCC
10269 builtin and then its argument prototype would still apply. */
10270 #ifdef __cplusplus
10271 extern "C"
10272 #endif
10273 char glXCreateContext ();
10275 main ()
10277 return glXCreateContext ();
10279 return 0;
10281 _ACEOF
10282 if ac_fn_c_try_link "$LINENO"; then :
10283 case "$LIBEXT" in
10284 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10285 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'` ;;
10286 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10287 if ${ac_cv_lib_soname_GL:+false} :; then :
10288 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10289 fi ;;
10290 esac
10292 rm -f core conftest.err conftest.$ac_objext \
10293 conftest$ac_exeext conftest.$ac_ext
10294 LIBS=$ac_check_soname_save_LIBS
10296 if ${ac_cv_lib_soname_GL:+false} :; then :
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10298 $as_echo "not found" >&6; }
10299 if test -f /usr/X11R6/lib/libGL.a
10300 then
10301 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10302 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10303 else
10304 opengl_msg="No OpenGL library found on this system."
10306 else
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10308 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10310 cat >>confdefs.h <<_ACEOF
10311 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10312 _ACEOF
10314 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"
10316 else
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10318 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10320 cat >>confdefs.h <<_ACEOF
10321 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10322 _ACEOF
10324 OPENGL_LIBS="-lGL"
10326 if test "x$with_glu" != "xno"
10327 then
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10329 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10330 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10331 $as_echo_n "(cached) " >&6
10332 else
10333 ac_check_lib_save_LIBS=$LIBS
10334 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10336 /* end confdefs.h. */
10338 /* Override any GCC internal prototype to avoid an error.
10339 Use char because int might match the return type of a GCC
10340 builtin and then its argument prototype would still apply. */
10341 #ifdef __cplusplus
10342 extern "C"
10343 #endif
10344 char gluLookAt ();
10346 main ()
10348 return gluLookAt ();
10350 return 0;
10352 _ACEOF
10353 if ac_fn_c_try_link "$LINENO"; then :
10354 ac_cv_lib_GLU_gluLookAt=yes
10355 else
10356 ac_cv_lib_GLU_gluLookAt=no
10358 rm -f core conftest.err conftest.$ac_objext \
10359 conftest$ac_exeext conftest.$ac_ext
10360 LIBS=$ac_check_lib_save_LIBS
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10363 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10364 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10368 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10369 case "x$with_glu" in
10370 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10371 xno) ;;
10372 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10373 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10374 esac
10378 if test "x$with_osmesa" != "xno"
10379 then
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10381 $as_echo_n "checking for -lOSMesa... " >&6; }
10382 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10383 $as_echo_n "(cached) " >&6
10384 else
10385 ac_check_soname_save_LIBS=$LIBS
10386 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10388 /* end confdefs.h. */
10390 /* Override any GCC internal prototype to avoid an error.
10391 Use char because int might match the return type of a GCC
10392 builtin and then its argument prototype would still apply. */
10393 #ifdef __cplusplus
10394 extern "C"
10395 #endif
10396 char glAccum ();
10398 main ()
10400 return glAccum ();
10402 return 0;
10404 _ACEOF
10405 if ac_fn_c_try_link "$LINENO"; then :
10406 case "$LIBEXT" in
10407 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10408 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'` ;;
10409 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10410 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10411 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10412 fi ;;
10413 esac
10415 rm -f core conftest.err conftest.$ac_objext \
10416 conftest$ac_exeext conftest.$ac_ext
10417 LIBS=$ac_check_soname_save_LIBS
10419 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10421 $as_echo "not found" >&6; }
10423 else
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10425 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10427 cat >>confdefs.h <<_ACEOF
10428 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10429 _ACEOF
10433 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10434 case "x$with_osmesa" in
10435 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10436 xno) ;;
10437 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10438 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10439 esac
10443 if test -n "$opengl_msg"; then :
10444 case "x$with_opengl" in
10445 x) as_fn_append wine_warnings "|$opengl_msg
10446 OpenGL and Direct3D won't be supported." ;;
10447 xno) ;;
10448 *) as_fn_error $? "$opengl_msg
10449 OpenGL and Direct3D won't be supported.
10450 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10451 esac
10454 CPPFLAGS="$ac_save_CPPFLAGS"
10455 else
10456 X_CFLAGS=""
10457 X_LIBS=""
10458 enable_winex11_drv=${enable_winex11_drv:-no}
10460 if test "x$X_LIBS" = "x"; then :
10461 case "x$with_x" in
10462 xno) ;;
10463 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10464 without X support, which probably isn't what you want. You will need
10465 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10466 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10467 esac
10470 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10472 if test "$ac_cv_header_CL_cl_h" = "yes"
10473 then
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10475 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10476 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10477 $as_echo_n "(cached) " >&6
10478 else
10479 ac_check_lib_save_LIBS=$LIBS
10480 LIBS="-lOpenCL $LIBS"
10481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10482 /* end confdefs.h. */
10484 /* Override any GCC internal prototype to avoid an error.
10485 Use char because int might match the return type of a GCC
10486 builtin and then its argument prototype would still apply. */
10487 #ifdef __cplusplus
10488 extern "C"
10489 #endif
10490 char clGetPlatformInfo ();
10492 main ()
10494 return clGetPlatformInfo ();
10496 return 0;
10498 _ACEOF
10499 if ac_fn_c_try_link "$LINENO"; then :
10500 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10501 else
10502 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10504 rm -f core conftest.err conftest.$ac_objext \
10505 conftest$ac_exeext conftest.$ac_ext
10506 LIBS=$ac_check_lib_save_LIBS
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10509 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10510 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10511 OPENCL_LIBS="-lOpenCL"
10516 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10517 case "x$with_opencl" in
10518 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10519 xno) ;;
10520 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10521 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10522 esac
10524 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10526 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10527 then
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10529 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10530 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10531 $as_echo_n "(cached) " >&6
10532 else
10533 ac_check_lib_save_LIBS=$LIBS
10534 LIBS="-lpcap $LIBS"
10535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10536 /* end confdefs.h. */
10538 /* Override any GCC internal prototype to avoid an error.
10539 Use char because int might match the return type of a GCC
10540 builtin and then its argument prototype would still apply. */
10541 #ifdef __cplusplus
10542 extern "C"
10543 #endif
10544 char pcap_create ();
10546 main ()
10548 return pcap_create ();
10550 return 0;
10552 _ACEOF
10553 if ac_fn_c_try_link "$LINENO"; then :
10554 ac_cv_lib_pcap_pcap_create=yes
10555 else
10556 ac_cv_lib_pcap_pcap_create=no
10558 rm -f core conftest.err conftest.$ac_objext \
10559 conftest$ac_exeext conftest.$ac_ext
10560 LIBS=$ac_check_lib_save_LIBS
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10563 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10564 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10565 LIBPCAP="-lpcap"
10570 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10571 case "x$with_pcap" in
10572 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10573 xno) ;;
10574 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10575 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10576 esac
10578 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10581 if test "x$with_xml" != "xno"
10582 then
10583 if ${XML2_CFLAGS:+false} :; then :
10584 if ${PKG_CONFIG+:} false; then :
10585 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10588 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10589 if ${XML2_LIBS:+false} :; then :
10590 if ${PKG_CONFIG+:} false; then :
10591 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10594 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10595 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10596 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10597 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10598 ac_save_CPPFLAGS=$CPPFLAGS
10599 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10600 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10601 do :
10602 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10603 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10604 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10605 cat >>confdefs.h <<_ACEOF
10606 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10607 _ACEOF
10611 done
10613 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"
10614 then
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10616 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10617 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10618 $as_echo_n "(cached) " >&6
10619 else
10620 ac_check_lib_save_LIBS=$LIBS
10621 LIBS="-lxml2 $XML2_LIBS $LIBS"
10622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10623 /* end confdefs.h. */
10625 /* Override any GCC internal prototype to avoid an error.
10626 Use char because int might match the return type of a GCC
10627 builtin and then its argument prototype would still apply. */
10628 #ifdef __cplusplus
10629 extern "C"
10630 #endif
10631 char xmlParseMemory ();
10633 main ()
10635 return xmlParseMemory ();
10637 return 0;
10639 _ACEOF
10640 if ac_fn_c_try_link "$LINENO"; then :
10641 ac_cv_lib_xml2_xmlParseMemory=yes
10642 else
10643 ac_cv_lib_xml2_xmlParseMemory=no
10645 rm -f core conftest.err conftest.$ac_objext \
10646 conftest$ac_exeext conftest.$ac_ext
10647 LIBS=$ac_check_lib_save_LIBS
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10650 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10651 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10653 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10655 else
10656 XML2_LIBS=""
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10660 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10661 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10662 $as_echo_n "(cached) " >&6
10663 else
10664 ac_check_lib_save_LIBS=$LIBS
10665 LIBS="-lxml2 $XML2_LIBS $LIBS"
10666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10669 /* Override any GCC internal prototype to avoid an error.
10670 Use char because int might match the return type of a GCC
10671 builtin and then its argument prototype would still apply. */
10672 #ifdef __cplusplus
10673 extern "C"
10674 #endif
10675 char xmlReadMemory ();
10677 main ()
10679 return xmlReadMemory ();
10681 return 0;
10683 _ACEOF
10684 if ac_fn_c_try_link "$LINENO"; then :
10685 ac_cv_lib_xml2_xmlReadMemory=yes
10686 else
10687 ac_cv_lib_xml2_xmlReadMemory=no
10689 rm -f core conftest.err conftest.$ac_objext \
10690 conftest$ac_exeext conftest.$ac_ext
10691 LIBS=$ac_check_lib_save_LIBS
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10694 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10695 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10697 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10702 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10703 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10704 $as_echo_n "(cached) " >&6
10705 else
10706 ac_check_lib_save_LIBS=$LIBS
10707 LIBS="-lxml2 $XML2_LIBS $LIBS"
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10711 /* Override any GCC internal prototype to avoid an error.
10712 Use char because int might match the return type of a GCC
10713 builtin and then its argument prototype would still apply. */
10714 #ifdef __cplusplus
10715 extern "C"
10716 #endif
10717 char xmlNewDocPI ();
10719 main ()
10721 return xmlNewDocPI ();
10723 return 0;
10725 _ACEOF
10726 if ac_fn_c_try_link "$LINENO"; then :
10727 ac_cv_lib_xml2_xmlNewDocPI=yes
10728 else
10729 ac_cv_lib_xml2_xmlNewDocPI=no
10731 rm -f core conftest.err conftest.$ac_objext \
10732 conftest$ac_exeext conftest.$ac_ext
10733 LIBS=$ac_check_lib_save_LIBS
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10736 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10737 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10739 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10744 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10745 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10746 $as_echo_n "(cached) " >&6
10747 else
10748 ac_check_lib_save_LIBS=$LIBS
10749 LIBS="-lxml2 $XML2_LIBS $LIBS"
10750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10753 /* Override any GCC internal prototype to avoid an error.
10754 Use char because int might match the return type of a GCC
10755 builtin and then its argument prototype would still apply. */
10756 #ifdef __cplusplus
10757 extern "C"
10758 #endif
10759 char xmlSchemaSetParserStructuredErrors ();
10761 main ()
10763 return xmlSchemaSetParserStructuredErrors ();
10765 return 0;
10767 _ACEOF
10768 if ac_fn_c_try_link "$LINENO"; then :
10769 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10770 else
10771 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10773 rm -f core conftest.err conftest.$ac_objext \
10774 conftest$ac_exeext conftest.$ac_ext
10775 LIBS=$ac_check_lib_save_LIBS
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10778 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10779 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10781 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10786 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10787 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10788 $as_echo_n "(cached) " >&6
10789 else
10790 ac_check_lib_save_LIBS=$LIBS
10791 LIBS="-lxml2 $XML2_LIBS $LIBS"
10792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10798 #ifdef __cplusplus
10799 extern "C"
10800 #endif
10801 char xmlSchemaSetValidStructuredErrors ();
10803 main ()
10805 return xmlSchemaSetValidStructuredErrors ();
10807 return 0;
10809 _ACEOF
10810 if ac_fn_c_try_link "$LINENO"; then :
10811 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10812 else
10813 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10815 rm -f core conftest.err conftest.$ac_objext \
10816 conftest$ac_exeext conftest.$ac_ext
10817 LIBS=$ac_check_lib_save_LIBS
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10820 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10821 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10823 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10828 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10829 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10830 $as_echo_n "(cached) " >&6
10831 else
10832 ac_check_lib_save_LIBS=$LIBS
10833 LIBS="-lxml2 $XML2_LIBS $LIBS"
10834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10837 /* Override any GCC internal prototype to avoid an error.
10838 Use char because int might match the return type of a GCC
10839 builtin and then its argument prototype would still apply. */
10840 #ifdef __cplusplus
10841 extern "C"
10842 #endif
10843 char xmlFirstElementChild ();
10845 main ()
10847 return xmlFirstElementChild ();
10849 return 0;
10851 _ACEOF
10852 if ac_fn_c_try_link "$LINENO"; then :
10853 ac_cv_lib_xml2_xmlFirstElementChild=yes
10854 else
10855 ac_cv_lib_xml2_xmlFirstElementChild=no
10857 rm -f core conftest.err conftest.$ac_objext \
10858 conftest$ac_exeext conftest.$ac_ext
10859 LIBS=$ac_check_lib_save_LIBS
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10862 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10863 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10865 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10869 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10871 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10873 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10877 else
10878 XML2_CFLAGS=""
10879 XML2_LIBS=""
10881 CPPFLAGS=$ac_save_CPPFLAGS
10882 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10883 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10886 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10887 case "x$with_xml" in
10888 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10889 xno) ;;
10890 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10891 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10892 esac
10895 if test "x$with_xslt" != "xno"
10896 then
10897 if ${XSLT_CFLAGS:+false} :; then :
10898 if ${PKG_CONFIG+:} false; then :
10899 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10902 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10903 if ${XSLT_LIBS:+false} :; then :
10904 if ${PKG_CONFIG+:} false; then :
10905 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10908 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10909 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10910 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10911 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10912 ac_save_CPPFLAGS=$CPPFLAGS
10913 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10914 for ac_header in libxslt/pattern.h libxslt/transform.h
10915 do :
10916 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10917 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10918 # include <libxslt/pattern.h>
10919 #endif
10921 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10922 cat >>confdefs.h <<_ACEOF
10923 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10924 _ACEOF
10928 done
10930 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10931 then
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10933 $as_echo_n "checking for -lxslt... " >&6; }
10934 if ${ac_cv_lib_soname_xslt+:} false; then :
10935 $as_echo_n "(cached) " >&6
10936 else
10937 ac_check_soname_save_LIBS=$LIBS
10938 LIBS="-lxslt $XSLT_LIBS $LIBS"
10939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h. */
10942 /* Override any GCC internal prototype to avoid an error.
10943 Use char because int might match the return type of a GCC
10944 builtin and then its argument prototype would still apply. */
10945 #ifdef __cplusplus
10946 extern "C"
10947 #endif
10948 char xsltCompilePattern ();
10950 main ()
10952 return xsltCompilePattern ();
10954 return 0;
10956 _ACEOF
10957 if ac_fn_c_try_link "$LINENO"; then :
10958 case "$LIBEXT" in
10959 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10960 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'` ;;
10961 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10962 if ${ac_cv_lib_soname_xslt:+false} :; then :
10963 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10964 fi ;;
10965 esac
10967 rm -f core conftest.err conftest.$ac_objext \
10968 conftest$ac_exeext conftest.$ac_ext
10969 LIBS=$ac_check_soname_save_LIBS
10971 if ${ac_cv_lib_soname_xslt:+false} :; then :
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10973 $as_echo "not found" >&6; }
10975 else
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10977 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10979 cat >>confdefs.h <<_ACEOF
10980 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10981 _ACEOF
10985 else
10986 XSLT_CFLAGS=""
10988 CPPFLAGS=$ac_save_CPPFLAGS
10989 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10990 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10993 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10994 case "x$with_xslt" in
10995 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10996 xno) ;;
10997 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10998 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10999 esac
11002 if test "x$with_dbus" != "xno"
11003 then
11004 if ${DBUS_CFLAGS:+false} :; then :
11005 if ${PKG_CONFIG+:} false; then :
11006 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11010 if ${DBUS_LIBS:+false} :; then :
11011 if ${PKG_CONFIG+:} false; then :
11012 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11017 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11018 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11019 ac_save_CPPFLAGS=$CPPFLAGS
11020 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11021 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11022 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11024 $as_echo_n "checking for -ldbus-1... " >&6; }
11025 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11026 $as_echo_n "(cached) " >&6
11027 else
11028 ac_check_soname_save_LIBS=$LIBS
11029 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11033 /* Override any GCC internal prototype to avoid an error.
11034 Use char because int might match the return type of a GCC
11035 builtin and then its argument prototype would still apply. */
11036 #ifdef __cplusplus
11037 extern "C"
11038 #endif
11039 char dbus_connection_close ();
11041 main ()
11043 return dbus_connection_close ();
11045 return 0;
11047 _ACEOF
11048 if ac_fn_c_try_link "$LINENO"; then :
11049 case "$LIBEXT" in
11050 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11051 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'` ;;
11052 *) 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'`
11053 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11054 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11055 fi ;;
11056 esac
11058 rm -f core conftest.err conftest.$ac_objext \
11059 conftest$ac_exeext conftest.$ac_ext
11060 LIBS=$ac_check_soname_save_LIBS
11062 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11064 $as_echo "not found" >&6; }
11065 DBUS_CFLAGS=""
11066 else
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11068 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11070 cat >>confdefs.h <<_ACEOF
11071 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11072 _ACEOF
11076 else
11077 DBUS_CFLAGS=""
11081 CPPFLAGS=$ac_save_CPPFLAGS
11082 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11083 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11086 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11087 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11088 case "x$with_dbus" in
11089 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11090 xno) ;;
11091 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11092 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11093 esac
11096 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11097 then
11098 if ${HAL_CFLAGS:+false} :; then :
11099 if ${PKG_CONFIG+:} false; then :
11100 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11104 if ${HAL_LIBS:+false} :; then :
11105 if ${PKG_CONFIG+:} false; then :
11106 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11110 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11111 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11112 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11113 ac_save_CPPFLAGS=$CPPFLAGS
11114 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11115 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11116 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11118 $as_echo_n "checking for -lhal... " >&6; }
11119 if ${ac_cv_lib_soname_hal+:} false; then :
11120 $as_echo_n "(cached) " >&6
11121 else
11122 ac_check_soname_save_LIBS=$LIBS
11123 LIBS="-lhal $HAL_LIBS $LIBS"
11124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11125 /* end confdefs.h. */
11127 /* Override any GCC internal prototype to avoid an error.
11128 Use char because int might match the return type of a GCC
11129 builtin and then its argument prototype would still apply. */
11130 #ifdef __cplusplus
11131 extern "C"
11132 #endif
11133 char libhal_ctx_new ();
11135 main ()
11137 return libhal_ctx_new ();
11139 return 0;
11141 _ACEOF
11142 if ac_fn_c_try_link "$LINENO"; then :
11143 case "$LIBEXT" in
11144 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11145 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'` ;;
11146 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11147 if ${ac_cv_lib_soname_hal:+false} :; then :
11148 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11149 fi ;;
11150 esac
11152 rm -f core conftest.err conftest.$ac_objext \
11153 conftest$ac_exeext conftest.$ac_ext
11154 LIBS=$ac_check_soname_save_LIBS
11156 if ${ac_cv_lib_soname_hal:+false} :; then :
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11158 $as_echo "not found" >&6; }
11159 HAL_CFLAGS=""
11160 else
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11162 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11164 cat >>confdefs.h <<_ACEOF
11165 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11166 _ACEOF
11170 else
11171 HAL_CFLAGS=""
11175 CPPFLAGS=$ac_save_CPPFLAGS
11176 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11177 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11179 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11180 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11181 case "x$with_hal" in
11182 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11183 xno) ;;
11184 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11185 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11186 esac
11190 if test "x$with_gnutls" != "xno"
11191 then
11192 if ${GNUTLS_CFLAGS:+false} :; then :
11193 if ${PKG_CONFIG+:} false; then :
11194 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11198 if ${GNUTLS_LIBS:+false} :; then :
11199 if ${PKG_CONFIG+:} false; then :
11200 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11205 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11206 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11207 ac_save_CPPFLAGS=$CPPFLAGS
11208 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11209 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11210 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11213 #include <gnutls/gnutls.h>
11214 #include <gnutls/crypto.h>
11216 main ()
11218 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11220 return 0;
11222 _ACEOF
11223 if ac_fn_c_try_compile "$LINENO"; then :
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11225 $as_echo_n "checking for -lgnutls... " >&6; }
11226 if ${ac_cv_lib_soname_gnutls+:} false; then :
11227 $as_echo_n "(cached) " >&6
11228 else
11229 ac_check_soname_save_LIBS=$LIBS
11230 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h. */
11234 /* Override any GCC internal prototype to avoid an error.
11235 Use char because int might match the return type of a GCC
11236 builtin and then its argument prototype would still apply. */
11237 #ifdef __cplusplus
11238 extern "C"
11239 #endif
11240 char gnutls_global_init ();
11242 main ()
11244 return gnutls_global_init ();
11246 return 0;
11248 _ACEOF
11249 if ac_fn_c_try_link "$LINENO"; then :
11250 case "$LIBEXT" in
11251 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11252 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'` ;;
11253 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11254 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11255 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11256 fi ;;
11257 esac
11259 rm -f core conftest.err conftest.$ac_objext \
11260 conftest$ac_exeext conftest.$ac_ext
11261 LIBS=$ac_check_soname_save_LIBS
11263 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11265 $as_echo "not found" >&6; }
11266 GNUTLS_CFLAGS=""
11267 else
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11269 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11271 cat >>confdefs.h <<_ACEOF
11272 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11273 _ACEOF
11278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11279 else
11280 GNUTLS_CFLAGS=""
11284 CPPFLAGS=$ac_save_CPPFLAGS
11285 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11286 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11289 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11290 case "x$with_gnutls" in
11291 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11292 xno) ;;
11293 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11294 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11295 esac
11298 CURSES_LIBS=""
11299 if test "$ac_cv_header_ncurses_h" = "yes"
11300 then
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11302 $as_echo_n "checking for -lncurses... " >&6; }
11303 if ${ac_cv_lib_soname_ncurses+:} false; then :
11304 $as_echo_n "(cached) " >&6
11305 else
11306 ac_check_soname_save_LIBS=$LIBS
11307 LIBS="-lncurses $LIBS"
11308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11309 /* end confdefs.h. */
11311 /* Override any GCC internal prototype to avoid an error.
11312 Use char because int might match the return type of a GCC
11313 builtin and then its argument prototype would still apply. */
11314 #ifdef __cplusplus
11315 extern "C"
11316 #endif
11317 char waddch ();
11319 main ()
11321 return waddch ();
11323 return 0;
11325 _ACEOF
11326 if ac_fn_c_try_link "$LINENO"; then :
11327 case "$LIBEXT" in
11328 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11329 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'` ;;
11330 *) 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'`
11331 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11332 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11333 fi ;;
11334 esac
11336 rm -f core conftest.err conftest.$ac_objext \
11337 conftest$ac_exeext conftest.$ac_ext
11338 LIBS=$ac_check_soname_save_LIBS
11340 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11342 $as_echo "not found" >&6; }
11344 else
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11346 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11348 cat >>confdefs.h <<_ACEOF
11349 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11350 _ACEOF
11352 CURSES_LIBS="-lncurses"
11354 elif test "$ac_cv_header_curses_h" = "yes"
11355 then
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11357 $as_echo_n "checking for -lcurses... " >&6; }
11358 if ${ac_cv_lib_soname_curses+:} false; then :
11359 $as_echo_n "(cached) " >&6
11360 else
11361 ac_check_soname_save_LIBS=$LIBS
11362 LIBS="-lcurses $LIBS"
11363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11364 /* end confdefs.h. */
11366 /* Override any GCC internal prototype to avoid an error.
11367 Use char because int might match the return type of a GCC
11368 builtin and then its argument prototype would still apply. */
11369 #ifdef __cplusplus
11370 extern "C"
11371 #endif
11372 char waddch ();
11374 main ()
11376 return waddch ();
11378 return 0;
11380 _ACEOF
11381 if ac_fn_c_try_link "$LINENO"; then :
11382 case "$LIBEXT" in
11383 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11384 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'` ;;
11385 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11386 if ${ac_cv_lib_soname_curses:+false} :; then :
11387 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11388 fi ;;
11389 esac
11391 rm -f core conftest.err conftest.$ac_objext \
11392 conftest$ac_exeext conftest.$ac_ext
11393 LIBS=$ac_check_soname_save_LIBS
11395 if ${ac_cv_lib_soname_curses:+false} :; then :
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11397 $as_echo "not found" >&6; }
11399 else
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11401 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11403 cat >>confdefs.h <<_ACEOF
11404 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11405 _ACEOF
11407 CURSES_LIBS="-lcurses"
11410 ac_save_LIBS="$LIBS"
11411 LIBS="$LIBS $CURSES_LIBS"
11412 for ac_func in mousemask
11413 do :
11414 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11415 if test "x$ac_cv_func_mousemask" = xyes; then :
11416 cat >>confdefs.h <<_ACEOF
11417 #define HAVE_MOUSEMASK 1
11418 _ACEOF
11421 done
11423 LIBS="$ac_save_LIBS"
11424 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11425 case "x$with_curses" in
11426 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11427 xno) ;;
11428 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11429 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11430 esac
11433 if test "x$with_sane" != "xno"
11434 then
11435 if ${SANE_CFLAGS:+false} :; then :
11436 if ${PKG_CONFIG+:} false; then :
11437 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11440 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11441 if ${SANE_LIBS:+false} :; then :
11442 if ${PKG_CONFIG+:} false; then :
11443 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11446 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11448 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11449 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11450 ac_save_CPPFLAGS=$CPPFLAGS
11451 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11452 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11453 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11455 $as_echo_n "checking for -lsane... " >&6; }
11456 if ${ac_cv_lib_soname_sane+:} false; then :
11457 $as_echo_n "(cached) " >&6
11458 else
11459 ac_check_soname_save_LIBS=$LIBS
11460 LIBS="-lsane $SANE_LIBS $LIBS"
11461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11462 /* end confdefs.h. */
11464 /* Override any GCC internal prototype to avoid an error.
11465 Use char because int might match the return type of a GCC
11466 builtin and then its argument prototype would still apply. */
11467 #ifdef __cplusplus
11468 extern "C"
11469 #endif
11470 char sane_init ();
11472 main ()
11474 return sane_init ();
11476 return 0;
11478 _ACEOF
11479 if ac_fn_c_try_link "$LINENO"; then :
11480 case "$LIBEXT" in
11481 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11482 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'` ;;
11483 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11484 if ${ac_cv_lib_soname_sane:+false} :; then :
11485 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11486 fi ;;
11487 esac
11489 rm -f core conftest.err conftest.$ac_objext \
11490 conftest$ac_exeext conftest.$ac_ext
11491 LIBS=$ac_check_soname_save_LIBS
11493 if ${ac_cv_lib_soname_sane:+false} :; then :
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11495 $as_echo "not found" >&6; }
11496 SANE_CFLAGS=""
11497 else
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11499 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11501 cat >>confdefs.h <<_ACEOF
11502 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11503 _ACEOF
11507 else
11508 SANE_CFLAGS=""
11512 CPPFLAGS=$ac_save_CPPFLAGS
11513 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11514 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11517 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11518 case "x$with_sane" in
11519 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11520 xno) ;;
11521 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11522 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11523 esac
11526 if test "x$with_v4l" != "xno"
11527 then
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11529 $as_echo_n "checking for -lv4l1... " >&6; }
11530 if ${ac_cv_lib_soname_v4l1+:} false; then :
11531 $as_echo_n "(cached) " >&6
11532 else
11533 ac_check_soname_save_LIBS=$LIBS
11534 LIBS="-lv4l1 $LIBS"
11535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11536 /* end confdefs.h. */
11538 /* Override any GCC internal prototype to avoid an error.
11539 Use char because int might match the return type of a GCC
11540 builtin and then its argument prototype would still apply. */
11541 #ifdef __cplusplus
11542 extern "C"
11543 #endif
11544 char v4l1_open ();
11546 main ()
11548 return v4l1_open ();
11550 return 0;
11552 _ACEOF
11553 if ac_fn_c_try_link "$LINENO"; then :
11554 case "$LIBEXT" in
11555 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11556 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'` ;;
11557 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11558 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11559 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11560 fi ;;
11561 esac
11563 rm -f core conftest.err conftest.$ac_objext \
11564 conftest$ac_exeext conftest.$ac_ext
11565 LIBS=$ac_check_soname_save_LIBS
11567 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11569 $as_echo "not found" >&6; }
11571 else
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11573 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11575 cat >>confdefs.h <<_ACEOF
11576 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11577 _ACEOF
11582 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11583 case "x$with_v4l" in
11584 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11585 xno) ;;
11586 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11587 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11588 esac
11591 if test "x$with_gphoto" != "xno"
11592 then
11593 if ${GPHOTO2_CFLAGS:+false} :; then :
11594 if ${PKG_CONFIG+:} false; then :
11595 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11598 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11599 if ${GPHOTO2_LIBS:+false} :; then :
11600 if ${PKG_CONFIG+:} false; then :
11601 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11604 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11605 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11606 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11607 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11608 ac_save_CPPFLAGS=$CPPFLAGS
11609 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11610 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11611 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11613 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11614 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11615 $as_echo_n "(cached) " >&6
11616 else
11617 ac_check_lib_save_LIBS=$LIBS
11618 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11622 /* Override any GCC internal prototype to avoid an error.
11623 Use char because int might match the return type of a GCC
11624 builtin and then its argument prototype would still apply. */
11625 #ifdef __cplusplus
11626 extern "C"
11627 #endif
11628 char gp_camera_new ();
11630 main ()
11632 return gp_camera_new ();
11634 return 0;
11636 _ACEOF
11637 if ac_fn_c_try_link "$LINENO"; then :
11638 ac_cv_lib_gphoto2_gp_camera_new=yes
11639 else
11640 ac_cv_lib_gphoto2_gp_camera_new=no
11642 rm -f core conftest.err conftest.$ac_objext \
11643 conftest$ac_exeext conftest.$ac_ext
11644 LIBS=$ac_check_lib_save_LIBS
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11647 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11648 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11650 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11652 else
11653 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11656 else
11657 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11661 CPPFLAGS=$ac_save_CPPFLAGS
11662 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11663 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11665 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11666 if ${PKG_CONFIG+:} false; then :
11667 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11670 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11671 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11672 if ${PKG_CONFIG+:} false; then :
11673 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11676 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11677 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11678 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11679 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11680 ac_save_CPPFLAGS=$CPPFLAGS
11681 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11682 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11683 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11685 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11686 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11687 $as_echo_n "(cached) " >&6
11688 else
11689 ac_check_lib_save_LIBS=$LIBS
11690 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11692 /* end confdefs.h. */
11694 /* Override any GCC internal prototype to avoid an error.
11695 Use char because int might match the return type of a GCC
11696 builtin and then its argument prototype would still apply. */
11697 #ifdef __cplusplus
11698 extern "C"
11699 #endif
11700 char gp_port_info_list_new ();
11702 main ()
11704 return gp_port_info_list_new ();
11706 return 0;
11708 _ACEOF
11709 if ac_fn_c_try_link "$LINENO"; then :
11710 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11711 else
11712 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11714 rm -f core conftest.err conftest.$ac_objext \
11715 conftest$ac_exeext conftest.$ac_ext
11716 LIBS=$ac_check_lib_save_LIBS
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11719 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11720 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11722 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11724 else
11725 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11728 else
11729 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11733 CPPFLAGS=$ac_save_CPPFLAGS
11734 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11735 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11738 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11739 case "x$with_gphoto" in
11740 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11741 xno) ;;
11742 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11743 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11744 esac
11746 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11747 case "x$with_gphoto" in
11748 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11749 xno) ;;
11750 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11751 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11752 esac
11756 if test "$ac_cv_header_resolv_h" = "yes"
11757 then
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11759 $as_echo_n "checking for resolver library... " >&6; }
11760 if ${ac_cv_have_resolv+:} false; then :
11761 $as_echo_n "(cached) " >&6
11762 else
11763 ac_save_LIBS="$LIBS"
11764 for lib in '' -lresolv
11766 LIBS="$lib $ac_save_LIBS"
11767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11768 /* end confdefs.h. */
11769 #ifdef HAVE_NETINET_IN_H
11770 #include <netinet/in.h>
11771 #endif
11772 #include <resolv.h>
11774 main ()
11776 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11778 return 0;
11780 _ACEOF
11781 if ac_fn_c_try_link "$LINENO"; then :
11782 ac_cv_have_resolv=${lib:-"none required"}
11783 else
11784 ac_cv_have_resolv="not found"
11786 rm -f core conftest.err conftest.$ac_objext \
11787 conftest$ac_exeext conftest.$ac_ext
11788 test "x$ac_cv_have_resolv" = "xnot found" || break
11789 done
11790 LIBS="$ac_save_LIBS"
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11793 $as_echo "$ac_cv_have_resolv" >&6; }
11795 case "$ac_cv_have_resolv" in
11796 "not found") ;;
11797 "none required")
11799 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11802 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11804 RESOLV_LIBS=$ac_cv_have_resolv
11806 esac
11809 if test "x$with_lcms2" != "xno"
11810 then
11811 if ${LCMS2_CFLAGS:+false} :; then :
11812 if ${PKG_CONFIG+:} false; then :
11813 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11817 if ${LCMS2_LIBS:+false} :; then :
11818 if ${PKG_CONFIG+:} false; then :
11819 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11823 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11824 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11825 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11826 ac_save_CPPFLAGS=$CPPFLAGS
11827 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11828 for ac_header in lcms2.h
11829 do :
11830 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11831 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11832 cat >>confdefs.h <<_ACEOF
11833 #define HAVE_LCMS2_H 1
11834 _ACEOF
11838 done
11840 if test "$ac_cv_header_lcms2_h" = "yes"
11841 then
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11843 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11844 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11845 $as_echo_n "(cached) " >&6
11846 else
11847 ac_check_lib_save_LIBS=$LIBS
11848 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11850 /* end confdefs.h. */
11852 /* Override any GCC internal prototype to avoid an error.
11853 Use char because int might match the return type of a GCC
11854 builtin and then its argument prototype would still apply. */
11855 #ifdef __cplusplus
11856 extern "C"
11857 #endif
11858 char cmsOpenProfileFromFile ();
11860 main ()
11862 return cmsOpenProfileFromFile ();
11864 return 0;
11866 _ACEOF
11867 if ac_fn_c_try_link "$LINENO"; then :
11868 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11869 else
11870 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11872 rm -f core conftest.err conftest.$ac_objext \
11873 conftest$ac_exeext conftest.$ac_ext
11874 LIBS=$ac_check_lib_save_LIBS
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11877 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11878 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11880 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11882 else
11883 LCMS2_LIBS=""
11886 else
11887 LCMS2_CFLAGS=""
11888 LCMS2_LIBS=""
11890 CPPFLAGS=$ac_save_CPPFLAGS
11891 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11892 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11895 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11896 case "x$with_cms" in
11897 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11898 xno) ;;
11899 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11900 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11901 esac
11904 if test "x$with_freetype" != "xno"
11905 then
11906 if ${FREETYPE_CFLAGS:+false} :; then :
11907 if ${PKG_CONFIG+:} false; then :
11908 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11911 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11912 if ${FREETYPE_LIBS:+false} :; then :
11913 if ${PKG_CONFIG+:} false; then :
11914 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11917 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11918 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11919 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11920 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11921 ac_save_CPPFLAGS=$CPPFLAGS
11922 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11923 for ac_header in ft2build.h
11924 do :
11925 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11926 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11927 cat >>confdefs.h <<_ACEOF
11928 #define HAVE_FT2BUILD_H 1
11929 _ACEOF
11933 done
11935 if test "$ac_cv_header_ft2build_h" = "yes"
11936 then
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11938 $as_echo_n "checking for -lfreetype... " >&6; }
11939 if ${ac_cv_lib_soname_freetype+:} false; then :
11940 $as_echo_n "(cached) " >&6
11941 else
11942 ac_check_soname_save_LIBS=$LIBS
11943 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11945 /* end confdefs.h. */
11947 /* Override any GCC internal prototype to avoid an error.
11948 Use char because int might match the return type of a GCC
11949 builtin and then its argument prototype would still apply. */
11950 #ifdef __cplusplus
11951 extern "C"
11952 #endif
11953 char FT_Init_FreeType ();
11955 main ()
11957 return FT_Init_FreeType ();
11959 return 0;
11961 _ACEOF
11962 if ac_fn_c_try_link "$LINENO"; then :
11963 case "$LIBEXT" in
11964 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11965 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'` ;;
11966 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11967 if ${ac_cv_lib_soname_freetype:+false} :; then :
11968 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11969 fi ;;
11970 esac
11972 rm -f core conftest.err conftest.$ac_objext \
11973 conftest$ac_exeext conftest.$ac_ext
11974 LIBS=$ac_check_soname_save_LIBS
11976 if ${ac_cv_lib_soname_freetype:+false} :; then :
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11978 $as_echo "not found" >&6; }
11979 FREETYPE_LIBS=""
11980 else
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11982 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11984 cat >>confdefs.h <<_ACEOF
11985 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11986 _ACEOF
11989 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11991 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11992 #include FT_MODULE_H
11994 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11996 cat >>confdefs.h <<_ACEOF
11997 #define HAVE_FT_TRUETYPEENGINETYPE 1
11998 _ACEOF
12004 else
12005 FREETYPE_CFLAGS=""
12006 FREETYPE_LIBS=""
12008 CPPFLAGS=$ac_save_CPPFLAGS
12009 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12010 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12013 if test "x$ac_cv_lib_soname_freetype" = x; then :
12014 case "x$with_freetype" in
12015 xno) ;;
12016 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12017 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12018 esac
12020 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12023 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12024 if ${ac_cv_c_ppdev+:} false; then :
12025 $as_echo_n "(cached) " >&6
12026 else
12027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12029 #ifdef HAVE_SYS_IOCTL_H
12030 # include <sys/ioctl.h>
12031 #endif
12032 #include <linux/ppdev.h>
12034 main ()
12036 ioctl (1,PPCLAIM,0)
12038 return 0;
12040 _ACEOF
12041 if ac_fn_c_try_compile "$LINENO"; then :
12042 ac_cv_c_ppdev="yes"
12043 else
12044 ac_cv_c_ppdev="no"
12046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12049 $as_echo "$ac_cv_c_ppdev" >&6; }
12050 if test "$ac_cv_c_ppdev" = "yes"
12051 then
12053 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12057 ac_wine_check_funcs_save_LIBS="$LIBS"
12058 LIBS="$LIBS $PTHREAD_LIBS"
12059 for ac_func in \
12060 pthread_attr_get_np \
12061 pthread_getattr_np \
12062 pthread_getthreadid_np \
12063 pthread_get_stackaddr_np \
12064 pthread_get_stacksize_np
12065 do :
12066 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12067 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12068 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12069 cat >>confdefs.h <<_ACEOF
12070 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12071 _ACEOF
12074 done
12076 LIBS="$ac_wine_check_funcs_save_LIBS"
12078 if test "$ac_cv_header_zlib_h" = "yes"
12079 then
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12081 $as_echo_n "checking for inflate in -lz... " >&6; }
12082 if ${ac_cv_lib_z_inflate+:} false; then :
12083 $as_echo_n "(cached) " >&6
12084 else
12085 ac_check_lib_save_LIBS=$LIBS
12086 LIBS="-lz $LIBS"
12087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12088 /* end confdefs.h. */
12090 /* Override any GCC internal prototype to avoid an error.
12091 Use char because int might match the return type of a GCC
12092 builtin and then its argument prototype would still apply. */
12093 #ifdef __cplusplus
12094 extern "C"
12095 #endif
12096 char inflate ();
12098 main ()
12100 return inflate ();
12102 return 0;
12104 _ACEOF
12105 if ac_fn_c_try_link "$LINENO"; then :
12106 ac_cv_lib_z_inflate=yes
12107 else
12108 ac_cv_lib_z_inflate=no
12110 rm -f core conftest.err conftest.$ac_objext \
12111 conftest$ac_exeext conftest.$ac_ext
12112 LIBS=$ac_check_lib_save_LIBS
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12115 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12116 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12118 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12120 Z_LIBS="-lz"
12125 if test "x$Z_LIBS" = "x"; then :
12126 case "x$with_zlib" in
12127 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12128 xno) ;;
12129 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12130 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12131 esac
12134 if test "x$enable_tools" != xno
12135 then
12136 if test "$ac_cv_header_gettext_po_h" = "yes"
12137 then
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12139 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12140 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12141 $as_echo_n "(cached) " >&6
12142 else
12143 ac_check_lib_save_LIBS=$LIBS
12144 LIBS="-lgettextpo $LIBS"
12145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12146 /* end confdefs.h. */
12148 /* Override any GCC internal prototype to avoid an error.
12149 Use char because int might match the return type of a GCC
12150 builtin and then its argument prototype would still apply. */
12151 #ifdef __cplusplus
12152 extern "C"
12153 #endif
12154 char po_message_msgctxt ();
12156 main ()
12158 return po_message_msgctxt ();
12160 return 0;
12162 _ACEOF
12163 if ac_fn_c_try_link "$LINENO"; then :
12164 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12165 else
12166 ac_cv_lib_gettextpo_po_message_msgctxt=no
12168 rm -f core conftest.err conftest.$ac_objext \
12169 conftest$ac_exeext conftest.$ac_ext
12170 LIBS=$ac_check_lib_save_LIBS
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12173 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12174 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12176 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12178 GETTEXTPO_LIBS="-lgettextpo"
12183 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12184 case "x$with_gettextpo" in
12185 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12186 xno) ;;
12187 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12188 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12189 esac
12193 if test "x$with_gstreamer" != "xno"
12194 then
12195 if ${GSTREAMER_CFLAGS:+false} :; then :
12196 if ${PKG_CONFIG+:} false; then :
12197 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12201 if ${GSTREAMER_LIBS:+false} :; then :
12202 if ${PKG_CONFIG+:} false; then :
12203 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12208 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12209 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12210 ac_save_CPPFLAGS=$CPPFLAGS
12211 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12212 ac_gst_incl=""
12213 for i in $GSTREAMER_CFLAGS
12215 case "$i" in
12216 -I*) ac_gst_incl="$ac_gst_incl $i";;
12217 esac
12218 done
12219 GSTREAMER_CFLAGS=$ac_gst_incl
12220 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12221 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12222 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12223 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12224 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12226 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12229 #include <gst/app/gstappsink.h>
12231 main ()
12233 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12235 return 0;
12237 _ACEOF
12238 if ac_fn_c_try_compile "$LINENO"; then :
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12240 $as_echo "yes" >&6; }
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12242 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12243 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12244 $as_echo_n "(cached) " >&6
12245 else
12246 ac_check_lib_save_LIBS=$LIBS
12247 LIBS="-lgstreamer-0.10 $LIBS"
12248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12249 /* end confdefs.h. */
12251 /* Override any GCC internal prototype to avoid an error.
12252 Use char because int might match the return type of a GCC
12253 builtin and then its argument prototype would still apply. */
12254 #ifdef __cplusplus
12255 extern "C"
12256 #endif
12257 char gst_pad_get_caps_reffed ();
12259 main ()
12261 return gst_pad_get_caps_reffed ();
12263 return 0;
12265 _ACEOF
12266 if ac_fn_c_try_link "$LINENO"; then :
12267 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12268 else
12269 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12271 rm -f core conftest.err conftest.$ac_objext \
12272 conftest$ac_exeext conftest.$ac_ext
12273 LIBS=$ac_check_lib_save_LIBS
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12276 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12277 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12279 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12280 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12281 $as_echo_n "(cached) " >&6
12282 else
12283 ac_check_lib_save_LIBS=$LIBS
12284 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12288 /* Override any GCC internal prototype to avoid an error.
12289 Use char because int might match the return type of a GCC
12290 builtin and then its argument prototype would still apply. */
12291 #ifdef __cplusplus
12292 extern "C"
12293 #endif
12294 char gst_app_buffer_new ();
12296 main ()
12298 return gst_app_buffer_new ();
12300 return 0;
12302 _ACEOF
12303 if ac_fn_c_try_link "$LINENO"; then :
12304 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12305 else
12306 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12308 rm -f core conftest.err conftest.$ac_objext \
12309 conftest$ac_exeext conftest.$ac_ext
12310 LIBS=$ac_check_lib_save_LIBS
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12313 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12314 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12320 else
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12322 $as_echo "no" >&6; }
12324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12328 else
12329 GSTREAMER_CFLAGS=""
12333 CPPFLAGS=$ac_save_CPPFLAGS
12334 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12335 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12338 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12339 case "x$with_gstreamer" in
12340 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12341 xno) ;;
12342 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12343 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12344 esac
12346 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12348 ALSA_LIBS=""
12350 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12351 then
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12353 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12354 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12355 $as_echo_n "(cached) " >&6
12356 else
12357 ac_check_lib_save_LIBS=$LIBS
12358 LIBS="-lasound $LIBS"
12359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12362 /* Override any GCC internal prototype to avoid an error.
12363 Use char because int might match the return type of a GCC
12364 builtin and then its argument prototype would still apply. */
12365 #ifdef __cplusplus
12366 extern "C"
12367 #endif
12368 char snd_pcm_hw_params_get_access_mask ();
12370 main ()
12372 return snd_pcm_hw_params_get_access_mask ();
12374 return 0;
12376 _ACEOF
12377 if ac_fn_c_try_link "$LINENO"; then :
12378 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12379 else
12380 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12382 rm -f core conftest.err conftest.$ac_objext \
12383 conftest$ac_exeext conftest.$ac_ext
12384 LIBS=$ac_check_lib_save_LIBS
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12387 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12388 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12390 /* end confdefs.h. */
12391 #ifdef HAVE_ALSA_ASOUNDLIB_H
12392 #include <alsa/asoundlib.h>
12393 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12394 #include <sys/asoundlib.h>
12395 #endif
12397 main ()
12399 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12401 return 0;
12403 _ACEOF
12404 if ac_fn_c_try_compile "$LINENO"; then :
12405 ALSA_LIBS="-lasound"
12407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12412 if test "x$with_oss" != xno
12413 then
12414 ac_save_CPPFLAGS="$CPPFLAGS"
12415 if test -f /etc/oss.conf
12416 then
12417 . /etc/oss.conf
12419 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12420 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12421 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12422 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12423 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12425 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12427 cat >>confdefs.h <<_ACEOF
12428 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12429 _ACEOF
12431 OSS4_CFLAGS="$ac_oss_incl"
12438 CPPFLAGS="$ac_save_CPPFLAGS"
12439 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12440 then
12441 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12445 if test "x$with_capi" != "xno"
12446 then
12447 if ${CAPI20_CFLAGS:+false} :; then :
12448 if ${PKG_CONFIG+:} false; then :
12449 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12453 if ${CAPI20_LIBS:+false} :; then :
12454 if ${PKG_CONFIG+:} false; then :
12455 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12460 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12461 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12462 ac_save_CPPFLAGS=$CPPFLAGS
12463 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12464 for ac_header in capi20.h linux/capi.h
12465 do :
12466 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12467 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12469 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12470 cat >>confdefs.h <<_ACEOF
12471 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12472 _ACEOF
12476 done
12478 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12479 then
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12481 $as_echo_n "checking for -lcapi20... " >&6; }
12482 if ${ac_cv_lib_soname_capi20+:} false; then :
12483 $as_echo_n "(cached) " >&6
12484 else
12485 ac_check_soname_save_LIBS=$LIBS
12486 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12488 /* end confdefs.h. */
12490 /* Override any GCC internal prototype to avoid an error.
12491 Use char because int might match the return type of a GCC
12492 builtin and then its argument prototype would still apply. */
12493 #ifdef __cplusplus
12494 extern "C"
12495 #endif
12496 char capi20_register ();
12498 main ()
12500 return capi20_register ();
12502 return 0;
12504 _ACEOF
12505 if ac_fn_c_try_link "$LINENO"; then :
12506 case "$LIBEXT" in
12507 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12508 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'` ;;
12509 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12510 if ${ac_cv_lib_soname_capi20:+false} :; then :
12511 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12512 fi ;;
12513 esac
12515 rm -f core conftest.err conftest.$ac_objext \
12516 conftest$ac_exeext conftest.$ac_ext
12517 LIBS=$ac_check_soname_save_LIBS
12519 if ${ac_cv_lib_soname_capi20:+false} :; then :
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12521 $as_echo "not found" >&6; }
12523 else
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12525 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12527 cat >>confdefs.h <<_ACEOF
12528 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12529 _ACEOF
12534 CPPFLAGS=$ac_save_CPPFLAGS
12535 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12536 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12539 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12540 case "x$with_capi" in
12541 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12542 xno) ;;
12543 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12544 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12545 esac
12548 CUPS_CFLAGS=""
12550 if test "x$with_cups" != "xno"
12551 then
12552 ac_save_CPPFLAGS="$CPPFLAGS"
12553 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12554 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12555 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12556 for ac_header in cups/cups.h
12557 do :
12558 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12559 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12560 cat >>confdefs.h <<_ACEOF
12561 #define HAVE_CUPS_CUPS_H 1
12562 _ACEOF
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12564 $as_echo_n "checking for -lcups... " >&6; }
12565 if ${ac_cv_lib_soname_cups+:} false; then :
12566 $as_echo_n "(cached) " >&6
12567 else
12568 ac_check_soname_save_LIBS=$LIBS
12569 LIBS="-lcups $ac_cups_libs $LIBS"
12570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12571 /* end confdefs.h. */
12573 /* Override any GCC internal prototype to avoid an error.
12574 Use char because int might match the return type of a GCC
12575 builtin and then its argument prototype would still apply. */
12576 #ifdef __cplusplus
12577 extern "C"
12578 #endif
12579 char cupsGetDefault ();
12581 main ()
12583 return cupsGetDefault ();
12585 return 0;
12587 _ACEOF
12588 if ac_fn_c_try_link "$LINENO"; then :
12589 case "$LIBEXT" in
12590 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12591 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'` ;;
12592 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12593 if ${ac_cv_lib_soname_cups:+false} :; then :
12594 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12595 fi ;;
12596 esac
12598 rm -f core conftest.err conftest.$ac_objext \
12599 conftest$ac_exeext conftest.$ac_ext
12600 LIBS=$ac_check_soname_save_LIBS
12602 if ${ac_cv_lib_soname_cups:+false} :; then :
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12604 $as_echo "not found" >&6; }
12606 else
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12608 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12610 cat >>confdefs.h <<_ACEOF
12611 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12612 _ACEOF
12614 CUPS_CFLAGS="$ac_cups_cflags"
12618 done
12620 CPPFLAGS="$ac_save_CPPFLAGS"
12622 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12623 case "x$with_cups" in
12624 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12625 xno) ;;
12626 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12627 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12628 esac
12631 if test "x$with_fontconfig" != "xno"
12632 then
12633 if ${FONTCONFIG_CFLAGS:+false} :; then :
12634 if ${PKG_CONFIG+:} false; then :
12635 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12638 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12639 if ${FONTCONFIG_LIBS:+false} :; then :
12640 if ${PKG_CONFIG+:} false; then :
12641 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12644 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12646 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12647 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12648 ac_save_CPPFLAGS=$CPPFLAGS
12649 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12650 for ac_header in fontconfig/fontconfig.h
12651 do :
12652 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12653 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12654 cat >>confdefs.h <<_ACEOF
12655 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12656 _ACEOF
12660 done
12662 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12663 then
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12665 $as_echo_n "checking for -lfontconfig... " >&6; }
12666 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12667 $as_echo_n "(cached) " >&6
12668 else
12669 ac_check_soname_save_LIBS=$LIBS
12670 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12672 /* end confdefs.h. */
12674 /* Override any GCC internal prototype to avoid an error.
12675 Use char because int might match the return type of a GCC
12676 builtin and then its argument prototype would still apply. */
12677 #ifdef __cplusplus
12678 extern "C"
12679 #endif
12680 char FcInit ();
12682 main ()
12684 return FcInit ();
12686 return 0;
12688 _ACEOF
12689 if ac_fn_c_try_link "$LINENO"; then :
12690 case "$LIBEXT" in
12691 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12692 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'` ;;
12693 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12694 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12695 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12696 fi ;;
12697 esac
12699 rm -f core conftest.err conftest.$ac_objext \
12700 conftest$ac_exeext conftest.$ac_ext
12701 LIBS=$ac_check_soname_save_LIBS
12703 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12705 $as_echo "not found" >&6; }
12706 FONTCONFIG_CFLAGS=""
12707 else
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12709 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12711 cat >>confdefs.h <<_ACEOF
12712 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12713 _ACEOF
12717 else
12718 FONTCONFIG_CFLAGS=""
12720 CPPFLAGS=$ac_save_CPPFLAGS
12721 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12722 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12725 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12726 case "x$with_fontconfig" in
12727 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12728 xno) ;;
12729 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12730 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12731 esac
12734 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12735 then
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12737 $as_echo_n "checking for -lgsm... " >&6; }
12738 if ${ac_cv_lib_soname_gsm+:} false; then :
12739 $as_echo_n "(cached) " >&6
12740 else
12741 ac_check_soname_save_LIBS=$LIBS
12742 LIBS="-lgsm $LIBS"
12743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12744 /* end confdefs.h. */
12746 /* Override any GCC internal prototype to avoid an error.
12747 Use char because int might match the return type of a GCC
12748 builtin and then its argument prototype would still apply. */
12749 #ifdef __cplusplus
12750 extern "C"
12751 #endif
12752 char gsm_create ();
12754 main ()
12756 return gsm_create ();
12758 return 0;
12760 _ACEOF
12761 if ac_fn_c_try_link "$LINENO"; then :
12762 case "$LIBEXT" in
12763 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12764 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'` ;;
12765 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12766 if ${ac_cv_lib_soname_gsm:+false} :; then :
12767 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12768 fi ;;
12769 esac
12771 rm -f core conftest.err conftest.$ac_objext \
12772 conftest$ac_exeext conftest.$ac_ext
12773 LIBS=$ac_check_soname_save_LIBS
12775 if ${ac_cv_lib_soname_gsm:+false} :; then :
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12777 $as_echo "not found" >&6; }
12779 else
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12781 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12783 cat >>confdefs.h <<_ACEOF
12784 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12785 _ACEOF
12790 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12791 case "x$with_gsm" in
12792 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12793 xno) ;;
12794 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12795 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12796 esac
12799 if test "x$with_jpeg" != "xno"
12800 then
12801 if ${JPEG_CFLAGS:+false} :; then :
12802 if ${PKG_CONFIG+:} false; then :
12803 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12807 if ${JPEG_LIBS:+false} :; then :
12808 if ${PKG_CONFIG+:} false; then :
12809 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12814 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12815 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12816 ac_save_CPPFLAGS=$CPPFLAGS
12817 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12818 for ac_header in jpeglib.h
12819 do :
12820 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12821 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12822 cat >>confdefs.h <<_ACEOF
12823 #define HAVE_JPEGLIB_H 1
12824 _ACEOF
12828 done
12830 if test "$ac_cv_header_jpeglib_h" = "yes"
12831 then
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12833 $as_echo_n "checking for -ljpeg... " >&6; }
12834 if ${ac_cv_lib_soname_jpeg+:} false; then :
12835 $as_echo_n "(cached) " >&6
12836 else
12837 ac_check_soname_save_LIBS=$LIBS
12838 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12840 /* end confdefs.h. */
12842 /* Override any GCC internal prototype to avoid an error.
12843 Use char because int might match the return type of a GCC
12844 builtin and then its argument prototype would still apply. */
12845 #ifdef __cplusplus
12846 extern "C"
12847 #endif
12848 char jpeg_start_decompress ();
12850 main ()
12852 return jpeg_start_decompress ();
12854 return 0;
12856 _ACEOF
12857 if ac_fn_c_try_link "$LINENO"; then :
12858 case "$LIBEXT" in
12859 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12860 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'` ;;
12861 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12862 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12863 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12864 fi ;;
12865 esac
12867 rm -f core conftest.err conftest.$ac_objext \
12868 conftest$ac_exeext conftest.$ac_ext
12869 LIBS=$ac_check_soname_save_LIBS
12871 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12873 $as_echo "not found" >&6; }
12874 JPEG_CFLAGS=""
12875 else
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12877 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12879 cat >>confdefs.h <<_ACEOF
12880 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12881 _ACEOF
12885 else
12886 JPEG_CFLAGS=""
12888 CPPFLAGS=$ac_save_CPPFLAGS
12889 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12890 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12893 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12894 case "x$with_jpeg" in
12895 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12896 xno) ;;
12897 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12898 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12899 esac
12902 if test "x$with_png" != "xno"
12903 then
12904 if ${PNG_CFLAGS:+false} :; then :
12905 if ${PKG_CONFIG+:} false; then :
12906 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12909 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12910 if ${PNG_LIBS:+false} :; then :
12911 if ${PKG_CONFIG+:} false; then :
12912 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12915 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12917 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12918 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12919 ac_save_CPPFLAGS=$CPPFLAGS
12920 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12921 for ac_header in png.h
12922 do :
12923 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12924 if test "x$ac_cv_header_png_h" = xyes; then :
12925 cat >>confdefs.h <<_ACEOF
12926 #define HAVE_PNG_H 1
12927 _ACEOF
12931 done
12933 if test "$ac_cv_header_png_h" = "yes"
12934 then
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12936 $as_echo_n "checking for -lpng... " >&6; }
12937 if ${ac_cv_lib_soname_png+:} false; then :
12938 $as_echo_n "(cached) " >&6
12939 else
12940 ac_check_soname_save_LIBS=$LIBS
12941 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12943 /* end confdefs.h. */
12945 /* Override any GCC internal prototype to avoid an error.
12946 Use char because int might match the return type of a GCC
12947 builtin and then its argument prototype would still apply. */
12948 #ifdef __cplusplus
12949 extern "C"
12950 #endif
12951 char png_create_read_struct ();
12953 main ()
12955 return png_create_read_struct ();
12957 return 0;
12959 _ACEOF
12960 if ac_fn_c_try_link "$LINENO"; then :
12961 case "$LIBEXT" in
12962 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12963 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'` ;;
12964 *) 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'`
12965 if ${ac_cv_lib_soname_png:+false} :; then :
12966 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12967 fi ;;
12968 esac
12970 rm -f core conftest.err conftest.$ac_objext \
12971 conftest$ac_exeext conftest.$ac_ext
12972 LIBS=$ac_check_soname_save_LIBS
12974 if ${ac_cv_lib_soname_png:+false} :; then :
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12976 $as_echo "not found" >&6; }
12977 PNG_CFLAGS=""
12978 else
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12980 $as_echo "$ac_cv_lib_soname_png" >&6; }
12982 cat >>confdefs.h <<_ACEOF
12983 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12984 _ACEOF
12986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12987 /* end confdefs.h. */
12988 #include <png.h>
12990 main ()
12992 typeof(png_set_expand_gray_1_2_4_to_8) *p
12994 return 0;
12996 _ACEOF
12997 if ac_fn_c_try_compile "$LINENO"; then :
12999 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13004 else
13005 PNG_CFLAGS=""
13007 CPPFLAGS=$ac_save_CPPFLAGS
13008 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13009 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13012 if test "x$ac_cv_lib_soname_png" = "x"; then :
13013 case "x$with_png" in
13014 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13015 xno) ;;
13016 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13017 This is an error since --with-png was requested." "$LINENO" 5 ;;
13018 esac
13021 if test "x$with_tiff" != "xno"
13022 then
13023 if ${TIFF_CFLAGS:+false} :; then :
13024 if ${PKG_CONFIG+:} false; then :
13025 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13029 if ${TIFF_LIBS:+false} :; then :
13030 if ${PKG_CONFIG+:} false; then :
13031 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13036 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13037 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13038 ac_save_CPPFLAGS=$CPPFLAGS
13039 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13040 for ac_header in tiffio.h
13041 do :
13042 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13043 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13044 cat >>confdefs.h <<_ACEOF
13045 #define HAVE_TIFFIO_H 1
13046 _ACEOF
13050 done
13052 if test "$ac_cv_header_tiffio_h" = "yes"
13053 then
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13055 $as_echo_n "checking for -ltiff... " >&6; }
13056 if ${ac_cv_lib_soname_tiff+:} false; then :
13057 $as_echo_n "(cached) " >&6
13058 else
13059 ac_check_soname_save_LIBS=$LIBS
13060 LIBS="-ltiff $TIFF_LIBS $LIBS"
13061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13062 /* end confdefs.h. */
13064 /* Override any GCC internal prototype to avoid an error.
13065 Use char because int might match the return type of a GCC
13066 builtin and then its argument prototype would still apply. */
13067 #ifdef __cplusplus
13068 extern "C"
13069 #endif
13070 char TIFFClientOpen ();
13072 main ()
13074 return TIFFClientOpen ();
13076 return 0;
13078 _ACEOF
13079 if ac_fn_c_try_link "$LINENO"; then :
13080 case "$LIBEXT" in
13081 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13082 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'` ;;
13083 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13084 if ${ac_cv_lib_soname_tiff:+false} :; then :
13085 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13086 fi ;;
13087 esac
13089 rm -f core conftest.err conftest.$ac_objext \
13090 conftest$ac_exeext conftest.$ac_ext
13091 LIBS=$ac_check_soname_save_LIBS
13093 if ${ac_cv_lib_soname_tiff:+false} :; then :
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13095 $as_echo "not found" >&6; }
13097 else
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13099 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13101 cat >>confdefs.h <<_ACEOF
13102 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13103 _ACEOF
13108 CPPFLAGS=$ac_save_CPPFLAGS
13109 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13110 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13113 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13114 case "x$with_tiff" in
13115 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13116 xno) ;;
13117 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13118 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13119 esac
13122 if test "x$with_mpg123" != "xno"
13123 then
13124 if ${MPG123_CFLAGS:+false} :; then :
13125 if ${PKG_CONFIG+:} false; then :
13126 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13130 if ${MPG123_LIBS:+false} :; then :
13131 if ${PKG_CONFIG+:} false; then :
13132 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13136 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13137 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13138 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13139 ac_save_CPPFLAGS=$CPPFLAGS
13140 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13141 for ac_header in mpg123.h
13142 do :
13143 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13144 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13145 cat >>confdefs.h <<_ACEOF
13146 #define HAVE_MPG123_H 1
13147 _ACEOF
13151 done
13153 if test "$ac_cv_header_mpg123_h" = "yes"
13154 then
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13156 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13157 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13158 $as_echo_n "(cached) " >&6
13159 else
13160 ac_check_lib_save_LIBS=$LIBS
13161 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13163 /* end confdefs.h. */
13165 /* Override any GCC internal prototype to avoid an error.
13166 Use char because int might match the return type of a GCC
13167 builtin and then its argument prototype would still apply. */
13168 #ifdef __cplusplus
13169 extern "C"
13170 #endif
13171 char mpg123_feed ();
13173 main ()
13175 return mpg123_feed ();
13177 return 0;
13179 _ACEOF
13180 if ac_fn_c_try_link "$LINENO"; then :
13181 ac_cv_lib_mpg123_mpg123_feed=yes
13182 else
13183 ac_cv_lib_mpg123_mpg123_feed=no
13185 rm -f core conftest.err conftest.$ac_objext \
13186 conftest$ac_exeext conftest.$ac_ext
13187 LIBS=$ac_check_lib_save_LIBS
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13190 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13191 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13193 else
13194 MPG123_LIBS=""
13197 else
13198 MPG123_CFLAGS=""
13199 MPG123_LIBS=""
13201 CPPFLAGS=$ac_save_CPPFLAGS
13202 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13203 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13206 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13207 case "x$with_mpg123" in
13208 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13209 xno) ;;
13210 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13211 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13212 esac
13214 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}
13216 if test "$ac_cv_header_AL_al_h" = "yes"
13217 then
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13219 $as_echo_n "checking for -lopenal... " >&6; }
13220 if ${ac_cv_lib_soname_openal+:} false; then :
13221 $as_echo_n "(cached) " >&6
13222 else
13223 ac_check_soname_save_LIBS=$LIBS
13224 LIBS="-lopenal $LIBS"
13225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13226 /* end confdefs.h. */
13228 /* Override any GCC internal prototype to avoid an error.
13229 Use char because int might match the return type of a GCC
13230 builtin and then its argument prototype would still apply. */
13231 #ifdef __cplusplus
13232 extern "C"
13233 #endif
13234 char alGetSource3i ();
13236 main ()
13238 return alGetSource3i ();
13240 return 0;
13242 _ACEOF
13243 if ac_fn_c_try_link "$LINENO"; then :
13244 case "$LIBEXT" in
13245 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13246 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'` ;;
13247 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13248 if ${ac_cv_lib_soname_openal:+false} :; then :
13249 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13250 fi ;;
13251 esac
13253 rm -f core conftest.err conftest.$ac_objext \
13254 conftest$ac_exeext conftest.$ac_ext
13255 LIBS=$ac_check_soname_save_LIBS
13257 if ${ac_cv_lib_soname_openal:+false} :; then :
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13259 $as_echo "not found" >&6; }
13261 else
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13263 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13265 cat >>confdefs.h <<_ACEOF
13266 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13267 _ACEOF
13269 OPENAL_LIBS="-lopenal"
13271 ac_cv_lib_openal=yes
13273 cat >>confdefs.h <<_ACEOF
13274 #define HAVE_OPENAL 1
13275 _ACEOF
13279 if test "x$ac_cv_lib_openal" != xyes; then :
13280 case "x$with_openal" in
13281 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13282 xno) ;;
13283 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13284 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13285 esac
13287 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13289 if test "$ac_cv_header_kstat_h" = "yes"
13290 then
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13292 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13293 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13294 $as_echo_n "(cached) " >&6
13295 else
13296 ac_check_lib_save_LIBS=$LIBS
13297 LIBS="-lkstat $LIBS"
13298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h. */
13301 /* Override any GCC internal prototype to avoid an error.
13302 Use char because int might match the return type of a GCC
13303 builtin and then its argument prototype would still apply. */
13304 #ifdef __cplusplus
13305 extern "C"
13306 #endif
13307 char kstat_open ();
13309 main ()
13311 return kstat_open ();
13313 return 0;
13315 _ACEOF
13316 if ac_fn_c_try_link "$LINENO"; then :
13317 ac_cv_lib_kstat_kstat_open=yes
13318 else
13319 ac_cv_lib_kstat_kstat_open=no
13321 rm -f core conftest.err conftest.$ac_objext \
13322 conftest$ac_exeext conftest.$ac_ext
13323 LIBS=$ac_check_lib_save_LIBS
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13326 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13327 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13329 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13331 KSTAT_LIBS="-lkstat"
13337 if test "$ac_cv_header_libprocstat_h" = "yes"
13338 then
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13340 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13341 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13342 $as_echo_n "(cached) " >&6
13343 else
13344 ac_check_lib_save_LIBS=$LIBS
13345 LIBS="-lprocstat $LIBS"
13346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13347 /* end confdefs.h. */
13349 /* Override any GCC internal prototype to avoid an error.
13350 Use char because int might match the return type of a GCC
13351 builtin and then its argument prototype would still apply. */
13352 #ifdef __cplusplus
13353 extern "C"
13354 #endif
13355 char procstat_open_sysctl ();
13357 main ()
13359 return procstat_open_sysctl ();
13361 return 0;
13363 _ACEOF
13364 if ac_fn_c_try_link "$LINENO"; then :
13365 ac_cv_lib_procstat_procstat_open_sysctl=yes
13366 else
13367 ac_cv_lib_procstat_procstat_open_sysctl=no
13369 rm -f core conftest.err conftest.$ac_objext \
13370 conftest$ac_exeext conftest.$ac_ext
13371 LIBS=$ac_check_lib_save_LIBS
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13374 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13375 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13377 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13379 PROCSTAT_LIBS="-lprocstat"
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13386 $as_echo_n "checking for -lodbc... " >&6; }
13387 if ${ac_cv_lib_soname_odbc+:} false; then :
13388 $as_echo_n "(cached) " >&6
13389 else
13390 ac_check_soname_save_LIBS=$LIBS
13391 LIBS="-lodbc $LIBS"
13392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13393 /* end confdefs.h. */
13395 /* Override any GCC internal prototype to avoid an error.
13396 Use char because int might match the return type of a GCC
13397 builtin and then its argument prototype would still apply. */
13398 #ifdef __cplusplus
13399 extern "C"
13400 #endif
13401 char SQLConnect ();
13403 main ()
13405 return SQLConnect ();
13407 return 0;
13409 _ACEOF
13410 if ac_fn_c_try_link "$LINENO"; then :
13411 case "$LIBEXT" in
13412 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13413 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'` ;;
13414 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13415 if ${ac_cv_lib_soname_odbc:+false} :; then :
13416 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13417 fi ;;
13418 esac
13420 rm -f core conftest.err conftest.$ac_objext \
13421 conftest$ac_exeext conftest.$ac_ext
13422 LIBS=$ac_check_soname_save_LIBS
13424 if ${ac_cv_lib_soname_odbc:+false} :; then :
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13426 $as_echo "not found" >&6; }
13427 cat >>confdefs.h <<_ACEOF
13428 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13429 _ACEOF
13431 else
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13433 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13435 cat >>confdefs.h <<_ACEOF
13436 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13437 _ACEOF
13442 if test "x$with_netapi" != "xno"
13443 then
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13445 $as_echo_n "checking for -lnetapi... " >&6; }
13446 if ${ac_cv_lib_soname_netapi+:} false; then :
13447 $as_echo_n "(cached) " >&6
13448 else
13449 ac_check_soname_save_LIBS=$LIBS
13450 LIBS="-lnetapi $LIBS"
13451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13452 /* end confdefs.h. */
13454 /* Override any GCC internal prototype to avoid an error.
13455 Use char because int might match the return type of a GCC
13456 builtin and then its argument prototype would still apply. */
13457 #ifdef __cplusplus
13458 extern "C"
13459 #endif
13460 char libnetapi_init ();
13462 main ()
13464 return libnetapi_init ();
13466 return 0;
13468 _ACEOF
13469 if ac_fn_c_try_link "$LINENO"; then :
13470 case "$LIBEXT" in
13471 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13472 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'` ;;
13473 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13474 if ${ac_cv_lib_soname_netapi:+false} :; then :
13475 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13476 fi ;;
13477 esac
13479 rm -f core conftest.err conftest.$ac_objext \
13480 conftest$ac_exeext conftest.$ac_ext
13481 LIBS=$ac_check_soname_save_LIBS
13483 if ${ac_cv_lib_soname_netapi:+false} :; then :
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13485 $as_echo "not found" >&6; }
13486 cat >>confdefs.h <<_ACEOF
13487 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13488 _ACEOF
13490 else
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13492 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13494 cat >>confdefs.h <<_ACEOF
13495 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13496 _ACEOF
13502 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13503 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13504 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13505 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13507 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13508 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13509 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13510 then
13511 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13515 EXTRACFLAGS=""
13517 if test "x${GCC}" = "xyes"
13518 then
13519 EXTRACFLAGS="-Wall -pipe"
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13522 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13523 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13524 $as_echo_n "(cached) " >&6
13525 else
13526 if test "$cross_compiling" = yes; then :
13527 ac_cv_c_gcc_strength_bug="yes"
13528 else
13529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13530 /* end confdefs.h. */
13531 int L[4] = {0,1,2,3};
13533 main ()
13535 static int Array[3];
13536 unsigned int B = 3;
13537 int i;
13538 for(i=0; i<B; i++) Array[i] = i - 3;
13539 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13540 L[i] = 4;
13541 return (Array[1] != -2 || L[2] != 3)
13543 return 0;
13545 _ACEOF
13546 if ac_fn_c_try_run "$LINENO"; then :
13547 ac_cv_c_gcc_strength_bug="no"
13548 else
13549 ac_cv_c_gcc_strength_bug="yes"
13551 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13552 conftest.$ac_objext conftest.beam conftest.$ac_ext
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13557 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13558 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13559 then
13560 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13564 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13565 if ${ac_cv_cflags__fno_builtin+:} false; then :
13566 $as_echo_n "(cached) " >&6
13567 else
13568 ac_wine_try_cflags_saved=$CFLAGS
13569 CFLAGS="$CFLAGS -fno-builtin"
13570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13571 /* end confdefs.h. */
13572 int main(int argc, char **argv) { return 0; }
13573 _ACEOF
13574 if ac_fn_c_try_link "$LINENO"; then :
13575 ac_cv_cflags__fno_builtin=yes
13576 else
13577 ac_cv_cflags__fno_builtin=no
13579 rm -f core conftest.err conftest.$ac_objext \
13580 conftest$ac_exeext conftest.$ac_ext
13581 CFLAGS=$ac_wine_try_cflags_saved
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13584 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13585 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13586 BUILTINFLAG="-fno-builtin"
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13590 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13591 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13592 $as_echo_n "(cached) " >&6
13593 else
13594 ac_wine_try_cflags_saved=$CFLAGS
13595 CFLAGS="$CFLAGS -fno-strict-aliasing"
13596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13597 /* end confdefs.h. */
13598 int main(int argc, char **argv) { return 0; }
13599 _ACEOF
13600 if ac_fn_c_try_link "$LINENO"; then :
13601 ac_cv_cflags__fno_strict_aliasing=yes
13602 else
13603 ac_cv_cflags__fno_strict_aliasing=no
13605 rm -f core conftest.err conftest.$ac_objext \
13606 conftest$ac_exeext conftest.$ac_ext
13607 CFLAGS=$ac_wine_try_cflags_saved
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13610 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13611 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13612 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13614 saved_CFLAGS=$CFLAGS
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13616 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13617 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13618 $as_echo_n "(cached) " >&6
13619 else
13620 ac_wine_try_cflags_saved=$CFLAGS
13621 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13623 /* end confdefs.h. */
13624 int main(int argc, char **argv) { return 0; }
13625 _ACEOF
13626 if ac_fn_c_try_link "$LINENO"; then :
13627 ac_cv_cflags__Werror_unknown_warning_option=yes
13628 else
13629 ac_cv_cflags__Werror_unknown_warning_option=no
13631 rm -f core conftest.err conftest.$ac_objext \
13632 conftest$ac_exeext conftest.$ac_ext
13633 CFLAGS=$ac_wine_try_cflags_saved
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13636 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13637 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13638 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13641 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13642 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13643 $as_echo_n "(cached) " >&6
13644 else
13645 ac_wine_try_cflags_saved=$CFLAGS
13646 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13648 /* end confdefs.h. */
13649 int main(int argc, char **argv) { return 0; }
13650 _ACEOF
13651 if ac_fn_c_try_link "$LINENO"; then :
13652 ac_cv_cflags__Wdeclaration_after_statement=yes
13653 else
13654 ac_cv_cflags__Wdeclaration_after_statement=no
13656 rm -f core conftest.err conftest.$ac_objext \
13657 conftest$ac_exeext conftest.$ac_ext
13658 CFLAGS=$ac_wine_try_cflags_saved
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13661 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13662 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13663 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13666 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13667 if ${ac_cv_cflags__Wempty_body+:} false; then :
13668 $as_echo_n "(cached) " >&6
13669 else
13670 ac_wine_try_cflags_saved=$CFLAGS
13671 CFLAGS="$CFLAGS -Wempty-body"
13672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h. */
13674 int main(int argc, char **argv) { return 0; }
13675 _ACEOF
13676 if ac_fn_c_try_link "$LINENO"; then :
13677 ac_cv_cflags__Wempty_body=yes
13678 else
13679 ac_cv_cflags__Wempty_body=no
13681 rm -f core conftest.err conftest.$ac_objext \
13682 conftest$ac_exeext conftest.$ac_ext
13683 CFLAGS=$ac_wine_try_cflags_saved
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13686 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13687 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13688 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13691 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13692 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13693 $as_echo_n "(cached) " >&6
13694 else
13695 ac_wine_try_cflags_saved=$CFLAGS
13696 CFLAGS="$CFLAGS -Wignored-qualifiers"
13697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13699 int main(int argc, char **argv) { return 0; }
13700 _ACEOF
13701 if ac_fn_c_try_link "$LINENO"; then :
13702 ac_cv_cflags__Wignored_qualifiers=yes
13703 else
13704 ac_cv_cflags__Wignored_qualifiers=no
13706 rm -f core conftest.err conftest.$ac_objext \
13707 conftest$ac_exeext conftest.$ac_ext
13708 CFLAGS=$ac_wine_try_cflags_saved
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13711 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13712 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13713 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13716 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13717 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13718 $as_echo_n "(cached) " >&6
13719 else
13720 ac_wine_try_cflags_saved=$CFLAGS
13721 CFLAGS="$CFLAGS -Wstrict-prototypes"
13722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13723 /* end confdefs.h. */
13724 int main(int argc, char **argv) { return 0; }
13725 _ACEOF
13726 if ac_fn_c_try_link "$LINENO"; then :
13727 ac_cv_cflags__Wstrict_prototypes=yes
13728 else
13729 ac_cv_cflags__Wstrict_prototypes=no
13731 rm -f core conftest.err conftest.$ac_objext \
13732 conftest$ac_exeext conftest.$ac_ext
13733 CFLAGS=$ac_wine_try_cflags_saved
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13736 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13737 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13738 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13741 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13742 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13743 $as_echo_n "(cached) " >&6
13744 else
13745 ac_wine_try_cflags_saved=$CFLAGS
13746 CFLAGS="$CFLAGS -Wtype-limits"
13747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13748 /* end confdefs.h. */
13749 int main(int argc, char **argv) { return 0; }
13750 _ACEOF
13751 if ac_fn_c_try_link "$LINENO"; then :
13752 ac_cv_cflags__Wtype_limits=yes
13753 else
13754 ac_cv_cflags__Wtype_limits=no
13756 rm -f core conftest.err conftest.$ac_objext \
13757 conftest$ac_exeext conftest.$ac_ext
13758 CFLAGS=$ac_wine_try_cflags_saved
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13761 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13762 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13763 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13766 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13767 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13768 $as_echo_n "(cached) " >&6
13769 else
13770 ac_wine_try_cflags_saved=$CFLAGS
13771 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13773 /* end confdefs.h. */
13774 int main(int argc, char **argv) { return 0; }
13775 _ACEOF
13776 if ac_fn_c_try_link "$LINENO"; then :
13777 ac_cv_cflags__Wunused_but_set_parameter=yes
13778 else
13779 ac_cv_cflags__Wunused_but_set_parameter=no
13781 rm -f core conftest.err conftest.$ac_objext \
13782 conftest$ac_exeext conftest.$ac_ext
13783 CFLAGS=$ac_wine_try_cflags_saved
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13786 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13787 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13788 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13791 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13792 if ${ac_cv_cflags__Wvla+:} false; then :
13793 $as_echo_n "(cached) " >&6
13794 else
13795 ac_wine_try_cflags_saved=$CFLAGS
13796 CFLAGS="$CFLAGS -Wvla"
13797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h. */
13799 int main(int argc, char **argv) { return 0; }
13800 _ACEOF
13801 if ac_fn_c_try_link "$LINENO"; then :
13802 ac_cv_cflags__Wvla=yes
13803 else
13804 ac_cv_cflags__Wvla=no
13806 rm -f core conftest.err conftest.$ac_objext \
13807 conftest$ac_exeext conftest.$ac_ext
13808 CFLAGS=$ac_wine_try_cflags_saved
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13811 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13812 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13813 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13816 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13817 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13818 $as_echo_n "(cached) " >&6
13819 else
13820 ac_wine_try_cflags_saved=$CFLAGS
13821 CFLAGS="$CFLAGS -Wwrite-strings"
13822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13823 /* end confdefs.h. */
13824 int main(int argc, char **argv) { return 0; }
13825 _ACEOF
13826 if ac_fn_c_try_link "$LINENO"; then :
13827 ac_cv_cflags__Wwrite_strings=yes
13828 else
13829 ac_cv_cflags__Wwrite_strings=no
13831 rm -f core conftest.err conftest.$ac_objext \
13832 conftest$ac_exeext conftest.$ac_ext
13833 CFLAGS=$ac_wine_try_cflags_saved
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13836 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13837 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13838 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13842 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13843 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13844 $as_echo_n "(cached) " >&6
13845 else
13846 ac_wine_try_cflags_saved=$CFLAGS
13847 CFLAGS="$CFLAGS -Wpointer-arith"
13848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13849 /* end confdefs.h. */
13850 int main(int argc, char **argv) { return 0; }
13851 _ACEOF
13852 if ac_fn_c_try_link "$LINENO"; then :
13853 ac_cv_cflags__Wpointer_arith=yes
13854 else
13855 ac_cv_cflags__Wpointer_arith=no
13857 rm -f core conftest.err conftest.$ac_objext \
13858 conftest$ac_exeext conftest.$ac_ext
13859 CFLAGS=$ac_wine_try_cflags_saved
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13862 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13863 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13864 saved_string_h_CFLAGS=$CFLAGS
13865 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13867 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13868 if ${ac_cv_c_string_h_warnings+:} false; then :
13869 $as_echo_n "(cached) " >&6
13870 else
13871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13873 #include <string.h>
13875 main ()
13879 return 0;
13881 _ACEOF
13882 if ac_fn_c_try_compile "$LINENO"; then :
13883 ac_cv_c_string_h_warnings=no
13884 else
13885 ac_cv_c_string_h_warnings=yes
13887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13890 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13891 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13892 CFLAGS=$saved_string_h_CFLAGS
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13896 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13897 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13898 $as_echo_n "(cached) " >&6
13899 else
13900 ac_wine_try_cflags_saved=$CFLAGS
13901 CFLAGS="$CFLAGS -Wlogical-op"
13902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13903 /* end confdefs.h. */
13904 int main(int argc, char **argv) { return 0; }
13905 _ACEOF
13906 if ac_fn_c_try_link "$LINENO"; then :
13907 ac_cv_cflags__Wlogical_op=yes
13908 else
13909 ac_cv_cflags__Wlogical_op=no
13911 rm -f core conftest.err conftest.$ac_objext \
13912 conftest$ac_exeext conftest.$ac_ext
13913 CFLAGS=$ac_wine_try_cflags_saved
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13916 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13917 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13918 saved_string_h_CFLAGS=$CFLAGS
13919 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13921 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13922 if ${ac_cv_c_logicalop_noisy+:} false; then :
13923 $as_echo_n "(cached) " >&6
13924 else
13925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13926 /* end confdefs.h. */
13927 #include <string.h>
13928 char*f(const char *h,char n) {return strchr(h,n);}
13930 main ()
13934 return 0;
13936 _ACEOF
13937 if ac_fn_c_try_compile "$LINENO"; then :
13938 ac_cv_c_logicalop_noisy=no
13939 else
13940 ac_cv_c_logicalop_noisy=yes
13942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13945 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13946 CFLAGS=$saved_string_h_CFLAGS
13947 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13950 CFLAGS=$saved_CFLAGS
13952 for ac_flag in $CFLAGS; do
13953 case $ac_flag in
13954 -g) case $host_os in
13955 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13956 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13957 if ${ac_cv_cflags__gstabsp+:} false; then :
13958 $as_echo_n "(cached) " >&6
13959 else
13960 ac_wine_try_cflags_saved=$CFLAGS
13961 CFLAGS="$CFLAGS -gstabs+"
13962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13963 /* end confdefs.h. */
13964 int main(int argc, char **argv) { return 0; }
13965 _ACEOF
13966 if ac_fn_c_try_link "$LINENO"; then :
13967 ac_cv_cflags__gstabsp=yes
13968 else
13969 ac_cv_cflags__gstabsp=no
13971 rm -f core conftest.err conftest.$ac_objext \
13972 conftest$ac_exeext conftest.$ac_ext
13973 CFLAGS=$ac_wine_try_cflags_saved
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13976 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13977 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13978 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13979 fi ;;
13980 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13981 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13982 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13983 $as_echo_n "(cached) " >&6
13984 else
13985 ac_wine_try_cflags_saved=$CFLAGS
13986 CFLAGS="$CFLAGS -gdwarf-2"
13987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13989 int main(int argc, char **argv) { return 0; }
13990 _ACEOF
13991 if ac_fn_c_try_link "$LINENO"; then :
13992 ac_cv_cflags__gdwarf_2=yes
13993 else
13994 ac_cv_cflags__gdwarf_2=no
13996 rm -f core conftest.err conftest.$ac_objext \
13997 conftest$ac_exeext conftest.$ac_ext
13998 CFLAGS=$ac_wine_try_cflags_saved
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14001 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14002 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14003 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14006 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14007 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14008 $as_echo_n "(cached) " >&6
14009 else
14010 ac_wine_try_cflags_saved=$CFLAGS
14011 CFLAGS="$CFLAGS -gstrict-dwarf"
14012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h. */
14014 int main(int argc, char **argv) { return 0; }
14015 _ACEOF
14016 if ac_fn_c_try_link "$LINENO"; then :
14017 ac_cv_cflags__gstrict_dwarf=yes
14018 else
14019 ac_cv_cflags__gstrict_dwarf=no
14021 rm -f core conftest.err conftest.$ac_objext \
14022 conftest$ac_exeext conftest.$ac_ext
14023 CFLAGS=$ac_wine_try_cflags_saved
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14026 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14027 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14028 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14029 fi ;;
14030 esac ;;
14031 esac
14032 done
14034 case $host_cpu in
14035 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14036 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14037 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14038 $as_echo_n "(cached) " >&6
14039 else
14040 ac_wine_try_cflags_saved=$CFLAGS
14041 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14044 int main(int argc, char **argv) { return 0; }
14045 _ACEOF
14046 if ac_fn_c_try_link "$LINENO"; then :
14047 ac_cv_cflags__fno_omit_frame_pointer=yes
14048 else
14049 ac_cv_cflags__fno_omit_frame_pointer=no
14051 rm -f core conftest.err conftest.$ac_objext \
14052 conftest$ac_exeext conftest.$ac_ext
14053 CFLAGS=$ac_wine_try_cflags_saved
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14056 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14057 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14058 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14059 fi ;;
14060 esac
14062 case $host in
14063 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14064 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14065 if ${ac_cv_cflags__Wno_format+:} false; then :
14066 $as_echo_n "(cached) " >&6
14067 else
14068 ac_wine_try_cflags_saved=$CFLAGS
14069 CFLAGS="$CFLAGS -Wno-format"
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__Wno_format=yes
14076 else
14077 ac_cv_cflags__Wno_format=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__Wno_format" >&5
14084 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14085 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14086 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14087 fi ;;
14088 esac
14090 if test "x$enable_maintainer_mode" = "xyes"
14091 then
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14093 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14094 if ${ac_cv_cflags__Werror+:} false; then :
14095 $as_echo_n "(cached) " >&6
14096 else
14097 ac_wine_try_cflags_saved=$CFLAGS
14098 CFLAGS="$CFLAGS -Werror"
14099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14100 /* end confdefs.h. */
14101 int main(int argc, char **argv) { return 0; }
14102 _ACEOF
14103 if ac_fn_c_try_link "$LINENO"; then :
14104 ac_cv_cflags__Werror=yes
14105 else
14106 ac_cv_cflags__Werror=no
14108 rm -f core conftest.err conftest.$ac_objext \
14109 conftest$ac_exeext conftest.$ac_ext
14110 CFLAGS=$ac_wine_try_cflags_saved
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14113 $as_echo "$ac_cv_cflags__Werror" >&6; }
14114 if test "x$ac_cv_cflags__Werror" = xyes; then :
14115 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14119 saved_CFLAGS="$CFLAGS"
14120 CFLAGS="$CFLAGS -Werror"
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14122 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14123 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14124 $as_echo_n "(cached) " >&6
14125 else
14126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14127 /* end confdefs.h. */
14128 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14130 main ()
14134 return 0;
14136 _ACEOF
14137 if ac_fn_c_try_compile "$LINENO"; then :
14138 ac_cv_have_ms_hook_prologue="yes"
14139 else
14140 ac_cv_have_ms_hook_prologue="no"
14142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14145 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14146 CFLAGS="$saved_CFLAGS"
14147 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14148 then
14150 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14152 else
14153 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14160 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14161 if ${ac_cv_c_fortify_enabled+:} false; then :
14162 $as_echo_n "(cached) " >&6
14163 else
14164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14165 /* end confdefs.h. */
14166 #include <string.h>
14168 main ()
14170 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14171 #error Fortify enabled
14172 #endif
14174 return 0;
14176 _ACEOF
14177 if ac_fn_c_try_compile "$LINENO"; then :
14178 ac_cv_c_fortify_enabled=no
14179 else
14180 ac_cv_c_fortify_enabled=yes
14182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14185 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14186 if test "$ac_cv_c_fortify_enabled" = yes
14187 then
14188 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14193 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14194 if ${ac_cv_c_extern_prefix+:} false; then :
14195 $as_echo_n "(cached) " >&6
14196 else
14197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14199 extern int ac_test;
14201 main ()
14203 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14205 return 0;
14207 _ACEOF
14208 if ac_fn_c_try_link "$LINENO"; then :
14209 ac_cv_c_extern_prefix="yes"
14210 else
14211 ac_cv_c_extern_prefix="no"
14213 rm -f core conftest.err conftest.$ac_objext \
14214 conftest$ac_exeext conftest.$ac_ext
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14217 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14219 case $host_cpu in
14220 *i[3456789]86*)
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14222 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14223 if ${ac_cv_c_stdcall_suffix+:} false; then :
14224 $as_echo_n "(cached) " >&6
14225 else
14226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14227 /* end confdefs.h. */
14228 #ifndef _MSC_VER
14229 #define __stdcall __attribute__((__stdcall__))
14230 #endif
14231 int __stdcall ac_test(int i) { return i; }
14233 main ()
14235 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14237 return 0;
14239 _ACEOF
14240 if ac_fn_c_try_link "$LINENO"; then :
14241 ac_cv_c_stdcall_suffix="yes"
14242 else
14243 ac_cv_c_stdcall_suffix="no"
14245 rm -f core conftest.err conftest.$ac_objext \
14246 conftest$ac_exeext conftest.$ac_ext
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14249 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14250 *) ac_cv_c_stdcall_suffix="no" ;;
14251 esac
14254 if test "$ac_cv_c_extern_prefix" = "yes"
14255 then
14256 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14258 asm_name_prefix="_"
14259 else
14260 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14262 asm_name_prefix=""
14266 if test "$ac_cv_c_stdcall_suffix" = "yes"
14267 then
14268 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14270 else
14271 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14277 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14278 if ${ac_cv_asm_func_def+:} false; then :
14279 $as_echo_n "(cached) " >&6
14280 else
14281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14282 /* end confdefs.h. */
14285 main ()
14287 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14289 return 0;
14291 _ACEOF
14292 if ac_fn_c_try_link "$LINENO"; then :
14293 ac_cv_asm_func_def=".def"
14294 else
14295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14296 /* end confdefs.h. */
14299 main ()
14301 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14303 return 0;
14305 _ACEOF
14306 if ac_fn_c_try_link "$LINENO"; then :
14307 ac_cv_asm_func_def=".type @function"
14308 else
14309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14313 main ()
14315 asm("\t.globl _ac_test\n\t.type _ac_test,2\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=".type 2"
14322 else
14323 ac_cv_asm_func_def="unknown"
14325 rm -f core conftest.err conftest.$ac_objext \
14326 conftest$ac_exeext conftest.$ac_ext
14328 rm -f core conftest.err conftest.$ac_objext \
14329 conftest$ac_exeext conftest.$ac_ext
14331 rm -f core conftest.err conftest.$ac_objext \
14332 conftest$ac_exeext conftest.$ac_ext
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14335 $as_echo "$ac_cv_asm_func_def" >&6; }
14338 case "$ac_cv_asm_func_def" in
14339 ".def")
14340 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14342 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14343 ".type @function")
14344 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14346 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14347 ".type 2")
14348 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14350 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14352 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14354 asm_func_header="" ;;
14355 esac
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14358 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14359 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14360 $as_echo_n "(cached) " >&6
14361 else
14362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14364 asm(".text\n\t.long 0");
14366 main ()
14370 return 0;
14372 _ACEOF
14373 if ac_fn_c_try_compile "$LINENO"; then :
14374 ac_cv_c_asm_outside_funcs="yes"
14375 else
14376 ac_cv_c_asm_outside_funcs="no"
14378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14381 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14384 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14385 if ${ac_cv_c_dot_previous+:} false; then :
14386 $as_echo_n "(cached) " >&6
14387 else
14388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14392 main ()
14394 asm(".text\nac_test:\t.long 0\n\t.previous");
14396 return 0;
14398 _ACEOF
14399 if ac_fn_c_try_link "$LINENO"; then :
14400 ac_cv_c_dot_previous="yes"
14401 else
14402 ac_cv_c_dot_previous="no"
14404 rm -f core conftest.err conftest.$ac_objext \
14405 conftest$ac_exeext conftest.$ac_ext
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14408 $as_echo "$ac_cv_c_dot_previous" >&6; }
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14411 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14412 if ${ac_cv_c_cfi_support+:} false; then :
14413 $as_echo_n "(cached) " >&6
14414 else
14415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14416 /* end confdefs.h. */
14417 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14419 main ()
14423 return 0;
14425 _ACEOF
14426 if ac_fn_c_try_compile "$LINENO"; then :
14427 ac_cv_c_cfi_support="yes"
14428 else
14429 ac_cv_c_cfi_support="no"
14431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14434 $as_echo "$ac_cv_c_cfi_support" >&6; }
14436 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14437 asm_func_trailer=""
14438 if test "$ac_cv_c_dot_previous" = "yes"
14439 then
14440 asm_func_trailer="\\n\\t.previous"
14442 if test "$ac_cv_c_cfi_support" = "yes"
14443 then
14444 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14445 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14447 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14449 UNWINDFLAGS=-fasynchronous-unwind-tables
14451 else
14452 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14456 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14459 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14460 then
14461 cat >>confdefs.h <<_ACEOF
14462 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14463 _ACEOF
14465 else
14466 cat >>confdefs.h <<_ACEOF
14467 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14468 _ACEOF
14472 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14475 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14479 case $build_os in
14480 cygwin*|mingw32*) TOOLSEXT=".exe"
14482 esac
14484 case $host_os in
14485 linux*)
14486 case $host_cpu in
14487 *i[3456789]86*|x86_64*)
14488 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14489 loader_programs="$loader_programs $wine_binary-preloader"
14490 as_fn_append LOADER_RULES "
14491 $wine_binary-preloader: preloader.o
14492 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14494 install install-lib:: $wine_binary-preloader
14495 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14497 uninstall::
14498 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14500 preloader_EXTRADEFS = $BUILTINFLAG
14501 " ;;
14502 esac
14504 esac
14505 as_fn_append LOADER_RULES "
14506 PROGRAMS = $loader_programs
14510 ac_save_CFLAGS="$CFLAGS"
14511 CFLAGS="$CFLAGS $BUILTINFLAG"
14512 for ac_func in \
14513 __res_get_state \
14514 __res_getservers \
14515 _finite \
14516 _isnan \
14517 _pclose \
14518 _popen \
14519 _snprintf \
14520 _spawnvp \
14521 _strdup \
14522 _stricmp \
14523 _strnicmp \
14524 _strtoi64 \
14525 _strtoui64 \
14526 _vsnprintf \
14527 asctime_r \
14528 chsize \
14529 dlopen \
14530 epoll_create \
14531 ffs \
14532 fnmatch \
14533 fork \
14534 fpclass \
14535 fstatfs \
14536 fstatvfs \
14537 ftruncate \
14538 futimens \
14539 futimes \
14540 futimesat \
14541 getattrlist \
14542 getdirentries \
14543 getopt_long_only \
14544 getpwuid \
14545 gettimeofday \
14546 getuid \
14547 if_nameindex \
14548 kqueue \
14549 lstat \
14550 memmove \
14551 mmap \
14552 pclose \
14553 pipe2 \
14554 poll \
14555 popen \
14556 port_create \
14557 prctl \
14558 pread \
14559 proc_pidinfo \
14560 pwrite \
14561 readdir \
14562 readlink \
14563 sched_yield \
14564 select \
14565 setproctitle \
14566 setrlimit \
14567 settimeofday \
14568 sigaltstack \
14569 sigprocmask \
14570 snprintf \
14571 statfs \
14572 statvfs \
14573 strcasecmp \
14574 strdup \
14575 strerror \
14576 strncasecmp \
14577 strtold \
14578 strtoll \
14579 strtoull \
14580 symlink \
14581 tcdrain \
14582 thr_kill2 \
14583 timegm \
14584 usleep \
14585 vsnprintf
14587 do :
14588 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14589 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14590 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14591 cat >>confdefs.h <<_ACEOF
14592 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14593 _ACEOF
14596 done
14598 CFLAGS="$ac_save_CFLAGS"
14600 if test "$ac_cv_func_dlopen" = no
14601 then
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14603 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14604 if ${ac_cv_lib_dl_dlopen+:} false; then :
14605 $as_echo_n "(cached) " >&6
14606 else
14607 ac_check_lib_save_LIBS=$LIBS
14608 LIBS="-ldl $LIBS"
14609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14610 /* end confdefs.h. */
14612 /* Override any GCC internal prototype to avoid an error.
14613 Use char because int might match the return type of a GCC
14614 builtin and then its argument prototype would still apply. */
14615 #ifdef __cplusplus
14616 extern "C"
14617 #endif
14618 char dlopen ();
14620 main ()
14622 return dlopen ();
14624 return 0;
14626 _ACEOF
14627 if ac_fn_c_try_link "$LINENO"; then :
14628 ac_cv_lib_dl_dlopen=yes
14629 else
14630 ac_cv_lib_dl_dlopen=no
14632 rm -f core conftest.err conftest.$ac_objext \
14633 conftest$ac_exeext conftest.$ac_ext
14634 LIBS=$ac_check_lib_save_LIBS
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14637 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14638 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14639 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14640 DL_LIBS="-ldl"
14645 ac_wine_check_funcs_save_LIBS="$LIBS"
14646 LIBS="$LIBS $DL_LIBS"
14647 for ac_func in dladdr
14648 do :
14649 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14650 if test "x$ac_cv_func_dladdr" = xyes; then :
14651 cat >>confdefs.h <<_ACEOF
14652 #define HAVE_DLADDR 1
14653 _ACEOF
14656 done
14658 LIBS="$ac_wine_check_funcs_save_LIBS"
14660 if test "$ac_cv_func_poll" = no
14661 then
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14663 $as_echo_n "checking for poll in -lpoll... " >&6; }
14664 if ${ac_cv_lib_poll_poll+:} false; then :
14665 $as_echo_n "(cached) " >&6
14666 else
14667 ac_check_lib_save_LIBS=$LIBS
14668 LIBS="-lpoll $LIBS"
14669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14670 /* end confdefs.h. */
14672 /* Override any GCC internal prototype to avoid an error.
14673 Use char because int might match the return type of a GCC
14674 builtin and then its argument prototype would still apply. */
14675 #ifdef __cplusplus
14676 extern "C"
14677 #endif
14678 char poll ();
14680 main ()
14682 return poll ();
14684 return 0;
14686 _ACEOF
14687 if ac_fn_c_try_link "$LINENO"; then :
14688 ac_cv_lib_poll_poll=yes
14689 else
14690 ac_cv_lib_poll_poll=no
14692 rm -f core conftest.err conftest.$ac_objext \
14693 conftest$ac_exeext conftest.$ac_ext
14694 LIBS=$ac_check_lib_save_LIBS
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14697 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14698 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14699 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14700 POLL_LIBS="-lpoll"
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14707 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14708 if ${ac_cv_search_gethostbyname+:} false; then :
14709 $as_echo_n "(cached) " >&6
14710 else
14711 ac_func_search_save_LIBS=$LIBS
14712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14713 /* end confdefs.h. */
14715 /* Override any GCC internal prototype to avoid an error.
14716 Use char because int might match the return type of a GCC
14717 builtin and then its argument prototype would still apply. */
14718 #ifdef __cplusplus
14719 extern "C"
14720 #endif
14721 char gethostbyname ();
14723 main ()
14725 return gethostbyname ();
14727 return 0;
14729 _ACEOF
14730 for ac_lib in '' nsl; do
14731 if test -z "$ac_lib"; then
14732 ac_res="none required"
14733 else
14734 ac_res=-l$ac_lib
14735 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14737 if ac_fn_c_try_link "$LINENO"; then :
14738 ac_cv_search_gethostbyname=$ac_res
14740 rm -f core conftest.err conftest.$ac_objext \
14741 conftest$ac_exeext
14742 if ${ac_cv_search_gethostbyname+:} false; then :
14743 break
14745 done
14746 if ${ac_cv_search_gethostbyname+:} false; then :
14748 else
14749 ac_cv_search_gethostbyname=no
14751 rm conftest.$ac_ext
14752 LIBS=$ac_func_search_save_LIBS
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14755 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14756 ac_res=$ac_cv_search_gethostbyname
14757 if test "$ac_res" != no; then :
14758 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14764 $as_echo_n "checking for library containing connect... " >&6; }
14765 if ${ac_cv_search_connect+:} false; then :
14766 $as_echo_n "(cached) " >&6
14767 else
14768 ac_func_search_save_LIBS=$LIBS
14769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14770 /* end confdefs.h. */
14772 /* Override any GCC internal prototype to avoid an error.
14773 Use char because int might match the return type of a GCC
14774 builtin and then its argument prototype would still apply. */
14775 #ifdef __cplusplus
14776 extern "C"
14777 #endif
14778 char connect ();
14780 main ()
14782 return connect ();
14784 return 0;
14786 _ACEOF
14787 for ac_lib in '' socket; do
14788 if test -z "$ac_lib"; then
14789 ac_res="none required"
14790 else
14791 ac_res=-l$ac_lib
14792 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14794 if ac_fn_c_try_link "$LINENO"; then :
14795 ac_cv_search_connect=$ac_res
14797 rm -f core conftest.err conftest.$ac_objext \
14798 conftest$ac_exeext
14799 if ${ac_cv_search_connect+:} false; then :
14800 break
14802 done
14803 if ${ac_cv_search_connect+:} false; then :
14805 else
14806 ac_cv_search_connect=no
14808 rm conftest.$ac_ext
14809 LIBS=$ac_func_search_save_LIBS
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14812 $as_echo "$ac_cv_search_connect" >&6; }
14813 ac_res=$ac_cv_search_connect
14814 if test "$ac_res" != no; then :
14815 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14821 $as_echo_n "checking for library containing inet_aton... " >&6; }
14822 if ${ac_cv_search_inet_aton+:} false; then :
14823 $as_echo_n "(cached) " >&6
14824 else
14825 ac_func_search_save_LIBS=$LIBS
14826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14827 /* end confdefs.h. */
14829 /* Override any GCC internal prototype to avoid an error.
14830 Use char because int might match the return type of a GCC
14831 builtin and then its argument prototype would still apply. */
14832 #ifdef __cplusplus
14833 extern "C"
14834 #endif
14835 char inet_aton ();
14837 main ()
14839 return inet_aton ();
14841 return 0;
14843 _ACEOF
14844 for ac_lib in '' resolv; do
14845 if test -z "$ac_lib"; then
14846 ac_res="none required"
14847 else
14848 ac_res=-l$ac_lib
14849 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14851 if ac_fn_c_try_link "$LINENO"; then :
14852 ac_cv_search_inet_aton=$ac_res
14854 rm -f core conftest.err conftest.$ac_objext \
14855 conftest$ac_exeext
14856 if ${ac_cv_search_inet_aton+:} false; then :
14857 break
14859 done
14860 if ${ac_cv_search_inet_aton+:} false; then :
14862 else
14863 ac_cv_search_inet_aton=no
14865 rm conftest.$ac_ext
14866 LIBS=$ac_func_search_save_LIBS
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14869 $as_echo "$ac_cv_search_inet_aton" >&6; }
14870 ac_res=$ac_cv_search_inet_aton
14871 if test "$ac_res" != no; then :
14872 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14877 for ac_func in \
14878 getaddrinfo \
14879 getnameinfo \
14880 getnetbyname \
14881 getprotobyname \
14882 getprotobynumber \
14883 getservbyport \
14884 inet_addr \
14885 inet_network \
14886 inet_ntop \
14887 inet_pton \
14888 sendmsg \
14889 socketpair \
14891 do :
14892 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14893 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14894 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14895 cat >>confdefs.h <<_ACEOF
14896 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14897 _ACEOF
14900 done
14903 ac_save_LIBS=$LIBS
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14905 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14906 if ${ac_cv_search_clock_gettime+:} false; then :
14907 $as_echo_n "(cached) " >&6
14908 else
14909 ac_func_search_save_LIBS=$LIBS
14910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14911 /* end confdefs.h. */
14913 /* Override any GCC internal prototype to avoid an error.
14914 Use char because int might match the return type of a GCC
14915 builtin and then its argument prototype would still apply. */
14916 #ifdef __cplusplus
14917 extern "C"
14918 #endif
14919 char clock_gettime ();
14921 main ()
14923 return clock_gettime ();
14925 return 0;
14927 _ACEOF
14928 for ac_lib in '' rt; do
14929 if test -z "$ac_lib"; then
14930 ac_res="none required"
14931 else
14932 ac_res=-l$ac_lib
14933 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14935 if ac_fn_c_try_link "$LINENO"; then :
14936 ac_cv_search_clock_gettime=$ac_res
14938 rm -f core conftest.err conftest.$ac_objext \
14939 conftest$ac_exeext
14940 if ${ac_cv_search_clock_gettime+:} false; then :
14941 break
14943 done
14944 if ${ac_cv_search_clock_gettime+:} false; then :
14946 else
14947 ac_cv_search_clock_gettime=no
14949 rm conftest.$ac_ext
14950 LIBS=$ac_func_search_save_LIBS
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14953 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14954 ac_res=$ac_cv_search_clock_gettime
14955 if test "$ac_res" != no; then :
14956 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14958 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14960 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14964 LIBS=$ac_save_LIBS
14966 LDAP_LIBS=""
14968 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14969 then
14970 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14972 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14974 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14975 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14976 $as_echo_n "(cached) " >&6
14977 else
14978 ac_check_lib_save_LIBS=$LIBS
14979 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14981 /* end confdefs.h. */
14983 /* Override any GCC internal prototype to avoid an error.
14984 Use char because int might match the return type of a GCC
14985 builtin and then its argument prototype would still apply. */
14986 #ifdef __cplusplus
14987 extern "C"
14988 #endif
14989 char ldap_initialize ();
14991 main ()
14993 return ldap_initialize ();
14995 return 0;
14997 _ACEOF
14998 if ac_fn_c_try_link "$LINENO"; then :
14999 ac_cv_lib_ldap_r_ldap_initialize=yes
15000 else
15001 ac_cv_lib_ldap_r_ldap_initialize=no
15003 rm -f core conftest.err conftest.$ac_objext \
15004 conftest$ac_exeext conftest.$ac_ext
15005 LIBS=$ac_check_lib_save_LIBS
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15008 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15009 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15011 $as_echo_n "checking for ber_init in -llber... " >&6; }
15012 if ${ac_cv_lib_lber_ber_init+:} false; then :
15013 $as_echo_n "(cached) " >&6
15014 else
15015 ac_check_lib_save_LIBS=$LIBS
15016 LIBS="-llber $PTHREAD_LIBS $LIBS"
15017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15018 /* end confdefs.h. */
15020 /* Override any GCC internal prototype to avoid an error.
15021 Use char because int might match the return type of a GCC
15022 builtin and then its argument prototype would still apply. */
15023 #ifdef __cplusplus
15024 extern "C"
15025 #endif
15026 char ber_init ();
15028 main ()
15030 return ber_init ();
15032 return 0;
15034 _ACEOF
15035 if ac_fn_c_try_link "$LINENO"; then :
15036 ac_cv_lib_lber_ber_init=yes
15037 else
15038 ac_cv_lib_lber_ber_init=no
15040 rm -f core conftest.err conftest.$ac_objext \
15041 conftest$ac_exeext conftest.$ac_ext
15042 LIBS=$ac_check_lib_save_LIBS
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15045 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15046 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15048 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15050 LDAP_LIBS="-lldap_r -llber"
15057 ac_wine_check_funcs_save_LIBS="$LIBS"
15058 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15059 for ac_func in \
15060 ldap_count_references \
15061 ldap_first_reference \
15062 ldap_next_reference \
15063 ldap_parse_reference \
15064 ldap_parse_sort_control \
15065 ldap_parse_sortresponse_control \
15066 ldap_parse_vlv_control \
15067 ldap_parse_vlvresponse_control
15068 do :
15069 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15070 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15071 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15072 cat >>confdefs.h <<_ACEOF
15073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15074 _ACEOF
15077 done
15079 LIBS="$ac_wine_check_funcs_save_LIBS"
15081 if test "x$LDAP_LIBS" = "x"; then :
15082 case "x$with_ldap" in
15083 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15084 xno) ;;
15085 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15086 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15087 esac
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15091 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15092 if ${wine_cv_one_arg_mkdir+:} false; then :
15093 $as_echo_n "(cached) " >&6
15094 else
15095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15096 /* end confdefs.h. */
15097 #include <sys/stat.h>
15099 main ()
15101 mkdir("foo");
15103 return 0;
15105 _ACEOF
15106 if ac_fn_c_try_compile "$LINENO"; then :
15107 wine_cv_one_arg_mkdir=yes
15108 else
15109 wine_cv_one_arg_mkdir=no
15111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15114 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15115 if test "$wine_cv_one_arg_mkdir" = "yes"
15116 then
15118 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15123 $as_echo_n "checking for sched_setaffinity... " >&6; }
15124 if ${wine_cv_have_sched_setaffinity+:} false; then :
15125 $as_echo_n "(cached) " >&6
15126 else
15127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15128 /* end confdefs.h. */
15129 #define _GNU_SOURCE
15130 #include <sched.h>
15132 main ()
15134 sched_setaffinity(0, 0, 0);
15136 return 0;
15138 _ACEOF
15139 if ac_fn_c_try_link "$LINENO"; then :
15140 wine_cv_have_sched_setaffinity=yes
15141 else
15142 wine_cv_have_sched_setaffinity=no
15144 rm -f core conftest.err conftest.$ac_objext \
15145 conftest$ac_exeext conftest.$ac_ext
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15148 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15149 if test "$wine_cv_have_sched_setaffinity" = "yes"
15150 then
15152 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15157 $as_echo_n "checking for fallocate... " >&6; }
15158 if ${wine_cv_have_fallocate+:} false; then :
15159 $as_echo_n "(cached) " >&6
15160 else
15161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15162 /* end confdefs.h. */
15163 #define _GNU_SOURCE
15164 #include <fcntl.h>
15166 main ()
15168 fallocate(-1, 0, 0, 0);
15170 return 0;
15172 _ACEOF
15173 if ac_fn_c_try_link "$LINENO"; then :
15174 wine_cv_have_fallocate=yes
15175 else
15176 wine_cv_have_fallocate=no
15178 rm -f core conftest.err conftest.$ac_objext \
15179 conftest$ac_exeext conftest.$ac_ext
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15182 $as_echo "$wine_cv_have_fallocate" >&6; }
15183 if test "$wine_cv_have_fallocate" = "yes"
15184 then
15186 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15192 $as_echo_n "checking for inline... " >&6; }
15193 if ${ac_cv_c_inline+:} false; then :
15194 $as_echo_n "(cached) " >&6
15195 else
15196 ac_cv_c_inline=no
15197 for ac_kw in inline __inline__ __inline; do
15198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15199 /* end confdefs.h. */
15200 #ifndef __cplusplus
15201 typedef int foo_t;
15202 static $ac_kw foo_t static_foo () {return 0; }
15203 $ac_kw foo_t foo () {return 0; }
15204 #endif
15206 _ACEOF
15207 if ac_fn_c_try_compile "$LINENO"; then :
15208 ac_cv_c_inline=$ac_kw
15210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15211 test "$ac_cv_c_inline" != no && break
15212 done
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15216 $as_echo "$ac_cv_c_inline" >&6; }
15218 case $ac_cv_c_inline in
15219 inline | yes) ;;
15221 case $ac_cv_c_inline in
15222 no) ac_val=;;
15223 *) ac_val=$ac_cv_c_inline;;
15224 esac
15225 cat >>confdefs.h <<_ACEOF
15226 #ifndef __cplusplus
15227 #define inline $ac_val
15228 #endif
15229 _ACEOF
15231 esac
15233 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15234 if test "x$ac_cv_type_mode_t" = xyes; then :
15236 cat >>confdefs.h <<_ACEOF
15237 #define HAVE_MODE_T 1
15238 _ACEOF
15242 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15243 if test "x$ac_cv_type_off_t" = xyes; then :
15245 cat >>confdefs.h <<_ACEOF
15246 #define HAVE_OFF_T 1
15247 _ACEOF
15251 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15252 if test "x$ac_cv_type_pid_t" = xyes; then :
15254 cat >>confdefs.h <<_ACEOF
15255 #define HAVE_PID_T 1
15256 _ACEOF
15260 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15261 if test "x$ac_cv_type_size_t" = xyes; then :
15263 cat >>confdefs.h <<_ACEOF
15264 #define HAVE_SIZE_T 1
15265 _ACEOF
15269 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15270 if test "x$ac_cv_type_ssize_t" = xyes; then :
15272 cat >>confdefs.h <<_ACEOF
15273 #define HAVE_SSIZE_T 1
15274 _ACEOF
15278 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15279 if test "x$ac_cv_type_long_long" = xyes; then :
15281 cat >>confdefs.h <<_ACEOF
15282 #define HAVE_LONG_LONG 1
15283 _ACEOF
15287 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15288 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15290 cat >>confdefs.h <<_ACEOF
15291 #define HAVE_FSBLKCNT_T 1
15292 _ACEOF
15296 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15297 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15299 cat >>confdefs.h <<_ACEOF
15300 #define HAVE_FSFILCNT_T 1
15301 _ACEOF
15306 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15307 #include <signal.h>
15309 if test "x$ac_cv_type_sigset_t" = xyes; then :
15311 cat >>confdefs.h <<_ACEOF
15312 #define HAVE_SIGSET_T 1
15313 _ACEOF
15318 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15320 if test "x$ac_cv_type_request_sense" = xyes; then :
15322 cat >>confdefs.h <<_ACEOF
15323 #define HAVE_REQUEST_SENSE 1
15324 _ACEOF
15330 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15331 #ifdef HAVE_SYS_SOCKET_H
15332 #include <sys/socket.h>
15333 #endif
15334 #ifdef HAVE_SYS_SOCKETVAR_H
15335 #include <sys/socketvar.h>
15336 #endif
15337 #ifdef HAVE_NET_ROUTE_H
15338 #include <net/route.h>
15339 #endif
15340 #ifdef HAVE_NETINET_IN_H
15341 #include <netinet/in.h>
15342 #endif
15343 #ifdef HAVE_NETINET_IN_SYSTM_H
15344 #include <netinet/in_systm.h>
15345 #endif
15346 #ifdef HAVE_NETINET_IP_H
15347 #include <netinet/ip.h>
15348 #endif
15349 #ifdef HAVE_NETINET_IN_PCB_H
15350 #include <netinet/in_pcb.h>
15351 #endif
15353 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15355 cat >>confdefs.h <<_ACEOF
15356 #define HAVE_STRUCT_XINPGEN 1
15357 _ACEOF
15363 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15364 #include <link.h>
15365 #endif
15366 #ifdef HAVE_SYS_LINK_H
15367 #include <sys/link.h>
15368 #endif
15370 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15372 cat >>confdefs.h <<_ACEOF
15373 #define HAVE_STRUCT_R_DEBUG 1
15374 _ACEOF
15378 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15379 #include <link.h>
15380 #endif
15381 #ifdef HAVE_SYS_LINK_H
15382 #include <sys/link.h>
15383 #endif
15385 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15387 cat >>confdefs.h <<_ACEOF
15388 #define HAVE_STRUCT_LINK_MAP 1
15389 _ACEOF
15395 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15396 #include <linux/input.h>
15397 #endif
15399 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15401 cat >>confdefs.h <<_ACEOF
15402 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15403 _ACEOF
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15410 $as_echo_n "checking for sigaddset... " >&6; }
15411 if ${wine_cv_have_sigaddset+:} false; then :
15412 $as_echo_n "(cached) " >&6
15413 else
15414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15415 /* end confdefs.h. */
15416 #include <signal.h>
15418 main ()
15420 sigset_t set; sigaddset(&set,SIGTERM);
15422 return 0;
15424 _ACEOF
15425 if ac_fn_c_try_link "$LINENO"; then :
15426 wine_cv_have_sigaddset=yes
15427 else
15428 wine_cv_have_sigaddset=no
15430 rm -f core conftest.err conftest.$ac_objext \
15431 conftest$ac_exeext conftest.$ac_ext
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15434 $as_echo "$wine_cv_have_sigaddset" >&6; }
15435 if test "$wine_cv_have_sigaddset" = "yes"
15436 then
15438 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15444 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15445 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15446 $as_echo_n "(cached) " >&6
15447 else
15448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15449 /* end confdefs.h. */
15450 #include <netdb.h>
15452 main ()
15455 char *name=0;
15456 struct hostent he;
15457 struct hostent *result;
15458 char *buf=0;
15459 int bufsize=0;
15460 int errnr;
15461 char *addr=0;
15462 int addrlen=0;
15463 int addrtype=0;
15464 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15465 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15468 return 0;
15470 _ACEOF
15471 if ac_fn_c_try_link "$LINENO"; then :
15472 wine_cv_linux_gethostbyname_r_6=yes
15473 else
15474 wine_cv_linux_gethostbyname_r_6=no
15477 rm -f core conftest.err conftest.$ac_objext \
15478 conftest$ac_exeext conftest.$ac_ext
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15482 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15483 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15484 then
15486 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15490 if test "$ac_cv_header_linux_joystick_h" = "yes"
15491 then
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15493 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15494 if ${wine_cv_linux_joystick_22_api+:} false; then :
15495 $as_echo_n "(cached) " >&6
15496 else
15497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15498 /* end confdefs.h. */
15500 #include <sys/ioctl.h>
15501 #include <sys/types.h>
15502 #include <linux/joystick.h>
15504 struct js_event blub;
15505 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15506 #error "no 2.2 header"
15507 #endif
15510 main ()
15512 /*empty*/
15514 return 0;
15516 _ACEOF
15517 if ac_fn_c_try_compile "$LINENO"; then :
15518 wine_cv_linux_joystick_22_api=yes
15519 else
15520 wine_cv_linux_joystick_22_api=no
15522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15526 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15527 if test "$wine_cv_linux_joystick_22_api" = "yes"
15528 then
15530 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15536 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15537 #ifdef HAVE_SYS_PARAM_H
15538 # include <sys/param.h>
15539 #endif
15540 #ifdef HAVE_SYS_MOUNT_H
15541 # include <sys/mount.h>
15542 #endif
15543 #ifdef HAVE_SYS_VFS_H
15544 # include <sys/vfs.h>
15545 #endif
15546 #ifdef HAVE_SYS_STATFS_H
15547 # include <sys/statfs.h>
15548 #endif
15550 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15552 cat >>confdefs.h <<_ACEOF
15553 #define HAVE_STRUCT_STATFS_F_BFREE 1
15554 _ACEOF
15558 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15559 #ifdef HAVE_SYS_PARAM_H
15560 # include <sys/param.h>
15561 #endif
15562 #ifdef HAVE_SYS_MOUNT_H
15563 # include <sys/mount.h>
15564 #endif
15565 #ifdef HAVE_SYS_VFS_H
15566 # include <sys/vfs.h>
15567 #endif
15568 #ifdef HAVE_SYS_STATFS_H
15569 # include <sys/statfs.h>
15570 #endif
15572 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15574 cat >>confdefs.h <<_ACEOF
15575 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15576 _ACEOF
15580 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15581 #ifdef HAVE_SYS_PARAM_H
15582 # include <sys/param.h>
15583 #endif
15584 #ifdef HAVE_SYS_MOUNT_H
15585 # include <sys/mount.h>
15586 #endif
15587 #ifdef HAVE_SYS_VFS_H
15588 # include <sys/vfs.h>
15589 #endif
15590 #ifdef HAVE_SYS_STATFS_H
15591 # include <sys/statfs.h>
15592 #endif
15594 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15596 cat >>confdefs.h <<_ACEOF
15597 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15598 _ACEOF
15602 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15603 #ifdef HAVE_SYS_PARAM_H
15604 # include <sys/param.h>
15605 #endif
15606 #ifdef HAVE_SYS_MOUNT_H
15607 # include <sys/mount.h>
15608 #endif
15609 #ifdef HAVE_SYS_VFS_H
15610 # include <sys/vfs.h>
15611 #endif
15612 #ifdef HAVE_SYS_STATFS_H
15613 # include <sys/statfs.h>
15614 #endif
15616 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15618 cat >>confdefs.h <<_ACEOF
15619 #define HAVE_STRUCT_STATFS_F_FFREE 1
15620 _ACEOF
15624 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15625 #ifdef HAVE_SYS_PARAM_H
15626 # include <sys/param.h>
15627 #endif
15628 #ifdef HAVE_SYS_MOUNT_H
15629 # include <sys/mount.h>
15630 #endif
15631 #ifdef HAVE_SYS_VFS_H
15632 # include <sys/vfs.h>
15633 #endif
15634 #ifdef HAVE_SYS_STATFS_H
15635 # include <sys/statfs.h>
15636 #endif
15638 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15640 cat >>confdefs.h <<_ACEOF
15641 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15642 _ACEOF
15646 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15647 #ifdef HAVE_SYS_PARAM_H
15648 # include <sys/param.h>
15649 #endif
15650 #ifdef HAVE_SYS_MOUNT_H
15651 # include <sys/mount.h>
15652 #endif
15653 #ifdef HAVE_SYS_VFS_H
15654 # include <sys/vfs.h>
15655 #endif
15656 #ifdef HAVE_SYS_STATFS_H
15657 # include <sys/statfs.h>
15658 #endif
15660 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15662 cat >>confdefs.h <<_ACEOF
15663 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15664 _ACEOF
15670 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15671 #include <sys/statvfs.h>
15672 #endif
15674 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15676 cat >>confdefs.h <<_ACEOF
15677 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15678 _ACEOF
15684 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15685 #include <dirent.h>
15686 #endif
15688 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15690 cat >>confdefs.h <<_ACEOF
15691 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15692 _ACEOF
15698 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15699 #ifdef HAVE_SYS_SOCKET_H
15700 # include <sys/socket.h>
15701 #endif
15702 #ifdef HAVE_SYS_UN_H
15703 # include <sys/un.h>
15704 #endif
15706 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15708 cat >>confdefs.h <<_ACEOF
15709 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15710 _ACEOF
15714 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15715 #ifdef HAVE_SYS_SOCKET_H
15716 # include <sys/socket.h>
15717 #endif
15718 #ifdef HAVE_SYS_UN_H
15719 # include <sys/un.h>
15720 #endif
15722 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15724 cat >>confdefs.h <<_ACEOF
15725 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15726 _ACEOF
15730 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15731 #ifdef HAVE_SYS_SOCKET_H
15732 # include <sys/socket.h>
15733 #endif
15734 #ifdef HAVE_SYS_UN_H
15735 # include <sys/un.h>
15736 #endif
15738 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15740 cat >>confdefs.h <<_ACEOF
15741 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15742 _ACEOF
15748 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15749 #ifdef HAVE_SCSI_SG_H
15750 #include <scsi/sg.h>
15751 #endif
15753 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15755 cat >>confdefs.h <<_ACEOF
15756 #define HAVE_SCSIREQ_T_CMD 1
15757 _ACEOF
15761 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>
15762 #ifdef HAVE_SCSI_SG_H
15763 #include <scsi/sg.h>
15764 #endif
15766 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15768 cat >>confdefs.h <<_ACEOF
15769 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15770 _ACEOF
15776 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15778 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15780 cat >>confdefs.h <<_ACEOF
15781 #define HAVE_SIGINFO_T_SI_FD 1
15782 _ACEOF
15788 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15789 #ifdef HAVE_SYS_MTIO_H
15790 #include <sys/mtio.h>
15791 #endif
15793 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15795 cat >>confdefs.h <<_ACEOF
15796 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15797 _ACEOF
15801 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15802 #ifdef HAVE_SYS_MTIO_H
15803 #include <sys/mtio.h>
15804 #endif
15806 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15808 cat >>confdefs.h <<_ACEOF
15809 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15810 _ACEOF
15814 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15815 #ifdef HAVE_SYS_MTIO_H
15816 #include <sys/mtio.h>
15817 #endif
15819 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15821 cat >>confdefs.h <<_ACEOF
15822 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15823 _ACEOF
15829 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15830 #include <getopt.h>
15831 #endif
15833 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15835 cat >>confdefs.h <<_ACEOF
15836 #define HAVE_STRUCT_OPTION_NAME 1
15837 _ACEOF
15843 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15844 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15846 cat >>confdefs.h <<_ACEOF
15847 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15848 _ACEOF
15852 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15853 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15855 cat >>confdefs.h <<_ACEOF
15856 #define HAVE_STRUCT_STAT_ST_MTIM 1
15857 _ACEOF
15861 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15862 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15864 cat >>confdefs.h <<_ACEOF
15865 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15866 _ACEOF
15870 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15871 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15873 cat >>confdefs.h <<_ACEOF
15874 #define HAVE_STRUCT_STAT_ST_CTIM 1
15875 _ACEOF
15879 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15880 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15882 cat >>confdefs.h <<_ACEOF
15883 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15884 _ACEOF
15888 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15889 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15891 cat >>confdefs.h <<_ACEOF
15892 #define HAVE_STRUCT_STAT_ST_ATIM 1
15893 _ACEOF
15897 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15898 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15900 cat >>confdefs.h <<_ACEOF
15901 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15902 _ACEOF
15906 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15907 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15909 cat >>confdefs.h <<_ACEOF
15910 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15911 _ACEOF
15915 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15916 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15918 cat >>confdefs.h <<_ACEOF
15919 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15920 _ACEOF
15924 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15925 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15927 cat >>confdefs.h <<_ACEOF
15928 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15929 _ACEOF
15933 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15934 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15936 cat >>confdefs.h <<_ACEOF
15937 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15938 _ACEOF
15942 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15943 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15945 cat >>confdefs.h <<_ACEOF
15946 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15947 _ACEOF
15953 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
15954 #include <sys/types.h>
15955 #endif
15956 #ifdef HAVE_NETINET_IN_H
15957 #include <netinet/in.h>
15958 #endif
15960 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15962 cat >>confdefs.h <<_ACEOF
15963 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15964 _ACEOF
15970 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15971 #include <resolv.h>
15972 #endif
15974 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15976 cat >>confdefs.h <<_ACEOF
15977 #define HAVE_STRUCT___RES_STATE 1
15978 _ACEOF
15984 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
15985 #include <resolv.h>
15986 #endif
15988 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15990 cat >>confdefs.h <<_ACEOF
15991 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15992 _ACEOF
15998 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15999 #include <sys/types.h>
16000 #endif
16001 #ifdef HAVE_NETINET_IN_H
16002 # include <netinet/in.h>
16003 #endif
16004 #ifdef HAVE_ARPA_NAMESER_H
16005 # include <arpa/nameser.h>
16006 #endif
16008 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16010 cat >>confdefs.h <<_ACEOF
16011 #define HAVE_NS_MSG__MSG_PTR 1
16012 _ACEOF
16018 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16019 #include <sys/types.h>
16020 #endif
16021 #ifdef HAVE_NETINET_IP_H
16022 #include <netinet/ip.h>
16023 #endif
16024 #ifdef HAVE_NETINET_IP_ICMP_H
16025 #include <netinet/ip_icmp.h>
16026 #endif
16027 #ifdef HAVE_NETINET_ICMP_VAR_H
16028 #include <netinet/icmp_var.h>
16029 #endif
16031 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16033 cat >>confdefs.h <<_ACEOF
16034 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16035 _ACEOF
16041 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16042 #include <sys/types.h>
16043 #endif
16044 #ifdef HAVE_ALIAS_H
16045 #include <alias.h>
16046 #endif
16047 #ifdef HAVE_SYS_SOCKET_H
16048 #include <sys/socket.h>
16049 #endif
16050 #ifdef HAVE_SYS_SOCKETVAR_H
16051 #include <sys/socketvar.h>
16052 #endif
16053 #ifdef HAVE_SYS_TIMEOUT_H
16054 #include <sys/timeout.h>
16055 #endif
16056 #ifdef HAVE_NETINET_IN_H
16057 #include <netinet/in.h>
16058 #endif
16059 #ifdef HAVE_NETINET_IN_SYSTM_H
16060 #include <netinet/in_systm.h>
16061 #endif
16062 #ifdef HAVE_NETINET_IP_H
16063 #include <netinet/ip.h>
16064 #endif
16065 #ifdef HAVE_NETINET_IP_VAR_H
16066 #include <netinet/ip_var.h>
16067 #endif
16068 #ifdef HAVE_NETINET_IP_ICMP_H
16069 #include <netinet/ip_icmp.h>
16070 #endif
16071 #ifdef HAVE_NETINET_ICMP_VAR_H
16072 #include <netinet/icmp_var.h>
16073 #endif
16075 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16077 cat >>confdefs.h <<_ACEOF
16078 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16079 _ACEOF
16085 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16086 #include <sys/types.h>
16087 #endif
16088 #ifdef HAVE_SYS_SOCKETVAR_H
16089 #include <sys/socketvar.h>
16090 #endif
16091 #ifdef HAVE_NETINET_IN_H
16092 #include <netinet/in.h>
16093 #endif
16094 #ifdef HAVE_NETINET_IP_VAR_H
16095 #include <netinet/ip_var.h>
16096 #endif
16098 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16100 cat >>confdefs.h <<_ACEOF
16101 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16102 _ACEOF
16108 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
16109 #include <netinet/ip_var.h>
16110 #endif
16112 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16114 cat >>confdefs.h <<_ACEOF
16115 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16116 _ACEOF
16122 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16123 #include <sys/types.h>
16124 #endif
16125 #ifdef HAVE_SYS_SOCKETVAR_H
16126 #include <sys/socketvar.h>
16127 #endif
16128 #ifdef HAVE_NETINET_IN_H
16129 #include <netinet/in.h>
16130 #endif
16131 #ifdef HAVE_NETINET_TCP_H
16132 #include <netinet/tcp.h>
16133 #endif
16134 #ifdef HAVE_NETINET_TCP_VAR_H
16135 #include <netinet/tcp_var.h>
16136 #endif
16138 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16140 cat >>confdefs.h <<_ACEOF
16141 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16142 _ACEOF
16148 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
16149 #include <netinet/tcp_var.h>
16150 #endif
16152 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16154 cat >>confdefs.h <<_ACEOF
16155 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16156 _ACEOF
16162 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16163 #include <sys/types.h>
16164 #endif
16165 #ifdef HAVE_NETINET_IN_H
16166 #include <netinet/in.h>
16167 #endif
16168 #ifdef HAVE_NETINET_IP_VAR_H
16169 #include <netinet/ip_var.h>
16170 #endif
16171 #ifdef HAVE_NETINET_UDP_H
16172 #include <netinet/udp.h>
16173 #endif
16174 #ifdef HAVE_NETINET_UDP_VAR_H
16175 #include <netinet/udp_var.h>
16176 #endif
16178 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16180 cat >>confdefs.h <<_ACEOF
16181 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16182 _ACEOF
16188 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16189 #include <sys/types.h>
16190 #endif
16191 #ifdef HAVE_NET_IF_H
16192 # include <net/if.h>
16193 #endif
16195 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16197 cat >>confdefs.h <<_ACEOF
16198 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16199 _ACEOF
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16206 $as_echo_n "checking for timezone variable... " >&6; }
16207 if ${ac_cv_have_timezone+:} false; then :
16208 $as_echo_n "(cached) " >&6
16209 else
16210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16211 /* end confdefs.h. */
16212 #include <time.h>
16214 main ()
16216 timezone = 1
16218 return 0;
16220 _ACEOF
16221 if ac_fn_c_try_link "$LINENO"; then :
16222 ac_cv_have_timezone="yes"
16223 else
16224 ac_cv_have_timezone="no"
16226 rm -f core conftest.err conftest.$ac_objext \
16227 conftest$ac_exeext conftest.$ac_ext
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16230 $as_echo "$ac_cv_have_timezone" >&6; }
16231 if test "$ac_cv_have_timezone" = "yes"
16232 then
16234 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16238 $as_echo_n "checking for daylight variable... " >&6; }
16239 if ${ac_cv_have_daylight+:} false; then :
16240 $as_echo_n "(cached) " >&6
16241 else
16242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16243 /* end confdefs.h. */
16244 #include <time.h>
16246 main ()
16248 daylight = 1
16250 return 0;
16252 _ACEOF
16253 if ac_fn_c_try_link "$LINENO"; then :
16254 ac_cv_have_daylight="yes"
16255 else
16256 ac_cv_have_daylight="no"
16258 rm -f core conftest.err conftest.$ac_objext \
16259 conftest$ac_exeext conftest.$ac_ext
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16262 $as_echo "$ac_cv_have_daylight" >&6; }
16263 if test "$ac_cv_have_daylight" = "yes"
16264 then
16266 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16270 ac_save_LIBS="$LIBS"
16271 LIBS="$LIBS -lm"
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16273 $as_echo_n "checking for isfinite... " >&6; }
16274 if ${ac_cv_have_isfinite+:} false; then :
16275 $as_echo_n "(cached) " >&6
16276 else
16277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16278 /* end confdefs.h. */
16279 #define _GNU_SOURCE
16280 #include <math.h>
16282 main ()
16284 float f = 0.0; return isfinite(f)
16286 return 0;
16288 _ACEOF
16289 if ac_fn_c_try_link "$LINENO"; then :
16290 ac_cv_have_isfinite="yes"
16291 else
16292 ac_cv_have_isfinite="no"
16294 rm -f core conftest.err conftest.$ac_objext \
16295 conftest$ac_exeext conftest.$ac_ext
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16298 $as_echo "$ac_cv_have_isfinite" >&6; }
16299 if test "$ac_cv_have_isfinite" = "yes"
16300 then
16302 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16306 ac_save_LIBS="$LIBS"
16307 LIBS="$LIBS -lm"
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16309 $as_echo_n "checking for isinf... " >&6; }
16310 if ${ac_cv_have_isinf+:} false; then :
16311 $as_echo_n "(cached) " >&6
16312 else
16313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16314 /* end confdefs.h. */
16315 #include <math.h>
16317 main ()
16319 float f = 0.0; return isinf(f)
16321 return 0;
16323 _ACEOF
16324 if ac_fn_c_try_link "$LINENO"; then :
16325 ac_cv_have_isinf="yes"
16326 else
16327 ac_cv_have_isinf="no"
16329 rm -f core conftest.err conftest.$ac_objext \
16330 conftest$ac_exeext conftest.$ac_ext
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16333 $as_echo "$ac_cv_have_isinf" >&6; }
16334 if test "$ac_cv_have_isinf" = "yes"
16335 then
16337 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16342 $as_echo_n "checking for isnan... " >&6; }
16343 if ${ac_cv_have_isnan+:} false; then :
16344 $as_echo_n "(cached) " >&6
16345 else
16346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16347 /* end confdefs.h. */
16348 #include <math.h>
16350 main ()
16352 float f = 0.0; return isnan(f)
16354 return 0;
16356 _ACEOF
16357 if ac_fn_c_try_link "$LINENO"; then :
16358 ac_cv_have_isnan="yes"
16359 else
16360 ac_cv_have_isnan="no"
16362 rm -f core conftest.err conftest.$ac_objext \
16363 conftest$ac_exeext conftest.$ac_ext
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16366 $as_echo "$ac_cv_have_isnan" >&6; }
16367 if test "$ac_cv_have_isnan" = "yes"
16368 then
16370 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16373 LIBS="$ac_save_LIBS"
16376 case $host_cpu in
16377 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16378 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16379 if ${ac_cv_cpp_def___i386__+:} false; then :
16380 $as_echo_n "(cached) " >&6
16381 else
16382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16383 /* end confdefs.h. */
16384 #ifndef __i386__
16386 #endif
16387 _ACEOF
16388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16389 $EGREP "yes" >/dev/null 2>&1; then :
16390 ac_cv_cpp_def___i386__=yes
16391 else
16392 ac_cv_cpp_def___i386__=no
16394 rm -f conftest*
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16398 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16399 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16400 CFLAGS="$CFLAGS -D__i386__"
16401 LINTFLAGS="$LINTFLAGS -D__i386__"
16402 fi ;;
16403 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16404 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16405 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16406 $as_echo_n "(cached) " >&6
16407 else
16408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16409 /* end confdefs.h. */
16410 #ifndef __x86_64__
16412 #endif
16413 _ACEOF
16414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16415 $EGREP "yes" >/dev/null 2>&1; then :
16416 ac_cv_cpp_def___x86_64__=yes
16417 else
16418 ac_cv_cpp_def___x86_64__=no
16420 rm -f conftest*
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16424 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16425 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16426 CFLAGS="$CFLAGS -D__x86_64__"
16427 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16428 fi ;;
16429 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16430 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16431 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16432 $as_echo_n "(cached) " >&6
16433 else
16434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16435 /* end confdefs.h. */
16436 #ifndef __sparc64__
16438 #endif
16439 _ACEOF
16440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16441 $EGREP "yes" >/dev/null 2>&1; then :
16442 ac_cv_cpp_def___sparc64__=yes
16443 else
16444 ac_cv_cpp_def___sparc64__=no
16446 rm -f conftest*
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16450 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16451 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16452 CFLAGS="$CFLAGS -D__sparc64__"
16453 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16454 fi ;;
16455 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16456 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16457 if ${ac_cv_cpp_def___sparc__+:} false; then :
16458 $as_echo_n "(cached) " >&6
16459 else
16460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16462 #ifndef __sparc__
16464 #endif
16465 _ACEOF
16466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16467 $EGREP "yes" >/dev/null 2>&1; then :
16468 ac_cv_cpp_def___sparc__=yes
16469 else
16470 ac_cv_cpp_def___sparc__=no
16472 rm -f conftest*
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16476 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16477 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16478 CFLAGS="$CFLAGS -D__sparc__"
16479 LINTFLAGS="$LINTFLAGS -D__sparc__"
16480 fi ;;
16481 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16482 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16483 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16484 $as_echo_n "(cached) " >&6
16485 else
16486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16487 /* end confdefs.h. */
16488 #ifndef __powerpc64__
16490 #endif
16491 _ACEOF
16492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16493 $EGREP "yes" >/dev/null 2>&1; then :
16494 ac_cv_cpp_def___powerpc64__=yes
16495 else
16496 ac_cv_cpp_def___powerpc64__=no
16498 rm -f conftest*
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16502 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16503 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16504 CFLAGS="$CFLAGS -D__powerpc64__"
16505 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16506 fi ;;
16507 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16508 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16509 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16510 $as_echo_n "(cached) " >&6
16511 else
16512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16513 /* end confdefs.h. */
16514 #ifndef __powerpc__
16516 #endif
16517 _ACEOF
16518 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16519 $EGREP "yes" >/dev/null 2>&1; then :
16520 ac_cv_cpp_def___powerpc__=yes
16521 else
16522 ac_cv_cpp_def___powerpc__=no
16524 rm -f conftest*
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16528 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16529 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16530 CFLAGS="$CFLAGS -D__powerpc__"
16531 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16532 fi ;;
16533 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16534 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16535 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16536 $as_echo_n "(cached) " >&6
16537 else
16538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16539 /* end confdefs.h. */
16540 #ifndef __aarch64__
16542 #endif
16543 _ACEOF
16544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16545 $EGREP "yes" >/dev/null 2>&1; then :
16546 ac_cv_cpp_def___aarch64__=yes
16547 else
16548 ac_cv_cpp_def___aarch64__=no
16550 rm -f conftest*
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16554 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16555 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16556 CFLAGS="$CFLAGS -D__aarch64__"
16557 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16558 fi ;;
16559 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16560 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16561 if ${ac_cv_cpp_def___arm__+:} false; then :
16562 $as_echo_n "(cached) " >&6
16563 else
16564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16565 /* end confdefs.h. */
16566 #ifndef __arm__
16568 #endif
16569 _ACEOF
16570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16571 $EGREP "yes" >/dev/null 2>&1; then :
16572 ac_cv_cpp_def___arm__=yes
16573 else
16574 ac_cv_cpp_def___arm__=no
16576 rm -f conftest*
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16580 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16581 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16582 CFLAGS="$CFLAGS -D__arm__"
16583 LINTFLAGS="$LINTFLAGS -D__arm__"
16584 fi ;;
16585 esac
16587 case $host_vendor in
16588 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16589 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16590 if ${ac_cv_cpp_def___sun__+:} false; then :
16591 $as_echo_n "(cached) " >&6
16592 else
16593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16594 /* end confdefs.h. */
16595 #ifndef __sun__
16597 #endif
16598 _ACEOF
16599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16600 $EGREP "yes" >/dev/null 2>&1; then :
16601 ac_cv_cpp_def___sun__=yes
16602 else
16603 ac_cv_cpp_def___sun__=no
16605 rm -f conftest*
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16609 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16610 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16611 CFLAGS="$CFLAGS -D__sun__"
16612 LINTFLAGS="$LINTFLAGS -D__sun__"
16613 fi ;;
16614 esac
16620 ac_config_commands="$ac_config_commands include/stamp-h"
16622 $as_echo_n "creating Makefile rules..." >&6
16624 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16625 SOCKET_LIBS = $SOCKET_LIBS
16626 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16627 IOKIT_LIBS = $IOKIT_LIBS
16628 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16629 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16630 CORESERVICES_LIBS = $CORESERVICES_LIBS
16631 APPKIT_LIBS = $APPKIT_LIBS
16632 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16633 SECURITY_LIBS = $SECURITY_LIBS
16634 COREAUDIO_LIBS = $COREAUDIO_LIBS
16635 OPENAL_LIBS = $OPENAL_LIBS
16636 OPENCL_LIBS = $OPENCL_LIBS
16637 QUICKTIME_LIBS = $QUICKTIME_LIBS
16638 CARBON_LIBS = $CARBON_LIBS
16639 PTHREAD_LIBS = $PTHREAD_LIBS
16640 X_CFLAGS = $X_CFLAGS
16641 X_PRE_LIBS = $X_PRE_LIBS
16642 X_LIBS = $X_LIBS
16643 X_EXTRA_LIBS = $X_EXTRA_LIBS
16644 XML2_CFLAGS = $XML2_CFLAGS
16645 XML2_LIBS = $XML2_LIBS
16646 XSLT_CFLAGS = $XSLT_CFLAGS
16647 XSLT_LIBS = $XSLT_LIBS
16648 DBUS_CFLAGS = $DBUS_CFLAGS
16649 DBUS_LIBS = $DBUS_LIBS
16650 HAL_CFLAGS = $HAL_CFLAGS
16651 HAL_LIBS = $HAL_LIBS
16652 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16653 GNUTLS_LIBS = $GNUTLS_LIBS
16654 SANE_CFLAGS = $SANE_CFLAGS
16655 SANE_LIBS = $SANE_LIBS
16656 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16657 GPHOTO2_LIBS = $GPHOTO2_LIBS
16658 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16659 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16660 RESOLV_LIBS = $RESOLV_LIBS
16661 LCMS2_CFLAGS = $LCMS2_CFLAGS
16662 LCMS2_LIBS = $LCMS2_LIBS
16663 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16664 FREETYPE_LIBS = $FREETYPE_LIBS
16665 Z_LIBS = $Z_LIBS
16666 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16667 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16668 GSTREAMER_LIBS = $GSTREAMER_LIBS
16669 ALSA_LIBS = $ALSA_LIBS
16670 OSS4_CFLAGS = $OSS4_CFLAGS
16671 CAPI20_CFLAGS = $CAPI20_CFLAGS
16672 CAPI20_LIBS = $CAPI20_LIBS
16673 CUPS_CFLAGS = $CUPS_CFLAGS
16674 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16675 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16676 JPEG_CFLAGS = $JPEG_CFLAGS
16677 JPEG_LIBS = $JPEG_LIBS
16678 PNG_CFLAGS = $PNG_CFLAGS
16679 PNG_LIBS = $PNG_LIBS
16680 TIFF_CFLAGS = $TIFF_CFLAGS
16681 TIFF_LIBS = $TIFF_LIBS
16682 MPG123_CFLAGS = $MPG123_CFLAGS
16683 MPG123_LIBS = $MPG123_LIBS
16684 KSTAT_LIBS = $KSTAT_LIBS
16685 PROCSTAT_LIBS = $PROCSTAT_LIBS
16686 DL_LIBS = $DL_LIBS
16687 POLL_LIBS = $POLL_LIBS
16688 RT_LIBS = $RT_LIBS
16689 LDAP_LIBS = $LDAP_LIBS
16694 wine_fn_append_rule "
16695 # Rules automatically generated by configure
16697 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16699 .INIT: Makefile
16700 .MAKEFILEDEPS:
16701 all: Makefile
16702 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16703 @./config.status Make.tmp Makefile"
16705 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16706 .gitignore: config.status
16707 @./config.status .gitignore"
16709 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16710 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16712 if test "x$enable_fonts" != xno; then
16713 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16714 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16715 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16716 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16717 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16719 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16720 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16721 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16722 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16723 ac_config_links="$ac_config_links wine:tools/winewrapper"
16724 wine_fn_config_symlink wine
16725 if test "x$enable_win64" != xno; then
16726 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16727 wine_fn_config_symlink wine64
16730 wine_fn_config_dll acledit enable_acledit
16731 wine_fn_config_dll aclui enable_aclui implib
16732 wine_fn_config_dll activeds enable_activeds implib
16733 wine_fn_config_dll actxprxy enable_actxprxy clean
16734 wine_fn_config_lib adsiid
16735 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16736 wine_fn_config_test dlls/advapi32/tests advapi32_test
16737 wine_fn_config_dll advpack enable_advpack implib
16738 wine_fn_config_test dlls/advpack/tests advpack_test
16739 wine_fn_config_dll amstream enable_amstream clean
16740 wine_fn_config_test dlls/amstream/tests amstream_test
16741 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16742 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16743 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16744 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16745 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16746 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16747 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16748 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16749 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16750 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16751 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16752 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16753 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16754 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16755 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16756 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16757 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16758 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16759 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16760 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16761 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16762 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16763 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16764 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16765 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16766 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16767 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16768 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16769 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16770 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16771 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16772 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16773 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16774 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16775 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16776 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16777 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16778 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16779 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16780 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16781 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16782 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16783 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16784 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16785 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16786 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16787 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16788 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16789 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16790 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16791 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16792 wine_fn_config_dll apphelp enable_apphelp
16793 wine_fn_config_test dlls/apphelp/tests apphelp_test
16794 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16795 wine_fn_config_dll atl enable_atl clean,implib
16796 wine_fn_config_test dlls/atl/tests atl_test
16797 wine_fn_config_dll atl100 enable_atl100 clean,implib
16798 wine_fn_config_test dlls/atl100/tests atl100_test
16799 wine_fn_config_dll atl110 enable_atl110 clean
16800 wine_fn_config_dll atl80 enable_atl80 clean,implib
16801 wine_fn_config_test dlls/atl80/tests atl80_test
16802 wine_fn_config_dll atl90 enable_atl90 clean
16803 wine_fn_config_dll authz enable_authz
16804 wine_fn_config_dll avicap32 enable_avicap32 implib
16805 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16806 wine_fn_config_test dlls/avifil32/tests avifil32_test
16807 wine_fn_config_dll avifile.dll16 enable_win16
16808 wine_fn_config_dll avrt enable_avrt implib
16809 wine_fn_config_dll bcrypt enable_bcrypt
16810 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16811 wine_fn_config_dll browseui enable_browseui clean,po
16812 wine_fn_config_test dlls/browseui/tests browseui_test
16813 wine_fn_config_dll cabinet enable_cabinet implib
16814 wine_fn_config_test dlls/cabinet/tests cabinet_test
16815 wine_fn_config_dll capi2032 enable_capi2032 implib
16816 wine_fn_config_dll cards enable_cards implib
16817 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16818 wine_fn_config_dll clusapi enable_clusapi implib
16819 wine_fn_config_dll comcat enable_comcat
16820 wine_fn_config_test dlls/comcat/tests comcat_test
16821 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16822 wine_fn_config_test dlls/comctl32/tests comctl32_test
16823 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16824 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16825 wine_fn_config_dll comm.drv16 enable_win16
16826 wine_fn_config_dll commdlg.dll16 enable_win16
16827 wine_fn_config_dll compobj.dll16 enable_win16
16828 wine_fn_config_dll compstui enable_compstui implib
16829 wine_fn_config_dll comsvcs enable_comsvcs implib
16830 wine_fn_config_dll credui enable_credui implib,po
16831 wine_fn_config_test dlls/credui/tests credui_test
16832 wine_fn_config_dll crtdll enable_crtdll implib
16833 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16834 wine_fn_config_test dlls/crypt32/tests crypt32_test
16835 wine_fn_config_dll cryptdlg enable_cryptdlg po
16836 wine_fn_config_dll cryptdll enable_cryptdll implib
16837 wine_fn_config_dll cryptnet enable_cryptnet implib
16838 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16839 wine_fn_config_dll cryptui enable_cryptui implib,po
16840 wine_fn_config_test dlls/cryptui/tests cryptui_test
16841 wine_fn_config_dll ctapi32 enable_ctapi32
16842 wine_fn_config_dll ctl3d.dll16 enable_win16
16843 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16844 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16845 wine_fn_config_dll d2d1 enable_d2d1 implib
16846 wine_fn_config_test dlls/d2d1/tests d2d1_test
16847 wine_fn_config_dll d3d10 enable_d3d10 implib
16848 wine_fn_config_test dlls/d3d10/tests d3d10_test
16849 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16850 wine_fn_config_dll d3d10core enable_d3d10core implib
16851 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16852 wine_fn_config_dll d3d11 enable_d3d11
16853 wine_fn_config_dll d3d8 enable_d3d8 implib
16854 wine_fn_config_test dlls/d3d8/tests d3d8_test
16855 wine_fn_config_dll d3d9 enable_d3d9 implib
16856 wine_fn_config_test dlls/d3d9/tests d3d9_test
16857 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16858 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16859 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16860 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16861 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16862 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16863 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16864 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16865 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16866 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16867 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16868 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16869 wine_fn_config_dll d3dim enable_d3dim implib
16870 wine_fn_config_dll d3drm enable_d3drm implib
16871 wine_fn_config_test dlls/d3drm/tests d3drm_test
16872 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16873 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16874 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16875 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16876 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16877 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16878 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16879 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16880 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16881 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16882 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16883 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16884 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16885 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16886 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16887 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16888 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16889 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16890 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16891 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16892 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16893 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16894 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16895 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16896 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16897 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16898 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16899 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16900 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16901 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16902 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16903 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16904 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16905 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16906 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16907 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16908 wine_fn_config_dll dbgeng enable_dbgeng implib
16909 wine_fn_config_dll dbghelp enable_dbghelp implib
16910 wine_fn_config_dll dciman32 enable_dciman32 implib
16911 wine_fn_config_dll ddeml.dll16 enable_win16
16912 wine_fn_config_dll ddraw enable_ddraw clean,implib
16913 wine_fn_config_test dlls/ddraw/tests ddraw_test
16914 wine_fn_config_dll ddrawex enable_ddrawex clean
16915 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16916 wine_fn_config_dll devenum enable_devenum clean,po
16917 wine_fn_config_test dlls/devenum/tests devenum_test
16918 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16919 wine_fn_config_dll difxapi enable_difxapi
16920 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16921 wine_fn_config_test dlls/dinput/tests dinput_test
16922 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16923 wine_fn_config_test dlls/dinput8/tests dinput8_test
16924 wine_fn_config_dll dispdib.dll16 enable_win16
16925 wine_fn_config_dll dispex enable_dispex clean
16926 wine_fn_config_test dlls/dispex/tests dispex_test
16927 wine_fn_config_dll display.drv16 enable_win16
16928 wine_fn_config_dll dmband enable_dmband clean
16929 wine_fn_config_test dlls/dmband/tests dmband_test
16930 wine_fn_config_dll dmcompos enable_dmcompos clean
16931 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16932 wine_fn_config_dll dmime enable_dmime clean
16933 wine_fn_config_test dlls/dmime/tests dmime_test
16934 wine_fn_config_dll dmloader enable_dmloader clean
16935 wine_fn_config_test dlls/dmloader/tests dmloader_test
16936 wine_fn_config_dll dmscript enable_dmscript clean
16937 wine_fn_config_test dlls/dmscript/tests dmscript_test
16938 wine_fn_config_dll dmstyle enable_dmstyle clean
16939 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16940 wine_fn_config_dll dmsynth enable_dmsynth clean
16941 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16942 wine_fn_config_dll dmusic enable_dmusic clean
16943 wine_fn_config_test dlls/dmusic/tests dmusic_test
16944 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16945 wine_fn_config_dll dnsapi enable_dnsapi implib
16946 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16947 wine_fn_config_dll dplay enable_dplay implib
16948 wine_fn_config_dll dplayx enable_dplayx clean,implib
16949 wine_fn_config_test dlls/dplayx/tests dplayx_test
16950 wine_fn_config_dll dpnaddr enable_dpnaddr
16951 wine_fn_config_dll dpnet enable_dpnet clean,implib
16952 wine_fn_config_test dlls/dpnet/tests dpnet_test
16953 wine_fn_config_dll dpnhpast enable_dpnhpast
16954 wine_fn_config_dll dpnlobby enable_dpnlobby
16955 wine_fn_config_dll dpvoice enable_dpvoice clean
16956 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
16957 wine_fn_config_dll dpwsockx enable_dpwsockx
16958 wine_fn_config_dll drmclien enable_drmclien
16959 wine_fn_config_dll dsound enable_dsound clean,implib
16960 wine_fn_config_test dlls/dsound/tests dsound_test
16961 wine_fn_config_dll dssenh enable_dssenh
16962 wine_fn_config_test dlls/dssenh/tests dssenh_test
16963 wine_fn_config_dll dswave enable_dswave clean
16964 wine_fn_config_test dlls/dswave/tests dswave_test
16965 wine_fn_config_dll dwmapi enable_dwmapi implib
16966 wine_fn_config_dll dwrite enable_dwrite implib
16967 wine_fn_config_test dlls/dwrite/tests dwrite_test
16968 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16969 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16970 wine_fn_config_lib dxerr8
16971 wine_fn_config_lib dxerr9
16972 wine_fn_config_dll dxgi enable_dxgi implib
16973 wine_fn_config_test dlls/dxgi/tests dxgi_test
16974 wine_fn_config_lib dxguid
16975 wine_fn_config_dll dxva2 enable_dxva2
16976 wine_fn_config_dll explorerframe enable_explorerframe clean
16977 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16978 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16979 wine_fn_config_dll faultrep enable_faultrep implib
16980 wine_fn_config_test dlls/faultrep/tests faultrep_test
16981 wine_fn_config_dll fltlib enable_fltlib
16982 wine_fn_config_dll fntcache enable_fntcache
16983 wine_fn_config_dll fontsub enable_fontsub
16984 wine_fn_config_dll fusion enable_fusion
16985 wine_fn_config_test dlls/fusion/tests fusion_test
16986 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16987 wine_fn_config_dll gameux enable_gameux clean
16988 wine_fn_config_test dlls/gameux/tests gameux_test
16989 wine_fn_config_dll gdi.exe16 enable_win16
16990 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16991 wine_fn_config_test dlls/gdi32/tests gdi32_test
16992 wine_fn_config_dll gdiplus enable_gdiplus implib
16993 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16994 wine_fn_config_dll glu32 enable_glu32 implib
16995 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16996 wine_fn_config_dll gpkcsp enable_gpkcsp
16997 wine_fn_config_dll hal enable_hal
16998 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16999 wine_fn_config_dll hid enable_hid implib
17000 wine_fn_config_dll hlink enable_hlink clean,implib
17001 wine_fn_config_test dlls/hlink/tests hlink_test
17002 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17003 wine_fn_config_dll httpapi enable_httpapi
17004 wine_fn_config_dll iccvid enable_iccvid po
17005 wine_fn_config_dll icmp enable_icmp
17006 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17007 wine_fn_config_test dlls/ieframe/tests ieframe_test
17008 wine_fn_config_dll ifsmgr.vxd enable_win16
17009 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17010 wine_fn_config_dll imagehlp enable_imagehlp implib
17011 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17012 wine_fn_config_dll imm.dll16 enable_win16
17013 wine_fn_config_dll imm32 enable_imm32 implib
17014 wine_fn_config_test dlls/imm32/tests imm32_test
17015 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17016 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17017 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17018 wine_fn_config_dll inetmib1 enable_inetmib1
17019 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17020 wine_fn_config_dll infosoft enable_infosoft clean
17021 wine_fn_config_test dlls/infosoft/tests infosoft_test
17022 wine_fn_config_dll initpki enable_initpki
17023 wine_fn_config_dll inkobj enable_inkobj
17024 wine_fn_config_dll inseng enable_inseng clean
17025 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17026 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17027 wine_fn_config_dll itircl enable_itircl
17028 wine_fn_config_dll itss enable_itss clean
17029 wine_fn_config_test dlls/itss/tests itss_test
17030 wine_fn_config_dll joy.cpl enable_joy_cpl po
17031 wine_fn_config_dll jscript enable_jscript clean,po
17032 wine_fn_config_test dlls/jscript/tests jscript_test
17033 wine_fn_config_dll jsproxy enable_jsproxy implib
17034 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17035 wine_fn_config_test dlls/kernel32/tests kernel32_test
17036 wine_fn_config_dll keyboard.drv16 enable_win16
17037 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17038 wine_fn_config_dll ksuser enable_ksuser
17039 wine_fn_config_dll ktmw32 enable_ktmw32
17040 wine_fn_config_dll loadperf enable_loadperf implib
17041 wine_fn_config_dll localspl enable_localspl po
17042 wine_fn_config_test dlls/localspl/tests localspl_test
17043 wine_fn_config_dll localui enable_localui po
17044 wine_fn_config_test dlls/localui/tests localui_test
17045 wine_fn_config_dll lz32 enable_lz32 implib
17046 wine_fn_config_test dlls/lz32/tests lz32_test
17047 wine_fn_config_dll lzexpand.dll16 enable_win16
17048 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17049 wine_fn_config_test dlls/mapi32/tests mapi32_test
17050 wine_fn_config_dll mapistub enable_mapistub
17051 wine_fn_config_dll mciavi32 enable_mciavi32
17052 wine_fn_config_dll mcicda enable_mcicda
17053 wine_fn_config_dll mciqtz32 enable_mciqtz32
17054 wine_fn_config_dll mciseq enable_mciseq
17055 wine_fn_config_dll mciwave enable_mciwave
17056 wine_fn_config_dll mgmtapi enable_mgmtapi
17057 wine_fn_config_dll midimap enable_midimap
17058 wine_fn_config_dll mlang enable_mlang clean,implib
17059 wine_fn_config_test dlls/mlang/tests mlang_test
17060 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17061 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17062 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17063 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17064 wine_fn_config_dll mmdevldr.vxd enable_win16
17065 wine_fn_config_dll mmsystem.dll16 enable_win16
17066 wine_fn_config_dll monodebg.vxd enable_win16
17067 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17068 wine_fn_config_dll mouse.drv16 enable_win16
17069 wine_fn_config_dll mpr enable_mpr implib,po
17070 wine_fn_config_test dlls/mpr/tests mpr_test
17071 wine_fn_config_dll mprapi enable_mprapi implib
17072 wine_fn_config_dll msacm.dll16 enable_win16
17073 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17074 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17075 wine_fn_config_test dlls/msacm32/tests msacm32_test
17076 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17077 wine_fn_config_dll msasn1 enable_msasn1 implib
17078 wine_fn_config_dll mscat32 enable_mscat32
17079 wine_fn_config_dll mscms enable_mscms implib
17080 wine_fn_config_test dlls/mscms/tests mscms_test
17081 wine_fn_config_dll mscoree enable_mscoree clean
17082 wine_fn_config_test dlls/mscoree/tests mscoree_test
17083 wine_fn_config_dll msctf enable_msctf clean
17084 wine_fn_config_test dlls/msctf/tests msctf_test
17085 wine_fn_config_dll msdaps enable_msdaps clean
17086 wine_fn_config_dll msdmo enable_msdmo implib
17087 wine_fn_config_dll msftedit enable_msftedit
17088 wine_fn_config_dll msg711.acm enable_msg711_acm
17089 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17090 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17091 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17092 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17093 wine_fn_config_dll msi enable_msi clean,implib,po
17094 wine_fn_config_test dlls/msi/tests msi_test
17095 wine_fn_config_dll msident enable_msident clean
17096 wine_fn_config_dll msimg32 enable_msimg32 implib
17097 wine_fn_config_dll msimsg enable_msimsg
17098 wine_fn_config_dll msimtf enable_msimtf clean
17099 wine_fn_config_dll msisip enable_msisip
17100 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17101 wine_fn_config_dll msls31 enable_msls31
17102 wine_fn_config_dll msnet32 enable_msnet32
17103 wine_fn_config_dll mspatcha enable_mspatcha
17104 wine_fn_config_dll msrle32 enable_msrle32 po
17105 wine_fn_config_test dlls/msrle32/tests msrle32_test
17106 wine_fn_config_dll mssign32 enable_mssign32
17107 wine_fn_config_dll mssip32 enable_mssip32
17108 wine_fn_config_dll mstask enable_mstask clean
17109 wine_fn_config_test dlls/mstask/tests mstask_test
17110 wine_fn_config_dll msvcirt enable_msvcirt
17111 wine_fn_config_dll msvcm80 enable_msvcm80
17112 wine_fn_config_dll msvcm90 enable_msvcm90
17113 wine_fn_config_dll msvcp100 enable_msvcp100
17114 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17115 wine_fn_config_dll msvcp110 enable_msvcp110
17116 wine_fn_config_dll msvcp60 enable_msvcp60
17117 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17118 wine_fn_config_dll msvcp70 enable_msvcp70
17119 wine_fn_config_dll msvcp71 enable_msvcp71
17120 wine_fn_config_dll msvcp80 enable_msvcp80
17121 wine_fn_config_dll msvcp90 enable_msvcp90
17122 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17123 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17124 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17125 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17126 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17127 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17128 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17129 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17130 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17131 wine_fn_config_dll msvcrt enable_msvcrt implib
17132 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17133 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17134 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17135 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17136 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17137 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17138 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17139 wine_fn_config_dll msvidc32 enable_msvidc32 po
17140 wine_fn_config_dll msvideo.dll16 enable_win16
17141 wine_fn_config_dll mswsock enable_mswsock implib
17142 wine_fn_config_dll msxml enable_msxml clean
17143 wine_fn_config_dll msxml2 enable_msxml2 clean
17144 wine_fn_config_dll msxml3 enable_msxml3 clean
17145 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17146 wine_fn_config_dll msxml4 enable_msxml4 clean
17147 wine_fn_config_dll msxml6 enable_msxml6 clean
17148 wine_fn_config_dll nddeapi enable_nddeapi implib
17149 wine_fn_config_dll netapi32 enable_netapi32 implib
17150 wine_fn_config_test dlls/netapi32/tests netapi32_test
17151 wine_fn_config_dll netcfgx enable_netcfgx clean
17152 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17153 wine_fn_config_dll netprofm enable_netprofm clean
17154 wine_fn_config_test dlls/netprofm/tests netprofm_test
17155 wine_fn_config_dll newdev enable_newdev implib
17156 wine_fn_config_dll normaliz enable_normaliz implib
17157 wine_fn_config_dll npmshtml enable_npmshtml
17158 wine_fn_config_dll npptools enable_npptools
17159 wine_fn_config_dll ntdll enable_ntdll implib
17160 wine_fn_config_test dlls/ntdll/tests ntdll_test
17161 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17162 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17163 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17164 wine_fn_config_dll ntprint enable_ntprint
17165 wine_fn_config_test dlls/ntprint/tests ntprint_test
17166 wine_fn_config_dll objsel enable_objsel clean
17167 wine_fn_config_dll odbc32 enable_odbc32 implib
17168 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17169 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17170 wine_fn_config_dll odbccu32 enable_odbccu32
17171 wine_fn_config_dll ole2.dll16 enable_win16
17172 wine_fn_config_dll ole2conv.dll16 enable_win16
17173 wine_fn_config_dll ole2disp.dll16 enable_win16
17174 wine_fn_config_dll ole2nls.dll16 enable_win16
17175 wine_fn_config_dll ole2prox.dll16 enable_win16
17176 wine_fn_config_dll ole2thk.dll16 enable_win16
17177 wine_fn_config_dll ole32 enable_ole32 clean,implib
17178 wine_fn_config_test dlls/ole32/tests ole32_test
17179 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17180 wine_fn_config_test dlls/oleacc/tests oleacc_test
17181 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17182 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17183 wine_fn_config_dll olecli.dll16 enable_win16
17184 wine_fn_config_dll olecli32 enable_olecli32 implib
17185 wine_fn_config_dll oledb32 enable_oledb32 clean
17186 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17187 wine_fn_config_dll oledlg enable_oledlg implib,po
17188 wine_fn_config_dll olepro32 enable_olepro32 implib
17189 wine_fn_config_dll olesvr.dll16 enable_win16
17190 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17191 wine_fn_config_dll olethk32 enable_olethk32
17192 wine_fn_config_dll openal32 enable_openal32
17193 wine_fn_config_dll opencl enable_opencl
17194 wine_fn_config_dll opengl32 enable_opengl32 implib
17195 wine_fn_config_test dlls/opengl32/tests opengl32_test
17196 wine_fn_config_dll packager enable_packager clean
17197 wine_fn_config_test dlls/packager/tests packager_test
17198 wine_fn_config_dll pdh enable_pdh implib
17199 wine_fn_config_test dlls/pdh/tests pdh_test
17200 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17201 wine_fn_config_dll pidgen enable_pidgen
17202 wine_fn_config_dll powrprof enable_powrprof implib
17203 wine_fn_config_dll printui enable_printui
17204 wine_fn_config_dll propsys enable_propsys clean,implib
17205 wine_fn_config_test dlls/propsys/tests propsys_test
17206 wine_fn_config_dll psapi enable_psapi implib
17207 wine_fn_config_test dlls/psapi/tests psapi_test
17208 wine_fn_config_dll pstorec enable_pstorec clean
17209 wine_fn_config_dll qcap enable_qcap
17210 wine_fn_config_test dlls/qcap/tests qcap_test
17211 wine_fn_config_dll qedit enable_qedit clean
17212 wine_fn_config_test dlls/qedit/tests qedit_test
17213 wine_fn_config_dll qmgr enable_qmgr clean
17214 wine_fn_config_test dlls/qmgr/tests qmgr_test
17215 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17216 wine_fn_config_dll quartz enable_quartz clean,implib
17217 wine_fn_config_test dlls/quartz/tests quartz_test clean
17218 wine_fn_config_dll query enable_query
17219 wine_fn_config_dll rasapi16.dll16 enable_win16
17220 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17221 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17222 wine_fn_config_dll rasdlg enable_rasdlg implib
17223 wine_fn_config_dll regapi enable_regapi
17224 wine_fn_config_dll resutils enable_resutils implib
17225 wine_fn_config_dll riched20 enable_riched20 implib
17226 wine_fn_config_test dlls/riched20/tests riched20_test
17227 wine_fn_config_dll riched32 enable_riched32
17228 wine_fn_config_test dlls/riched32/tests riched32_test
17229 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17230 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17231 wine_fn_config_dll rsabase enable_rsabase
17232 wine_fn_config_dll rsaenh enable_rsaenh implib
17233 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17234 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17235 wine_fn_config_dll rtutils enable_rtutils implib
17236 wine_fn_config_dll samlib enable_samlib
17237 wine_fn_config_dll sane.ds enable_sane_ds po
17238 wine_fn_config_dll scarddlg enable_scarddlg
17239 wine_fn_config_dll sccbase enable_sccbase
17240 wine_fn_config_dll schannel enable_schannel
17241 wine_fn_config_test dlls/schannel/tests schannel_test
17242 wine_fn_config_dll schedsvc enable_schedsvc clean
17243 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17244 wine_fn_config_dll scrrun enable_scrrun clean
17245 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17246 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17247 wine_fn_config_dll secur32 enable_secur32 implib
17248 wine_fn_config_test dlls/secur32/tests secur32_test
17249 wine_fn_config_dll security enable_security
17250 wine_fn_config_dll sensapi enable_sensapi implib
17251 wine_fn_config_dll serialui enable_serialui implib,po
17252 wine_fn_config_test dlls/serialui/tests serialui_test
17253 wine_fn_config_dll setupapi enable_setupapi implib,po
17254 wine_fn_config_test dlls/setupapi/tests setupapi_test
17255 wine_fn_config_dll setupx.dll16 enable_win16
17256 wine_fn_config_dll sfc enable_sfc implib
17257 wine_fn_config_dll sfc_os enable_sfc_os implib
17258 wine_fn_config_dll shdoclc enable_shdoclc po
17259 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17260 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17261 wine_fn_config_dll shell.dll16 enable_win16
17262 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17263 wine_fn_config_test dlls/shell32/tests shell32_test
17264 wine_fn_config_dll shfolder enable_shfolder implib
17265 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17266 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17267 wine_fn_config_dll slbcsp enable_slbcsp
17268 wine_fn_config_dll slc enable_slc implib
17269 wine_fn_config_dll snmpapi enable_snmpapi implib
17270 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17271 wine_fn_config_dll softpub enable_softpub
17272 wine_fn_config_dll sound.drv16 enable_win16
17273 wine_fn_config_dll spoolss enable_spoolss implib
17274 wine_fn_config_test dlls/spoolss/tests spoolss_test
17275 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17276 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17277 wine_fn_config_dll sti enable_sti clean,implib
17278 wine_fn_config_test dlls/sti/tests sti_test
17279 wine_fn_config_dll storage.dll16 enable_win16
17280 wine_fn_config_dll stress.dll16 enable_win16
17281 wine_fn_config_lib strmbase
17282 wine_fn_config_lib strmiids
17283 wine_fn_config_dll svrapi enable_svrapi
17284 wine_fn_config_dll sxs enable_sxs implib
17285 wine_fn_config_test dlls/sxs/tests sxs_test
17286 wine_fn_config_dll system.drv16 enable_win16
17287 wine_fn_config_dll t2embed enable_t2embed
17288 wine_fn_config_dll tapi32 enable_tapi32 implib
17289 wine_fn_config_dll taskschd enable_taskschd clean
17290 wine_fn_config_test dlls/taskschd/tests taskschd_test
17291 wine_fn_config_dll toolhelp.dll16 enable_win16
17292 wine_fn_config_dll traffic enable_traffic
17293 wine_fn_config_dll twain.dll16 enable_win16
17294 wine_fn_config_dll twain_32 enable_twain_32
17295 wine_fn_config_test dlls/twain_32/tests twain_32_test
17296 wine_fn_config_dll typelib.dll16 enable_win16
17297 wine_fn_config_dll unicows enable_unicows implib
17298 wine_fn_config_dll updspapi enable_updspapi
17299 wine_fn_config_dll url enable_url implib
17300 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17301 wine_fn_config_test dlls/urlmon/tests urlmon_test
17302 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17303 wine_fn_config_dll user.exe16 enable_win16
17304 wine_fn_config_dll user32 enable_user32 clean,implib,po
17305 wine_fn_config_test dlls/user32/tests user32_test
17306 wine_fn_config_dll userenv enable_userenv implib
17307 wine_fn_config_test dlls/userenv/tests userenv_test
17308 wine_fn_config_dll usp10 enable_usp10 implib
17309 wine_fn_config_test dlls/usp10/tests usp10_test
17310 wine_fn_config_lib uuid
17311 wine_fn_config_dll uxtheme enable_uxtheme implib
17312 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17313 wine_fn_config_dll vbscript enable_vbscript clean
17314 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17315 wine_fn_config_dll vcomp enable_vcomp
17316 wine_fn_config_dll vcomp100 enable_vcomp100
17317 wine_fn_config_dll vcomp90 enable_vcomp90
17318 wine_fn_config_dll vdhcp.vxd enable_win16
17319 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17320 wine_fn_config_dll ver.dll16 enable_win16
17321 wine_fn_config_dll version enable_version implib
17322 wine_fn_config_test dlls/version/tests version_test
17323 wine_fn_config_dll vmm.vxd enable_win16
17324 wine_fn_config_dll vnbt.vxd enable_win16
17325 wine_fn_config_dll vnetbios.vxd enable_win16
17326 wine_fn_config_dll vtdapi.vxd enable_win16
17327 wine_fn_config_dll vwin32.vxd enable_win16
17328 wine_fn_config_dll w32skrnl enable_win16
17329 wine_fn_config_dll w32sys.dll16 enable_win16
17330 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17331 wine_fn_config_dll wbemprox enable_wbemprox clean
17332 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17333 wine_fn_config_dll webservices enable_webservices implib
17334 wine_fn_config_dll wer enable_wer implib
17335 wine_fn_config_test dlls/wer/tests wer_test
17336 wine_fn_config_dll wevtapi enable_wevtapi
17337 wine_fn_config_dll wiaservc enable_wiaservc clean
17338 wine_fn_config_dll win32s16.dll16 enable_win16
17339 wine_fn_config_dll win87em.dll16 enable_win16
17340 wine_fn_config_dll winaspi.dll16 enable_win16
17341 wine_fn_config_dll windebug.dll16 enable_win16
17342 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17343 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17344 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17345 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17346 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17347 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17348 wine_fn_config_lib winecrt0
17349 wine_fn_config_dll wined3d enable_wined3d implib
17350 wine_fn_config_dll winegstreamer enable_winegstreamer
17351 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17352 wine_fn_config_dll winemac.drv enable_winemac_drv
17353 wine_fn_config_dll winemapi enable_winemapi
17354 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17355 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17356 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17357 wine_fn_config_dll wineps16.drv16 enable_win16
17358 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17359 wine_fn_config_dll winex11.drv enable_winex11_drv
17360 wine_fn_config_dll wing.dll16 enable_win16
17361 wine_fn_config_dll wing32 enable_wing32
17362 wine_fn_config_dll winhttp enable_winhttp clean,implib
17363 wine_fn_config_test dlls/winhttp/tests winhttp_test
17364 wine_fn_config_dll wininet enable_wininet implib,po
17365 wine_fn_config_test dlls/wininet/tests wininet_test
17366 wine_fn_config_dll winmm enable_winmm implib,po
17367 wine_fn_config_test dlls/winmm/tests winmm_test
17368 wine_fn_config_dll winnls.dll16 enable_win16
17369 wine_fn_config_dll winnls32 enable_winnls32 implib
17370 wine_fn_config_dll winscard enable_winscard implib
17371 wine_fn_config_dll winsock.dll16 enable_win16
17372 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17373 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17374 wine_fn_config_dll winsta enable_winsta
17375 wine_fn_config_dll wintab.dll16 enable_win16
17376 wine_fn_config_dll wintab32 enable_wintab32 implib
17377 wine_fn_config_test dlls/wintab32/tests wintab32_test
17378 wine_fn_config_dll wintrust enable_wintrust implib
17379 wine_fn_config_test dlls/wintrust/tests wintrust_test
17380 wine_fn_config_dll wlanapi enable_wlanapi
17381 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17382 wine_fn_config_test dlls/wldap32/tests wldap32_test
17383 wine_fn_config_dll wmi enable_wmi
17384 wine_fn_config_dll wmiutils enable_wmiutils clean
17385 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17386 wine_fn_config_dll wmp enable_wmp clean
17387 wine_fn_config_test dlls/wmp/tests wmp_test
17388 wine_fn_config_dll wmvcore enable_wmvcore
17389 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17390 wine_fn_config_dll wow32 enable_win16 implib
17391 wine_fn_config_dll wpcap enable_wpcap
17392 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17393 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17394 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17395 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17396 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17397 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17398 wine_fn_config_dll wsock32 enable_wsock32 implib
17399 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17400 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17401 wine_fn_config_dll wuapi enable_wuapi clean
17402 wine_fn_config_dll wuaueng enable_wuaueng
17403 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17404 wine_fn_config_dll xinput1_1 enable_xinput1_1
17405 wine_fn_config_dll xinput1_2 enable_xinput1_2
17406 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17407 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17408 wine_fn_config_dll xinput1_4 enable_xinput1_4
17409 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17410 wine_fn_config_dll xmllite enable_xmllite implib
17411 wine_fn_config_test dlls/xmllite/tests xmllite_test
17412 wine_fn_config_dll xolehlp enable_xolehlp
17413 wine_fn_config_dll xpsprint enable_xpsprint
17414 wine_fn_config_dll xpssvcs enable_xpssvcs
17415 wine_fn_config_makefile documentation enable_documentation clean
17416 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17417 wine_fn_config_makefile include enable_include clean,install-dev
17418 wine_fn_config_makefile libs/port enable_libs_port
17419 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17420 wine_fn_config_makefile libs/wpp enable_libs_wpp
17421 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17422 wine_fn_config_program arp enable_arp install
17423 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17424 wine_fn_config_program attrib enable_attrib install,po
17425 wine_fn_config_program cabarc enable_cabarc install
17426 wine_fn_config_program cacls enable_cacls install
17427 wine_fn_config_program clock enable_clock install,po
17428 wine_fn_config_program cmd enable_cmd install,po
17429 wine_fn_config_test programs/cmd/tests cmd.exe_test
17430 wine_fn_config_program conhost enable_conhost install
17431 wine_fn_config_program control enable_control install
17432 wine_fn_config_program cscript enable_cscript clean,install
17433 wine_fn_config_program dpnsvr enable_dpnsvr install
17434 wine_fn_config_program dxdiag enable_dxdiag install,po
17435 wine_fn_config_program eject enable_eject install
17436 wine_fn_config_program expand enable_expand install
17437 wine_fn_config_program explorer enable_explorer install,po
17438 wine_fn_config_program extrac32 enable_extrac32 install
17439 wine_fn_config_program findstr enable_findstr install
17440 wine_fn_config_program hh enable_hh install
17441 wine_fn_config_program hostname enable_hostname install,po
17442 wine_fn_config_program icinfo enable_icinfo install
17443 wine_fn_config_program iexplore enable_iexplore install
17444 wine_fn_config_program ipconfig enable_ipconfig install,po
17445 wine_fn_config_program lodctr enable_lodctr install
17446 wine_fn_config_program mofcomp enable_mofcomp install
17447 wine_fn_config_program mshta enable_mshta install
17448 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17449 wine_fn_config_program net enable_net install,po
17450 wine_fn_config_program netsh enable_netsh install
17451 wine_fn_config_program netstat enable_netstat install,po
17452 wine_fn_config_program ngen enable_ngen install
17453 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17454 wine_fn_config_program oleview enable_oleview install,po
17455 wine_fn_config_program ping enable_ping install
17456 wine_fn_config_program plugplay enable_plugplay install
17457 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17458 wine_fn_config_program progman enable_progman install,po
17459 wine_fn_config_program reg enable_reg install,po
17460 wine_fn_config_test programs/reg/tests reg.exe_test
17461 wine_fn_config_program regasm enable_regasm install
17462 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17463 wine_fn_config_test programs/regedit/tests regedit.exe_test
17464 wine_fn_config_program regsvcs enable_regsvcs install
17465 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17466 wine_fn_config_program rpcss enable_rpcss clean,install
17467 wine_fn_config_program rundll.exe16 enable_win16 install
17468 wine_fn_config_program rundll32 enable_rundll32 install
17469 wine_fn_config_program sc enable_sc install
17470 wine_fn_config_program schtasks enable_schtasks install
17471 wine_fn_config_program sdbinst enable_sdbinst install
17472 wine_fn_config_program secedit enable_secedit install
17473 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17474 wine_fn_config_program services enable_services clean,install
17475 wine_fn_config_test programs/services/tests services.exe_test
17476 wine_fn_config_program spoolsv enable_spoolsv install
17477 wine_fn_config_program start enable_start install,po
17478 wine_fn_config_program svchost enable_svchost install
17479 wine_fn_config_program taskkill enable_taskkill install,po
17480 wine_fn_config_program tasklist enable_tasklist install
17481 wine_fn_config_program taskmgr enable_taskmgr install,po
17482 wine_fn_config_program termsv enable_termsv install
17483 wine_fn_config_program uninstaller enable_uninstaller install,po
17484 wine_fn_config_program unlodctr enable_unlodctr install
17485 wine_fn_config_program view enable_view install,po
17486 wine_fn_config_program wevtutil enable_wevtutil install
17487 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17488 wine_fn_config_program winebrowser enable_winebrowser install
17489 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17490 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17491 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17492 wine_fn_config_program winedevice enable_winedevice install
17493 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17494 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17495 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17496 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17497 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17498 wine_fn_config_program winetest enable_winetest clean
17499 wine_fn_config_program winevdm enable_win16 install
17500 wine_fn_config_program winhelp.exe16 enable_win16 install
17501 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17502 wine_fn_config_program winoldap.mod16 enable_win16 install
17503 wine_fn_config_program winver enable_winver install
17504 wine_fn_config_program wmic enable_wmic install,po
17505 wine_fn_config_program wordpad enable_wordpad install,po
17506 wine_fn_config_program write enable_write install,po
17507 wine_fn_config_program wscript enable_wscript clean,install
17508 wine_fn_config_test programs/wscript/tests wscript.exe_test
17509 wine_fn_config_program wusa enable_wusa install
17510 wine_fn_config_program xcopy enable_xcopy install,po
17511 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17512 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17513 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17514 wine_fn_config_tool tools/sfnt2fon clean
17515 wine_fn_config_tool tools/widl clean,install-dev,manpage
17516 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17517 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17518 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17519 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17520 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17522 LINGUAS="\
17523 ar \
17524 bg \
17525 ca \
17526 cs \
17527 da \
17528 de \
17529 el \
17530 en \
17531 en_US \
17532 eo \
17533 es \
17534 fa \
17535 fi \
17536 fr \
17537 he \
17538 hi \
17539 hr \
17540 hu \
17541 it \
17542 ja \
17543 ko \
17544 lt \
17545 ml \
17546 nb_NO \
17547 nl \
17548 or \
17549 pa \
17550 pl \
17551 pt_BR \
17552 pt_PT \
17553 rm \
17554 ro \
17555 ru \
17556 sk \
17557 sl \
17558 sr_RS@cyrillic \
17559 sr_RS@latin \
17560 sv \
17561 te \
17562 th \
17563 tr \
17564 uk \
17565 wa \
17566 zh_CN \
17567 zh_TW"
17572 wine_fn_ignore_file ".gitignore"
17573 wine_fn_ignore_file "Makefile"
17574 wine_fn_ignore_file "TAGS"
17575 wine_fn_ignore_file "tags"
17576 wine_fn_ignore_file "autom4te.cache"
17577 wine_fn_ignore_file "config.cache"
17578 wine_fn_ignore_file "config.log"
17579 wine_fn_ignore_file "config.status"
17580 wine_fn_ignore_file "configure.lineno"
17581 wine_fn_ignore_file "include/config.h"
17582 wine_fn_ignore_file "include/stamp-h"
17583 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17585 if test "x$enable_tools" != xno
17586 then
17587 wine_fn_ignore_file "tools/makedep$ac_exeext"
17588 ac_config_commands="$ac_config_commands tools/makedep"
17592 ac_config_commands="$ac_config_commands Makefile"
17595 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17599 if test "x$enable_maintainer_mode" = xyes
17600 then
17601 wine_fn_append_rule "configure: configure.ac aclocal.m4
17602 autoconf --warnings=all
17603 include/config.h.in: include/stamp-h.in
17604 include/stamp-h.in: configure.ac aclocal.m4
17605 autoheader --warnings=all
17606 @echo timestamp > \$@"
17609 if test "x$with_gettextpo" = xyes
17610 then
17611 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17612 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17613 \$(LINGUAS:%=po/%.po): po/wine.pot
17614 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17615 po/wine.pot: \$(ALL_POT_FILES)
17616 msgcat -o \$@ \$(ALL_POT_FILES)"
17619 if test "$MSGFMT" != false
17620 then
17621 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17622 clean::
17623 \$(RM) \$(LINGUAS:%=po/%.mo)"
17625 posrc="po"
17626 test "$srcdir" = . || posrc="$srcdir/po"
17627 for i in $LINGUAS
17629 wine_fn_ignore_file "po/$i.mo"
17630 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17631 \$(MSGFMT) -o \$@ $posrc/$i.po"
17632 done
17633 else
17634 LINGUAS=
17637 if test "x$enable_tools" != xno
17638 then
17639 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17640 @./config.status tools/makedep
17641 Makefile: tools/makedep$ac_exeext
17642 distclean:: clean
17643 \$(RM) tools/makedep$ac_exeext"
17644 else
17645 wine_fn_append_rule "\$(MAKEDEP):
17646 @echo \"You need to run make in $TOOLSDIR first\" && false"
17649 if test -n "$with_wine64"
17650 then
17651 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17652 fonts server tools:
17653 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17654 $with_wine64/loader/wine:
17655 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17656 $with_wine64/loader/wine-preloader:
17657 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17658 clean::
17659 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17660 else
17661 as_fn_append LOADER_RULES "
17662 install install-lib:: wine.inf install-man-pages
17663 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17664 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17666 uninstall::
17667 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17671 if test "$srcdir" = .
17672 then
17673 ac_config_commands="$ac_config_commands .gitignore"
17677 $as_echo " done" >&6
17678 cat >confcache <<\_ACEOF
17679 # This file is a shell script that caches the results of configure
17680 # tests run on this system so they can be shared between configure
17681 # scripts and configure runs, see configure's option --config-cache.
17682 # It is not useful on other systems. If it contains results you don't
17683 # want to keep, you may remove or edit it.
17685 # config.status only pays attention to the cache file if you give it
17686 # the --recheck option to rerun configure.
17688 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17689 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17690 # following values.
17692 _ACEOF
17694 # The following way of writing the cache mishandles newlines in values,
17695 # but we know of no workaround that is simple, portable, and efficient.
17696 # So, we kill variables containing newlines.
17697 # Ultrix sh set writes to stderr and can't be redirected directly,
17698 # and sets the high bit in the cache file unless we assign to the vars.
17700 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17701 eval ac_val=\$$ac_var
17702 case $ac_val in #(
17703 *${as_nl}*)
17704 case $ac_var in #(
17705 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17706 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17707 esac
17708 case $ac_var in #(
17709 _ | IFS | as_nl) ;; #(
17710 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17711 *) { eval $ac_var=; unset $ac_var;} ;;
17712 esac ;;
17713 esac
17714 done
17716 (set) 2>&1 |
17717 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17718 *${as_nl}ac_space=\ *)
17719 # `set' does not quote correctly, so add quotes: double-quote
17720 # substitution turns \\\\ into \\, and sed turns \\ into \.
17721 sed -n \
17722 "s/'/'\\\\''/g;
17723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17724 ;; #(
17726 # `set' quotes correctly as required by POSIX, so do not add quotes.
17727 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17729 esac |
17730 sort
17732 sed '
17733 /^ac_cv_env_/b end
17734 t clear
17735 :clear
17736 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17737 t end
17738 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17739 :end' >>confcache
17740 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17741 if test -w "$cache_file"; then
17742 if test "x$cache_file" != "x/dev/null"; then
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17744 $as_echo "$as_me: updating cache $cache_file" >&6;}
17745 if test ! -f "$cache_file" || test -h "$cache_file"; then
17746 cat confcache >"$cache_file"
17747 else
17748 case $cache_file in #(
17749 */* | ?:*)
17750 mv -f confcache "$cache_file"$$ &&
17751 mv -f "$cache_file"$$ "$cache_file" ;; #(
17753 mv -f confcache "$cache_file" ;;
17754 esac
17757 else
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17759 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17762 rm -f confcache
17764 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17765 # Let make expand exec_prefix.
17766 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17768 DEFS=-DHAVE_CONFIG_H
17770 ac_libobjs=
17771 ac_ltlibobjs=
17773 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17774 # 1. Remove the extension, and $U if already installed.
17775 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17776 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17777 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17778 # will be set to the directory where LIBOBJS objects are built.
17779 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17780 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17781 done
17782 LIBOBJS=$ac_libobjs
17784 LTLIBOBJS=$ac_ltlibobjs
17788 : "${CONFIG_STATUS=./config.status}"
17789 ac_write_fail=0
17790 ac_clean_files_save=$ac_clean_files
17791 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17793 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17794 as_write_fail=0
17795 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17796 #! $SHELL
17797 # Generated by $as_me.
17798 # Run this file to recreate the current configuration.
17799 # Compiler output produced by configure, useful for debugging
17800 # configure, is in config.log if it exists.
17802 debug=false
17803 ac_cs_recheck=false
17804 ac_cs_silent=false
17806 SHELL=\${CONFIG_SHELL-$SHELL}
17807 export SHELL
17808 _ASEOF
17809 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17810 ## -------------------- ##
17811 ## M4sh Initialization. ##
17812 ## -------------------- ##
17814 # Be more Bourne compatible
17815 DUALCASE=1; export DUALCASE # for MKS sh
17816 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17817 emulate sh
17818 NULLCMD=:
17819 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17820 # is contrary to our usage. Disable this feature.
17821 alias -g '${1+"$@"}'='"$@"'
17822 setopt NO_GLOB_SUBST
17823 else
17824 case `(set -o) 2>/dev/null` in #(
17825 *posix*) :
17826 set -o posix ;; #(
17827 *) :
17829 esac
17833 as_nl='
17835 export as_nl
17836 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17837 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17838 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17839 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17840 # Prefer a ksh shell builtin over an external printf program on Solaris,
17841 # but without wasting forks for bash or zsh.
17842 if test -z "$BASH_VERSION$ZSH_VERSION" \
17843 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17844 as_echo='print -r --'
17845 as_echo_n='print -rn --'
17846 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17847 as_echo='printf %s\n'
17848 as_echo_n='printf %s'
17849 else
17850 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17851 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17852 as_echo_n='/usr/ucb/echo -n'
17853 else
17854 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17855 as_echo_n_body='eval
17856 arg=$1;
17857 case $arg in #(
17858 *"$as_nl"*)
17859 expr "X$arg" : "X\\(.*\\)$as_nl";
17860 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17861 esac;
17862 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17864 export as_echo_n_body
17865 as_echo_n='sh -c $as_echo_n_body as_echo'
17867 export as_echo_body
17868 as_echo='sh -c $as_echo_body as_echo'
17871 # The user is always right.
17872 if test "${PATH_SEPARATOR+set}" != set; then
17873 PATH_SEPARATOR=:
17874 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17875 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17876 PATH_SEPARATOR=';'
17881 # IFS
17882 # We need space, tab and new line, in precisely that order. Quoting is
17883 # there to prevent editors from complaining about space-tab.
17884 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17885 # splitting by setting IFS to empty value.)
17886 IFS=" "" $as_nl"
17888 # Find who we are. Look in the path if we contain no directory separator.
17889 as_myself=
17890 case $0 in #((
17891 *[\\/]* ) as_myself=$0 ;;
17892 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17893 for as_dir in $PATH
17895 IFS=$as_save_IFS
17896 test -z "$as_dir" && as_dir=.
17897 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17898 done
17899 IFS=$as_save_IFS
17902 esac
17903 # We did not find ourselves, most probably we were run as `sh COMMAND'
17904 # in which case we are not to be found in the path.
17905 if test "x$as_myself" = x; then
17906 as_myself=$0
17908 if test ! -f "$as_myself"; then
17909 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17910 exit 1
17913 # Unset variables that we do not need and which cause bugs (e.g. in
17914 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17915 # suppresses any "Segmentation fault" message there. '((' could
17916 # trigger a bug in pdksh 5.2.14.
17917 for as_var in BASH_ENV ENV MAIL MAILPATH
17918 do eval test x\${$as_var+set} = xset \
17919 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17920 done
17921 PS1='$ '
17922 PS2='> '
17923 PS4='+ '
17925 # NLS nuisances.
17926 LC_ALL=C
17927 export LC_ALL
17928 LANGUAGE=C
17929 export LANGUAGE
17931 # CDPATH.
17932 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17935 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17936 # ----------------------------------------
17937 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17938 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17939 # script with STATUS, using 1 if that was 0.
17940 as_fn_error ()
17942 as_status=$1; test $as_status -eq 0 && as_status=1
17943 if test "$4"; then
17944 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17945 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17947 $as_echo "$as_me: error: $2" >&2
17948 as_fn_exit $as_status
17949 } # as_fn_error
17952 # as_fn_set_status STATUS
17953 # -----------------------
17954 # Set $? to STATUS, without forking.
17955 as_fn_set_status ()
17957 return $1
17958 } # as_fn_set_status
17960 # as_fn_exit STATUS
17961 # -----------------
17962 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17963 as_fn_exit ()
17965 set +e
17966 as_fn_set_status $1
17967 exit $1
17968 } # as_fn_exit
17970 # as_fn_unset VAR
17971 # ---------------
17972 # Portably unset VAR.
17973 as_fn_unset ()
17975 { eval $1=; unset $1;}
17977 as_unset=as_fn_unset
17978 # as_fn_append VAR VALUE
17979 # ----------------------
17980 # Append the text in VALUE to the end of the definition contained in VAR. Take
17981 # advantage of any shell optimizations that allow amortized linear growth over
17982 # repeated appends, instead of the typical quadratic growth present in naive
17983 # implementations.
17984 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17985 eval 'as_fn_append ()
17987 eval $1+=\$2
17989 else
17990 as_fn_append ()
17992 eval $1=\$$1\$2
17994 fi # as_fn_append
17996 # as_fn_arith ARG...
17997 # ------------------
17998 # Perform arithmetic evaluation on the ARGs, and store the result in the
17999 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18000 # must be portable across $(()) and expr.
18001 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18002 eval 'as_fn_arith ()
18004 as_val=$(( $* ))
18006 else
18007 as_fn_arith ()
18009 as_val=`expr "$@" || test $? -eq 1`
18011 fi # as_fn_arith
18014 if expr a : '\(a\)' >/dev/null 2>&1 &&
18015 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18016 as_expr=expr
18017 else
18018 as_expr=false
18021 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18022 as_basename=basename
18023 else
18024 as_basename=false
18027 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18028 as_dirname=dirname
18029 else
18030 as_dirname=false
18033 as_me=`$as_basename -- "$0" ||
18034 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18035 X"$0" : 'X\(//\)$' \| \
18036 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18037 $as_echo X/"$0" |
18038 sed '/^.*\/\([^/][^/]*\)\/*$/{
18039 s//\1/
18042 /^X\/\(\/\/\)$/{
18043 s//\1/
18046 /^X\/\(\/\).*/{
18047 s//\1/
18050 s/.*/./; q'`
18052 # Avoid depending upon Character Ranges.
18053 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18054 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18055 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18056 as_cr_digits='0123456789'
18057 as_cr_alnum=$as_cr_Letters$as_cr_digits
18059 ECHO_C= ECHO_N= ECHO_T=
18060 case `echo -n x` in #(((((
18061 -n*)
18062 case `echo 'xy\c'` in
18063 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18064 xy) ECHO_C='\c';;
18065 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18066 ECHO_T=' ';;
18067 esac;;
18069 ECHO_N='-n';;
18070 esac
18072 rm -f conf$$ conf$$.exe conf$$.file
18073 if test -d conf$$.dir; then
18074 rm -f conf$$.dir/conf$$.file
18075 else
18076 rm -f conf$$.dir
18077 mkdir conf$$.dir 2>/dev/null
18079 if (echo >conf$$.file) 2>/dev/null; then
18080 if ln -s conf$$.file conf$$ 2>/dev/null; then
18081 as_ln_s='ln -s'
18082 # ... but there are two gotchas:
18083 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18084 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18085 # In both cases, we have to default to `cp -pR'.
18086 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18087 as_ln_s='cp -pR'
18088 elif ln conf$$.file conf$$ 2>/dev/null; then
18089 as_ln_s=ln
18090 else
18091 as_ln_s='cp -pR'
18093 else
18094 as_ln_s='cp -pR'
18096 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18097 rmdir conf$$.dir 2>/dev/null
18100 # as_fn_mkdir_p
18101 # -------------
18102 # Create "$as_dir" as a directory, including parents if necessary.
18103 as_fn_mkdir_p ()
18106 case $as_dir in #(
18107 -*) as_dir=./$as_dir;;
18108 esac
18109 test -d "$as_dir" || eval $as_mkdir_p || {
18110 as_dirs=
18111 while :; do
18112 case $as_dir in #(
18113 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18114 *) as_qdir=$as_dir;;
18115 esac
18116 as_dirs="'$as_qdir' $as_dirs"
18117 as_dir=`$as_dirname -- "$as_dir" ||
18118 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18119 X"$as_dir" : 'X\(//\)[^/]' \| \
18120 X"$as_dir" : 'X\(//\)$' \| \
18121 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18122 $as_echo X"$as_dir" |
18123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18124 s//\1/
18127 /^X\(\/\/\)[^/].*/{
18128 s//\1/
18131 /^X\(\/\/\)$/{
18132 s//\1/
18135 /^X\(\/\).*/{
18136 s//\1/
18139 s/.*/./; q'`
18140 test -d "$as_dir" && break
18141 done
18142 test -z "$as_dirs" || eval "mkdir $as_dirs"
18143 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18146 } # as_fn_mkdir_p
18147 if mkdir -p . 2>/dev/null; then
18148 as_mkdir_p='mkdir -p "$as_dir"'
18149 else
18150 test -d ./-p && rmdir ./-p
18151 as_mkdir_p=false
18155 # as_fn_executable_p FILE
18156 # -----------------------
18157 # Test if FILE is an executable regular file.
18158 as_fn_executable_p ()
18160 test -f "$1" && test -x "$1"
18161 } # as_fn_executable_p
18162 as_test_x='test -x'
18163 as_executable_p=as_fn_executable_p
18165 # Sed expression to map a string onto a valid CPP name.
18166 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18168 # Sed expression to map a string onto a valid variable name.
18169 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18172 exec 6>&1
18173 ## ----------------------------------- ##
18174 ## Main body of $CONFIG_STATUS script. ##
18175 ## ----------------------------------- ##
18176 _ASEOF
18177 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18180 # Save the log message, to keep $0 and so on meaningful, and to
18181 # report actual input values of CONFIG_FILES etc. instead of their
18182 # values after options handling.
18183 ac_log="
18184 This file was extended by Wine $as_me 1.7.28, which was
18185 generated by GNU Autoconf 2.69. Invocation command line was
18187 CONFIG_FILES = $CONFIG_FILES
18188 CONFIG_HEADERS = $CONFIG_HEADERS
18189 CONFIG_LINKS = $CONFIG_LINKS
18190 CONFIG_COMMANDS = $CONFIG_COMMANDS
18191 $ $0 $@
18193 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18196 _ACEOF
18198 case $ac_config_files in *"
18199 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18200 esac
18202 case $ac_config_headers in *"
18203 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18204 esac
18207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18208 # Files that config.status was made for.
18209 config_files="$ac_config_files"
18210 config_headers="$ac_config_headers"
18211 config_links="$ac_config_links"
18212 config_commands="$ac_config_commands"
18214 _ACEOF
18216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18217 ac_cs_usage="\
18218 \`$as_me' instantiates files and other configuration actions
18219 from templates according to the current configuration. Unless the files
18220 and actions are specified as TAGs, all are instantiated by default.
18222 Usage: $0 [OPTION]... [TAG]...
18224 -h, --help print this help, then exit
18225 -V, --version print version number and configuration settings, then exit
18226 --config print configuration, then exit
18227 -q, --quiet, --silent
18228 do not print progress messages
18229 -d, --debug don't remove temporary files
18230 --recheck update $as_me by reconfiguring in the same conditions
18231 --file=FILE[:TEMPLATE]
18232 instantiate the configuration file FILE
18233 --header=FILE[:TEMPLATE]
18234 instantiate the configuration header FILE
18236 Configuration files:
18237 $config_files
18239 Configuration headers:
18240 $config_headers
18242 Configuration links:
18243 $config_links
18245 Configuration commands:
18246 $config_commands
18248 Report bugs to <wine-devel@winehq.org>.
18249 Wine home page: <http://www.winehq.org>."
18251 _ACEOF
18252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18253 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18254 ac_cs_version="\\
18255 Wine config.status 1.7.28
18256 configured by $0, generated by GNU Autoconf 2.69,
18257 with options \\"\$ac_cs_config\\"
18259 Copyright (C) 2012 Free Software Foundation, Inc.
18260 This config.status script is free software; the Free Software Foundation
18261 gives unlimited permission to copy, distribute and modify it."
18263 ac_pwd='$ac_pwd'
18264 srcdir='$srcdir'
18265 test -n "\$AWK" || AWK=awk
18266 _ACEOF
18268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18269 # The default lists apply if the user does not specify any file.
18270 ac_need_defaults=:
18271 while test $# != 0
18273 case $1 in
18274 --*=?*)
18275 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18276 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18277 ac_shift=:
18279 --*=)
18280 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18281 ac_optarg=
18282 ac_shift=:
18285 ac_option=$1
18286 ac_optarg=$2
18287 ac_shift=shift
18289 esac
18291 case $ac_option in
18292 # Handling of the options.
18293 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18294 ac_cs_recheck=: ;;
18295 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18296 $as_echo "$ac_cs_version"; exit ;;
18297 --config | --confi | --conf | --con | --co | --c )
18298 $as_echo "$ac_cs_config"; exit ;;
18299 --debug | --debu | --deb | --de | --d | -d )
18300 debug=: ;;
18301 --file | --fil | --fi | --f )
18302 $ac_shift
18303 case $ac_optarg in
18304 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18305 '') as_fn_error $? "missing file argument" ;;
18306 esac
18307 as_fn_append CONFIG_FILES " '$ac_optarg'"
18308 ac_need_defaults=false;;
18309 --header | --heade | --head | --hea )
18310 $ac_shift
18311 case $ac_optarg in
18312 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18313 esac
18314 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18315 ac_need_defaults=false;;
18316 --he | --h)
18317 # Conflict between --help and --header
18318 as_fn_error $? "ambiguous option: \`$1'
18319 Try \`$0 --help' for more information.";;
18320 --help | --hel | -h )
18321 $as_echo "$ac_cs_usage"; exit ;;
18322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18323 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18324 ac_cs_silent=: ;;
18326 # This is an error.
18327 -*) as_fn_error $? "unrecognized option: \`$1'
18328 Try \`$0 --help' for more information." ;;
18330 *) as_fn_append ac_config_targets " $1"
18331 ac_need_defaults=false ;;
18333 esac
18334 shift
18335 done
18337 ac_configure_extra_args=
18339 if $ac_cs_silent; then
18340 exec 6>/dev/null
18341 ac_configure_extra_args="$ac_configure_extra_args --silent"
18344 _ACEOF
18345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18346 if \$ac_cs_recheck; then
18347 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18348 shift
18349 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18350 CONFIG_SHELL='$SHELL'
18351 export CONFIG_SHELL
18352 exec "\$@"
18355 _ACEOF
18356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18357 exec 5>>config.log
18359 echo
18360 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18361 ## Running $as_me. ##
18362 _ASBOX
18363 $as_echo "$ac_log"
18364 } >&5
18366 _ACEOF
18367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18369 # INIT-COMMANDS
18371 wine_fn_output_makedep ()
18373 as_dir=tools; as_fn_mkdir_p
18374 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18376 wine_fn_output_makefile ()
18378 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18379 `cat $wine_rules_file`
18380 _WINE_EOF
18381 as_fn_error $? "could not create Makefile" "$LINENO" 5
18383 wine_fn_output_gitignore ()
18385 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18386 $GITIGNORE
18387 _WINE_EOF
18388 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18391 _ACEOF
18393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18395 # Handling of arguments.
18396 for ac_config_target in $ac_config_targets
18398 case $ac_config_target in
18399 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18400 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18401 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18402 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18403 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18404 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18405 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18406 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18407 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18408 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18409 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18410 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18411 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18412 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18414 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18415 esac
18416 done
18419 # If the user did not use the arguments to specify the items to instantiate,
18420 # then the envvar interface is used. Set only those that are not.
18421 # We use the long form for the default assignment because of an extremely
18422 # bizarre bug on SunOS 4.1.3.
18423 if $ac_need_defaults; then
18424 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18425 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18426 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18427 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18430 # Have a temporary directory for convenience. Make it in the build tree
18431 # simply because there is no reason against having it here, and in addition,
18432 # creating and moving files from /tmp can sometimes cause problems.
18433 # Hook for its removal unless debugging.
18434 # Note that there is a small window in which the directory will not be cleaned:
18435 # after its creation but before its name has been assigned to `$tmp'.
18436 $debug ||
18438 tmp= ac_tmp=
18439 trap 'exit_status=$?
18440 : "${ac_tmp:=$tmp}"
18441 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18443 trap 'as_fn_exit 1' 1 2 13 15
18445 # Create a (secure) tmp directory for tmp files.
18448 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18449 test -d "$tmp"
18450 } ||
18452 tmp=./conf$$-$RANDOM
18453 (umask 077 && mkdir "$tmp")
18454 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18455 ac_tmp=$tmp
18457 # Set up the scripts for CONFIG_FILES section.
18458 # No need to generate them if there are no CONFIG_FILES.
18459 # This happens for instance with `./config.status config.h'.
18460 if test -n "$CONFIG_FILES"; then
18463 ac_cr=`echo X | tr X '\015'`
18464 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18465 # But we know of no other shell where ac_cr would be empty at this
18466 # point, so we can use a bashism as a fallback.
18467 if test "x$ac_cr" = x; then
18468 eval ac_cr=\$\'\\r\'
18470 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18471 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18472 ac_cs_awk_cr='\\r'
18473 else
18474 ac_cs_awk_cr=$ac_cr
18477 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18478 _ACEOF
18482 echo "cat >conf$$subs.awk <<_ACEOF" &&
18483 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18484 echo "_ACEOF"
18485 } >conf$$subs.sh ||
18486 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18487 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18488 ac_delim='%!_!# '
18489 for ac_last_try in false false false false false :; do
18490 . ./conf$$subs.sh ||
18491 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18493 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18494 if test $ac_delim_n = $ac_delim_num; then
18495 break
18496 elif $ac_last_try; then
18497 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18498 else
18499 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18501 done
18502 rm -f conf$$subs.sh
18504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18505 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18506 _ACEOF
18507 sed -n '
18509 s/^/S["/; s/!.*/"]=/
18512 s/^[^!]*!//
18513 :repl
18514 t repl
18515 s/'"$ac_delim"'$//
18516 t delim
18519 s/\(.\{148\}\)..*/\1/
18520 t more1
18521 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18524 b repl
18525 :more1
18526 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18529 s/.\{148\}//
18530 t nl
18531 :delim
18533 s/\(.\{148\}\)..*/\1/
18534 t more2
18535 s/["\\]/\\&/g; s/^/"/; s/$/"/
18538 :more2
18539 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18542 s/.\{148\}//
18543 t delim
18544 ' <conf$$subs.awk | sed '
18545 /^[^""]/{
18547 s/\n//
18549 ' >>$CONFIG_STATUS || ac_write_fail=1
18550 rm -f conf$$subs.awk
18551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18552 _ACAWK
18553 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18554 for (key in S) S_is_set[key] = 1
18555 FS = "\a"
18559 line = $ 0
18560 nfields = split(line, field, "@")
18561 substed = 0
18562 len = length(field[1])
18563 for (i = 2; i < nfields; i++) {
18564 key = field[i]
18565 keylen = length(key)
18566 if (S_is_set[key]) {
18567 value = S[key]
18568 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18569 len += length(value) + length(field[++i])
18570 substed = 1
18571 } else
18572 len += 1 + keylen
18575 print line
18578 _ACAWK
18579 _ACEOF
18580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18581 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18582 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18583 else
18585 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18586 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18587 _ACEOF
18589 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18590 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18591 # trailing colons and then remove the whole line if VPATH becomes empty
18592 # (actually we leave an empty line to preserve line numbers).
18593 if test "x$srcdir" = x.; then
18594 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18596 s///
18597 s/^/:/
18598 s/[ ]*$/:/
18599 s/:\$(srcdir):/:/g
18600 s/:\${srcdir}:/:/g
18601 s/:@srcdir@:/:/g
18602 s/^:*//
18603 s/:*$//
18605 s/\(=[ ]*\).*/\1/
18607 s/\n//
18608 s/^[^=]*=[ ]*$//
18612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18613 fi # test -n "$CONFIG_FILES"
18615 # Set up the scripts for CONFIG_HEADERS section.
18616 # No need to generate them if there are no CONFIG_HEADERS.
18617 # This happens for instance with `./config.status Makefile'.
18618 if test -n "$CONFIG_HEADERS"; then
18619 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18620 BEGIN {
18621 _ACEOF
18623 # Transform confdefs.h into an awk script `defines.awk', embedded as
18624 # here-document in config.status, that substitutes the proper values into
18625 # config.h.in to produce config.h.
18627 # Create a delimiter string that does not exist in confdefs.h, to ease
18628 # handling of long lines.
18629 ac_delim='%!_!# '
18630 for ac_last_try in false false :; do
18631 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18632 if test -z "$ac_tt"; then
18633 break
18634 elif $ac_last_try; then
18635 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18636 else
18637 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18639 done
18641 # For the awk script, D is an array of macro values keyed by name,
18642 # likewise P contains macro parameters if any. Preserve backslash
18643 # newline sequences.
18645 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18646 sed -n '
18647 s/.\{148\}/&'"$ac_delim"'/g
18648 t rset
18649 :rset
18650 s/^[ ]*#[ ]*define[ ][ ]*/ /
18651 t def
18653 :def
18654 s/\\$//
18655 t bsnl
18656 s/["\\]/\\&/g
18657 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18658 D["\1"]=" \3"/p
18659 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18661 :bsnl
18662 s/["\\]/\\&/g
18663 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18664 D["\1"]=" \3\\\\\\n"\\/p
18665 t cont
18666 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18667 t cont
18669 :cont
18671 s/.\{148\}/&'"$ac_delim"'/g
18672 t clear
18673 :clear
18674 s/\\$//
18675 t bsnlc
18676 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18678 :bsnlc
18679 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18680 b cont
18681 ' <confdefs.h | sed '
18682 s/'"$ac_delim"'/"\\\
18683 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18686 for (key in D) D_is_set[key] = 1
18687 FS = "\a"
18689 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18690 line = \$ 0
18691 split(line, arg, " ")
18692 if (arg[1] == "#") {
18693 defundef = arg[2]
18694 mac1 = arg[3]
18695 } else {
18696 defundef = substr(arg[1], 2)
18697 mac1 = arg[2]
18699 split(mac1, mac2, "(") #)
18700 macro = mac2[1]
18701 prefix = substr(line, 1, index(line, defundef) - 1)
18702 if (D_is_set[macro]) {
18703 # Preserve the white space surrounding the "#".
18704 print prefix "define", macro P[macro] D[macro]
18705 next
18706 } else {
18707 # Replace #undef with comments. This is necessary, for example,
18708 # in the case of _POSIX_SOURCE, which is predefined and required
18709 # on some systems where configure will not decide to define it.
18710 if (defundef == "undef") {
18711 print "/*", prefix defundef, macro, "*/"
18712 next
18716 { print }
18717 _ACAWK
18718 _ACEOF
18719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18720 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18721 fi # test -n "$CONFIG_HEADERS"
18724 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18725 shift
18726 for ac_tag
18728 case $ac_tag in
18729 :[FHLC]) ac_mode=$ac_tag; continue;;
18730 esac
18731 case $ac_mode$ac_tag in
18732 :[FHL]*:*);;
18733 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18734 :[FH]-) ac_tag=-:-;;
18735 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18736 esac
18737 ac_save_IFS=$IFS
18738 IFS=:
18739 set x $ac_tag
18740 IFS=$ac_save_IFS
18741 shift
18742 ac_file=$1
18743 shift
18745 case $ac_mode in
18746 :L) ac_source=$1;;
18747 :[FH])
18748 ac_file_inputs=
18749 for ac_f
18751 case $ac_f in
18752 -) ac_f="$ac_tmp/stdin";;
18753 *) # Look for the file first in the build tree, then in the source tree
18754 # (if the path is not absolute). The absolute path cannot be DOS-style,
18755 # because $ac_f cannot contain `:'.
18756 test -f "$ac_f" ||
18757 case $ac_f in
18758 [\\/$]*) false;;
18759 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18760 esac ||
18761 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18762 esac
18763 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18764 as_fn_append ac_file_inputs " '$ac_f'"
18765 done
18767 # Let's still pretend it is `configure' which instantiates (i.e., don't
18768 # use $as_me), people would be surprised to read:
18769 # /* config.h. Generated by config.status. */
18770 configure_input='Generated from '`
18771 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18772 `' by configure.'
18773 if test x"$ac_file" != x-; then
18774 configure_input="$ac_file. $configure_input"
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18776 $as_echo "$as_me: creating $ac_file" >&6;}
18778 # Neutralize special characters interpreted by sed in replacement strings.
18779 case $configure_input in #(
18780 *\&* | *\|* | *\\* )
18781 ac_sed_conf_input=`$as_echo "$configure_input" |
18782 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18783 *) ac_sed_conf_input=$configure_input;;
18784 esac
18786 case $ac_tag in
18787 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18788 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18789 esac
18791 esac
18793 ac_dir=`$as_dirname -- "$ac_file" ||
18794 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18795 X"$ac_file" : 'X\(//\)[^/]' \| \
18796 X"$ac_file" : 'X\(//\)$' \| \
18797 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18798 $as_echo X"$ac_file" |
18799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18800 s//\1/
18803 /^X\(\/\/\)[^/].*/{
18804 s//\1/
18807 /^X\(\/\/\)$/{
18808 s//\1/
18811 /^X\(\/\).*/{
18812 s//\1/
18815 s/.*/./; q'`
18816 as_dir="$ac_dir"; as_fn_mkdir_p
18817 ac_builddir=.
18819 case "$ac_dir" in
18820 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18822 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18823 # A ".." for each directory in $ac_dir_suffix.
18824 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18825 case $ac_top_builddir_sub in
18826 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18827 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18828 esac ;;
18829 esac
18830 ac_abs_top_builddir=$ac_pwd
18831 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18832 # for backward compatibility:
18833 ac_top_builddir=$ac_top_build_prefix
18835 case $srcdir in
18836 .) # We are building in place.
18837 ac_srcdir=.
18838 ac_top_srcdir=$ac_top_builddir_sub
18839 ac_abs_top_srcdir=$ac_pwd ;;
18840 [\\/]* | ?:[\\/]* ) # Absolute name.
18841 ac_srcdir=$srcdir$ac_dir_suffix;
18842 ac_top_srcdir=$srcdir
18843 ac_abs_top_srcdir=$srcdir ;;
18844 *) # Relative name.
18845 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18846 ac_top_srcdir=$ac_top_build_prefix$srcdir
18847 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18848 esac
18849 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18852 case $ac_mode in
18855 # CONFIG_FILE
18858 _ACEOF
18860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18861 # If the template does not know about datarootdir, expand it.
18862 # FIXME: This hack should be removed a few years after 2.60.
18863 ac_datarootdir_hack=; ac_datarootdir_seen=
18864 ac_sed_dataroot='
18865 /datarootdir/ {
18869 /@datadir@/p
18870 /@docdir@/p
18871 /@infodir@/p
18872 /@localedir@/p
18873 /@mandir@/p'
18874 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18875 *datarootdir*) ac_datarootdir_seen=yes;;
18876 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18878 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18879 _ACEOF
18880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18881 ac_datarootdir_hack='
18882 s&@datadir@&$datadir&g
18883 s&@docdir@&$docdir&g
18884 s&@infodir@&$infodir&g
18885 s&@localedir@&$localedir&g
18886 s&@mandir@&$mandir&g
18887 s&\\\${datarootdir}&$datarootdir&g' ;;
18888 esac
18889 _ACEOF
18891 # Neutralize VPATH when `$srcdir' = `.'.
18892 # Shell code in configure.ac might set extrasub.
18893 # FIXME: do we really want to maintain this feature?
18894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18895 ac_sed_extra="$ac_vpsub
18896 $extrasub
18897 _ACEOF
18898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18900 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18901 s|@configure_input@|$ac_sed_conf_input|;t t
18902 s&@top_builddir@&$ac_top_builddir_sub&;t t
18903 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18904 s&@srcdir@&$ac_srcdir&;t t
18905 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18906 s&@top_srcdir@&$ac_top_srcdir&;t t
18907 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18908 s&@builddir@&$ac_builddir&;t t
18909 s&@abs_builddir@&$ac_abs_builddir&;t t
18910 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18911 $ac_datarootdir_hack
18913 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18914 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18916 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18917 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18918 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18919 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18921 which seems to be undefined. Please make sure it is defined" >&5
18922 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18923 which seems to be undefined. Please make sure it is defined" >&2;}
18925 rm -f "$ac_tmp/stdin"
18926 case $ac_file in
18927 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18928 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18929 esac \
18930 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18934 # CONFIG_HEADER
18936 if test x"$ac_file" != x-; then
18938 $as_echo "/* $configure_input */" \
18939 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18940 } >"$ac_tmp/config.h" \
18941 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18942 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18943 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18944 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18945 else
18946 rm -f "$ac_file"
18947 mv "$ac_tmp/config.h" "$ac_file" \
18948 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18950 else
18951 $as_echo "/* $configure_input */" \
18952 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18953 || as_fn_error $? "could not create -" "$LINENO" 5
18958 # CONFIG_LINK
18961 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18963 else
18964 # Prefer the file from the source tree if names are identical.
18965 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18966 ac_source=$srcdir/$ac_source
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18970 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18972 if test ! -r "$ac_source"; then
18973 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18975 rm -f "$ac_file"
18977 # Try a relative symlink, then a hard link, then a copy.
18978 case $ac_source in
18979 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18980 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18981 esac
18982 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18983 ln "$ac_source" "$ac_file" 2>/dev/null ||
18984 cp -p "$ac_source" "$ac_file" ||
18985 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18988 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18989 $as_echo "$as_me: executing $ac_file commands" >&6;}
18991 esac
18994 case $ac_file$ac_mode in
18995 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18996 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18997 "Makefile":C) wine_fn_output_makefile Makefile ;;
18998 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19000 esac
19001 done # for ac_tag
19004 as_fn_exit 0
19005 _ACEOF
19006 ac_clean_files=$ac_clean_files_save
19008 test $ac_write_fail = 0 ||
19009 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19012 # configure is writing to config.log, and then calls config.status.
19013 # config.status does its own redirection, appending to config.log.
19014 # Unfortunately, on DOS this fails, as config.log is still kept open
19015 # by configure, so config.status won't be able to write to it; its
19016 # output is simply discarded. So we exec the FD to /dev/null,
19017 # effectively closing config.log, so it can be properly (re)opened and
19018 # appended to by config.status. When coming back to configure, we
19019 # need to make the FD available again.
19020 if test "$no_create" != yes; then
19021 ac_cs_success=:
19022 ac_config_status_args=
19023 test "$silent" = yes &&
19024 ac_config_status_args="$ac_config_status_args --quiet"
19025 exec 5>/dev/null
19026 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19027 exec 5>>config.log
19028 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19029 # would make configure fail if this is the last instruction.
19030 $ac_cs_success || as_fn_exit 1
19032 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19034 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19038 if test "$no_create" = "yes"
19039 then
19040 exit 0
19043 ac_save_IFS="$IFS"
19044 if test "x$wine_notices != "x; then
19045 echo >&6
19046 IFS="|"
19047 for msg in $wine_notices; do
19048 IFS="$ac_save_IFS"
19049 if ${msg:+false} :; then :
19051 else
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19053 $as_echo "$as_me: $msg" >&6;}
19055 done
19057 IFS="|"
19058 for msg in $wine_warnings; do
19059 IFS="$ac_save_IFS"
19060 if ${msg:+false} :; then :
19062 else
19063 echo >&2
19064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19065 $as_echo "$as_me: WARNING: $msg" >&2;}
19067 done
19068 IFS="$ac_save_IFS"
19070 $as_echo "
19071 $as_me: Finished. Do '${ac_make}' to compile Wine.
19072 " >&6