dwrite: Make gdiinterop an allocated object.
[wine.git] / configure
blob7bc8f1a63ff472d67235bf884647393370a69ff4
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.25.
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.25'
584 PACKAGE_STRING='Wine 1.7.25'
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_dpwsockx
1021 enable_drmclien
1022 enable_dsound
1023 enable_dssenh
1024 enable_dswave
1025 enable_dwmapi
1026 enable_dwrite
1027 enable_dxdiagn
1028 enable_dxgi
1029 enable_dxva2
1030 enable_explorerframe
1031 enable_ext_ms_win_gdi_devcaps_l1_1_0
1032 enable_faultrep
1033 enable_fltlib
1034 enable_fntcache
1035 enable_fontsub
1036 enable_fusion
1037 enable_fwpuclnt
1038 enable_gameux
1039 enable_gdi32
1040 enable_gdiplus
1041 enable_glu32
1042 enable_gphoto2_ds
1043 enable_gpkcsp
1044 enable_hal
1045 enable_hhctrl_ocx
1046 enable_hid
1047 enable_hlink
1048 enable_hnetcfg
1049 enable_httpapi
1050 enable_iccvid
1051 enable_icmp
1052 enable_ieframe
1053 enable_imaadp32_acm
1054 enable_imagehlp
1055 enable_imm32
1056 enable_inetcomm
1057 enable_inetcpl_cpl
1058 enable_inetmib1
1059 enable_infosoft
1060 enable_initpki
1061 enable_inkobj
1062 enable_inseng
1063 enable_iphlpapi
1064 enable_itircl
1065 enable_itss
1066 enable_joy_cpl
1067 enable_jscript
1068 enable_jsproxy
1069 enable_kernel32
1070 enable_ktmw32
1071 enable_loadperf
1072 enable_localspl
1073 enable_localui
1074 enable_lz32
1075 enable_mapi32
1076 enable_mapistub
1077 enable_mciavi32
1078 enable_mcicda
1079 enable_mciqtz32
1080 enable_mciseq
1081 enable_mciwave
1082 enable_mgmtapi
1083 enable_midimap
1084 enable_mlang
1085 enable_mmcndmgr
1086 enable_mmdevapi
1087 enable_mountmgr_sys
1088 enable_mpr
1089 enable_mprapi
1090 enable_msacm32_drv
1091 enable_msacm32
1092 enable_msadp32_acm
1093 enable_msasn1
1094 enable_mscat32
1095 enable_mscms
1096 enable_mscoree
1097 enable_msctf
1098 enable_msdaps
1099 enable_msdmo
1100 enable_msftedit
1101 enable_msg711_acm
1102 enable_msgsm32_acm
1103 enable_mshtml_tlb
1104 enable_mshtml
1105 enable_msi
1106 enable_msident
1107 enable_msimg32
1108 enable_msimsg
1109 enable_msimtf
1110 enable_msisip
1111 enable_msisys_ocx
1112 enable_msls31
1113 enable_msnet32
1114 enable_mspatcha
1115 enable_msrle32
1116 enable_mssign32
1117 enable_mssip32
1118 enable_mstask
1119 enable_msvcirt
1120 enable_msvcm80
1121 enable_msvcm90
1122 enable_msvcp100
1123 enable_msvcp110
1124 enable_msvcp60
1125 enable_msvcp70
1126 enable_msvcp71
1127 enable_msvcp80
1128 enable_msvcp90
1129 enable_msvcr100
1130 enable_msvcr110
1131 enable_msvcr70
1132 enable_msvcr71
1133 enable_msvcr80
1134 enable_msvcr90
1135 enable_msvcrt
1136 enable_msvcrt20
1137 enable_msvcrt40
1138 enable_msvcrtd
1139 enable_msvfw32
1140 enable_msvidc32
1141 enable_mswsock
1142 enable_msxml
1143 enable_msxml2
1144 enable_msxml3
1145 enable_msxml4
1146 enable_msxml6
1147 enable_nddeapi
1148 enable_netapi32
1149 enable_netcfgx
1150 enable_netprofm
1151 enable_newdev
1152 enable_normaliz
1153 enable_npmshtml
1154 enable_ntdll
1155 enable_ntdsapi
1156 enable_ntoskrnl_exe
1157 enable_ntprint
1158 enable_objsel
1159 enable_odbc32
1160 enable_odbccp32
1161 enable_odbccu32
1162 enable_ole32
1163 enable_oleacc
1164 enable_oleaut32
1165 enable_olecli32
1166 enable_oledb32
1167 enable_oledlg
1168 enable_olepro32
1169 enable_olesvr32
1170 enable_olethk32
1171 enable_openal32
1172 enable_opencl
1173 enable_opengl32
1174 enable_packager
1175 enable_pdh
1176 enable_photometadatahandler
1177 enable_pidgen
1178 enable_powrprof
1179 enable_printui
1180 enable_propsys
1181 enable_psapi
1182 enable_pstorec
1183 enable_qcap
1184 enable_qedit
1185 enable_qmgr
1186 enable_qmgrprxy
1187 enable_quartz
1188 enable_query
1189 enable_rasapi32
1190 enable_rasdlg
1191 enable_regapi
1192 enable_resutils
1193 enable_riched20
1194 enable_riched32
1195 enable_rpcrt4
1196 enable_rsabase
1197 enable_rsaenh
1198 enable_rstrtmgr
1199 enable_rtutils
1200 enable_samlib
1201 enable_sane_ds
1202 enable_scarddlg
1203 enable_sccbase
1204 enable_schannel
1205 enable_schedsvc
1206 enable_scrrun
1207 enable_scsiport_sys
1208 enable_secur32
1209 enable_security
1210 enable_sensapi
1211 enable_serialui
1212 enable_setupapi
1213 enable_sfc
1214 enable_sfc_os
1215 enable_shdoclc
1216 enable_shdocvw
1217 enable_shell32
1218 enable_shfolder
1219 enable_shlwapi
1220 enable_slbcsp
1221 enable_slc
1222 enable_snmpapi
1223 enable_softpub
1224 enable_spoolss
1225 enable_stdole2_tlb
1226 enable_stdole32_tlb
1227 enable_sti
1228 enable_svrapi
1229 enable_sxs
1230 enable_t2embed
1231 enable_tapi32
1232 enable_taskschd
1233 enable_traffic
1234 enable_twain_32
1235 enable_unicows
1236 enable_updspapi
1237 enable_url
1238 enable_urlmon
1239 enable_usbd_sys
1240 enable_user32
1241 enable_userenv
1242 enable_usp10
1243 enable_uxtheme
1244 enable_vbscript
1245 enable_vcomp
1246 enable_vcomp100
1247 enable_vcomp90
1248 enable_vdmdbg
1249 enable_version
1250 enable_wbemdisp
1251 enable_wbemprox
1252 enable_webservices
1253 enable_wer
1254 enable_wevtapi
1255 enable_wiaservc
1256 enable_windowscodecs
1257 enable_windowscodecsext
1258 enable_winealsa_drv
1259 enable_winecoreaudio_drv
1260 enable_wined3d
1261 enable_winegstreamer
1262 enable_winejoystick_drv
1263 enable_winemac_drv
1264 enable_winemapi
1265 enable_winemp3_acm
1266 enable_wineoss_drv
1267 enable_wineps_drv
1268 enable_wineqtdecoder
1269 enable_winex11_drv
1270 enable_wing32
1271 enable_winhttp
1272 enable_wininet
1273 enable_winmm
1274 enable_winnls32
1275 enable_winscard
1276 enable_winspool_drv
1277 enable_winsta
1278 enable_wintab32
1279 enable_wintrust
1280 enable_wlanapi
1281 enable_wldap32
1282 enable_wmi
1283 enable_wmiutils
1284 enable_wmp
1285 enable_wmvcore
1286 enable_wnaspi32
1287 enable_wpcap
1288 enable_ws2_32
1289 enable_wshom_ocx
1290 enable_wsnmp32
1291 enable_wsock32
1292 enable_wtsapi32
1293 enable_wuapi
1294 enable_wuaueng
1295 enable_xapofx1_1
1296 enable_xinput1_1
1297 enable_xinput1_2
1298 enable_xinput1_3
1299 enable_xinput1_4
1300 enable_xinput9_1_0
1301 enable_xmllite
1302 enable_xolehlp
1303 enable_xpsprint
1304 enable_xpssvcs
1305 enable_documentation
1306 enable_fonts
1307 enable_include
1308 enable_libs_port
1309 enable_libs_wine
1310 enable_libs_wpp
1311 enable_loader
1312 enable_arp
1313 enable_aspnet_regiis
1314 enable_attrib
1315 enable_cabarc
1316 enable_cacls
1317 enable_clock
1318 enable_cmd
1319 enable_conhost
1320 enable_control
1321 enable_cscript
1322 enable_dpnsvr
1323 enable_dxdiag
1324 enable_eject
1325 enable_expand
1326 enable_explorer
1327 enable_extrac32
1328 enable_findstr
1329 enable_hh
1330 enable_hostname
1331 enable_icinfo
1332 enable_iexplore
1333 enable_ipconfig
1334 enable_lodctr
1335 enable_mofcomp
1336 enable_mshta
1337 enable_msiexec
1338 enable_net
1339 enable_netsh
1340 enable_netstat
1341 enable_ngen
1342 enable_notepad
1343 enable_oleview
1344 enable_ping
1345 enable_plugplay
1346 enable_presentationfontcache
1347 enable_progman
1348 enable_reg
1349 enable_regasm
1350 enable_regedit
1351 enable_regsvcs
1352 enable_regsvr32
1353 enable_rpcss
1354 enable_rundll32
1355 enable_sc
1356 enable_schtasks
1357 enable_sdbinst
1358 enable_secedit
1359 enable_servicemodelreg
1360 enable_services
1361 enable_spoolsv
1362 enable_start
1363 enable_svchost
1364 enable_taskkill
1365 enable_tasklist
1366 enable_taskmgr
1367 enable_termsv
1368 enable_uninstaller
1369 enable_unlodctr
1370 enable_view
1371 enable_wevtutil
1372 enable_wineboot
1373 enable_winebrowser
1374 enable_winecfg
1375 enable_wineconsole
1376 enable_winedbg
1377 enable_winedevice
1378 enable_winefile
1379 enable_winemenubuilder
1380 enable_winemine
1381 enable_winemsibuilder
1382 enable_winepath
1383 enable_winetest
1384 enable_winhlp32
1385 enable_winver
1386 enable_wmic
1387 enable_wordpad
1388 enable_write
1389 enable_wscript
1390 enable_wusa
1391 enable_xcopy
1392 enable_server
1393 enable_tools
1395 ac_precious_vars='build_alias
1396 host_alias
1397 target_alias
1399 CFLAGS
1400 LDFLAGS
1401 LIBS
1402 CPPFLAGS
1404 CXXFLAGS
1407 XMKMF
1408 XML2_CFLAGS
1409 XML2_LIBS
1410 XSLT_CFLAGS
1411 XSLT_LIBS
1412 DBUS_CFLAGS
1413 DBUS_LIBS
1414 HAL_CFLAGS
1415 HAL_LIBS
1416 GNUTLS_CFLAGS
1417 GNUTLS_LIBS
1418 SANE_CFLAGS
1419 SANE_LIBS
1420 GPHOTO2_CFLAGS
1421 GPHOTO2_LIBS
1422 GPHOTO2_PORT_CFLAGS
1423 GPHOTO2_PORT_LIBS
1424 LCMS2_CFLAGS
1425 LCMS2_LIBS
1426 FREETYPE_CFLAGS
1427 FREETYPE_LIBS
1428 GSTREAMER_CFLAGS
1429 GSTREAMER_LIBS
1430 CAPI20_CFLAGS
1431 CAPI20_LIBS
1432 FONTCONFIG_CFLAGS
1433 FONTCONFIG_LIBS
1434 JPEG_CFLAGS
1435 JPEG_LIBS
1436 PNG_CFLAGS
1437 PNG_LIBS
1438 TIFF_CFLAGS
1439 TIFF_LIBS
1440 MPG123_CFLAGS
1441 MPG123_LIBS'
1444 # Initialize some variables set by options.
1445 ac_init_help=
1446 ac_init_version=false
1447 ac_unrecognized_opts=
1448 ac_unrecognized_sep=
1449 # The variables have the same names as the options, with
1450 # dashes changed to underlines.
1451 cache_file=/dev/null
1452 exec_prefix=NONE
1453 no_create=
1454 no_recursion=
1455 prefix=NONE
1456 program_prefix=NONE
1457 program_suffix=NONE
1458 program_transform_name=s,x,x,
1459 silent=
1460 site=
1461 srcdir=
1462 verbose=
1463 x_includes=NONE
1464 x_libraries=NONE
1466 # Installation directory options.
1467 # These are left unexpanded so users can "make install exec_prefix=/foo"
1468 # and all the variables that are supposed to be based on exec_prefix
1469 # by default will actually change.
1470 # Use braces instead of parens because sh, perl, etc. also accept them.
1471 # (The list follows the same order as the GNU Coding Standards.)
1472 bindir='${exec_prefix}/bin'
1473 sbindir='${exec_prefix}/sbin'
1474 libexecdir='${exec_prefix}/libexec'
1475 datarootdir='${prefix}/share'
1476 datadir='${datarootdir}'
1477 sysconfdir='${prefix}/etc'
1478 sharedstatedir='${prefix}/com'
1479 localstatedir='${prefix}/var'
1480 includedir='${prefix}/include'
1481 oldincludedir='/usr/include'
1482 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1483 infodir='${datarootdir}/info'
1484 htmldir='${docdir}'
1485 dvidir='${docdir}'
1486 pdfdir='${docdir}'
1487 psdir='${docdir}'
1488 libdir='${exec_prefix}/lib'
1489 localedir='${datarootdir}/locale'
1490 mandir='${datarootdir}/man'
1492 ac_prev=
1493 ac_dashdash=
1494 for ac_option
1496 # If the previous option needs an argument, assign it.
1497 if test -n "$ac_prev"; then
1498 eval $ac_prev=\$ac_option
1499 ac_prev=
1500 continue
1503 case $ac_option in
1504 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1505 *=) ac_optarg= ;;
1506 *) ac_optarg=yes ;;
1507 esac
1509 # Accept the important Cygnus configure options, so we can diagnose typos.
1511 case $ac_dashdash$ac_option in
1513 ac_dashdash=yes ;;
1515 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1516 ac_prev=bindir ;;
1517 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1518 bindir=$ac_optarg ;;
1520 -build | --build | --buil | --bui | --bu)
1521 ac_prev=build_alias ;;
1522 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1523 build_alias=$ac_optarg ;;
1525 -cache-file | --cache-file | --cache-fil | --cache-fi \
1526 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1527 ac_prev=cache_file ;;
1528 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1529 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1530 cache_file=$ac_optarg ;;
1532 --config-cache | -C)
1533 cache_file=config.cache ;;
1535 -datadir | --datadir | --datadi | --datad)
1536 ac_prev=datadir ;;
1537 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1538 datadir=$ac_optarg ;;
1540 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1541 | --dataroo | --dataro | --datar)
1542 ac_prev=datarootdir ;;
1543 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1544 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1545 datarootdir=$ac_optarg ;;
1547 -disable-* | --disable-*)
1548 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1549 # Reject names that are not valid shell variable names.
1550 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1551 as_fn_error $? "invalid feature name: $ac_useropt"
1552 ac_useropt_orig=$ac_useropt
1553 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1554 case $ac_user_opts in
1556 "enable_$ac_useropt"
1557 "*) ;;
1558 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1559 ac_unrecognized_sep=', ';;
1560 esac
1561 eval enable_$ac_useropt=no ;;
1563 -docdir | --docdir | --docdi | --doc | --do)
1564 ac_prev=docdir ;;
1565 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1566 docdir=$ac_optarg ;;
1568 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1569 ac_prev=dvidir ;;
1570 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1571 dvidir=$ac_optarg ;;
1573 -enable-* | --enable-*)
1574 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1575 # Reject names that are not valid shell variable names.
1576 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1577 as_fn_error $? "invalid feature name: $ac_useropt"
1578 ac_useropt_orig=$ac_useropt
1579 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1580 case $ac_user_opts in
1582 "enable_$ac_useropt"
1583 "*) ;;
1584 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1585 ac_unrecognized_sep=', ';;
1586 esac
1587 eval enable_$ac_useropt=\$ac_optarg ;;
1589 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1590 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1591 | --exec | --exe | --ex)
1592 ac_prev=exec_prefix ;;
1593 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1594 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1595 | --exec=* | --exe=* | --ex=*)
1596 exec_prefix=$ac_optarg ;;
1598 -gas | --gas | --ga | --g)
1599 # Obsolete; use --with-gas.
1600 with_gas=yes ;;
1602 -help | --help | --hel | --he | -h)
1603 ac_init_help=long ;;
1604 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1605 ac_init_help=recursive ;;
1606 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1607 ac_init_help=short ;;
1609 -host | --host | --hos | --ho)
1610 ac_prev=host_alias ;;
1611 -host=* | --host=* | --hos=* | --ho=*)
1612 host_alias=$ac_optarg ;;
1614 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1615 ac_prev=htmldir ;;
1616 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1617 | --ht=*)
1618 htmldir=$ac_optarg ;;
1620 -includedir | --includedir | --includedi | --included | --include \
1621 | --includ | --inclu | --incl | --inc)
1622 ac_prev=includedir ;;
1623 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1624 | --includ=* | --inclu=* | --incl=* | --inc=*)
1625 includedir=$ac_optarg ;;
1627 -infodir | --infodir | --infodi | --infod | --info | --inf)
1628 ac_prev=infodir ;;
1629 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1630 infodir=$ac_optarg ;;
1632 -libdir | --libdir | --libdi | --libd)
1633 ac_prev=libdir ;;
1634 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1635 libdir=$ac_optarg ;;
1637 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1638 | --libexe | --libex | --libe)
1639 ac_prev=libexecdir ;;
1640 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1641 | --libexe=* | --libex=* | --libe=*)
1642 libexecdir=$ac_optarg ;;
1644 -localedir | --localedir | --localedi | --localed | --locale)
1645 ac_prev=localedir ;;
1646 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1647 localedir=$ac_optarg ;;
1649 -localstatedir | --localstatedir | --localstatedi | --localstated \
1650 | --localstate | --localstat | --localsta | --localst | --locals)
1651 ac_prev=localstatedir ;;
1652 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1653 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1654 localstatedir=$ac_optarg ;;
1656 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1657 ac_prev=mandir ;;
1658 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1659 mandir=$ac_optarg ;;
1661 -nfp | --nfp | --nf)
1662 # Obsolete; use --without-fp.
1663 with_fp=no ;;
1665 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1666 | --no-cr | --no-c | -n)
1667 no_create=yes ;;
1669 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1670 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1671 no_recursion=yes ;;
1673 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1674 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1675 | --oldin | --oldi | --old | --ol | --o)
1676 ac_prev=oldincludedir ;;
1677 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1678 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1679 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1680 oldincludedir=$ac_optarg ;;
1682 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1683 ac_prev=prefix ;;
1684 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1685 prefix=$ac_optarg ;;
1687 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1688 | --program-pre | --program-pr | --program-p)
1689 ac_prev=program_prefix ;;
1690 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1691 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1692 program_prefix=$ac_optarg ;;
1694 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1695 | --program-suf | --program-su | --program-s)
1696 ac_prev=program_suffix ;;
1697 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1698 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1699 program_suffix=$ac_optarg ;;
1701 -program-transform-name | --program-transform-name \
1702 | --program-transform-nam | --program-transform-na \
1703 | --program-transform-n | --program-transform- \
1704 | --program-transform | --program-transfor \
1705 | --program-transfo | --program-transf \
1706 | --program-trans | --program-tran \
1707 | --progr-tra | --program-tr | --program-t)
1708 ac_prev=program_transform_name ;;
1709 -program-transform-name=* | --program-transform-name=* \
1710 | --program-transform-nam=* | --program-transform-na=* \
1711 | --program-transform-n=* | --program-transform-=* \
1712 | --program-transform=* | --program-transfor=* \
1713 | --program-transfo=* | --program-transf=* \
1714 | --program-trans=* | --program-tran=* \
1715 | --progr-tra=* | --program-tr=* | --program-t=*)
1716 program_transform_name=$ac_optarg ;;
1718 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1719 ac_prev=pdfdir ;;
1720 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1721 pdfdir=$ac_optarg ;;
1723 -psdir | --psdir | --psdi | --psd | --ps)
1724 ac_prev=psdir ;;
1725 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1726 psdir=$ac_optarg ;;
1728 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1729 | -silent | --silent | --silen | --sile | --sil)
1730 silent=yes ;;
1732 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1733 ac_prev=sbindir ;;
1734 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1735 | --sbi=* | --sb=*)
1736 sbindir=$ac_optarg ;;
1738 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1739 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1740 | --sharedst | --shareds | --shared | --share | --shar \
1741 | --sha | --sh)
1742 ac_prev=sharedstatedir ;;
1743 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1744 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1745 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1746 | --sha=* | --sh=*)
1747 sharedstatedir=$ac_optarg ;;
1749 -site | --site | --sit)
1750 ac_prev=site ;;
1751 -site=* | --site=* | --sit=*)
1752 site=$ac_optarg ;;
1754 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1755 ac_prev=srcdir ;;
1756 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1757 srcdir=$ac_optarg ;;
1759 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1760 | --syscon | --sysco | --sysc | --sys | --sy)
1761 ac_prev=sysconfdir ;;
1762 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1763 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1764 sysconfdir=$ac_optarg ;;
1766 -target | --target | --targe | --targ | --tar | --ta | --t)
1767 ac_prev=target_alias ;;
1768 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1769 target_alias=$ac_optarg ;;
1771 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1772 verbose=yes ;;
1774 -version | --version | --versio | --versi | --vers | -V)
1775 ac_init_version=: ;;
1777 -with-* | --with-*)
1778 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1779 # Reject names that are not valid shell variable names.
1780 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1781 as_fn_error $? "invalid package name: $ac_useropt"
1782 ac_useropt_orig=$ac_useropt
1783 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1784 case $ac_user_opts in
1786 "with_$ac_useropt"
1787 "*) ;;
1788 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1789 ac_unrecognized_sep=', ';;
1790 esac
1791 eval with_$ac_useropt=\$ac_optarg ;;
1793 -without-* | --without-*)
1794 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1795 # Reject names that are not valid shell variable names.
1796 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1797 as_fn_error $? "invalid package name: $ac_useropt"
1798 ac_useropt_orig=$ac_useropt
1799 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1800 case $ac_user_opts in
1802 "with_$ac_useropt"
1803 "*) ;;
1804 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1805 ac_unrecognized_sep=', ';;
1806 esac
1807 eval with_$ac_useropt=no ;;
1809 --x)
1810 # Obsolete; use --with-x.
1811 with_x=yes ;;
1813 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1814 | --x-incl | --x-inc | --x-in | --x-i)
1815 ac_prev=x_includes ;;
1816 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1817 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1818 x_includes=$ac_optarg ;;
1820 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1821 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1822 ac_prev=x_libraries ;;
1823 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1824 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1825 x_libraries=$ac_optarg ;;
1827 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1828 Try \`$0 --help' for more information"
1831 *=*)
1832 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1833 # Reject names that are not valid shell variable names.
1834 case $ac_envvar in #(
1835 '' | [0-9]* | *[!_$as_cr_alnum]* )
1836 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1837 esac
1838 eval $ac_envvar=\$ac_optarg
1839 export $ac_envvar ;;
1842 # FIXME: should be removed in autoconf 3.0.
1843 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1844 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1845 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1846 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1849 esac
1850 done
1852 if test -n "$ac_prev"; then
1853 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1854 as_fn_error $? "missing argument to $ac_option"
1857 if test -n "$ac_unrecognized_opts"; then
1858 case $enable_option_checking in
1859 no) ;;
1860 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1861 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1862 esac
1865 # Check all directory arguments for consistency.
1866 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1867 datadir sysconfdir sharedstatedir localstatedir includedir \
1868 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1869 libdir localedir mandir
1871 eval ac_val=\$$ac_var
1872 # Remove trailing slashes.
1873 case $ac_val in
1874 */ )
1875 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1876 eval $ac_var=\$ac_val;;
1877 esac
1878 # Be sure to have absolute directory names.
1879 case $ac_val in
1880 [\\/$]* | ?:[\\/]* ) continue;;
1881 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1882 esac
1883 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1884 done
1886 # There might be people who depend on the old broken behavior: `$host'
1887 # used to hold the argument of --host etc.
1888 # FIXME: To remove some day.
1889 build=$build_alias
1890 host=$host_alias
1891 target=$target_alias
1893 # FIXME: To remove some day.
1894 if test "x$host_alias" != x; then
1895 if test "x$build_alias" = x; then
1896 cross_compiling=maybe
1897 elif test "x$build_alias" != "x$host_alias"; then
1898 cross_compiling=yes
1902 ac_tool_prefix=
1903 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1905 test "$silent" = yes && exec 6>/dev/null
1908 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1909 ac_ls_di=`ls -di .` &&
1910 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1911 as_fn_error $? "working directory cannot be determined"
1912 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1913 as_fn_error $? "pwd does not report name of working directory"
1916 # Find the source files, if location was not specified.
1917 if test -z "$srcdir"; then
1918 ac_srcdir_defaulted=yes
1919 # Try the directory containing this script, then the parent directory.
1920 ac_confdir=`$as_dirname -- "$as_myself" ||
1921 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1922 X"$as_myself" : 'X\(//\)[^/]' \| \
1923 X"$as_myself" : 'X\(//\)$' \| \
1924 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1925 $as_echo X"$as_myself" |
1926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1927 s//\1/
1930 /^X\(\/\/\)[^/].*/{
1931 s//\1/
1934 /^X\(\/\/\)$/{
1935 s//\1/
1938 /^X\(\/\).*/{
1939 s//\1/
1942 s/.*/./; q'`
1943 srcdir=$ac_confdir
1944 if test ! -r "$srcdir/$ac_unique_file"; then
1945 srcdir=..
1947 else
1948 ac_srcdir_defaulted=no
1950 if test ! -r "$srcdir/$ac_unique_file"; then
1951 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1952 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1954 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1955 ac_abs_confdir=`(
1956 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1957 pwd)`
1958 # When building in place, set srcdir=.
1959 if test "$ac_abs_confdir" = "$ac_pwd"; then
1960 srcdir=.
1962 # Remove unnecessary trailing slashes from srcdir.
1963 # Double slashes in file names in object file debugging info
1964 # mess up M-x gdb in Emacs.
1965 case $srcdir in
1966 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1967 esac
1968 for ac_var in $ac_precious_vars; do
1969 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1970 eval ac_env_${ac_var}_value=\$${ac_var}
1971 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1972 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1973 done
1976 # Report the --help message.
1978 if test "$ac_init_help" = "long"; then
1979 # Omit some internal or obsolete options to make the list less imposing.
1980 # This message is too long to be a string in the A/UX 3.1 sh.
1981 cat <<_ACEOF
1982 \`configure' configures Wine 1.7.25 to adapt to many kinds of systems.
1984 Usage: $0 [OPTION]... [VAR=VALUE]...
1986 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1987 VAR=VALUE. See below for descriptions of some of the useful variables.
1989 Defaults for the options are specified in brackets.
1991 Configuration:
1992 -h, --help display this help and exit
1993 --help=short display options specific to this package
1994 --help=recursive display the short help of all the included packages
1995 -V, --version display version information and exit
1996 -q, --quiet, --silent do not print \`checking ...' messages
1997 --cache-file=FILE cache test results in FILE [disabled]
1998 -C, --config-cache alias for \`--cache-file=config.cache'
1999 -n, --no-create do not create output files
2000 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2002 Installation directories:
2003 --prefix=PREFIX install architecture-independent files in PREFIX
2004 [$ac_default_prefix]
2005 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2006 [PREFIX]
2008 By default, \`make install' will install all the files in
2009 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2010 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2011 for instance \`--prefix=\$HOME'.
2013 For better control, use the options below.
2015 Fine tuning of the installation directories:
2016 --bindir=DIR user executables [EPREFIX/bin]
2017 --sbindir=DIR system admin executables [EPREFIX/sbin]
2018 --libexecdir=DIR program executables [EPREFIX/libexec]
2019 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2020 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2021 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2022 --libdir=DIR object code libraries [EPREFIX/lib]
2023 --includedir=DIR C header files [PREFIX/include]
2024 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2025 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2026 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2027 --infodir=DIR info documentation [DATAROOTDIR/info]
2028 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2029 --mandir=DIR man documentation [DATAROOTDIR/man]
2030 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2031 --htmldir=DIR html documentation [DOCDIR]
2032 --dvidir=DIR dvi documentation [DOCDIR]
2033 --pdfdir=DIR pdf documentation [DOCDIR]
2034 --psdir=DIR ps documentation [DOCDIR]
2035 _ACEOF
2037 cat <<\_ACEOF
2039 X features:
2040 --x-includes=DIR X include files are in DIR
2041 --x-libraries=DIR X library files are in DIR
2043 System types:
2044 --build=BUILD configure for building on BUILD [guessed]
2045 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2046 _ACEOF
2049 if test -n "$ac_init_help"; then
2050 case $ac_init_help in
2051 short | recursive ) echo "Configuration of Wine 1.7.25:";;
2052 esac
2053 cat <<\_ACEOF
2055 Optional Features:
2056 --disable-option-checking ignore unrecognized --enable/--with options
2057 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2058 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2059 --disable-win16 do not include Win16 support
2060 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2061 binaries)
2062 --disable-tests do not build the regression tests
2063 --enable-maintainer-mode
2064 enable maintainer-specific build rules
2065 --disable-largefile omit support for large files
2067 Optional Packages:
2068 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2069 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2070 --without-alsa do not use the Alsa sound support
2071 --without-capi do not use CAPI (ISDN support)
2072 --without-cms do not use CMS (color management support)
2073 --without-coreaudio do not use the CoreAudio sound support
2074 --without-cups do not use CUPS
2075 --without-curses do not use (n)curses
2076 --without-dbus do not use DBus (dynamic device support)
2077 --without-fontconfig do not use fontconfig
2078 --without-freetype do not use the FreeType library
2079 --without-gettext do not use gettext
2080 --with-gettextpo use the GetTextPO library to rebuild po files
2081 --without-gphoto do not use gphoto (Digital Camera support)
2082 --without-glu do not use the GLU library
2083 --without-gnutls do not use GnuTLS (schannel support)
2084 --without-gsm do not use libgsm (GSM 06.10 codec support)
2085 --without-gstreamer do not use GStreamer (codecs support)
2086 --without-hal do not use HAL (dynamic device support)
2087 --without-jpeg do not use JPEG
2088 --without-ldap do not use LDAP
2089 --without-mpg123 do not use the mpg123 library
2090 --without-netapi do not use the Samba NetAPI library
2091 --without-openal do not use OpenAL
2092 --without-opencl do not use OpenCL
2093 --without-opengl do not use OpenGL
2094 --without-osmesa do not use the OSMesa library
2095 --without-oss do not use the OSS sound support
2096 --without-pcap do not use the Packet Capture library
2097 --without-png do not use PNG
2098 --without-pthread do not use the pthread library
2099 --without-sane do not use SANE (scanner support)
2100 --without-tiff do not use TIFF
2101 --without-v4l do not use v4l1 (v4l support)
2102 --without-xcomposite do not use the Xcomposite extension
2103 --without-xcursor do not use the Xcursor extension
2104 --without-xinerama do not use Xinerama (multi-monitor support)
2105 --without-xinput do not use the Xinput extension
2106 --without-xinput2 do not use the Xinput 2 extension
2107 --without-xml do not use XML
2108 --without-xrandr do not use Xrandr (resolution changes)
2109 --without-xrender do not use the Xrender extension
2110 --without-xshape do not use the Xshape extension
2111 --without-xshm do not use XShm (shared memory extension)
2112 --without-xslt do not use XSLT
2113 --without-xxf86vm do not use XFree video mode extension
2114 --without-zlib do not use Zlib (data compression)
2115 --with-wine-tools=DIR use Wine tools from directory DIR
2116 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2117 --with-x use the X Window System
2119 Some influential environment variables:
2120 CC C compiler command
2121 CFLAGS C compiler flags
2122 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2123 nonstandard directory <lib dir>
2124 LIBS libraries to pass to the linker, e.g. -l<library>
2125 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2126 you have headers in a nonstandard directory <include dir>
2127 CXX C++ compiler command
2128 CXXFLAGS C++ compiler flags
2129 CPP C preprocessor
2130 XMKMF Path to xmkmf, Makefile generator for X Window System
2131 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2132 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2133 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2134 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2135 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2136 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2137 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2138 HAL_LIBS Linker flags for hal, overriding pkg-config
2139 GNUTLS_CFLAGS
2140 C compiler flags for gnutls, overriding pkg-config
2141 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2142 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2143 SANE_LIBS Linker flags for libsane, overriding pkg-config
2144 GPHOTO2_CFLAGS
2145 C compiler flags for libgphoto2, overriding pkg-config
2146 GPHOTO2_LIBS
2147 Linker flags for libgphoto2, overriding pkg-config
2148 GPHOTO2_PORT_CFLAGS
2149 C compiler flags for libgphoto2_port, overriding pkg-config
2150 GPHOTO2_PORT_LIBS
2151 Linker flags for libgphoto2_port, overriding pkg-config
2152 LCMS2_CFLAGS
2153 C compiler flags for lcms2, overriding pkg-config
2154 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2155 FREETYPE_CFLAGS
2156 C compiler flags for freetype2, overriding pkg-config
2157 FREETYPE_LIBS
2158 Linker flags for freetype2, overriding pkg-config
2159 GSTREAMER_CFLAGS
2160 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2161 GSTREAMER_LIBS
2162 Linker flags for gstreamer-app-0.10, overriding pkg-config
2163 CAPI20_CFLAGS
2164 C compiler flags for capi20, overriding pkg-config
2165 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2166 FONTCONFIG_CFLAGS
2167 C compiler flags for fontconfig, overriding pkg-config
2168 FONTCONFIG_LIBS
2169 Linker flags for fontconfig, overriding pkg-config
2170 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2171 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2172 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2173 PNG_LIBS Linker flags for libpng, overriding pkg-config
2174 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2175 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2176 MPG123_CFLAGS
2177 C compiler flags for libmpg123, overriding pkg-config
2178 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2180 Use these variables to override the choices made by `configure' or to help
2181 it to find libraries and programs with nonstandard names/locations.
2183 Report bugs to <wine-devel@winehq.org>.
2184 Wine home page: <http://www.winehq.org>.
2185 _ACEOF
2186 ac_status=$?
2189 if test "$ac_init_help" = "recursive"; then
2190 # If there are subdirs, report their specific --help.
2191 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2192 test -d "$ac_dir" ||
2193 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2194 continue
2195 ac_builddir=.
2197 case "$ac_dir" in
2198 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2200 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2201 # A ".." for each directory in $ac_dir_suffix.
2202 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2203 case $ac_top_builddir_sub in
2204 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2205 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2206 esac ;;
2207 esac
2208 ac_abs_top_builddir=$ac_pwd
2209 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2210 # for backward compatibility:
2211 ac_top_builddir=$ac_top_build_prefix
2213 case $srcdir in
2214 .) # We are building in place.
2215 ac_srcdir=.
2216 ac_top_srcdir=$ac_top_builddir_sub
2217 ac_abs_top_srcdir=$ac_pwd ;;
2218 [\\/]* | ?:[\\/]* ) # Absolute name.
2219 ac_srcdir=$srcdir$ac_dir_suffix;
2220 ac_top_srcdir=$srcdir
2221 ac_abs_top_srcdir=$srcdir ;;
2222 *) # Relative name.
2223 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2224 ac_top_srcdir=$ac_top_build_prefix$srcdir
2225 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2226 esac
2227 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2229 cd "$ac_dir" || { ac_status=$?; continue; }
2230 # Check for guested configure.
2231 if test -f "$ac_srcdir/configure.gnu"; then
2232 echo &&
2233 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2234 elif test -f "$ac_srcdir/configure"; then
2235 echo &&
2236 $SHELL "$ac_srcdir/configure" --help=recursive
2237 else
2238 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2239 fi || ac_status=$?
2240 cd "$ac_pwd" || { ac_status=$?; break; }
2241 done
2244 test -n "$ac_init_help" && exit $ac_status
2245 if $ac_init_version; then
2246 cat <<\_ACEOF
2247 Wine configure 1.7.25
2248 generated by GNU Autoconf 2.69
2250 Copyright (C) 2012 Free Software Foundation, Inc.
2251 This configure script is free software; the Free Software Foundation
2252 gives unlimited permission to copy, distribute and modify it.
2253 _ACEOF
2254 exit
2257 ## ------------------------ ##
2258 ## Autoconf initialization. ##
2259 ## ------------------------ ##
2261 # ac_fn_c_try_compile LINENO
2262 # --------------------------
2263 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2264 ac_fn_c_try_compile ()
2266 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2267 rm -f conftest.$ac_objext
2268 if { { ac_try="$ac_compile"
2269 case "(($ac_try" in
2270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2271 *) ac_try_echo=$ac_try;;
2272 esac
2273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2274 $as_echo "$ac_try_echo"; } >&5
2275 (eval "$ac_compile") 2>conftest.err
2276 ac_status=$?
2277 if test -s conftest.err; then
2278 grep -v '^ *+' conftest.err >conftest.er1
2279 cat conftest.er1 >&5
2280 mv -f conftest.er1 conftest.err
2282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2283 test $ac_status = 0; } && {
2284 test -z "$ac_c_werror_flag" ||
2285 test ! -s conftest.err
2286 } && test -s conftest.$ac_objext; then :
2287 ac_retval=0
2288 else
2289 $as_echo "$as_me: failed program was:" >&5
2290 sed 's/^/| /' conftest.$ac_ext >&5
2292 ac_retval=1
2294 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2295 as_fn_set_status $ac_retval
2297 } # ac_fn_c_try_compile
2299 # ac_fn_cxx_try_compile LINENO
2300 # ----------------------------
2301 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2302 ac_fn_cxx_try_compile ()
2304 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2305 rm -f conftest.$ac_objext
2306 if { { ac_try="$ac_compile"
2307 case "(($ac_try" in
2308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2309 *) ac_try_echo=$ac_try;;
2310 esac
2311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2312 $as_echo "$ac_try_echo"; } >&5
2313 (eval "$ac_compile") 2>conftest.err
2314 ac_status=$?
2315 if test -s conftest.err; then
2316 grep -v '^ *+' conftest.err >conftest.er1
2317 cat conftest.er1 >&5
2318 mv -f conftest.er1 conftest.err
2320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2321 test $ac_status = 0; } && {
2322 test -z "$ac_cxx_werror_flag" ||
2323 test ! -s conftest.err
2324 } && test -s conftest.$ac_objext; then :
2325 ac_retval=0
2326 else
2327 $as_echo "$as_me: failed program was:" >&5
2328 sed 's/^/| /' conftest.$ac_ext >&5
2330 ac_retval=1
2332 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2333 as_fn_set_status $ac_retval
2335 } # ac_fn_cxx_try_compile
2337 # ac_fn_c_try_link LINENO
2338 # -----------------------
2339 # Try to link conftest.$ac_ext, and return whether this succeeded.
2340 ac_fn_c_try_link ()
2342 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2343 rm -f conftest.$ac_objext conftest$ac_exeext
2344 if { { ac_try="$ac_link"
2345 case "(($ac_try" in
2346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2347 *) ac_try_echo=$ac_try;;
2348 esac
2349 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2350 $as_echo "$ac_try_echo"; } >&5
2351 (eval "$ac_link") 2>conftest.err
2352 ac_status=$?
2353 if test -s conftest.err; then
2354 grep -v '^ *+' conftest.err >conftest.er1
2355 cat conftest.er1 >&5
2356 mv -f conftest.er1 conftest.err
2358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2359 test $ac_status = 0; } && {
2360 test -z "$ac_c_werror_flag" ||
2361 test ! -s conftest.err
2362 } && test -s conftest$ac_exeext && {
2363 test "$cross_compiling" = yes ||
2364 test -x conftest$ac_exeext
2365 }; then :
2366 ac_retval=0
2367 else
2368 $as_echo "$as_me: failed program was:" >&5
2369 sed 's/^/| /' conftest.$ac_ext >&5
2371 ac_retval=1
2373 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2374 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2375 # interfere with the next link command; also delete a directory that is
2376 # left behind by Apple's compiler. We do this before executing the actions.
2377 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2378 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2379 as_fn_set_status $ac_retval
2381 } # ac_fn_c_try_link
2383 # ac_fn_c_try_cpp LINENO
2384 # ----------------------
2385 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2386 ac_fn_c_try_cpp ()
2388 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2389 if { { ac_try="$ac_cpp conftest.$ac_ext"
2390 case "(($ac_try" in
2391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2392 *) ac_try_echo=$ac_try;;
2393 esac
2394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2395 $as_echo "$ac_try_echo"; } >&5
2396 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2397 ac_status=$?
2398 if test -s conftest.err; then
2399 grep -v '^ *+' conftest.err >conftest.er1
2400 cat conftest.er1 >&5
2401 mv -f conftest.er1 conftest.err
2403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2404 test $ac_status = 0; } > conftest.i && {
2405 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2406 test ! -s conftest.err
2407 }; then :
2408 ac_retval=0
2409 else
2410 $as_echo "$as_me: failed program was:" >&5
2411 sed 's/^/| /' conftest.$ac_ext >&5
2413 ac_retval=1
2415 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2416 as_fn_set_status $ac_retval
2418 } # ac_fn_c_try_cpp
2420 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2421 # -------------------------------------------------------
2422 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2423 # the include files in INCLUDES and setting the cache variable VAR
2424 # accordingly.
2425 ac_fn_c_check_header_mongrel ()
2427 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2428 if eval \${$3+:} false; then :
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2430 $as_echo_n "checking for $2... " >&6; }
2431 if eval \${$3+:} false; then :
2432 $as_echo_n "(cached) " >&6
2434 eval ac_res=\$$3
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2436 $as_echo "$ac_res" >&6; }
2437 else
2438 # Is the header compilable?
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2440 $as_echo_n "checking $2 usability... " >&6; }
2441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h. */
2444 #include <$2>
2445 _ACEOF
2446 if ac_fn_c_try_compile "$LINENO"; then :
2447 ac_header_compiler=yes
2448 else
2449 ac_header_compiler=no
2451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2453 $as_echo "$ac_header_compiler" >&6; }
2455 # Is the header present?
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2457 $as_echo_n "checking $2 presence... " >&6; }
2458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2459 /* end confdefs.h. */
2460 #include <$2>
2461 _ACEOF
2462 if ac_fn_c_try_cpp "$LINENO"; then :
2463 ac_header_preproc=yes
2464 else
2465 ac_header_preproc=no
2467 rm -f conftest.err conftest.i conftest.$ac_ext
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2469 $as_echo "$ac_header_preproc" >&6; }
2471 # So? What about this header?
2472 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2473 yes:no: )
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2475 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2477 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2479 no:yes:* )
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2481 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2483 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2485 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2487 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2489 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2490 ( $as_echo "## ------------------------------------ ##
2491 ## Report this to wine-devel@winehq.org ##
2492 ## ------------------------------------ ##"
2493 ) | sed "s/^/$as_me: WARNING: /" >&2
2495 esac
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2497 $as_echo_n "checking for $2... " >&6; }
2498 if eval \${$3+:} false; then :
2499 $as_echo_n "(cached) " >&6
2500 else
2501 eval "$3=\$ac_header_compiler"
2503 eval ac_res=\$$3
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2505 $as_echo "$ac_res" >&6; }
2507 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2509 } # ac_fn_c_check_header_mongrel
2511 # ac_fn_c_try_run LINENO
2512 # ----------------------
2513 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2514 # that executables *can* be run.
2515 ac_fn_c_try_run ()
2517 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2518 if { { ac_try="$ac_link"
2519 case "(($ac_try" in
2520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2521 *) ac_try_echo=$ac_try;;
2522 esac
2523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2524 $as_echo "$ac_try_echo"; } >&5
2525 (eval "$ac_link") 2>&5
2526 ac_status=$?
2527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2528 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2529 { { case "(($ac_try" in
2530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2531 *) ac_try_echo=$ac_try;;
2532 esac
2533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2534 $as_echo "$ac_try_echo"; } >&5
2535 (eval "$ac_try") 2>&5
2536 ac_status=$?
2537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2538 test $ac_status = 0; }; }; then :
2539 ac_retval=0
2540 else
2541 $as_echo "$as_me: program exited with status $ac_status" >&5
2542 $as_echo "$as_me: failed program was:" >&5
2543 sed 's/^/| /' conftest.$ac_ext >&5
2545 ac_retval=$ac_status
2547 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2548 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2549 as_fn_set_status $ac_retval
2551 } # ac_fn_c_try_run
2553 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2554 # -------------------------------------------------------
2555 # Tests whether HEADER exists and can be compiled using the include files in
2556 # INCLUDES, setting the cache variable VAR accordingly.
2557 ac_fn_c_check_header_compile ()
2559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2561 $as_echo_n "checking for $2... " >&6; }
2562 if eval \${$3+:} false; then :
2563 $as_echo_n "(cached) " >&6
2564 else
2565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2566 /* end confdefs.h. */
2568 #include <$2>
2569 _ACEOF
2570 if ac_fn_c_try_compile "$LINENO"; then :
2571 eval "$3=yes"
2572 else
2573 eval "$3=no"
2575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2577 eval ac_res=\$$3
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2579 $as_echo "$ac_res" >&6; }
2580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2582 } # ac_fn_c_check_header_compile
2584 # ac_fn_c_check_func LINENO FUNC VAR
2585 # ----------------------------------
2586 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2587 ac_fn_c_check_func ()
2589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2591 $as_echo_n "checking for $2... " >&6; }
2592 if eval \${$3+:} false; then :
2593 $as_echo_n "(cached) " >&6
2594 else
2595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2596 /* end confdefs.h. */
2597 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2599 #define $2 innocuous_$2
2601 /* System header to define __stub macros and hopefully few prototypes,
2602 which can conflict with char $2 (); below.
2603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2604 <limits.h> exists even on freestanding compilers. */
2606 #ifdef __STDC__
2607 # include <limits.h>
2608 #else
2609 # include <assert.h>
2610 #endif
2612 #undef $2
2614 /* Override any GCC internal prototype to avoid an error.
2615 Use char because int might match the return type of a GCC
2616 builtin and then its argument prototype would still apply. */
2617 #ifdef __cplusplus
2618 extern "C"
2619 #endif
2620 char $2 ();
2621 /* The GNU C library defines this for functions which it implements
2622 to always fail with ENOSYS. Some functions are actually named
2623 something starting with __ and the normal name is an alias. */
2624 #if defined __stub_$2 || defined __stub___$2
2625 choke me
2626 #endif
2629 main ()
2631 return $2 ();
2633 return 0;
2635 _ACEOF
2636 if ac_fn_c_try_link "$LINENO"; then :
2637 eval "$3=yes"
2638 else
2639 eval "$3=no"
2641 rm -f core conftest.err conftest.$ac_objext \
2642 conftest$ac_exeext conftest.$ac_ext
2644 eval ac_res=\$$3
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2646 $as_echo "$ac_res" >&6; }
2647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2649 } # ac_fn_c_check_func
2651 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2652 # ----------------------------------------------------
2653 # Tries to find if the field MEMBER exists in type AGGR, after including
2654 # INCLUDES, setting cache variable VAR accordingly.
2655 ac_fn_c_check_member ()
2657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2659 $as_echo_n "checking for $2.$3... " >&6; }
2660 if eval \${$4+:} false; then :
2661 $as_echo_n "(cached) " >&6
2662 else
2663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2664 /* end confdefs.h. */
2667 main ()
2669 static $2 ac_aggr;
2670 if (ac_aggr.$3)
2671 return 0;
2673 return 0;
2675 _ACEOF
2676 if ac_fn_c_try_compile "$LINENO"; then :
2677 eval "$4=yes"
2678 else
2679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2680 /* end confdefs.h. */
2683 main ()
2685 static $2 ac_aggr;
2686 if (sizeof ac_aggr.$3)
2687 return 0;
2689 return 0;
2691 _ACEOF
2692 if ac_fn_c_try_compile "$LINENO"; then :
2693 eval "$4=yes"
2694 else
2695 eval "$4=no"
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2701 eval ac_res=\$$4
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2703 $as_echo "$ac_res" >&6; }
2704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2706 } # ac_fn_c_check_member
2708 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2709 # -------------------------------------------
2710 # Tests whether TYPE exists after having included INCLUDES, setting cache
2711 # variable VAR accordingly.
2712 ac_fn_c_check_type ()
2714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2716 $as_echo_n "checking for $2... " >&6; }
2717 if eval \${$3+:} false; then :
2718 $as_echo_n "(cached) " >&6
2719 else
2720 eval "$3=no"
2721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2722 /* end confdefs.h. */
2725 main ()
2727 if (sizeof ($2))
2728 return 0;
2730 return 0;
2732 _ACEOF
2733 if ac_fn_c_try_compile "$LINENO"; then :
2734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2735 /* end confdefs.h. */
2738 main ()
2740 if (sizeof (($2)))
2741 return 0;
2743 return 0;
2745 _ACEOF
2746 if ac_fn_c_try_compile "$LINENO"; then :
2748 else
2749 eval "$3=yes"
2751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2755 eval ac_res=\$$3
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2757 $as_echo "$ac_res" >&6; }
2758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2760 } # ac_fn_c_check_type
2761 cat >config.log <<_ACEOF
2762 This file contains any messages produced by compilers while
2763 running configure, to aid debugging if configure makes a mistake.
2765 It was created by Wine $as_me 1.7.25, which was
2766 generated by GNU Autoconf 2.69. Invocation command line was
2768 $ $0 $@
2770 _ACEOF
2771 exec 5>>config.log
2773 cat <<_ASUNAME
2774 ## --------- ##
2775 ## Platform. ##
2776 ## --------- ##
2778 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2779 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2780 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2781 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2782 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2784 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2785 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2787 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2788 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2789 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2790 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2791 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2792 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2793 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2795 _ASUNAME
2797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2798 for as_dir in $PATH
2800 IFS=$as_save_IFS
2801 test -z "$as_dir" && as_dir=.
2802 $as_echo "PATH: $as_dir"
2803 done
2804 IFS=$as_save_IFS
2806 } >&5
2808 cat >&5 <<_ACEOF
2811 ## ----------- ##
2812 ## Core tests. ##
2813 ## ----------- ##
2815 _ACEOF
2818 # Keep a trace of the command line.
2819 # Strip out --no-create and --no-recursion so they do not pile up.
2820 # Strip out --silent because we don't want to record it for future runs.
2821 # Also quote any args containing shell meta-characters.
2822 # Make two passes to allow for proper duplicate-argument suppression.
2823 ac_configure_args=
2824 ac_configure_args0=
2825 ac_configure_args1=
2826 ac_must_keep_next=false
2827 for ac_pass in 1 2
2829 for ac_arg
2831 case $ac_arg in
2832 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2833 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2834 | -silent | --silent | --silen | --sile | --sil)
2835 continue ;;
2836 *\'*)
2837 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2838 esac
2839 case $ac_pass in
2840 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2842 as_fn_append ac_configure_args1 " '$ac_arg'"
2843 if test $ac_must_keep_next = true; then
2844 ac_must_keep_next=false # Got value, back to normal.
2845 else
2846 case $ac_arg in
2847 *=* | --config-cache | -C | -disable-* | --disable-* \
2848 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2849 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2850 | -with-* | --with-* | -without-* | --without-* | --x)
2851 case "$ac_configure_args0 " in
2852 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2853 esac
2855 -* ) ac_must_keep_next=true ;;
2856 esac
2858 as_fn_append ac_configure_args " '$ac_arg'"
2860 esac
2861 done
2862 done
2863 { ac_configure_args0=; unset ac_configure_args0;}
2864 { ac_configure_args1=; unset ac_configure_args1;}
2866 # When interrupted or exit'd, cleanup temporary files, and complete
2867 # config.log. We remove comments because anyway the quotes in there
2868 # would cause problems or look ugly.
2869 # WARNING: Use '\'' to represent an apostrophe within the trap.
2870 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2871 trap 'exit_status=$?
2872 # Save into config.log some information that might help in debugging.
2874 echo
2876 $as_echo "## ---------------- ##
2877 ## Cache variables. ##
2878 ## ---------------- ##"
2879 echo
2880 # The following way of writing the cache mishandles newlines in values,
2882 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2883 eval ac_val=\$$ac_var
2884 case $ac_val in #(
2885 *${as_nl}*)
2886 case $ac_var in #(
2887 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2888 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2889 esac
2890 case $ac_var in #(
2891 _ | IFS | as_nl) ;; #(
2892 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2893 *) { eval $ac_var=; unset $ac_var;} ;;
2894 esac ;;
2895 esac
2896 done
2897 (set) 2>&1 |
2898 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2899 *${as_nl}ac_space=\ *)
2900 sed -n \
2901 "s/'\''/'\''\\\\'\'''\''/g;
2902 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2903 ;; #(
2905 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2907 esac |
2908 sort
2910 echo
2912 $as_echo "## ----------------- ##
2913 ## Output variables. ##
2914 ## ----------------- ##"
2915 echo
2916 for ac_var in $ac_subst_vars
2918 eval ac_val=\$$ac_var
2919 case $ac_val in
2920 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2921 esac
2922 $as_echo "$ac_var='\''$ac_val'\''"
2923 done | sort
2924 echo
2926 if test -n "$ac_subst_files"; then
2927 $as_echo "## ------------------- ##
2928 ## File substitutions. ##
2929 ## ------------------- ##"
2930 echo
2931 for ac_var in $ac_subst_files
2933 eval ac_val=\$$ac_var
2934 case $ac_val in
2935 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2936 esac
2937 $as_echo "$ac_var='\''$ac_val'\''"
2938 done | sort
2939 echo
2942 if test -s confdefs.h; then
2943 $as_echo "## ----------- ##
2944 ## confdefs.h. ##
2945 ## ----------- ##"
2946 echo
2947 cat confdefs.h
2948 echo
2950 test "$ac_signal" != 0 &&
2951 $as_echo "$as_me: caught signal $ac_signal"
2952 $as_echo "$as_me: exit $exit_status"
2953 } >&5
2954 rm -f core *.core core.conftest.* &&
2955 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2956 exit $exit_status
2958 for ac_signal in 1 2 13 15; do
2959 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2960 done
2961 ac_signal=0
2963 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2964 rm -f -r conftest* confdefs.h
2966 $as_echo "/* confdefs.h */" > confdefs.h
2968 # Predefined preprocessor variables.
2970 cat >>confdefs.h <<_ACEOF
2971 #define PACKAGE_NAME "$PACKAGE_NAME"
2972 _ACEOF
2974 cat >>confdefs.h <<_ACEOF
2975 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2976 _ACEOF
2978 cat >>confdefs.h <<_ACEOF
2979 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2980 _ACEOF
2982 cat >>confdefs.h <<_ACEOF
2983 #define PACKAGE_STRING "$PACKAGE_STRING"
2984 _ACEOF
2986 cat >>confdefs.h <<_ACEOF
2987 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2988 _ACEOF
2990 cat >>confdefs.h <<_ACEOF
2991 #define PACKAGE_URL "$PACKAGE_URL"
2992 _ACEOF
2995 # Let the site file select an alternate cache file if it wants to.
2996 # Prefer an explicitly selected file to automatically selected ones.
2997 ac_site_file1=NONE
2998 ac_site_file2=NONE
2999 if test -n "$CONFIG_SITE"; then
3000 # We do not want a PATH search for config.site.
3001 case $CONFIG_SITE in #((
3002 -*) ac_site_file1=./$CONFIG_SITE;;
3003 */*) ac_site_file1=$CONFIG_SITE;;
3004 *) ac_site_file1=./$CONFIG_SITE;;
3005 esac
3006 elif test "x$prefix" != xNONE; then
3007 ac_site_file1=$prefix/share/config.site
3008 ac_site_file2=$prefix/etc/config.site
3009 else
3010 ac_site_file1=$ac_default_prefix/share/config.site
3011 ac_site_file2=$ac_default_prefix/etc/config.site
3013 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3015 test "x$ac_site_file" = xNONE && continue
3016 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3018 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3019 sed 's/^/| /' "$ac_site_file" >&5
3020 . "$ac_site_file" \
3021 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3023 as_fn_error $? "failed to load site script $ac_site_file
3024 See \`config.log' for more details" "$LINENO" 5; }
3026 done
3028 if test -r "$cache_file"; then
3029 # Some versions of bash will fail to source /dev/null (special files
3030 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3031 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3033 $as_echo "$as_me: loading cache $cache_file" >&6;}
3034 case $cache_file in
3035 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3036 *) . "./$cache_file";;
3037 esac
3039 else
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3041 $as_echo "$as_me: creating cache $cache_file" >&6;}
3042 >$cache_file
3045 # Check that the precious variables saved in the cache have kept the same
3046 # value.
3047 ac_cache_corrupted=false
3048 for ac_var in $ac_precious_vars; do
3049 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3050 eval ac_new_set=\$ac_env_${ac_var}_set
3051 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3052 eval ac_new_val=\$ac_env_${ac_var}_value
3053 case $ac_old_set,$ac_new_set in
3054 set,)
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3056 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3057 ac_cache_corrupted=: ;;
3058 ,set)
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3060 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3061 ac_cache_corrupted=: ;;
3062 ,);;
3064 if test "x$ac_old_val" != "x$ac_new_val"; then
3065 # differences in whitespace do not lead to failure.
3066 ac_old_val_w=`echo x $ac_old_val`
3067 ac_new_val_w=`echo x $ac_new_val`
3068 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3070 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3071 ac_cache_corrupted=:
3072 else
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3074 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3075 eval $ac_var=\$ac_old_val
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3078 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3080 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3081 fi;;
3082 esac
3083 # Pass precious variables to config.status.
3084 if test "$ac_new_set" = set; then
3085 case $ac_new_val in
3086 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3087 *) ac_arg=$ac_var=$ac_new_val ;;
3088 esac
3089 case " $ac_configure_args " in
3090 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3091 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3092 esac
3094 done
3095 if $ac_cache_corrupted; then
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3099 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3100 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3102 ## -------------------- ##
3103 ## Main body of script. ##
3104 ## -------------------- ##
3106 ac_ext=c
3107 ac_cpp='$CPP $CPPFLAGS'
3108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3114 ac_config_headers="$ac_config_headers include/config.h"
3116 ac_aux_dir=
3117 for ac_dir in tools "$srcdir"/tools; do
3118 if test -f "$ac_dir/install-sh"; then
3119 ac_aux_dir=$ac_dir
3120 ac_install_sh="$ac_aux_dir/install-sh -c"
3121 break
3122 elif test -f "$ac_dir/install.sh"; then
3123 ac_aux_dir=$ac_dir
3124 ac_install_sh="$ac_aux_dir/install.sh -c"
3125 break
3126 elif test -f "$ac_dir/shtool"; then
3127 ac_aux_dir=$ac_dir
3128 ac_install_sh="$ac_aux_dir/shtool install -c"
3129 break
3131 done
3132 if test -z "$ac_aux_dir"; then
3133 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3136 # These three variables are undocumented and unsupported,
3137 # and are intended to be withdrawn in a future Autoconf release.
3138 # They can cause serious problems if a builder's source tree is in a directory
3139 # whose full name contains unusual characters.
3140 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3141 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3142 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3146 libwine_version="1.0"
3150 # Check whether --enable-win16 was given.
3151 if test "${enable_win16+set}" = set; then :
3152 enableval=$enable_win16;
3155 # Check whether --enable-win64 was given.
3156 if test "${enable_win64+set}" = set; then :
3157 enableval=$enable_win64;
3160 # Check whether --enable-tests was given.
3161 if test "${enable_tests+set}" = set; then :
3162 enableval=$enable_tests;
3165 # Check whether --enable-maintainer-mode was given.
3166 if test "${enable_maintainer_mode+set}" = set; then :
3167 enableval=$enable_maintainer_mode;
3172 # Check whether --with-alsa was given.
3173 if test "${with_alsa+set}" = set; then :
3174 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3178 # Check whether --with-capi was given.
3179 if test "${with_capi+set}" = set; then :
3180 withval=$with_capi;
3184 # Check whether --with-cms was given.
3185 if test "${with_cms+set}" = set; then :
3186 withval=$with_cms;
3190 # Check whether --with-coreaudio was given.
3191 if test "${with_coreaudio+set}" = set; then :
3192 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3196 # Check whether --with-cups was given.
3197 if test "${with_cups+set}" = set; then :
3198 withval=$with_cups;
3202 # Check whether --with-curses was given.
3203 if test "${with_curses+set}" = set; then :
3204 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3208 # Check whether --with-dbus was given.
3209 if test "${with_dbus+set}" = set; then :
3210 withval=$with_dbus;
3214 # Check whether --with-fontconfig was given.
3215 if test "${with_fontconfig+set}" = set; then :
3216 withval=$with_fontconfig;
3220 # Check whether --with-freetype was given.
3221 if test "${with_freetype+set}" = set; then :
3222 withval=$with_freetype;
3226 # Check whether --with-gettext was given.
3227 if test "${with_gettext+set}" = set; then :
3228 withval=$with_gettext;
3232 # Check whether --with-gettextpo was given.
3233 if test "${with_gettextpo+set}" = set; then :
3234 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3238 # Check whether --with-gphoto was given.
3239 if test "${with_gphoto+set}" = set; then :
3240 withval=$with_gphoto;
3244 # Check whether --with-glu was given.
3245 if test "${with_glu+set}" = set; then :
3246 withval=$with_glu;
3250 # Check whether --with-gnutls was given.
3251 if test "${with_gnutls+set}" = set; then :
3252 withval=$with_gnutls;
3256 # Check whether --with-gsm was given.
3257 if test "${with_gsm+set}" = set; then :
3258 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3262 # Check whether --with-gstreamer was given.
3263 if test "${with_gstreamer+set}" = set; then :
3264 withval=$with_gstreamer;
3268 # Check whether --with-hal was given.
3269 if test "${with_hal+set}" = set; then :
3270 withval=$with_hal;
3274 # Check whether --with-jpeg was given.
3275 if test "${with_jpeg+set}" = set; then :
3276 withval=$with_jpeg;
3280 # Check whether --with-ldap was given.
3281 if test "${with_ldap+set}" = set; then :
3282 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3286 # Check whether --with-mpg123 was given.
3287 if test "${with_mpg123+set}" = set; then :
3288 withval=$with_mpg123;
3292 # Check whether --with-netapi was given.
3293 if test "${with_netapi+set}" = set; then :
3294 withval=$with_netapi;
3298 # Check whether --with-openal was given.
3299 if test "${with_openal+set}" = set; then :
3300 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3304 # Check whether --with-opencl was given.
3305 if test "${with_opencl+set}" = set; then :
3306 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3310 # Check whether --with-opengl was given.
3311 if test "${with_opengl+set}" = set; then :
3312 withval=$with_opengl;
3316 # Check whether --with-osmesa was given.
3317 if test "${with_osmesa+set}" = set; then :
3318 withval=$with_osmesa;
3322 # Check whether --with-oss was given.
3323 if test "${with_oss+set}" = set; then :
3324 withval=$with_oss;
3328 # Check whether --with-pcap was given.
3329 if test "${with_pcap+set}" = set; then :
3330 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3334 # Check whether --with-png was given.
3335 if test "${with_png+set}" = set; then :
3336 withval=$with_png;
3340 # Check whether --with-pthread was given.
3341 if test "${with_pthread+set}" = set; then :
3342 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3346 # Check whether --with-sane was given.
3347 if test "${with_sane+set}" = set; then :
3348 withval=$with_sane;
3352 # Check whether --with-tiff was given.
3353 if test "${with_tiff+set}" = set; then :
3354 withval=$with_tiff;
3358 # Check whether --with-v4l was given.
3359 if test "${with_v4l+set}" = set; then :
3360 withval=$with_v4l;
3364 # Check whether --with-xcomposite was given.
3365 if test "${with_xcomposite+set}" = set; then :
3366 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3370 # Check whether --with-xcursor was given.
3371 if test "${with_xcursor+set}" = set; then :
3372 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3376 # Check whether --with-xinerama was given.
3377 if test "${with_xinerama+set}" = set; then :
3378 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3382 # Check whether --with-xinput was given.
3383 if test "${with_xinput+set}" = set; then :
3384 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3388 # Check whether --with-xinput2 was given.
3389 if test "${with_xinput2+set}" = set; then :
3390 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3394 # Check whether --with-xml was given.
3395 if test "${with_xml+set}" = set; then :
3396 withval=$with_xml;
3400 # Check whether --with-xrandr was given.
3401 if test "${with_xrandr+set}" = set; then :
3402 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3406 # Check whether --with-xrender was given.
3407 if test "${with_xrender+set}" = set; then :
3408 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3412 # Check whether --with-xshape was given.
3413 if test "${with_xshape+set}" = set; then :
3414 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3418 # Check whether --with-xshm was given.
3419 if test "${with_xshm+set}" = set; then :
3420 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3424 # Check whether --with-xslt was given.
3425 if test "${with_xslt+set}" = set; then :
3426 withval=$with_xslt;
3430 # Check whether --with-xxf86vm was given.
3431 if test "${with_xxf86vm+set}" = set; then :
3432 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
3436 # Check whether --with-zlib was given.
3437 if test "${with_zlib+set}" = set; then :
3438 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3443 # Check whether --with-wine-tools was given.
3444 if test "${with_wine_tools+set}" = set; then :
3445 withval=$with_wine_tools;
3449 # Check whether --with-wine64 was given.
3450 if test "${with_wine64+set}" = set; then :
3451 withval=$with_wine64;
3455 # Make sure we can run config.sub.
3456 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3457 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3460 $as_echo_n "checking build system type... " >&6; }
3461 if ${ac_cv_build+:} false; then :
3462 $as_echo_n "(cached) " >&6
3463 else
3464 ac_build_alias=$build_alias
3465 test "x$ac_build_alias" = x &&
3466 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3467 test "x$ac_build_alias" = x &&
3468 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3469 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3470 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3474 $as_echo "$ac_cv_build" >&6; }
3475 case $ac_cv_build in
3476 *-*-*) ;;
3477 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3478 esac
3479 build=$ac_cv_build
3480 ac_save_IFS=$IFS; IFS='-'
3481 set x $ac_cv_build
3482 shift
3483 build_cpu=$1
3484 build_vendor=$2
3485 shift; shift
3486 # Remember, the first character of IFS is used to create $*,
3487 # except with old shells:
3488 build_os=$*
3489 IFS=$ac_save_IFS
3490 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3494 $as_echo_n "checking host system type... " >&6; }
3495 if ${ac_cv_host+:} false; then :
3496 $as_echo_n "(cached) " >&6
3497 else
3498 if test "x$host_alias" = x; then
3499 ac_cv_host=$ac_cv_build
3500 else
3501 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3502 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3507 $as_echo "$ac_cv_host" >&6; }
3508 case $ac_cv_host in
3509 *-*-*) ;;
3510 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3511 esac
3512 host=$ac_cv_host
3513 ac_save_IFS=$IFS; IFS='-'
3514 set x $ac_cv_host
3515 shift
3516 host_cpu=$1
3517 host_vendor=$2
3518 shift; shift
3519 # Remember, the first character of IFS is used to create $*,
3520 # except with old shells:
3521 host_os=$*
3522 IFS=$ac_save_IFS
3523 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3527 case "$srcdir" in
3528 .) ;;
3529 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3530 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3531 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3532 fi ;;
3533 esac
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3537 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3538 set x ${MAKE-make}
3539 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3540 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3541 $as_echo_n "(cached) " >&6
3542 else
3543 cat >conftest.make <<\_ACEOF
3544 SHELL = /bin/sh
3545 all:
3546 @echo '@@@%%%=$(MAKE)=@@@%%%'
3547 _ACEOF
3548 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3549 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3550 *@@@%%%=?*=@@@%%%*)
3551 eval ac_cv_prog_make_${ac_make}_set=yes;;
3553 eval ac_cv_prog_make_${ac_make}_set=no;;
3554 esac
3555 rm -f conftest.make
3557 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3559 $as_echo "yes" >&6; }
3560 SET_MAKE=
3561 else
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3563 $as_echo "no" >&6; }
3564 SET_MAKE="MAKE=${MAKE-make}"
3567 ac_ext=c
3568 ac_cpp='$CPP $CPPFLAGS'
3569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3572 if test -n "$ac_tool_prefix"; then
3573 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3574 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3576 $as_echo_n "checking for $ac_word... " >&6; }
3577 if ${ac_cv_prog_CC+:} false; then :
3578 $as_echo_n "(cached) " >&6
3579 else
3580 if test -n "$CC"; then
3581 ac_cv_prog_CC="$CC" # Let the user override the test.
3582 else
3583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3584 for as_dir in $PATH
3586 IFS=$as_save_IFS
3587 test -z "$as_dir" && as_dir=.
3588 for ac_exec_ext in '' $ac_executable_extensions; do
3589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3590 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3592 break 2
3594 done
3595 done
3596 IFS=$as_save_IFS
3600 CC=$ac_cv_prog_CC
3601 if test -n "$CC"; then
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3603 $as_echo "$CC" >&6; }
3604 else
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3606 $as_echo "no" >&6; }
3611 if test -z "$ac_cv_prog_CC"; then
3612 ac_ct_CC=$CC
3613 # Extract the first word of "gcc", so it can be a program name with args.
3614 set dummy gcc; ac_word=$2
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3616 $as_echo_n "checking for $ac_word... " >&6; }
3617 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3618 $as_echo_n "(cached) " >&6
3619 else
3620 if test -n "$ac_ct_CC"; then
3621 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3622 else
3623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3624 for as_dir in $PATH
3626 IFS=$as_save_IFS
3627 test -z "$as_dir" && as_dir=.
3628 for ac_exec_ext in '' $ac_executable_extensions; do
3629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3630 ac_cv_prog_ac_ct_CC="gcc"
3631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3632 break 2
3634 done
3635 done
3636 IFS=$as_save_IFS
3640 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3641 if test -n "$ac_ct_CC"; then
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3643 $as_echo "$ac_ct_CC" >&6; }
3644 else
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3646 $as_echo "no" >&6; }
3649 if test "x$ac_ct_CC" = x; then
3650 CC=""
3651 else
3652 case $cross_compiling:$ac_tool_warned in
3653 yes:)
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3655 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3656 ac_tool_warned=yes ;;
3657 esac
3658 CC=$ac_ct_CC
3660 else
3661 CC="$ac_cv_prog_CC"
3664 if test -z "$CC"; then
3665 if test -n "$ac_tool_prefix"; then
3666 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3667 set dummy ${ac_tool_prefix}cc; ac_word=$2
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3669 $as_echo_n "checking for $ac_word... " >&6; }
3670 if ${ac_cv_prog_CC+:} false; then :
3671 $as_echo_n "(cached) " >&6
3672 else
3673 if test -n "$CC"; then
3674 ac_cv_prog_CC="$CC" # Let the user override the test.
3675 else
3676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3677 for as_dir in $PATH
3679 IFS=$as_save_IFS
3680 test -z "$as_dir" && as_dir=.
3681 for ac_exec_ext in '' $ac_executable_extensions; do
3682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3683 ac_cv_prog_CC="${ac_tool_prefix}cc"
3684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3685 break 2
3687 done
3688 done
3689 IFS=$as_save_IFS
3693 CC=$ac_cv_prog_CC
3694 if test -n "$CC"; then
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3696 $as_echo "$CC" >&6; }
3697 else
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699 $as_echo "no" >&6; }
3705 if test -z "$CC"; then
3706 # Extract the first word of "cc", so it can be a program name with args.
3707 set dummy cc; ac_word=$2
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3709 $as_echo_n "checking for $ac_word... " >&6; }
3710 if ${ac_cv_prog_CC+:} false; then :
3711 $as_echo_n "(cached) " >&6
3712 else
3713 if test -n "$CC"; then
3714 ac_cv_prog_CC="$CC" # Let the user override the test.
3715 else
3716 ac_prog_rejected=no
3717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3718 for as_dir in $PATH
3720 IFS=$as_save_IFS
3721 test -z "$as_dir" && as_dir=.
3722 for ac_exec_ext in '' $ac_executable_extensions; do
3723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3724 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3725 ac_prog_rejected=yes
3726 continue
3728 ac_cv_prog_CC="cc"
3729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3730 break 2
3732 done
3733 done
3734 IFS=$as_save_IFS
3736 if test $ac_prog_rejected = yes; then
3737 # We found a bogon in the path, so make sure we never use it.
3738 set dummy $ac_cv_prog_CC
3739 shift
3740 if test $# != 0; then
3741 # We chose a different compiler from the bogus one.
3742 # However, it has the same basename, so the bogon will be chosen
3743 # first if we set CC to just the basename; use the full file name.
3744 shift
3745 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3750 CC=$ac_cv_prog_CC
3751 if test -n "$CC"; then
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3753 $as_echo "$CC" >&6; }
3754 else
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3756 $as_echo "no" >&6; }
3761 if test -z "$CC"; then
3762 if test -n "$ac_tool_prefix"; then
3763 for ac_prog in cl.exe
3765 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3766 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3768 $as_echo_n "checking for $ac_word... " >&6; }
3769 if ${ac_cv_prog_CC+:} false; then :
3770 $as_echo_n "(cached) " >&6
3771 else
3772 if test -n "$CC"; then
3773 ac_cv_prog_CC="$CC" # Let the user override the test.
3774 else
3775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3776 for as_dir in $PATH
3778 IFS=$as_save_IFS
3779 test -z "$as_dir" && as_dir=.
3780 for ac_exec_ext in '' $ac_executable_extensions; do
3781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3782 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3784 break 2
3786 done
3787 done
3788 IFS=$as_save_IFS
3792 CC=$ac_cv_prog_CC
3793 if test -n "$CC"; then
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3795 $as_echo "$CC" >&6; }
3796 else
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3798 $as_echo "no" >&6; }
3802 test -n "$CC" && break
3803 done
3805 if test -z "$CC"; then
3806 ac_ct_CC=$CC
3807 for ac_prog in cl.exe
3809 # Extract the first word of "$ac_prog", so it can be a program name with args.
3810 set dummy $ac_prog; ac_word=$2
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3812 $as_echo_n "checking for $ac_word... " >&6; }
3813 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3814 $as_echo_n "(cached) " >&6
3815 else
3816 if test -n "$ac_ct_CC"; then
3817 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3818 else
3819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3820 for as_dir in $PATH
3822 IFS=$as_save_IFS
3823 test -z "$as_dir" && as_dir=.
3824 for ac_exec_ext in '' $ac_executable_extensions; do
3825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3826 ac_cv_prog_ac_ct_CC="$ac_prog"
3827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3828 break 2
3830 done
3831 done
3832 IFS=$as_save_IFS
3836 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3837 if test -n "$ac_ct_CC"; then
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3839 $as_echo "$ac_ct_CC" >&6; }
3840 else
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3842 $as_echo "no" >&6; }
3846 test -n "$ac_ct_CC" && break
3847 done
3849 if test "x$ac_ct_CC" = x; then
3850 CC=""
3851 else
3852 case $cross_compiling:$ac_tool_warned in
3853 yes:)
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3856 ac_tool_warned=yes ;;
3857 esac
3858 CC=$ac_ct_CC
3865 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3867 as_fn_error $? "no acceptable C compiler found in \$PATH
3868 See \`config.log' for more details" "$LINENO" 5; }
3870 # Provide some information about the compiler.
3871 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3872 set X $ac_compile
3873 ac_compiler=$2
3874 for ac_option in --version -v -V -qversion; do
3875 { { ac_try="$ac_compiler $ac_option >&5"
3876 case "(($ac_try" in
3877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3878 *) ac_try_echo=$ac_try;;
3879 esac
3880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3881 $as_echo "$ac_try_echo"; } >&5
3882 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3883 ac_status=$?
3884 if test -s conftest.err; then
3885 sed '10a\
3886 ... rest of stderr output deleted ...
3887 10q' conftest.err >conftest.er1
3888 cat conftest.er1 >&5
3890 rm -f conftest.er1 conftest.err
3891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3892 test $ac_status = 0; }
3893 done
3895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3896 /* end confdefs.h. */
3899 main ()
3903 return 0;
3905 _ACEOF
3906 ac_clean_files_save=$ac_clean_files
3907 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3908 # Try to create an executable without -o first, disregard a.out.
3909 # It will help us diagnose broken compilers, and finding out an intuition
3910 # of exeext.
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3912 $as_echo_n "checking whether the C compiler works... " >&6; }
3913 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3915 # The possible output files:
3916 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3918 ac_rmfiles=
3919 for ac_file in $ac_files
3921 case $ac_file in
3922 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3923 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3924 esac
3925 done
3926 rm -f $ac_rmfiles
3928 if { { ac_try="$ac_link_default"
3929 case "(($ac_try" in
3930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3931 *) ac_try_echo=$ac_try;;
3932 esac
3933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3934 $as_echo "$ac_try_echo"; } >&5
3935 (eval "$ac_link_default") 2>&5
3936 ac_status=$?
3937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3938 test $ac_status = 0; }; then :
3939 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3940 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3941 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3942 # so that the user can short-circuit this test for compilers unknown to
3943 # Autoconf.
3944 for ac_file in $ac_files ''
3946 test -f "$ac_file" || continue
3947 case $ac_file in
3948 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3950 [ab].out )
3951 # We found the default executable, but exeext='' is most
3952 # certainly right.
3953 break;;
3954 *.* )
3955 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3956 then :; else
3957 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3959 # We set ac_cv_exeext here because the later test for it is not
3960 # safe: cross compilers may not add the suffix if given an `-o'
3961 # argument, so we may need to know it at that point already.
3962 # Even if this section looks crufty: it has the advantage of
3963 # actually working.
3964 break;;
3966 break;;
3967 esac
3968 done
3969 test "$ac_cv_exeext" = no && ac_cv_exeext=
3971 else
3972 ac_file=''
3974 if test -z "$ac_file"; then :
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976 $as_echo "no" >&6; }
3977 $as_echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.$ac_ext >&5
3980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3982 as_fn_error 77 "C compiler cannot create executables
3983 See \`config.log' for more details" "$LINENO" 5; }
3984 else
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3986 $as_echo "yes" >&6; }
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3989 $as_echo_n "checking for C compiler default output file name... " >&6; }
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3991 $as_echo "$ac_file" >&6; }
3992 ac_exeext=$ac_cv_exeext
3994 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3995 ac_clean_files=$ac_clean_files_save
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3997 $as_echo_n "checking for suffix of executables... " >&6; }
3998 if { { ac_try="$ac_link"
3999 case "(($ac_try" in
4000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4001 *) ac_try_echo=$ac_try;;
4002 esac
4003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4004 $as_echo "$ac_try_echo"; } >&5
4005 (eval "$ac_link") 2>&5
4006 ac_status=$?
4007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4008 test $ac_status = 0; }; then :
4009 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4010 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4011 # work properly (i.e., refer to `conftest.exe'), while it won't with
4012 # `rm'.
4013 for ac_file in conftest.exe conftest conftest.*; do
4014 test -f "$ac_file" || continue
4015 case $ac_file in
4016 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4017 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4018 break;;
4019 * ) break;;
4020 esac
4021 done
4022 else
4023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4025 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4026 See \`config.log' for more details" "$LINENO" 5; }
4028 rm -f conftest conftest$ac_cv_exeext
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4030 $as_echo "$ac_cv_exeext" >&6; }
4032 rm -f conftest.$ac_ext
4033 EXEEXT=$ac_cv_exeext
4034 ac_exeext=$EXEEXT
4035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4036 /* end confdefs.h. */
4037 #include <stdio.h>
4039 main ()
4041 FILE *f = fopen ("conftest.out", "w");
4042 return ferror (f) || fclose (f) != 0;
4045 return 0;
4047 _ACEOF
4048 ac_clean_files="$ac_clean_files conftest.out"
4049 # Check that the compiler produces executables we can run. If not, either
4050 # the compiler is broken, or we cross compile.
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4052 $as_echo_n "checking whether we are cross compiling... " >&6; }
4053 if test "$cross_compiling" != yes; then
4054 { { ac_try="$ac_link"
4055 case "(($ac_try" in
4056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4057 *) ac_try_echo=$ac_try;;
4058 esac
4059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4060 $as_echo "$ac_try_echo"; } >&5
4061 (eval "$ac_link") 2>&5
4062 ac_status=$?
4063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4064 test $ac_status = 0; }
4065 if { ac_try='./conftest$ac_cv_exeext'
4066 { { case "(($ac_try" in
4067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4068 *) ac_try_echo=$ac_try;;
4069 esac
4070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4071 $as_echo "$ac_try_echo"; } >&5
4072 (eval "$ac_try") 2>&5
4073 ac_status=$?
4074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4075 test $ac_status = 0; }; }; then
4076 cross_compiling=no
4077 else
4078 if test "$cross_compiling" = maybe; then
4079 cross_compiling=yes
4080 else
4081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4083 as_fn_error $? "cannot run C compiled programs.
4084 If you meant to cross compile, use \`--host'.
4085 See \`config.log' for more details" "$LINENO" 5; }
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4090 $as_echo "$cross_compiling" >&6; }
4092 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4093 ac_clean_files=$ac_clean_files_save
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4095 $as_echo_n "checking for suffix of object files... " >&6; }
4096 if ${ac_cv_objext+:} false; then :
4097 $as_echo_n "(cached) " >&6
4098 else
4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4103 main ()
4107 return 0;
4109 _ACEOF
4110 rm -f conftest.o conftest.obj
4111 if { { ac_try="$ac_compile"
4112 case "(($ac_try" in
4113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4114 *) ac_try_echo=$ac_try;;
4115 esac
4116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4117 $as_echo "$ac_try_echo"; } >&5
4118 (eval "$ac_compile") 2>&5
4119 ac_status=$?
4120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4121 test $ac_status = 0; }; then :
4122 for ac_file in conftest.o conftest.obj conftest.*; do
4123 test -f "$ac_file" || continue;
4124 case $ac_file in
4125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4126 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4127 break;;
4128 esac
4129 done
4130 else
4131 $as_echo "$as_me: failed program was:" >&5
4132 sed 's/^/| /' conftest.$ac_ext >&5
4134 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4136 as_fn_error $? "cannot compute suffix of object files: cannot compile
4137 See \`config.log' for more details" "$LINENO" 5; }
4139 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4142 $as_echo "$ac_cv_objext" >&6; }
4143 OBJEXT=$ac_cv_objext
4144 ac_objext=$OBJEXT
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4146 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4147 if ${ac_cv_c_compiler_gnu+:} false; then :
4148 $as_echo_n "(cached) " >&6
4149 else
4150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4154 main ()
4156 #ifndef __GNUC__
4157 choke me
4158 #endif
4161 return 0;
4163 _ACEOF
4164 if ac_fn_c_try_compile "$LINENO"; then :
4165 ac_compiler_gnu=yes
4166 else
4167 ac_compiler_gnu=no
4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4170 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4174 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4175 if test $ac_compiler_gnu = yes; then
4176 GCC=yes
4177 else
4178 GCC=
4180 ac_test_CFLAGS=${CFLAGS+set}
4181 ac_save_CFLAGS=$CFLAGS
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4183 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4184 if ${ac_cv_prog_cc_g+:} false; then :
4185 $as_echo_n "(cached) " >&6
4186 else
4187 ac_save_c_werror_flag=$ac_c_werror_flag
4188 ac_c_werror_flag=yes
4189 ac_cv_prog_cc_g=no
4190 CFLAGS="-g"
4191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h. */
4195 main ()
4199 return 0;
4201 _ACEOF
4202 if ac_fn_c_try_compile "$LINENO"; then :
4203 ac_cv_prog_cc_g=yes
4204 else
4205 CFLAGS=""
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4210 main ()
4214 return 0;
4216 _ACEOF
4217 if ac_fn_c_try_compile "$LINENO"; then :
4219 else
4220 ac_c_werror_flag=$ac_save_c_werror_flag
4221 CFLAGS="-g"
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4226 main ()
4230 return 0;
4232 _ACEOF
4233 if ac_fn_c_try_compile "$LINENO"; then :
4234 ac_cv_prog_cc_g=yes
4236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 ac_c_werror_flag=$ac_save_c_werror_flag
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4244 $as_echo "$ac_cv_prog_cc_g" >&6; }
4245 if test "$ac_test_CFLAGS" = set; then
4246 CFLAGS=$ac_save_CFLAGS
4247 elif test $ac_cv_prog_cc_g = yes; then
4248 if test "$GCC" = yes; then
4249 CFLAGS="-g -O2"
4250 else
4251 CFLAGS="-g"
4253 else
4254 if test "$GCC" = yes; then
4255 CFLAGS="-O2"
4256 else
4257 CFLAGS=
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4261 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4262 if ${ac_cv_prog_cc_c89+:} false; then :
4263 $as_echo_n "(cached) " >&6
4264 else
4265 ac_cv_prog_cc_c89=no
4266 ac_save_CC=$CC
4267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4268 /* end confdefs.h. */
4269 #include <stdarg.h>
4270 #include <stdio.h>
4271 struct stat;
4272 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4273 struct buf { int x; };
4274 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4275 static char *e (p, i)
4276 char **p;
4277 int i;
4279 return p[i];
4281 static char *f (char * (*g) (char **, int), char **p, ...)
4283 char *s;
4284 va_list v;
4285 va_start (v,p);
4286 s = g (p, va_arg (v,int));
4287 va_end (v);
4288 return s;
4291 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4292 function prototypes and stuff, but not '\xHH' hex character constants.
4293 These don't provoke an error unfortunately, instead are silently treated
4294 as 'x'. The following induces an error, until -std is added to get
4295 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4296 array size at least. It's necessary to write '\x00'==0 to get something
4297 that's true only with -std. */
4298 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4300 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4301 inside strings and character constants. */
4302 #define FOO(x) 'x'
4303 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4305 int test (int i, double x);
4306 struct s1 {int (*f) (int a);};
4307 struct s2 {int (*f) (double a);};
4308 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4309 int argc;
4310 char **argv;
4312 main ()
4314 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4316 return 0;
4318 _ACEOF
4319 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4320 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4322 CC="$ac_save_CC $ac_arg"
4323 if ac_fn_c_try_compile "$LINENO"; then :
4324 ac_cv_prog_cc_c89=$ac_arg
4326 rm -f core conftest.err conftest.$ac_objext
4327 test "x$ac_cv_prog_cc_c89" != "xno" && break
4328 done
4329 rm -f conftest.$ac_ext
4330 CC=$ac_save_CC
4333 # AC_CACHE_VAL
4334 case "x$ac_cv_prog_cc_c89" in
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4337 $as_echo "none needed" >&6; } ;;
4338 xno)
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4340 $as_echo "unsupported" >&6; } ;;
4342 CC="$CC $ac_cv_prog_cc_c89"
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4344 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4345 esac
4346 if test "x$ac_cv_prog_cc_c89" != xno; then :
4350 ac_ext=c
4351 ac_cpp='$CPP $CPPFLAGS'
4352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4356 ac_ext=cpp
4357 ac_cpp='$CXXCPP $CPPFLAGS'
4358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4361 if test -z "$CXX"; then
4362 if test -n "$CCC"; then
4363 CXX=$CCC
4364 else
4365 if test -n "$ac_tool_prefix"; then
4366 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4368 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4369 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4371 $as_echo_n "checking for $ac_word... " >&6; }
4372 if ${ac_cv_prog_CXX+:} false; then :
4373 $as_echo_n "(cached) " >&6
4374 else
4375 if test -n "$CXX"; then
4376 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4377 else
4378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4379 for as_dir in $PATH
4381 IFS=$as_save_IFS
4382 test -z "$as_dir" && as_dir=.
4383 for ac_exec_ext in '' $ac_executable_extensions; do
4384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4385 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4387 break 2
4389 done
4390 done
4391 IFS=$as_save_IFS
4395 CXX=$ac_cv_prog_CXX
4396 if test -n "$CXX"; then
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4398 $as_echo "$CXX" >&6; }
4399 else
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4401 $as_echo "no" >&6; }
4405 test -n "$CXX" && break
4406 done
4408 if test -z "$CXX"; then
4409 ac_ct_CXX=$CXX
4410 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4412 # Extract the first word of "$ac_prog", so it can be a program name with args.
4413 set dummy $ac_prog; ac_word=$2
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4415 $as_echo_n "checking for $ac_word... " >&6; }
4416 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4417 $as_echo_n "(cached) " >&6
4418 else
4419 if test -n "$ac_ct_CXX"; then
4420 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4421 else
4422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4423 for as_dir in $PATH
4425 IFS=$as_save_IFS
4426 test -z "$as_dir" && as_dir=.
4427 for ac_exec_ext in '' $ac_executable_extensions; do
4428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4429 ac_cv_prog_ac_ct_CXX="$ac_prog"
4430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4431 break 2
4433 done
4434 done
4435 IFS=$as_save_IFS
4439 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4440 if test -n "$ac_ct_CXX"; then
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4442 $as_echo "$ac_ct_CXX" >&6; }
4443 else
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4445 $as_echo "no" >&6; }
4449 test -n "$ac_ct_CXX" && break
4450 done
4452 if test "x$ac_ct_CXX" = x; then
4453 CXX="g++"
4454 else
4455 case $cross_compiling:$ac_tool_warned in
4456 yes:)
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4459 ac_tool_warned=yes ;;
4460 esac
4461 CXX=$ac_ct_CXX
4467 # Provide some information about the compiler.
4468 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4469 set X $ac_compile
4470 ac_compiler=$2
4471 for ac_option in --version -v -V -qversion; do
4472 { { ac_try="$ac_compiler $ac_option >&5"
4473 case "(($ac_try" in
4474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4475 *) ac_try_echo=$ac_try;;
4476 esac
4477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4478 $as_echo "$ac_try_echo"; } >&5
4479 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4480 ac_status=$?
4481 if test -s conftest.err; then
4482 sed '10a\
4483 ... rest of stderr output deleted ...
4484 10q' conftest.err >conftest.er1
4485 cat conftest.er1 >&5
4487 rm -f conftest.er1 conftest.err
4488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4489 test $ac_status = 0; }
4490 done
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4493 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4494 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4495 $as_echo_n "(cached) " >&6
4496 else
4497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4498 /* end confdefs.h. */
4501 main ()
4503 #ifndef __GNUC__
4504 choke me
4505 #endif
4508 return 0;
4510 _ACEOF
4511 if ac_fn_cxx_try_compile "$LINENO"; then :
4512 ac_compiler_gnu=yes
4513 else
4514 ac_compiler_gnu=no
4516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4517 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4521 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4522 if test $ac_compiler_gnu = yes; then
4523 GXX=yes
4524 else
4525 GXX=
4527 ac_test_CXXFLAGS=${CXXFLAGS+set}
4528 ac_save_CXXFLAGS=$CXXFLAGS
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4530 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4531 if ${ac_cv_prog_cxx_g+:} false; then :
4532 $as_echo_n "(cached) " >&6
4533 else
4534 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4535 ac_cxx_werror_flag=yes
4536 ac_cv_prog_cxx_g=no
4537 CXXFLAGS="-g"
4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4542 main ()
4546 return 0;
4548 _ACEOF
4549 if ac_fn_cxx_try_compile "$LINENO"; then :
4550 ac_cv_prog_cxx_g=yes
4551 else
4552 CXXFLAGS=""
4553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4557 main ()
4561 return 0;
4563 _ACEOF
4564 if ac_fn_cxx_try_compile "$LINENO"; then :
4566 else
4567 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4568 CXXFLAGS="-g"
4569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4570 /* end confdefs.h. */
4573 main ()
4577 return 0;
4579 _ACEOF
4580 if ac_fn_cxx_try_compile "$LINENO"; then :
4581 ac_cv_prog_cxx_g=yes
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4588 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4591 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4592 if test "$ac_test_CXXFLAGS" = set; then
4593 CXXFLAGS=$ac_save_CXXFLAGS
4594 elif test $ac_cv_prog_cxx_g = yes; then
4595 if test "$GXX" = yes; then
4596 CXXFLAGS="-g -O2"
4597 else
4598 CXXFLAGS="-g"
4600 else
4601 if test "$GXX" = yes; then
4602 CXXFLAGS="-O2"
4603 else
4604 CXXFLAGS=
4607 ac_ext=c
4608 ac_cpp='$CPP $CPPFLAGS'
4609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4613 if test -n "$ac_tool_prefix"; then
4614 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4615 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4617 $as_echo_n "checking for $ac_word... " >&6; }
4618 if ${ac_cv_prog_CPPBIN+:} false; then :
4619 $as_echo_n "(cached) " >&6
4620 else
4621 if test -n "$CPPBIN"; then
4622 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4623 else
4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 for as_dir in $PATH
4627 IFS=$as_save_IFS
4628 test -z "$as_dir" && as_dir=.
4629 for ac_exec_ext in '' $ac_executable_extensions; do
4630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4631 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 break 2
4635 done
4636 done
4637 IFS=$as_save_IFS
4641 CPPBIN=$ac_cv_prog_CPPBIN
4642 if test -n "$CPPBIN"; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4644 $as_echo "$CPPBIN" >&6; }
4645 else
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4647 $as_echo "no" >&6; }
4652 if test -z "$ac_cv_prog_CPPBIN"; then
4653 ac_ct_CPPBIN=$CPPBIN
4654 # Extract the first word of "cpp", so it can be a program name with args.
4655 set dummy cpp; ac_word=$2
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4657 $as_echo_n "checking for $ac_word... " >&6; }
4658 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4659 $as_echo_n "(cached) " >&6
4660 else
4661 if test -n "$ac_ct_CPPBIN"; then
4662 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4663 else
4664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4665 for as_dir in $PATH
4667 IFS=$as_save_IFS
4668 test -z "$as_dir" && as_dir=.
4669 for ac_exec_ext in '' $ac_executable_extensions; do
4670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4671 ac_cv_prog_ac_ct_CPPBIN="cpp"
4672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4673 break 2
4675 done
4676 done
4677 IFS=$as_save_IFS
4681 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4682 if test -n "$ac_ct_CPPBIN"; then
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4684 $as_echo "$ac_ct_CPPBIN" >&6; }
4685 else
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 $as_echo "no" >&6; }
4690 if test "x$ac_ct_CPPBIN" = x; then
4691 CPPBIN="cpp"
4692 else
4693 case $cross_compiling:$ac_tool_warned in
4694 yes:)
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4697 ac_tool_warned=yes ;;
4698 esac
4699 CPPBIN=$ac_ct_CPPBIN
4701 else
4702 CPPBIN="$ac_cv_prog_CPPBIN"
4706 cat >>confdefs.h <<_ACEOF
4707 #define EXEEXT "$ac_exeext"
4708 _ACEOF
4711 case $host in
4712 *-darwin*)
4713 if test "x$enable_win64" = "xyes"
4714 then
4715 CC="$CC -m64"
4716 CXX="$CXX -m64"
4717 host_cpu="x86_64"
4718 notice_platform="64-bit "
4719 TARGETFLAGS="-m64"
4721 else
4722 CC="$CC -m32"
4723 CXX="$CXX -m32"
4724 host_cpu="i386"
4725 notice_platform="32-bit "
4726 TARGETFLAGS="-m32"
4728 enable_win16=${enable_win16:-yes}
4730 with_fontconfig=${with_fontconfig:-no}
4732 x86_64*)
4733 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4734 then
4735 CC="$CC -m32"
4736 CXX="$CXX -m32"
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4738 $as_echo_n "checking whether $CC works... " >&6; }
4740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4744 main ()
4748 return 0;
4750 _ACEOF
4751 if ac_fn_c_try_link "$LINENO"; then :
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4753 $as_echo "yes" >&6; }
4754 else
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4756 $as_echo "no" >&6; }
4757 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4759 rm -f core conftest.err conftest.$ac_objext \
4760 conftest$ac_exeext conftest.$ac_ext
4761 host_cpu="i386"
4762 notice_platform="32-bit "
4763 TARGETFLAGS="-m32"
4765 enable_win16=${enable_win16:-yes}
4766 else
4767 if test "x${GCC}" = "xyes"
4768 then
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4770 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4772 /* end confdefs.h. */
4773 #include <stdarg.h>
4775 main ()
4777 void func(__builtin_ms_va_list *args);
4779 return 0;
4781 _ACEOF
4782 if ac_fn_c_try_compile "$LINENO"; then :
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4784 $as_echo "yes" >&6; }
4785 else
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 $as_echo "no" >&6; }
4788 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4792 TARGETFLAGS="-m64"
4796 arm*)
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4798 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4801 int ac_test(int i) { return i; }
4803 main ()
4805 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4807 return 0;
4809 _ACEOF
4810 if ac_fn_c_try_link "$LINENO"; then :
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4812 $as_echo "yes" >&6; }
4813 else
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4815 $as_echo "no" >&6; }
4816 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4818 rm -f core conftest.err conftest.$ac_objext \
4819 conftest$ac_exeext conftest.$ac_ext
4820 CFLAGS="$CFLAGS -marm"
4821 TARGETFLAGS="-marm"
4824 *-mingw32*|*-cygwin*)
4825 enable_win16=${enable_win16:-no}
4826 CFLAGS="$CFLAGS -D_WIN32"
4828 i[3456789]86*)
4829 enable_win16=${enable_win16:-yes}
4831 esac
4833 enable_win16=${enable_win16:-no}
4834 enable_win64=${enable_win64:-no}
4836 enable_winetest=${enable_winetest:-$enable_tests}
4838 if test -n "$with_wine64"
4839 then
4840 if test "x$enable_win64" = "xyes"
4841 then
4842 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4843 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4845 enable_fonts=${enable_fonts:-no}
4846 enable_server=${enable_server:-no}
4847 elif test "x$enable_win64" = "xyes"
4848 then
4849 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4853 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4854 if ${wine_cv_toolsdir+:} false; then :
4855 $as_echo_n "(cached) " >&6
4856 else
4857 wine_cv_toolsdir="$with_wine_tools"
4858 if test -z "$with_wine_tools"; then
4859 if test "$cross_compiling" = "yes"; then
4860 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4861 elif test -n "$with_wine64"; then
4862 wine_cv_toolsdir="$with_wine64"
4865 if test -z "$wine_cv_toolsdir"; then
4866 wine_makedep=tools/makedep
4867 wine_cv_toolsdir="\$(top_builddir)"
4868 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4869 wine_makedep=$wine_cv_toolsdir/tools/makedep
4870 case "$wine_cv_toolsdir" in
4871 /*) ;;
4872 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4873 esac
4874 enable_tools=${enable_tools:-no}
4875 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4876 else
4877 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4881 $as_echo "$wine_cv_toolsdir" >&6; }
4882 TOOLSDIR=$wine_cv_toolsdir
4884 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4885 then
4886 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4890 for ac_prog in flex
4892 # Extract the first word of "$ac_prog", so it can be a program name with args.
4893 set dummy $ac_prog; ac_word=$2
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4895 $as_echo_n "checking for $ac_word... " >&6; }
4896 if ${ac_cv_prog_FLEX+:} false; then :
4897 $as_echo_n "(cached) " >&6
4898 else
4899 if test -n "$FLEX"; then
4900 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4901 else
4902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4903 for as_dir in $PATH
4905 IFS=$as_save_IFS
4906 test -z "$as_dir" && as_dir=.
4907 for ac_exec_ext in '' $ac_executable_extensions; do
4908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4909 ac_cv_prog_FLEX="$ac_prog"
4910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4911 break 2
4913 done
4914 done
4915 IFS=$as_save_IFS
4919 FLEX=$ac_cv_prog_FLEX
4920 if test -n "$FLEX"; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4922 $as_echo "$FLEX" >&6; }
4923 else
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
4929 test -n "$FLEX" && break
4930 done
4931 test -n "$FLEX" || FLEX="none"
4933 if test "$FLEX" = "none"
4934 then
4935 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4938 $as_echo_n "checking whether flex is recent enough... " >&6; }
4939 cat >conftest.l <<EOF
4940 %top{
4941 #include "prediluvian.h"
4945 if $FLEX -t conftest.l >/dev/null 2>&5
4946 then
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4948 $as_echo "yes" >&6; }
4949 else
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 $as_echo "no" >&6; }
4952 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4955 for ac_prog in bison
4957 # Extract the first word of "$ac_prog", so it can be a program name with args.
4958 set dummy $ac_prog; ac_word=$2
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4960 $as_echo_n "checking for $ac_word... " >&6; }
4961 if ${ac_cv_prog_BISON+:} false; then :
4962 $as_echo_n "(cached) " >&6
4963 else
4964 if test -n "$BISON"; then
4965 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4966 else
4967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4968 for as_dir in $PATH
4970 IFS=$as_save_IFS
4971 test -z "$as_dir" && as_dir=.
4972 for ac_exec_ext in '' $ac_executable_extensions; do
4973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4974 ac_cv_prog_BISON="$ac_prog"
4975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4976 break 2
4978 done
4979 done
4980 IFS=$as_save_IFS
4984 BISON=$ac_cv_prog_BISON
4985 if test -n "$BISON"; then
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4987 $as_echo "$BISON" >&6; }
4988 else
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4990 $as_echo "no" >&6; }
4994 test -n "$BISON" && break
4995 done
4996 test -n "$BISON" || BISON="none"
4998 if test "$BISON" = "none"
4999 then
5000 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5003 if test -n "$ac_tool_prefix"; then
5004 for ac_prog in ar gar
5006 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5007 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5009 $as_echo_n "checking for $ac_word... " >&6; }
5010 if ${ac_cv_prog_AR+:} false; then :
5011 $as_echo_n "(cached) " >&6
5012 else
5013 if test -n "$AR"; then
5014 ac_cv_prog_AR="$AR" # Let the user override the test.
5015 else
5016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5017 for as_dir in $PATH
5019 IFS=$as_save_IFS
5020 test -z "$as_dir" && as_dir=.
5021 for ac_exec_ext in '' $ac_executable_extensions; do
5022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5023 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5025 break 2
5027 done
5028 done
5029 IFS=$as_save_IFS
5033 AR=$ac_cv_prog_AR
5034 if test -n "$AR"; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5036 $as_echo "$AR" >&6; }
5037 else
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5043 test -n "$AR" && break
5044 done
5046 if test -z "$AR"; then
5047 ac_ct_AR=$AR
5048 for ac_prog in ar gar
5050 # Extract the first word of "$ac_prog", so it can be a program name with args.
5051 set dummy $ac_prog; ac_word=$2
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053 $as_echo_n "checking for $ac_word... " >&6; }
5054 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5055 $as_echo_n "(cached) " >&6
5056 else
5057 if test -n "$ac_ct_AR"; then
5058 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5059 else
5060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5061 for as_dir in $PATH
5063 IFS=$as_save_IFS
5064 test -z "$as_dir" && as_dir=.
5065 for ac_exec_ext in '' $ac_executable_extensions; do
5066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5067 ac_cv_prog_ac_ct_AR="$ac_prog"
5068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 break 2
5071 done
5072 done
5073 IFS=$as_save_IFS
5077 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5078 if test -n "$ac_ct_AR"; then
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5080 $as_echo "$ac_ct_AR" >&6; }
5081 else
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083 $as_echo "no" >&6; }
5087 test -n "$ac_ct_AR" && break
5088 done
5090 if test "x$ac_ct_AR" = x; then
5091 AR="ar"
5092 else
5093 case $cross_compiling:$ac_tool_warned in
5094 yes:)
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5097 ac_tool_warned=yes ;;
5098 esac
5099 AR=$ac_ct_AR
5103 if test -n "$ac_tool_prefix"; then
5104 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5105 set dummy ${ac_tool_prefix}strip; ac_word=$2
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107 $as_echo_n "checking for $ac_word... " >&6; }
5108 if ${ac_cv_prog_STRIP+:} false; then :
5109 $as_echo_n "(cached) " >&6
5110 else
5111 if test -n "$STRIP"; then
5112 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5113 else
5114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5115 for as_dir in $PATH
5117 IFS=$as_save_IFS
5118 test -z "$as_dir" && as_dir=.
5119 for ac_exec_ext in '' $ac_executable_extensions; do
5120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5121 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 break 2
5125 done
5126 done
5127 IFS=$as_save_IFS
5131 STRIP=$ac_cv_prog_STRIP
5132 if test -n "$STRIP"; then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5134 $as_echo "$STRIP" >&6; }
5135 else
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 $as_echo "no" >&6; }
5142 if test -z "$ac_cv_prog_STRIP"; then
5143 ac_ct_STRIP=$STRIP
5144 # Extract the first word of "strip", so it can be a program name with args.
5145 set dummy strip; ac_word=$2
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5147 $as_echo_n "checking for $ac_word... " >&6; }
5148 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5149 $as_echo_n "(cached) " >&6
5150 else
5151 if test -n "$ac_ct_STRIP"; then
5152 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5153 else
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 for as_dir in $PATH
5157 IFS=$as_save_IFS
5158 test -z "$as_dir" && as_dir=.
5159 for ac_exec_ext in '' $ac_executable_extensions; do
5160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5161 ac_cv_prog_ac_ct_STRIP="strip"
5162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5163 break 2
5165 done
5166 done
5167 IFS=$as_save_IFS
5171 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5172 if test -n "$ac_ct_STRIP"; then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5174 $as_echo "$ac_ct_STRIP" >&6; }
5175 else
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177 $as_echo "no" >&6; }
5180 if test "x$ac_ct_STRIP" = x; then
5181 STRIP="strip"
5182 else
5183 case $cross_compiling:$ac_tool_warned in
5184 yes:)
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5187 ac_tool_warned=yes ;;
5188 esac
5189 STRIP=$ac_ct_STRIP
5191 else
5192 STRIP="$ac_cv_prog_STRIP"
5195 ARFLAGS=rc
5197 if test -n "$ac_tool_prefix"; then
5198 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5199 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if ${ac_cv_prog_RANLIB+:} false; then :
5203 $as_echo_n "(cached) " >&6
5204 else
5205 if test -n "$RANLIB"; then
5206 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5207 else
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 for as_dir in $PATH
5211 IFS=$as_save_IFS
5212 test -z "$as_dir" && as_dir=.
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5215 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5217 break 2
5219 done
5220 done
5221 IFS=$as_save_IFS
5225 RANLIB=$ac_cv_prog_RANLIB
5226 if test -n "$RANLIB"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5228 $as_echo "$RANLIB" >&6; }
5229 else
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5236 if test -z "$ac_cv_prog_RANLIB"; then
5237 ac_ct_RANLIB=$RANLIB
5238 # Extract the first word of "ranlib", so it can be a program name with args.
5239 set dummy ranlib; ac_word=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5243 $as_echo_n "(cached) " >&6
5244 else
5245 if test -n "$ac_ct_RANLIB"; then
5246 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5247 else
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 for as_dir in $PATH
5251 IFS=$as_save_IFS
5252 test -z "$as_dir" && as_dir=.
5253 for ac_exec_ext in '' $ac_executable_extensions; do
5254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5255 ac_cv_prog_ac_ct_RANLIB="ranlib"
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 break 2
5259 done
5260 done
5261 IFS=$as_save_IFS
5265 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5266 if test -n "$ac_ct_RANLIB"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5268 $as_echo "$ac_ct_RANLIB" >&6; }
5269 else
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5274 if test "x$ac_ct_RANLIB" = x; then
5275 RANLIB=":"
5276 else
5277 case $cross_compiling:$ac_tool_warned in
5278 yes:)
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5281 ac_tool_warned=yes ;;
5282 esac
5283 RANLIB=$ac_ct_RANLIB
5285 else
5286 RANLIB="$ac_cv_prog_RANLIB"
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5290 $as_echo_n "checking whether ln -s works... " >&6; }
5291 LN_S=$as_ln_s
5292 if test "$LN_S" = "ln -s"; then
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5294 $as_echo "yes" >&6; }
5295 else
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5297 $as_echo "no, using $LN_S" >&6; }
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5301 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5302 if ${ac_cv_path_GREP+:} false; then :
5303 $as_echo_n "(cached) " >&6
5304 else
5305 if test -z "$GREP"; then
5306 ac_path_GREP_found=false
5307 # Loop through the user's path and test for each of PROGNAME-LIST
5308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5311 IFS=$as_save_IFS
5312 test -z "$as_dir" && as_dir=.
5313 for ac_prog in grep ggrep; do
5314 for ac_exec_ext in '' $ac_executable_extensions; do
5315 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5316 as_fn_executable_p "$ac_path_GREP" || continue
5317 # Check for GNU ac_path_GREP and select it if it is found.
5318 # Check for GNU $ac_path_GREP
5319 case `"$ac_path_GREP" --version 2>&1` in
5320 *GNU*)
5321 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5323 ac_count=0
5324 $as_echo_n 0123456789 >"conftest.in"
5325 while :
5327 cat "conftest.in" "conftest.in" >"conftest.tmp"
5328 mv "conftest.tmp" "conftest.in"
5329 cp "conftest.in" "conftest.nl"
5330 $as_echo 'GREP' >> "conftest.nl"
5331 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5332 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5333 as_fn_arith $ac_count + 1 && ac_count=$as_val
5334 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5335 # Best one so far, save it but keep looking for a better one
5336 ac_cv_path_GREP="$ac_path_GREP"
5337 ac_path_GREP_max=$ac_count
5339 # 10*(2^10) chars as input seems more than enough
5340 test $ac_count -gt 10 && break
5341 done
5342 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5343 esac
5345 $ac_path_GREP_found && break 3
5346 done
5347 done
5348 done
5349 IFS=$as_save_IFS
5350 if test -z "$ac_cv_path_GREP"; then
5351 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5353 else
5354 ac_cv_path_GREP=$GREP
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5359 $as_echo "$ac_cv_path_GREP" >&6; }
5360 GREP="$ac_cv_path_GREP"
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5364 $as_echo_n "checking for egrep... " >&6; }
5365 if ${ac_cv_path_EGREP+:} false; then :
5366 $as_echo_n "(cached) " >&6
5367 else
5368 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5369 then ac_cv_path_EGREP="$GREP -E"
5370 else
5371 if test -z "$EGREP"; then
5372 ac_path_EGREP_found=false
5373 # Loop through the user's path and test for each of PROGNAME-LIST
5374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5375 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5377 IFS=$as_save_IFS
5378 test -z "$as_dir" && as_dir=.
5379 for ac_prog in egrep; do
5380 for ac_exec_ext in '' $ac_executable_extensions; do
5381 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5382 as_fn_executable_p "$ac_path_EGREP" || continue
5383 # Check for GNU ac_path_EGREP and select it if it is found.
5384 # Check for GNU $ac_path_EGREP
5385 case `"$ac_path_EGREP" --version 2>&1` in
5386 *GNU*)
5387 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5389 ac_count=0
5390 $as_echo_n 0123456789 >"conftest.in"
5391 while :
5393 cat "conftest.in" "conftest.in" >"conftest.tmp"
5394 mv "conftest.tmp" "conftest.in"
5395 cp "conftest.in" "conftest.nl"
5396 $as_echo 'EGREP' >> "conftest.nl"
5397 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5398 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5399 as_fn_arith $ac_count + 1 && ac_count=$as_val
5400 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5401 # Best one so far, save it but keep looking for a better one
5402 ac_cv_path_EGREP="$ac_path_EGREP"
5403 ac_path_EGREP_max=$ac_count
5405 # 10*(2^10) chars as input seems more than enough
5406 test $ac_count -gt 10 && break
5407 done
5408 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5409 esac
5411 $ac_path_EGREP_found && break 3
5412 done
5413 done
5414 done
5415 IFS=$as_save_IFS
5416 if test -z "$ac_cv_path_EGREP"; then
5417 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5419 else
5420 ac_cv_path_EGREP=$EGREP
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5426 $as_echo "$ac_cv_path_EGREP" >&6; }
5427 EGREP="$ac_cv_path_EGREP"
5430 # Extract the first word of "ldconfig", so it can be a program name with args.
5431 set dummy ldconfig; ac_word=$2
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5433 $as_echo_n "checking for $ac_word... " >&6; }
5434 if ${ac_cv_path_LDCONFIG+:} false; then :
5435 $as_echo_n "(cached) " >&6
5436 else
5437 case $LDCONFIG in
5438 [\\/]* | ?:[\\/]*)
5439 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5443 for as_dir in /sbin /usr/sbin $PATH
5445 IFS=$as_save_IFS
5446 test -z "$as_dir" && as_dir=.
5447 for ac_exec_ext in '' $ac_executable_extensions; do
5448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5449 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5451 break 2
5453 done
5454 done
5455 IFS=$as_save_IFS
5457 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5459 esac
5461 LDCONFIG=$ac_cv_path_LDCONFIG
5462 if test -n "$LDCONFIG"; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5464 $as_echo "$LDCONFIG" >&6; }
5465 else
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5467 $as_echo "no" >&6; }
5471 for ac_prog in msgfmt
5473 # Extract the first word of "$ac_prog", so it can be a program name with args.
5474 set dummy $ac_prog; ac_word=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; }
5477 if ${ac_cv_prog_MSGFMT+:} false; then :
5478 $as_echo_n "(cached) " >&6
5479 else
5480 if test -n "$MSGFMT"; then
5481 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5482 else
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5486 IFS=$as_save_IFS
5487 test -z "$as_dir" && as_dir=.
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5490 ac_cv_prog_MSGFMT="$ac_prog"
5491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 break 2
5494 done
5495 done
5496 IFS=$as_save_IFS
5500 MSGFMT=$ac_cv_prog_MSGFMT
5501 if test -n "$MSGFMT"; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5503 $as_echo "$MSGFMT" >&6; }
5504 else
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5510 test -n "$MSGFMT" && break
5511 done
5512 test -n "$MSGFMT" || MSGFMT="false"
5514 if ${ac_tool_prefix+:} false; then :
5515 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5516 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5518 $as_echo_n "checking for $ac_word... " >&6; }
5519 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5520 $as_echo_n "(cached) " >&6
5521 else
5522 if test -n "$PKG_CONFIG"; then
5523 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5524 else
5525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5526 for as_dir in $PATH
5528 IFS=$as_save_IFS
5529 test -z "$as_dir" && as_dir=.
5530 for ac_exec_ext in '' $ac_executable_extensions; do
5531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5532 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5534 break 2
5536 done
5537 done
5538 IFS=$as_save_IFS
5542 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5543 if test -n "$PKG_CONFIG"; then
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5545 $as_echo "$PKG_CONFIG" >&6; }
5546 else
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5548 $as_echo "no" >&6; }
5553 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5554 if test "x$cross_compiling" = xyes; then :
5556 else
5557 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5558 # Extract the first word of "pkg-config", so it can be a program name with args.
5559 set dummy pkg-config; ac_word=$2
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5561 $as_echo_n "checking for $ac_word... " >&6; }
5562 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5563 $as_echo_n "(cached) " >&6
5564 else
5565 if test -n "$PKG_CONFIG"; then
5566 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5567 else
5568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5569 for as_dir in $PATH
5571 IFS=$as_save_IFS
5572 test -z "$as_dir" && as_dir=.
5573 for ac_exec_ext in '' $ac_executable_extensions; do
5574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5575 ac_cv_prog_PKG_CONFIG="pkg-config"
5576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5577 break 2
5579 done
5580 done
5581 IFS=$as_save_IFS
5585 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5586 if test -n "$PKG_CONFIG"; then
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5588 $as_echo "$PKG_CONFIG" >&6; }
5589 else
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5591 $as_echo "no" >&6; }
5596 else
5597 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5600 if test "x$enable_maintainer_mode" != "xyes"
5601 then
5602 FONTFORGE=""
5603 RSVG=""
5604 CONVERT=""
5605 ICOTOOL=""
5606 else
5607 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5608 for ac_prog in fontforge
5610 # Extract the first word of "$ac_prog", so it can be a program name with args.
5611 set dummy $ac_prog; ac_word=$2
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613 $as_echo_n "checking for $ac_word... " >&6; }
5614 if ${ac_cv_prog_FONTFORGE+:} false; then :
5615 $as_echo_n "(cached) " >&6
5616 else
5617 if test -n "$FONTFORGE"; then
5618 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5619 else
5620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 for as_dir in $PATH
5623 IFS=$as_save_IFS
5624 test -z "$as_dir" && as_dir=.
5625 for ac_exec_ext in '' $ac_executable_extensions; do
5626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5627 ac_cv_prog_FONTFORGE="$ac_prog"
5628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629 break 2
5631 done
5632 done
5633 IFS=$as_save_IFS
5637 FONTFORGE=$ac_cv_prog_FONTFORGE
5638 if test -n "$FONTFORGE"; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5640 $as_echo "$FONTFORGE" >&6; }
5641 else
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5643 $as_echo "no" >&6; }
5647 test -n "$FONTFORGE" && break
5648 done
5649 test -n "$FONTFORGE" || FONTFORGE="false"
5651 for ac_prog in rsvg
5653 # Extract the first word of "$ac_prog", so it can be a program name with args.
5654 set dummy $ac_prog; ac_word=$2
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5656 $as_echo_n "checking for $ac_word... " >&6; }
5657 if ${ac_cv_prog_RSVG+:} false; then :
5658 $as_echo_n "(cached) " >&6
5659 else
5660 if test -n "$RSVG"; then
5661 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5662 else
5663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5664 for as_dir in $PATH
5666 IFS=$as_save_IFS
5667 test -z "$as_dir" && as_dir=.
5668 for ac_exec_ext in '' $ac_executable_extensions; do
5669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5670 ac_cv_prog_RSVG="$ac_prog"
5671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5672 break 2
5674 done
5675 done
5676 IFS=$as_save_IFS
5680 RSVG=$ac_cv_prog_RSVG
5681 if test -n "$RSVG"; then
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5683 $as_echo "$RSVG" >&6; }
5684 else
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5686 $as_echo "no" >&6; }
5690 test -n "$RSVG" && break
5691 done
5692 test -n "$RSVG" || RSVG="false"
5694 for ac_prog in convert
5696 # Extract the first word of "$ac_prog", so it can be a program name with args.
5697 set dummy $ac_prog; ac_word=$2
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5699 $as_echo_n "checking for $ac_word... " >&6; }
5700 if ${ac_cv_prog_CONVERT+:} false; then :
5701 $as_echo_n "(cached) " >&6
5702 else
5703 if test -n "$CONVERT"; then
5704 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5705 else
5706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5707 for as_dir in $PATH
5709 IFS=$as_save_IFS
5710 test -z "$as_dir" && as_dir=.
5711 for ac_exec_ext in '' $ac_executable_extensions; do
5712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5713 ac_cv_prog_CONVERT="$ac_prog"
5714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5715 break 2
5717 done
5718 done
5719 IFS=$as_save_IFS
5723 CONVERT=$ac_cv_prog_CONVERT
5724 if test -n "$CONVERT"; then
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5726 $as_echo "$CONVERT" >&6; }
5727 else
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 $as_echo "no" >&6; }
5733 test -n "$CONVERT" && break
5734 done
5735 test -n "$CONVERT" || CONVERT="false"
5737 for ac_prog in icotool
5739 # Extract the first word of "$ac_prog", so it can be a program name with args.
5740 set dummy $ac_prog; ac_word=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if ${ac_cv_prog_ICOTOOL+:} false; then :
5744 $as_echo_n "(cached) " >&6
5745 else
5746 if test -n "$ICOTOOL"; then
5747 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5748 else
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 for as_dir in $PATH
5752 IFS=$as_save_IFS
5753 test -z "$as_dir" && as_dir=.
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5756 ac_cv_prog_ICOTOOL="$ac_prog"
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5758 break 2
5760 done
5761 done
5762 IFS=$as_save_IFS
5766 ICOTOOL=$ac_cv_prog_ICOTOOL
5767 if test -n "$ICOTOOL"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5769 $as_echo "$ICOTOOL" >&6; }
5770 else
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5776 test -n "$ICOTOOL" && break
5777 done
5778 test -n "$ICOTOOL" || ICOTOOL="false"
5780 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5781 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5783 if test "$CONVERT" = false
5784 then
5785 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5786 else
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5788 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5789 convert_version=`convert --version | head -n1`
5790 if test "x$convert_version" != "x"
5791 then
5792 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5793 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5794 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5795 then
5796 CONVERT=false
5799 if test "$CONVERT" = false
5800 then
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5802 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5803 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5804 else
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5806 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5810 if test "$ICOTOOL" = false
5811 then
5812 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5813 else
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5815 $as_echo_n "checking for recent enough icotool... " >&6; }
5816 icotool_version=`icotool --version | head -n1`
5817 if test "x$icotool_version" != "x"
5818 then
5819 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5820 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5821 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5822 then
5823 ICOTOOL=false
5824 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5827 if test "$ICOTOOL" = false
5828 then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5830 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5831 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5832 else
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5834 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5838 with_gettext=yes
5839 with_gettextpo=yes
5840 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5843 test "x$with_gettext" != xno || MSGFMT=false
5844 if test "$MSGFMT" != "false"
5845 then
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5847 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5848 cat >conftest.po <<EOF
5849 # comment
5850 msgctxt "ctxt"
5851 msgid "id"
5852 msgstr "str"
5854 if $MSGFMT -o /dev/null conftest.po 2>&5
5855 then
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5857 $as_echo "yes" >&6; }
5858 else
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5860 $as_echo "no" >&6; }
5861 MSGFMT=false
5864 if test "$MSGFMT" = false; then :
5865 case "x$with_gettext" in
5866 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5867 xno) ;;
5868 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5869 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5870 esac
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5875 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5876 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5877 $as_echo_n "(cached) " >&6
5878 else
5879 ac_check_lib_save_LIBS=$LIBS
5880 LIBS="-li386 $LIBS"
5881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5882 /* end confdefs.h. */
5884 /* Override any GCC internal prototype to avoid an error.
5885 Use char because int might match the return type of a GCC
5886 builtin and then its argument prototype would still apply. */
5887 #ifdef __cplusplus
5888 extern "C"
5889 #endif
5890 char i386_set_ldt ();
5892 main ()
5894 return i386_set_ldt ();
5896 return 0;
5898 _ACEOF
5899 if ac_fn_c_try_link "$LINENO"; then :
5900 ac_cv_lib_i386_i386_set_ldt=yes
5901 else
5902 ac_cv_lib_i386_i386_set_ldt=no
5904 rm -f core conftest.err conftest.$ac_objext \
5905 conftest$ac_exeext conftest.$ac_ext
5906 LIBS=$ac_check_lib_save_LIBS
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5909 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5910 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5911 cat >>confdefs.h <<_ACEOF
5912 #define HAVE_LIBI386 1
5913 _ACEOF
5915 LIBS="-li386 $LIBS"
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5920 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5921 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5922 $as_echo_n "(cached) " >&6
5923 else
5924 ac_check_lib_save_LIBS=$LIBS
5925 LIBS="-lossaudio $LIBS"
5926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5927 /* end confdefs.h. */
5929 /* Override any GCC internal prototype to avoid an error.
5930 Use char because int might match the return type of a GCC
5931 builtin and then its argument prototype would still apply. */
5932 #ifdef __cplusplus
5933 extern "C"
5934 #endif
5935 char _oss_ioctl ();
5937 main ()
5939 return _oss_ioctl ();
5941 return 0;
5943 _ACEOF
5944 if ac_fn_c_try_link "$LINENO"; then :
5945 ac_cv_lib_ossaudio__oss_ioctl=yes
5946 else
5947 ac_cv_lib_ossaudio__oss_ioctl=no
5949 rm -f core conftest.err conftest.$ac_objext \
5950 conftest$ac_exeext conftest.$ac_ext
5951 LIBS=$ac_check_lib_save_LIBS
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5954 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5955 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5956 cat >>confdefs.h <<_ACEOF
5957 #define HAVE_LIBOSSAUDIO 1
5958 _ACEOF
5960 LIBS="-lossaudio $LIBS"
5965 OPENGL_LIBS=""
5969 # Check whether --enable-largefile was given.
5970 if test "${enable_largefile+set}" = set; then :
5971 enableval=$enable_largefile;
5974 if test "$enable_largefile" != no; then
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5977 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5978 if ${ac_cv_sys_largefile_CC+:} false; then :
5979 $as_echo_n "(cached) " >&6
5980 else
5981 ac_cv_sys_largefile_CC=no
5982 if test "$GCC" != yes; then
5983 ac_save_CC=$CC
5984 while :; do
5985 # IRIX 6.2 and later do not support large files by default,
5986 # so use the C compiler's -n32 option if that helps.
5987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5988 /* end confdefs.h. */
5989 #include <sys/types.h>
5990 /* Check that off_t can represent 2**63 - 1 correctly.
5991 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5992 since some C++ compilers masquerading as C compilers
5993 incorrectly reject 9223372036854775807. */
5994 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5995 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5996 && LARGE_OFF_T % 2147483647 == 1)
5997 ? 1 : -1];
5999 main ()
6003 return 0;
6005 _ACEOF
6006 if ac_fn_c_try_compile "$LINENO"; then :
6007 break
6009 rm -f core conftest.err conftest.$ac_objext
6010 CC="$CC -n32"
6011 if ac_fn_c_try_compile "$LINENO"; then :
6012 ac_cv_sys_largefile_CC=' -n32'; break
6014 rm -f core conftest.err conftest.$ac_objext
6015 break
6016 done
6017 CC=$ac_save_CC
6018 rm -f conftest.$ac_ext
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6022 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6023 if test "$ac_cv_sys_largefile_CC" != no; then
6024 CC=$CC$ac_cv_sys_largefile_CC
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6028 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6029 if ${ac_cv_sys_file_offset_bits+:} false; then :
6030 $as_echo_n "(cached) " >&6
6031 else
6032 while :; do
6033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6034 /* end confdefs.h. */
6035 #include <sys/types.h>
6036 /* Check that off_t can represent 2**63 - 1 correctly.
6037 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6038 since some C++ compilers masquerading as C compilers
6039 incorrectly reject 9223372036854775807. */
6040 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6041 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6042 && LARGE_OFF_T % 2147483647 == 1)
6043 ? 1 : -1];
6045 main ()
6049 return 0;
6051 _ACEOF
6052 if ac_fn_c_try_compile "$LINENO"; then :
6053 ac_cv_sys_file_offset_bits=no; break
6055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6057 /* end confdefs.h. */
6058 #define _FILE_OFFSET_BITS 64
6059 #include <sys/types.h>
6060 /* Check that off_t can represent 2**63 - 1 correctly.
6061 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6062 since some C++ compilers masquerading as C compilers
6063 incorrectly reject 9223372036854775807. */
6064 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6065 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6066 && LARGE_OFF_T % 2147483647 == 1)
6067 ? 1 : -1];
6069 main ()
6073 return 0;
6075 _ACEOF
6076 if ac_fn_c_try_compile "$LINENO"; then :
6077 ac_cv_sys_file_offset_bits=64; break
6079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6080 ac_cv_sys_file_offset_bits=unknown
6081 break
6082 done
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6085 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6086 case $ac_cv_sys_file_offset_bits in #(
6087 no | unknown) ;;
6089 cat >>confdefs.h <<_ACEOF
6090 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6091 _ACEOF
6093 esac
6094 rm -rf conftest*
6095 if test $ac_cv_sys_file_offset_bits = unknown; then
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6097 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6098 if ${ac_cv_sys_large_files+:} false; then :
6099 $as_echo_n "(cached) " >&6
6100 else
6101 while :; do
6102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6103 /* end confdefs.h. */
6104 #include <sys/types.h>
6105 /* Check that off_t can represent 2**63 - 1 correctly.
6106 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6107 since some C++ compilers masquerading as C compilers
6108 incorrectly reject 9223372036854775807. */
6109 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6110 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6111 && LARGE_OFF_T % 2147483647 == 1)
6112 ? 1 : -1];
6114 main ()
6118 return 0;
6120 _ACEOF
6121 if ac_fn_c_try_compile "$LINENO"; then :
6122 ac_cv_sys_large_files=no; break
6124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6126 /* end confdefs.h. */
6127 #define _LARGE_FILES 1
6128 #include <sys/types.h>
6129 /* Check that off_t can represent 2**63 - 1 correctly.
6130 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6131 since some C++ compilers masquerading as C compilers
6132 incorrectly reject 9223372036854775807. */
6133 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6134 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6135 && LARGE_OFF_T % 2147483647 == 1)
6136 ? 1 : -1];
6138 main ()
6142 return 0;
6144 _ACEOF
6145 if ac_fn_c_try_compile "$LINENO"; then :
6146 ac_cv_sys_large_files=1; break
6148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6149 ac_cv_sys_large_files=unknown
6150 break
6151 done
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6154 $as_echo "$ac_cv_sys_large_files" >&6; }
6155 case $ac_cv_sys_large_files in #(
6156 no | unknown) ;;
6158 cat >>confdefs.h <<_ACEOF
6159 #define _LARGE_FILES $ac_cv_sys_large_files
6160 _ACEOF
6162 esac
6163 rm -rf conftest*
6170 ac_ext=c
6171 ac_cpp='$CPP $CPPFLAGS'
6172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6176 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6177 # On Suns, sometimes $CPP names a directory.
6178 if test -n "$CPP" && test -d "$CPP"; then
6179 CPP=
6181 if test -z "$CPP"; then
6182 if ${ac_cv_prog_CPP+:} false; then :
6183 $as_echo_n "(cached) " >&6
6184 else
6185 # Double quotes because CPP needs to be expanded
6186 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6188 ac_preproc_ok=false
6189 for ac_c_preproc_warn_flag in '' yes
6191 # Use a header file that comes with gcc, so configuring glibc
6192 # with a fresh cross-compiler works.
6193 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6194 # <limits.h> exists even on freestanding compilers.
6195 # On the NeXT, cc -E runs the code through the compiler's parser,
6196 # not just through cpp. "Syntax error" is here to catch this case.
6197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6198 /* end confdefs.h. */
6199 #ifdef __STDC__
6200 # include <limits.h>
6201 #else
6202 # include <assert.h>
6203 #endif
6204 Syntax error
6205 _ACEOF
6206 if ac_fn_c_try_cpp "$LINENO"; then :
6208 else
6209 # Broken: fails on valid input.
6210 continue
6212 rm -f conftest.err conftest.i conftest.$ac_ext
6214 # OK, works on sane cases. Now check whether nonexistent headers
6215 # can be detected and how.
6216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6217 /* end confdefs.h. */
6218 #include <ac_nonexistent.h>
6219 _ACEOF
6220 if ac_fn_c_try_cpp "$LINENO"; then :
6221 # Broken: success on invalid input.
6222 continue
6223 else
6224 # Passes both tests.
6225 ac_preproc_ok=:
6226 break
6228 rm -f conftest.err conftest.i conftest.$ac_ext
6230 done
6231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6232 rm -f conftest.i conftest.err conftest.$ac_ext
6233 if $ac_preproc_ok; then :
6234 break
6237 done
6238 ac_cv_prog_CPP=$CPP
6241 CPP=$ac_cv_prog_CPP
6242 else
6243 ac_cv_prog_CPP=$CPP
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6246 $as_echo "$CPP" >&6; }
6247 ac_preproc_ok=false
6248 for ac_c_preproc_warn_flag in '' yes
6250 # Use a header file that comes with gcc, so configuring glibc
6251 # with a fresh cross-compiler works.
6252 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6253 # <limits.h> exists even on freestanding compilers.
6254 # On the NeXT, cc -E runs the code through the compiler's parser,
6255 # not just through cpp. "Syntax error" is here to catch this case.
6256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6257 /* end confdefs.h. */
6258 #ifdef __STDC__
6259 # include <limits.h>
6260 #else
6261 # include <assert.h>
6262 #endif
6263 Syntax error
6264 _ACEOF
6265 if ac_fn_c_try_cpp "$LINENO"; then :
6267 else
6268 # Broken: fails on valid input.
6269 continue
6271 rm -f conftest.err conftest.i conftest.$ac_ext
6273 # OK, works on sane cases. Now check whether nonexistent headers
6274 # can be detected and how.
6275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6276 /* end confdefs.h. */
6277 #include <ac_nonexistent.h>
6278 _ACEOF
6279 if ac_fn_c_try_cpp "$LINENO"; then :
6280 # Broken: success on invalid input.
6281 continue
6282 else
6283 # Passes both tests.
6284 ac_preproc_ok=:
6285 break
6287 rm -f conftest.err conftest.i conftest.$ac_ext
6289 done
6290 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6291 rm -f conftest.i conftest.err conftest.$ac_ext
6292 if $ac_preproc_ok; then :
6294 else
6295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6297 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6298 See \`config.log' for more details" "$LINENO" 5; }
6301 ac_ext=c
6302 ac_cpp='$CPP $CPPFLAGS'
6303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6309 $as_echo_n "checking for ANSI C header files... " >&6; }
6310 if ${ac_cv_header_stdc+:} false; then :
6311 $as_echo_n "(cached) " >&6
6312 else
6313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6314 /* end confdefs.h. */
6315 #include <stdlib.h>
6316 #include <stdarg.h>
6317 #include <string.h>
6318 #include <float.h>
6321 main ()
6325 return 0;
6327 _ACEOF
6328 if ac_fn_c_try_compile "$LINENO"; then :
6329 ac_cv_header_stdc=yes
6330 else
6331 ac_cv_header_stdc=no
6333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6335 if test $ac_cv_header_stdc = yes; then
6336 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6338 /* end confdefs.h. */
6339 #include <string.h>
6341 _ACEOF
6342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6343 $EGREP "memchr" >/dev/null 2>&1; then :
6345 else
6346 ac_cv_header_stdc=no
6348 rm -f conftest*
6352 if test $ac_cv_header_stdc = yes; then
6353 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6355 /* end confdefs.h. */
6356 #include <stdlib.h>
6358 _ACEOF
6359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6360 $EGREP "free" >/dev/null 2>&1; then :
6362 else
6363 ac_cv_header_stdc=no
6365 rm -f conftest*
6369 if test $ac_cv_header_stdc = yes; then
6370 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6371 if test "$cross_compiling" = yes; then :
6373 else
6374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6376 #include <ctype.h>
6377 #include <stdlib.h>
6378 #if ((' ' & 0x0FF) == 0x020)
6379 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6380 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6381 #else
6382 # define ISLOWER(c) \
6383 (('a' <= (c) && (c) <= 'i') \
6384 || ('j' <= (c) && (c) <= 'r') \
6385 || ('s' <= (c) && (c) <= 'z'))
6386 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6387 #endif
6389 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6391 main ()
6393 int i;
6394 for (i = 0; i < 256; i++)
6395 if (XOR (islower (i), ISLOWER (i))
6396 || toupper (i) != TOUPPER (i))
6397 return 2;
6398 return 0;
6400 _ACEOF
6401 if ac_fn_c_try_run "$LINENO"; then :
6403 else
6404 ac_cv_header_stdc=no
6406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6407 conftest.$ac_objext conftest.beam conftest.$ac_ext
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6413 $as_echo "$ac_cv_header_stdc" >&6; }
6414 if test $ac_cv_header_stdc = yes; then
6416 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6420 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6421 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6422 inttypes.h stdint.h unistd.h
6423 do :
6424 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6425 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6427 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6428 cat >>confdefs.h <<_ACEOF
6429 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6430 _ACEOF
6434 done
6437 for ac_header in \
6438 AL/al.h \
6439 ApplicationServices/ApplicationServices.h \
6440 AudioToolbox/AudioConverter.h \
6441 AudioUnit/AudioUnit.h \
6442 AudioUnit/AudioComponent.h \
6443 CL/cl.h \
6444 Carbon/Carbon.h \
6445 CoreAudio/CoreAudio.h \
6446 CoreServices/CoreServices.h \
6447 DiskArbitration/DiskArbitration.h \
6448 IOKit/IOKitLib.h \
6449 IOKit/hid/IOHIDLib.h \
6450 OpenAL/al.h \
6451 OpenCL/opencl.h \
6452 QuickTime/ImageCompression.h \
6453 Security/Security.h \
6454 alias.h \
6455 alsa/asoundlib.h \
6456 arpa/inet.h \
6457 arpa/nameser.h \
6458 asm/types.h \
6459 asm/user.h \
6460 curses.h \
6461 direct.h \
6462 dirent.h \
6463 dlfcn.h \
6464 elf.h \
6465 float.h \
6466 fnmatch.h \
6467 getopt.h \
6468 gettext-po.h \
6469 grp.h \
6470 gsm.h \
6471 gsm/gsm.h \
6472 ieeefp.h \
6473 inet/mib2.h \
6474 io.h \
6475 kstat.h \
6476 lber.h \
6477 ldap.h \
6478 libproc.h \
6479 link.h \
6480 linux/cdrom.h \
6481 linux/compiler.h \
6482 linux/filter.h \
6483 linux/hdreg.h \
6484 linux/input.h \
6485 linux/ioctl.h \
6486 linux/joystick.h \
6487 linux/major.h \
6488 linux/param.h \
6489 linux/serial.h \
6490 linux/types.h \
6491 linux/ucdrom.h \
6492 lwp.h \
6493 mach-o/nlist.h \
6494 mach-o/loader.h \
6495 mach/mach.h \
6496 mach/machine.h \
6497 machine/cpu.h \
6498 machine/limits.h \
6499 machine/sysarch.h \
6500 mntent.h \
6501 ncurses.h \
6502 netdb.h \
6503 netinet/in.h \
6504 netinet/in_systm.h \
6505 netinet/tcp.h \
6506 netinet/tcp_fsm.h \
6507 pcap/pcap.h \
6508 poll.h \
6509 port.h \
6510 process.h \
6511 pthread.h \
6512 pwd.h \
6513 sched.h \
6514 scsi/scsi.h \
6515 scsi/scsi_ioctl.h \
6516 scsi/sg.h \
6517 stdbool.h \
6518 stdint.h \
6519 stropts.h \
6520 sys/asoundlib.h \
6521 sys/attr.h \
6522 sys/cdio.h \
6523 sys/elf32.h \
6524 sys/epoll.h \
6525 sys/event.h \
6526 sys/exec_elf.h \
6527 sys/filio.h \
6528 sys/inotify.h \
6529 sys/ioctl.h \
6530 sys/ipc.h \
6531 sys/limits.h \
6532 sys/link.h \
6533 sys/mman.h \
6534 sys/modem.h \
6535 sys/msg.h \
6536 sys/mtio.h \
6537 sys/param.h \
6538 sys/poll.h \
6539 sys/prctl.h \
6540 sys/protosw.h \
6541 sys/ptrace.h \
6542 sys/queue.h \
6543 sys/resource.h \
6544 sys/scsiio.h \
6545 sys/shm.h \
6546 sys/signal.h \
6547 sys/socket.h \
6548 sys/socketvar.h \
6549 sys/sockio.h \
6550 sys/statvfs.h \
6551 sys/strtio.h \
6552 sys/syscall.h \
6553 sys/tihdr.h \
6554 sys/time.h \
6555 sys/timeout.h \
6556 sys/times.h \
6557 sys/uio.h \
6558 sys/user.h \
6559 sys/utsname.h \
6560 sys/vm86.h \
6561 sys/wait.h \
6562 syscall.h \
6563 termios.h \
6564 unistd.h \
6565 utime.h \
6566 valgrind/memcheck.h \
6567 valgrind/valgrind.h \
6568 zlib.h
6570 do :
6571 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6572 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6573 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6574 cat >>confdefs.h <<_ACEOF
6575 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6576 _ACEOF
6580 done
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6583 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6584 if ${ac_cv_header_stat_broken+:} false; then :
6585 $as_echo_n "(cached) " >&6
6586 else
6587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6588 /* end confdefs.h. */
6589 #include <sys/types.h>
6590 #include <sys/stat.h>
6592 #if defined S_ISBLK && defined S_IFDIR
6593 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6594 #endif
6596 #if defined S_ISBLK && defined S_IFCHR
6597 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6598 #endif
6600 #if defined S_ISLNK && defined S_IFREG
6601 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6602 #endif
6604 #if defined S_ISSOCK && defined S_IFREG
6605 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6606 #endif
6608 _ACEOF
6609 if ac_fn_c_try_compile "$LINENO"; then :
6610 ac_cv_header_stat_broken=no
6611 else
6612 ac_cv_header_stat_broken=yes
6614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6617 $as_echo "$ac_cv_header_stat_broken" >&6; }
6618 if test $ac_cv_header_stat_broken = yes; then
6620 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6626 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6627 do :
6628 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6629 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6630 #ifdef HAVE_SYS_PARAM_H
6631 # include <sys/param.h>
6632 #endif
6634 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6635 cat >>confdefs.h <<_ACEOF
6636 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6637 _ACEOF
6641 done
6644 for ac_header in \
6645 netinet/ip.h \
6646 net/if.h \
6647 net/if_arp.h \
6648 net/if_dl.h \
6649 net/if_types.h \
6650 net/route.h \
6651 netinet/if_ether.h \
6652 netinet/if_inarp.h \
6653 netinet/in_pcb.h \
6654 netinet/ip_icmp.h \
6655 netinet/ip_var.h \
6656 netinet/udp.h \
6657 netipx/ipx.h \
6658 sys/un.h \
6660 do :
6661 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6662 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6663 #ifdef HAVE_SYS_SOCKET_H
6664 # include <sys/socket.h>
6665 #endif
6666 #ifdef HAVE_SYS_SOCKETVAR_H
6667 # include <sys/socketvar.h>
6668 #endif
6669 #ifdef HAVE_NET_ROUTE_H
6670 # include <net/route.h>
6671 #endif
6672 #ifdef HAVE_NETINET_IN_H
6673 # include <netinet/in.h>
6674 #endif
6675 #ifdef HAVE_NETINET_IN_SYSTM_H
6676 # include <netinet/in_systm.h>
6677 #endif
6678 #ifdef HAVE_NET_IF_H
6679 # include <net/if.h>
6680 #endif
6681 #ifdef HAVE_NETINET_IP_H
6682 # include <netinet/ip.h>
6683 #endif
6685 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6686 cat >>confdefs.h <<_ACEOF
6687 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6688 _ACEOF
6692 done
6695 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6696 do :
6697 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6698 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6699 #ifdef HAVE_ALIAS_H
6700 # include <alias.h>
6701 #endif
6702 #ifdef HAVE_SYS_SOCKET_H
6703 # include <sys/socket.h>
6704 #endif
6705 #ifdef HAVE_SYS_SOCKETVAR_H
6706 # include <sys/socketvar.h>
6707 #endif
6708 #ifdef HAVE_SYS_TIMEOUT_H
6709 # include <sys/timeout.h>
6710 #endif
6711 #ifdef HAVE_NETINET_IN_H
6712 # include <netinet/in.h>
6713 #endif
6714 #ifdef HAVE_NETINET_IN_SYSTM_H
6715 # include <netinet/in_systm.h>
6716 #endif
6717 #ifdef HAVE_NETINET_IP_H
6718 # include <netinet/ip.h>
6719 #endif
6720 #ifdef HAVE_NETINET_IP_VAR_H
6721 # include <netinet/ip_var.h>
6722 #endif
6723 #ifdef HAVE_NETINET_IP_ICMP_H
6724 # include <netinet/ip_icmp.h>
6725 #endif
6726 #ifdef HAVE_NETINET_UDP_H
6727 # include <netinet/udp.h>
6728 #endif
6729 #ifdef HAVE_NETINET_TCP_H
6730 # include <netinet/tcp.h>
6731 #endif
6732 #ifdef HAVE_NETINET_TCP_TIMER_H
6733 #include <netinet/tcp_timer.h>
6734 #endif
6736 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6737 cat >>confdefs.h <<_ACEOF
6738 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6739 _ACEOF
6743 done
6746 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6747 do :
6748 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6749 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6750 #ifdef HAVE_ASM_TYPES_H
6751 # include <asm/types.h>
6752 #endif
6753 #ifdef HAVE_SYS_SOCKET_H
6754 # include <sys/socket.h>
6755 #endif
6756 #ifdef HAVE_LINUX_TYPES_H
6757 # include <linux/types.h>
6758 #endif
6760 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6761 cat >>confdefs.h <<_ACEOF
6762 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6763 _ACEOF
6767 done
6770 for ac_header in mach-o/dyld_images.h
6771 do :
6772 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6773 # include <stdbool.h>
6774 #endif
6775 #ifdef HAVE_STDINT_H
6776 # include <stdint.h>
6777 #endif
6779 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6780 cat >>confdefs.h <<_ACEOF
6781 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6782 _ACEOF
6786 done
6789 for ac_header in resolv.h
6790 do :
6791 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6792 #ifdef HAVE_SYS_SOCKET_H
6793 # include <sys/socket.h>
6794 #endif
6795 #ifdef HAVE_NETINET_IN_H
6796 # include <netinet/in.h>
6797 #endif
6798 #ifdef HAVE_ARPA_NAMESER_H
6799 # include <arpa/nameser.h>
6800 #endif
6802 if test "x$ac_cv_header_resolv_h" = xyes; then :
6803 cat >>confdefs.h <<_ACEOF
6804 #define HAVE_RESOLV_H 1
6805 _ACEOF
6809 done
6812 for ac_header in ifaddrs.h
6813 do :
6814 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6816 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6817 cat >>confdefs.h <<_ACEOF
6818 #define HAVE_IFADDRS_H 1
6819 _ACEOF
6823 done
6826 for ac_header in sys/ucontext.h
6827 do :
6828 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6830 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6831 cat >>confdefs.h <<_ACEOF
6832 #define HAVE_SYS_UCONTEXT_H 1
6833 _ACEOF
6837 done
6840 for ac_header in sys/thr.h
6841 do :
6842 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6843 #ifdef HAVE_SYS_UCONTEXT_H
6844 #include <sys/ucontext.h>
6845 #endif
6847 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6848 cat >>confdefs.h <<_ACEOF
6849 #define HAVE_SYS_THR_H 1
6850 _ACEOF
6854 done
6857 for ac_header in pthread_np.h
6858 do :
6859 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6860 #include <pthread.h>
6861 #endif
6863 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6864 cat >>confdefs.h <<_ACEOF
6865 #define HAVE_PTHREAD_NP_H 1
6866 _ACEOF
6870 done
6873 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6874 do :
6875 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6876 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6877 #include <sys/time.h>
6878 #endif
6879 #include <sys/types.h>
6880 #ifdef HAVE_ASM_TYPES_H
6881 #include <asm/types.h>
6882 #endif
6884 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6885 cat >>confdefs.h <<_ACEOF
6886 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6887 _ACEOF
6891 done
6894 for ac_header in libprocstat.h
6895 do :
6896 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6897 #include <sys/param.h>
6898 #endif
6899 #ifdef HAVE_SYS_QUEUE_H
6900 #include <sys/queue.h>
6901 #endif
6902 #ifdef HAVE_SYS_SOCKET_H
6903 #include <sys/socket.h>
6904 #endif
6906 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6907 cat >>confdefs.h <<_ACEOF
6908 #define HAVE_LIBPROCSTAT_H 1
6909 _ACEOF
6913 done
6917 dlldir="\${libdir}/wine"
6919 DLLPREFIX=""
6921 DLLFLAGS="-D_REENTRANT"
6923 LDRPATH_INSTALL=""
6925 LDRPATH_LOCAL=""
6927 LIBEXT="so"
6928 DLLEXT=".so"
6929 IMPLIBEXT="def"
6930 STATIC_IMPLIBEXT="def.a"
6931 # Extract the first word of "ldd", so it can be a program name with args.
6932 set dummy ldd; ac_word=$2
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6934 $as_echo_n "checking for $ac_word... " >&6; }
6935 if ${ac_cv_path_LDD+:} false; then :
6936 $as_echo_n "(cached) " >&6
6937 else
6938 case $LDD in
6939 [\\/]* | ?:[\\/]*)
6940 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6944 as_dummy="/sbin:/usr/sbin:$PATH"
6945 for as_dir in $as_dummy
6947 IFS=$as_save_IFS
6948 test -z "$as_dir" && as_dir=.
6949 for ac_exec_ext in '' $ac_executable_extensions; do
6950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6951 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6953 break 2
6955 done
6956 done
6957 IFS=$as_save_IFS
6959 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6961 esac
6963 LDD=$ac_cv_path_LDD
6964 if test -n "$LDD"; then
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6966 $as_echo "$LDD" >&6; }
6967 else
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6969 $as_echo "no" >&6; }
6973 if test -n "$ac_tool_prefix"; then
6974 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6975 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6977 $as_echo_n "checking for $ac_word... " >&6; }
6978 if ${ac_cv_prog_READELF+:} false; then :
6979 $as_echo_n "(cached) " >&6
6980 else
6981 if test -n "$READELF"; then
6982 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6983 else
6984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6985 for as_dir in $PATH
6987 IFS=$as_save_IFS
6988 test -z "$as_dir" && as_dir=.
6989 for ac_exec_ext in '' $ac_executable_extensions; do
6990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6991 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6993 break 2
6995 done
6996 done
6997 IFS=$as_save_IFS
7001 READELF=$ac_cv_prog_READELF
7002 if test -n "$READELF"; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7004 $as_echo "$READELF" >&6; }
7005 else
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7007 $as_echo "no" >&6; }
7012 if test -z "$ac_cv_prog_READELF"; then
7013 ac_ct_READELF=$READELF
7014 # Extract the first word of "readelf", so it can be a program name with args.
7015 set dummy readelf; ac_word=$2
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7017 $as_echo_n "checking for $ac_word... " >&6; }
7018 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7019 $as_echo_n "(cached) " >&6
7020 else
7021 if test -n "$ac_ct_READELF"; then
7022 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7023 else
7024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7025 for as_dir in $PATH
7027 IFS=$as_save_IFS
7028 test -z "$as_dir" && as_dir=.
7029 for ac_exec_ext in '' $ac_executable_extensions; do
7030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7031 ac_cv_prog_ac_ct_READELF="readelf"
7032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7033 break 2
7035 done
7036 done
7037 IFS=$as_save_IFS
7041 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7042 if test -n "$ac_ct_READELF"; then
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7044 $as_echo "$ac_ct_READELF" >&6; }
7045 else
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7047 $as_echo "no" >&6; }
7050 if test "x$ac_ct_READELF" = x; then
7051 READELF="true"
7052 else
7053 case $cross_compiling:$ac_tool_warned in
7054 yes:)
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7057 ac_tool_warned=yes ;;
7058 esac
7059 READELF=$ac_ct_READELF
7061 else
7062 READELF="$ac_cv_prog_READELF"
7065 wine_rules_file=conf$$rules.make
7066 rm -f $wine_rules_file
7067 ALL_POT_FILES=""
7068 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7069 ALL_TEST_RESOURCES=""
7072 wine_fn_append_file ()
7074 as_fn_append $1 " \\$as_nl $2"
7077 wine_fn_ignore_file ()
7079 case "$1" in
7080 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7081 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7082 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7083 esac
7086 wine_fn_append_rule ()
7088 $as_echo "$1" >>$wine_rules_file
7091 wine_fn_has_flag ()
7093 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7096 wine_fn_depend_rules ()
7098 wine_fn_append_rule \
7099 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7100 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7101 depend: $ac_dir/depend
7102 .PHONY: $ac_dir/depend
7103 $ac_dir/depend: \$(MAKEDEP) dummy
7104 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7107 wine_fn_pot_rules ()
7109 test "x$with_gettextpo" = xyes || return
7111 if wine_fn_has_flag mc
7112 then
7113 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7114 wine_fn_append_rule \
7115 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7116 @cd $ac_dir && \$(MAKE) msg.pot
7117 $ac_dir/msg.pot: tools/wmc include"
7119 if wine_fn_has_flag po
7120 then
7121 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7122 wine_fn_append_rule \
7123 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7124 @cd $ac_dir && \$(MAKE) rsrc.pot
7125 $ac_dir/rsrc.pot: tools/wrc include"
7129 wine_fn_all_rules ()
7131 wine_fn_depend_rules
7132 wine_fn_append_rule \
7133 "all: $ac_dir
7134 .PHONY: $ac_dir
7135 $ac_dir: $ac_dir/Makefile dummy
7136 @cd $ac_dir && \$(MAKE)"
7139 wine_fn_install_rules ()
7141 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7143 wine_fn_append_rule \
7144 ".PHONY: $ac_dir/install $ac_dir/uninstall
7145 $ac_dir/install:: $ac_dir
7146 @cd $ac_dir && \$(MAKE) install
7147 $ac_dir/uninstall:: $ac_dir/Makefile
7148 @cd $ac_dir && \$(MAKE) uninstall
7149 install:: $ac_dir/install
7150 __uninstall__: $ac_dir/uninstall"
7152 if wine_fn_has_flag install-lib
7153 then
7154 wine_fn_append_rule \
7155 ".PHONY: $ac_dir/install-lib
7156 $ac_dir/install-lib:: $ac_dir
7157 @cd $ac_dir && \$(MAKE) install-lib
7158 install-lib:: $ac_dir/install-lib"
7161 if wine_fn_has_flag install-dev
7162 then
7163 wine_fn_append_rule \
7164 ".PHONY: $ac_dir/install-dev
7165 $ac_dir/install-dev:: $ac_dir
7166 @cd $ac_dir && \$(MAKE) install-dev
7167 install-dev:: $ac_dir/install-dev"
7171 wine_fn_clean_rules ()
7173 ac_clean=$@
7174 ac_extraclean="$ac_dir/Makefile"
7175 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7176 case $ac_dir in
7177 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7178 esac
7180 if wine_fn_has_flag clean
7181 then
7182 wine_fn_append_rule \
7183 "__clean__: $ac_dir/clean
7184 .PHONY: $ac_dir/clean
7185 $ac_dir/clean: $ac_dir/Makefile
7186 @cd $ac_dir && \$(MAKE) clean
7187 \$(RM) $ac_extraclean"
7188 else
7189 wine_fn_append_rule \
7190 "__clean__: $ac_dir/clean
7191 .PHONY: $ac_dir/clean
7192 $ac_dir/clean: dummy
7193 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7197 wine_fn_disabled_rules ()
7199 ac_clean=$@
7200 ac_extraclean="$ac_dir/Makefile"
7201 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7203 wine_fn_append_rule \
7204 "__clean__: $ac_dir/clean
7205 .PHONY: $ac_dir/clean
7206 $ac_dir/clean: dummy
7207 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7210 wine_fn_config_makefile ()
7212 ac_dir=$1
7213 ac_enable=$2
7214 ac_flags=$3
7216 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7217 wine_fn_disabled_rules; return
7219 wine_fn_all_rules
7220 wine_fn_install_rules
7221 wine_fn_clean_rules
7224 wine_fn_config_lib ()
7226 ac_name=$1
7227 ac_flags=$2
7228 ac_dir=dlls/$ac_name
7229 ac_deps="include"
7231 if test "x$enable_tools" = xno; then :
7233 else
7234 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7236 wine_fn_all_rules
7237 wine_fn_clean_rules
7239 wine_fn_append_rule \
7240 ".PHONY: $ac_dir/install $ac_dir/uninstall
7241 $ac_dir/install:: $ac_dir
7242 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7243 $ac_dir/uninstall::
7244 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7245 install install-dev:: $ac_dir/install
7246 __uninstall__: $ac_dir/uninstall
7247 __builddeps__: $ac_dir
7248 $ac_dir: $ac_deps"
7251 wine_fn_config_dll ()
7253 ac_name=$1
7254 ac_dir=dlls/$ac_name
7255 ac_enable=$2
7256 ac_flags=$3
7257 ac_implib=${4:-$ac_name}
7258 ac_file=$ac_dir/lib$ac_implib
7259 ac_dll=$ac_name
7260 ac_deps="include"
7261 ac_implibflags=""
7263 if test "x$enable_tools" = xno; then :
7265 else
7266 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7268 case $ac_name in
7269 *16) ac_implibflags=" -m16" ;;
7270 *.*) ;;
7271 *) ac_dll=$ac_dll.dll ;;
7272 esac
7274 ac_clean=
7275 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7276 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7277 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7278 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7280 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7281 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7282 then
7283 wine_fn_depend_rules
7284 wine_fn_clean_rules $ac_clean
7285 else
7286 wine_fn_disabled_rules $ac_clean
7287 return
7289 else
7290 wine_fn_all_rules
7291 wine_fn_clean_rules $ac_clean
7292 wine_fn_append_rule \
7293 "$ac_dir: __builddeps__
7294 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7295 @cd $ac_dir && \$(MAKE) \$@
7296 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7297 install install-lib:: $ac_dir/install-lib
7298 __uninstall__: $ac_dir/uninstall"
7299 if test -n "$DLLEXT"
7300 then
7301 wine_fn_append_rule \
7302 "$ac_dir/install-lib:: $ac_dir
7303 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7304 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7305 $ac_dir/uninstall::
7306 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7307 else
7308 wine_fn_append_rule \
7309 "$ac_dir/install-lib:: $ac_dir
7310 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7311 $ac_dir/uninstall::
7312 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7315 wine_fn_pot_rules
7318 if wine_fn_has_flag staticimplib
7319 then
7320 wine_fn_append_rule \
7321 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7322 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7323 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7324 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7325 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7326 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7327 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7328 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7329 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7330 $ac_dir/uninstall::
7331 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7332 install install-dev:: $ac_dir/install-dev
7333 __uninstall__: $ac_dir/uninstall"
7335 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7336 then
7337 wine_fn_append_rule \
7338 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7339 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7340 $ac_dir/uninstall::
7341 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7344 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7345 then
7346 wine_fn_append_rule \
7347 "__builddeps__: $ac_file.cross.a
7348 $ac_file.cross.a: $ac_dir/Makefile dummy
7349 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7352 elif wine_fn_has_flag implib
7353 then
7354 wine_fn_append_rule \
7355 "__builddeps__: $ac_file.$IMPLIBEXT
7356 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7357 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7358 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7359 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7360 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7361 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7362 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7363 $ac_dir/uninstall::
7364 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7365 install install-dev:: $ac_dir/install-dev
7366 __uninstall__: $ac_dir/uninstall"
7367 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7368 then
7369 wine_fn_append_rule \
7370 "__builddeps__: $ac_file.cross.a
7371 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7372 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7375 if test "$ac_name" != "$ac_implib"
7376 then
7377 wine_fn_append_rule \
7378 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7379 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7380 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7381 clean::
7382 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7383 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7384 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7385 then
7386 wine_fn_append_rule \
7387 "__builddeps__: dlls/lib$ac_implib.cross.a
7388 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7389 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7390 clean::
7391 \$(RM) dlls/lib$ac_implib.cross.a"
7392 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7398 wine_fn_config_program ()
7400 ac_name=$1
7401 ac_dir=programs/$ac_name
7402 ac_enable=$2
7403 ac_flags=$3
7404 ac_program=$ac_name
7406 case $ac_name in
7407 *.*) ;;
7408 *) ac_program=$ac_program.exe ;;
7409 esac
7411 ac_clean=
7412 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7413 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7414 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7415 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7417 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7418 wine_fn_disabled_rules $ac_clean; return
7421 wine_fn_all_rules
7422 wine_fn_clean_rules $ac_clean
7423 wine_fn_append_rule "$ac_dir: __builddeps__"
7424 wine_fn_pot_rules
7426 wine_fn_has_flag install || return
7427 wine_fn_append_rule \
7428 ".PHONY: $ac_dir/install $ac_dir/uninstall
7429 install install-lib:: $ac_dir/install
7430 __uninstall__: $ac_dir/uninstall"
7432 if test -n "$DLLEXT"
7433 then
7434 wine_fn_append_rule \
7435 "$ac_dir/install:: $ac_dir
7436 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7437 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7438 $ac_dir/uninstall::
7439 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7441 if test -z "$with_wine64" && wine_fn_has_flag installbin
7442 then
7443 wine_fn_append_rule \
7444 "$ac_dir/install:: __tooldeps__
7445 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7446 $ac_dir/uninstall::
7447 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7449 else
7450 wine_fn_append_rule \
7451 "$ac_dir/install:: $ac_dir
7452 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7453 $ac_dir/uninstall::
7454 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7457 if test -z "$with_wine64" && wine_fn_has_flag manpage
7458 then
7459 wine_fn_append_rule \
7460 "$ac_dir/install:: $ac_dir
7461 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7462 $ac_dir/uninstall::
7463 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7467 wine_fn_config_test ()
7469 ac_dir=$1
7470 ac_name=$2
7471 ac_flags=$3
7473 ac_clean=
7474 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7475 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7477 if test "x$enable_tests" = xno; then :
7478 wine_fn_disabled_rules $ac_clean; return
7481 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7482 wine_fn_all_rules
7483 wine_fn_clean_rules $ac_clean
7485 wine_fn_append_rule \
7486 "$ac_dir: programs/winetest/Makefile __builddeps__
7487 programs/winetest: $ac_dir
7488 check test: $ac_dir/test
7489 .PHONY: $ac_dir/test
7490 $ac_dir/test: dummy
7491 @cd $ac_dir && \$(MAKE) test
7492 testclean::
7493 \$(RM) $ac_dir/*.ok"
7495 if test -n "$CROSSTARGET"
7496 then
7497 wine_fn_append_rule \
7498 "crosstest: $ac_dir/crosstest
7499 .PHONY: $ac_dir/crosstest
7500 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7501 @cd $ac_dir && \$(MAKE) crosstest"
7505 wine_fn_config_tool ()
7507 ac_dir=$1
7508 ac_flags=$2
7509 if test "x$enable_tools" = xno; then :
7510 return
7513 wine_fn_all_rules
7514 wine_fn_install_rules
7515 wine_fn_clean_rules
7517 wine_fn_append_rule "__tooldeps__: $ac_dir"
7518 wine_fn_append_rule "$ac_dir: libs/port"
7519 case $ac_dir in
7520 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7521 esac
7524 wine_fn_config_symlink ()
7526 ac_linkdir=
7527 if test "x$1" = "x-d"
7528 then
7529 ac_linkdir=$2
7530 shift; shift
7532 ac_links=$@
7533 wine_fn_append_rule \
7534 "$ac_links:
7535 @./config.status \$@
7536 distclean::
7537 \$(RM) $ac_links"
7538 for f in $ac_links; do wine_fn_ignore_file $f; done
7539 test -n "$ac_linkdir" || return
7540 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7543 wine_binary="wine"
7544 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7545 loader_programs="$wine_binary wine-installed"
7546 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7548 LOADER_RULES="
7549 all: wine.inf
7551 install install-lib:: wine-installed
7552 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7554 uninstall::
7555 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7559 case $host_os in
7560 cygwin*|mingw32*)
7561 if test -n "$ac_tool_prefix"; then
7562 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7563 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7565 $as_echo_n "checking for $ac_word... " >&6; }
7566 if ${ac_cv_prog_DLLTOOL+:} false; then :
7567 $as_echo_n "(cached) " >&6
7568 else
7569 if test -n "$DLLTOOL"; then
7570 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7571 else
7572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7573 for as_dir in $PATH
7575 IFS=$as_save_IFS
7576 test -z "$as_dir" && as_dir=.
7577 for ac_exec_ext in '' $ac_executable_extensions; do
7578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7579 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7581 break 2
7583 done
7584 done
7585 IFS=$as_save_IFS
7589 DLLTOOL=$ac_cv_prog_DLLTOOL
7590 if test -n "$DLLTOOL"; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7592 $as_echo "$DLLTOOL" >&6; }
7593 else
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595 $as_echo "no" >&6; }
7600 if test -z "$ac_cv_prog_DLLTOOL"; then
7601 ac_ct_DLLTOOL=$DLLTOOL
7602 # Extract the first word of "dlltool", so it can be a program name with args.
7603 set dummy dlltool; ac_word=$2
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7605 $as_echo_n "checking for $ac_word... " >&6; }
7606 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7607 $as_echo_n "(cached) " >&6
7608 else
7609 if test -n "$ac_ct_DLLTOOL"; then
7610 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7611 else
7612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7613 for as_dir in $PATH
7615 IFS=$as_save_IFS
7616 test -z "$as_dir" && as_dir=.
7617 for ac_exec_ext in '' $ac_executable_extensions; do
7618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7619 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7621 break 2
7623 done
7624 done
7625 IFS=$as_save_IFS
7629 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7630 if test -n "$ac_ct_DLLTOOL"; then
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7632 $as_echo "$ac_ct_DLLTOOL" >&6; }
7633 else
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7635 $as_echo "no" >&6; }
7638 if test "x$ac_ct_DLLTOOL" = x; then
7639 DLLTOOL="false"
7640 else
7641 case $cross_compiling:$ac_tool_warned in
7642 yes:)
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7645 ac_tool_warned=yes ;;
7646 esac
7647 DLLTOOL=$ac_ct_DLLTOOL
7649 else
7650 DLLTOOL="$ac_cv_prog_DLLTOOL"
7653 LIBEXT="dll"
7654 DLLEXT=""
7655 IMPLIBEXT="a"
7656 STATIC_IMPLIBEXT="a"
7657 enable_iphlpapi=${enable_iphlpapi:-no}
7658 enable_kernel32=${enable_kernel32:-no}
7659 enable_msvcrt=${enable_msvcrt:-no}
7660 enable_ntdll=${enable_ntdll:-no}
7661 enable_ws2_32=${enable_ws2_32:-no}
7662 enable_loader=${enable_loader:-no}
7663 enable_server=${enable_server:-no}
7664 with_x=${with_x:-no}
7665 with_pthread=${with_pthread:-no}
7667 crtlibs=""
7668 case $host_os in
7669 mingw32*)
7670 crtlibs="-lmsvcrt"
7671 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7673 esac
7675 libwine_targets="libwine.dll libwine.a"
7676 LIBWINE_RULES="
7677 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7679 all: libwine.dll libwine.a
7681 libwine.a: \$(srcdir)/wine.def
7682 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7684 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7685 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7687 install install-lib:: libwine.dll
7688 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7690 install install-dev:: libwine.a
7691 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7693 uninstall::
7694 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7699 darwin*|macosx*)
7700 LIBEXT="dylib"
7701 DLLFLAGS="$DLLFLAGS -fPIC"
7702 LIBWINE_LDFLAGS="-multiply_defined suppress"
7703 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7704 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7705 COREFOUNDATION_LIBS="-framework CoreFoundation"
7707 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7709 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7711 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7713 CORESERVICES_LIBS="-framework CoreServices"
7715 APPKIT_LIBS="-framework AppKit"
7717 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7718 case $host_os in
7719 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7720 esac
7721 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7722 then
7723 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7726 if test "$ac_cv_header_Security_Security_h" = "yes"
7727 then
7728 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7730 ac_save_LIBS="$LIBS"
7731 LIBS="$LIBS $SECURITY_LIBS"
7732 for ac_func in SSLCopyPeerCertificates
7733 do :
7734 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7735 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7736 cat >>confdefs.h <<_ACEOF
7737 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7738 _ACEOF
7741 done
7743 LIBS="$ac_save_LIBS"
7744 with_gnutls=${with_gnutls:-no}
7746 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7747 then
7748 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7749 then
7750 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7752 else
7753 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7756 ac_save_LIBS="$LIBS"
7757 LIBS="$LIBS $COREAUDIO_LIBS"
7758 for ac_func in AUGraphAddNode
7759 do :
7760 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7761 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7762 cat >>confdefs.h <<_ACEOF
7763 #define HAVE_AUGRAPHADDNODE 1
7764 _ACEOF
7767 done
7769 LIBS="$ac_save_LIBS"
7771 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7772 then
7773 OPENAL_LIBS="-framework OpenAL"
7776 cat >>confdefs.h <<_ACEOF
7777 #define HAVE_OPENAL 1
7778 _ACEOF
7780 ac_cv_lib_openal=yes
7782 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7783 then
7784 OPENCL_LIBS="-framework OpenCL"
7786 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7788 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7789 then
7790 ac_save_LIBS="$LIBS"
7791 LIBS="$LIBS $IOKIT_LIBS"
7792 for ac_func in IOHIDManagerCreate
7793 do :
7794 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7795 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7796 cat >>confdefs.h <<_ACEOF
7797 #define HAVE_IOHIDMANAGERCREATE 1
7798 _ACEOF
7801 done
7803 LIBS="$ac_save_LIBS"
7805 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7806 then
7807 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7809 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7810 else
7811 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7813 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7814 then
7815 CARBON_LIBS="-framework Carbon"
7819 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7820 then
7821 ac_save_LIBS="$LIBS"
7822 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7823 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7824 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7825 enable_winemac_drv=${enable_winemac_drv:-yes}
7828 LIBS="$ac_save_LIBS"
7831 if test "x$enable_win16" = "xyes"
7832 then
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7834 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7835 if test "$cross_compiling" = yes; then :
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7837 $as_echo "cross-compiling, assuming yes" >&6; }
7838 else
7839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7840 /* end confdefs.h. */
7841 asm(".text\n"
7842 "bad:\tnop;nop\n"
7843 "good:\tnop;nop\n\t"
7844 ".globl _testfunc\n"
7845 "_testfunc:\tcallw good");
7846 extern void testfunc();
7848 main ()
7850 unsigned short *p = (unsigned short *)testfunc;
7851 return p[0] != 0xe866 || p[1] != 0xfffa
7853 return 0;
7855 _ACEOF
7856 if ac_fn_c_try_run "$LINENO"; then :
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7858 $as_echo "yes" >&6; }
7859 else
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7861 $as_echo "no" >&6; }
7862 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
7864 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7865 conftest.$ac_objext conftest.beam conftest.$ac_ext
7870 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7871 LIBWINE_RULES="
7872 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7874 all: libwine.dylib
7876 libwine.$libwine_version.dylib: \$(OBJS)
7877 \$(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 \$@
7879 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7880 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7882 libwine.dylib: libwine.$libwine_soversion.dylib
7883 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7885 install install-lib:: libwine.$libwine_version.dylib
7886 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7887 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7889 install install-dev::
7890 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7892 uninstall::
7893 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7897 as_fn_append LOADER_RULES "
7898 $wine_binary: main.o wine_info.plist
7899 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7901 wine-installed: main.o wine_info.plist
7902 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7906 linux-android*)
7907 DLLFLAGS="$DLLFLAGS -fPIC"
7908 DLLPREFIX="lib"
7909 LDEXECFLAGS=""
7910 dlldir="\${libdir}"
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7912 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7913 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7914 $as_echo_n "(cached) " >&6
7915 else
7916 ac_wine_try_cflags_saved=$CFLAGS
7917 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7919 /* end confdefs.h. */
7920 int main(int argc, char **argv) { return 0; }
7921 _ACEOF
7922 if ac_fn_c_try_link "$LINENO"; then :
7923 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7924 else
7925 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7927 rm -f core conftest.err conftest.$ac_objext \
7928 conftest$ac_exeext conftest.$ac_ext
7929 CFLAGS=$ac_wine_try_cflags_saved
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7932 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7933 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7934 LDEXECFLAGS="-Wl,--export-dynamic"
7936 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7938 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7939 if eval \${$as_ac_var+:} false; then :
7940 $as_echo_n "(cached) " >&6
7941 else
7942 ac_wine_try_cflags_saved=$CFLAGS
7943 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7945 /* end confdefs.h. */
7946 int main(int argc, char **argv) { return 0; }
7947 _ACEOF
7948 if ac_fn_c_try_link "$LINENO"; then :
7949 eval "$as_ac_var=yes"
7950 else
7951 eval "$as_ac_var=no"
7953 rm -f core conftest.err conftest.$ac_objext \
7954 conftest$ac_exeext conftest.$ac_ext
7955 CFLAGS=$ac_wine_try_cflags_saved
7957 eval ac_res=\$$as_ac_var
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7959 $as_echo "$ac_res" >&6; }
7960 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7961 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7962 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7963 else
7964 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7966 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7967 if eval \${$as_ac_var+:} false; then :
7968 $as_echo_n "(cached) " >&6
7969 else
7970 ac_wine_try_cflags_saved=$CFLAGS
7971 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7973 /* end confdefs.h. */
7974 int main(int argc, char **argv) { return 0; }
7975 _ACEOF
7976 if ac_fn_c_try_link "$LINENO"; then :
7977 eval "$as_ac_var=yes"
7978 else
7979 eval "$as_ac_var=no"
7981 rm -f core conftest.err conftest.$ac_objext \
7982 conftest$ac_exeext conftest.$ac_ext
7983 CFLAGS=$ac_wine_try_cflags_saved
7985 eval ac_res=\$$as_ac_var
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7987 $as_echo "$ac_res" >&6; }
7988 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7989 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7990 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7995 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7996 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7997 $as_echo_n "(cached) " >&6
7998 else
7999 ac_wine_try_cflags_saved=$CFLAGS
8000 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8002 /* end confdefs.h. */
8003 int main(int argc, char **argv) { return 0; }
8004 _ACEOF
8005 if ac_fn_c_try_link "$LINENO"; then :
8006 ac_cv_cflags__Wl___enable_new_dtags=yes
8007 else
8008 ac_cv_cflags__Wl___enable_new_dtags=no
8010 rm -f core conftest.err conftest.$ac_objext \
8011 conftest$ac_exeext conftest.$ac_ext
8012 CFLAGS=$ac_wine_try_cflags_saved
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8015 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8016 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8017 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8020 case $host_cpu in
8021 *i[3456789]86* | x86_64)
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8023 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8024 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8025 $as_echo_n "(cached) " >&6
8026 else
8027 ac_wine_try_cflags_saved=$CFLAGS
8028 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8030 /* end confdefs.h. */
8031 int main(int argc, char **argv) { return 0; }
8032 _ACEOF
8033 if ac_fn_c_try_link "$LINENO"; then :
8034 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8035 else
8036 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8038 rm -f core conftest.err conftest.$ac_objext \
8039 conftest$ac_exeext conftest.$ac_ext
8040 CFLAGS=$ac_wine_try_cflags_saved
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8043 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8044 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8045 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8048 esac
8050 libwine_targets="libwine.so"
8051 LIBWINE_RULES="
8052 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8054 all: libwine.so
8056 libwine.so: \$(OBJS)
8057 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8059 install install-lib:: libwine.so
8060 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8062 uninstall::
8063 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8067 as_fn_append LOADER_RULES "
8068 $wine_binary: main.o
8069 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8071 wine-installed: main.o
8072 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8077 DLLFLAGS="$DLLFLAGS -fPIC"
8078 LDEXECFLAGS=""
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8080 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8081 if ${ac_cv_c_dll_gnuelf+:} false; then :
8082 $as_echo_n "(cached) " >&6
8083 else
8084 ac_wine_try_cflags_saved=$CFLAGS
8085 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8087 /* end confdefs.h. */
8088 void myfunc() {}
8089 _ACEOF
8090 if ac_fn_c_try_link "$LINENO"; then :
8091 ac_cv_c_dll_gnuelf="yes"
8092 else
8093 ac_cv_c_dll_gnuelf="no"
8095 rm -f core conftest.err conftest.$ac_objext \
8096 conftest$ac_exeext conftest.$ac_ext
8097 CFLAGS=$ac_wine_try_cflags_saved
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8100 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8101 if test "$ac_cv_c_dll_gnuelf" = "yes"
8102 then
8103 LDSHARED="\$(CC) -shared"
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8105 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8106 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8107 $as_echo_n "(cached) " >&6
8108 else
8109 ac_wine_try_cflags_saved=$CFLAGS
8110 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8112 /* end confdefs.h. */
8113 int main(int argc, char **argv) { return 0; }
8114 _ACEOF
8115 if ac_fn_c_try_link "$LINENO"; then :
8116 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8117 else
8118 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8120 rm -f core conftest.err conftest.$ac_objext \
8121 conftest$ac_exeext conftest.$ac_ext
8122 CFLAGS=$ac_wine_try_cflags_saved
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8125 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8126 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8127 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8128 else
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8130 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8131 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8132 $as_echo_n "(cached) " >&6
8133 else
8134 ac_wine_try_cflags_saved=$CFLAGS
8135 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8137 /* end confdefs.h. */
8138 int main(int argc, char **argv) { return 0; }
8139 _ACEOF
8140 if ac_fn_c_try_link "$LINENO"; then :
8141 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8142 else
8143 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8145 rm -f core conftest.err conftest.$ac_objext \
8146 conftest$ac_exeext conftest.$ac_ext
8147 CFLAGS=$ac_wine_try_cflags_saved
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8150 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8151 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8152 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8156 echo '{ global: *; };' >conftest.map
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8158 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8159 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8160 $as_echo_n "(cached) " >&6
8161 else
8162 ac_wine_try_cflags_saved=$CFLAGS
8163 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8165 /* end confdefs.h. */
8166 int main(int argc, char **argv) { return 0; }
8167 _ACEOF
8168 if ac_fn_c_try_link "$LINENO"; then :
8169 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8170 else
8171 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8173 rm -f core conftest.err conftest.$ac_objext \
8174 conftest$ac_exeext conftest.$ac_ext
8175 CFLAGS=$ac_wine_try_cflags_saved
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8178 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8179 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8180 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8182 rm -f conftest.map
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8185 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8186 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8187 $as_echo_n "(cached) " >&6
8188 else
8189 ac_wine_try_cflags_saved=$CFLAGS
8190 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8192 /* end confdefs.h. */
8193 int main(int argc, char **argv) { return 0; }
8194 _ACEOF
8195 if ac_fn_c_try_link "$LINENO"; then :
8196 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8197 else
8198 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8200 rm -f core conftest.err conftest.$ac_objext \
8201 conftest$ac_exeext conftest.$ac_ext
8202 CFLAGS=$ac_wine_try_cflags_saved
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8205 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8206 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8207 LDEXECFLAGS="-Wl,--export-dynamic"
8210 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8212 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8213 if eval \${$as_ac_var+:} false; then :
8214 $as_echo_n "(cached) " >&6
8215 else
8216 ac_wine_try_cflags_saved=$CFLAGS
8217 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8219 /* end confdefs.h. */
8220 int main(int argc, char **argv) { return 0; }
8221 _ACEOF
8222 if ac_fn_c_try_link "$LINENO"; then :
8223 eval "$as_ac_var=yes"
8224 else
8225 eval "$as_ac_var=no"
8227 rm -f core conftest.err conftest.$ac_objext \
8228 conftest$ac_exeext conftest.$ac_ext
8229 CFLAGS=$ac_wine_try_cflags_saved
8231 eval ac_res=\$$as_ac_var
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8233 $as_echo "$ac_res" >&6; }
8234 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8235 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8236 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8237 else
8238 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8240 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8241 if eval \${$as_ac_var+:} false; then :
8242 $as_echo_n "(cached) " >&6
8243 else
8244 ac_wine_try_cflags_saved=$CFLAGS
8245 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8247 /* end confdefs.h. */
8248 int main(int argc, char **argv) { return 0; }
8249 _ACEOF
8250 if ac_fn_c_try_link "$LINENO"; then :
8251 eval "$as_ac_var=yes"
8252 else
8253 eval "$as_ac_var=no"
8255 rm -f core conftest.err conftest.$ac_objext \
8256 conftest$ac_exeext conftest.$ac_ext
8257 CFLAGS=$ac_wine_try_cflags_saved
8259 eval ac_res=\$$as_ac_var
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8261 $as_echo "$ac_res" >&6; }
8262 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8263 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8264 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8269 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8270 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 ac_wine_try_cflags_saved=$CFLAGS
8274 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8276 /* end confdefs.h. */
8277 int main(int argc, char **argv) { return 0; }
8278 _ACEOF
8279 if ac_fn_c_try_link "$LINENO"; then :
8280 ac_cv_cflags__Wl___enable_new_dtags=yes
8281 else
8282 ac_cv_cflags__Wl___enable_new_dtags=no
8284 rm -f core conftest.err conftest.$ac_objext \
8285 conftest$ac_exeext conftest.$ac_ext
8286 CFLAGS=$ac_wine_try_cflags_saved
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8289 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8290 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8291 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8294 case $host_cpu in
8295 *i[3456789]86* | x86_64)
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8297 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8298 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8299 $as_echo_n "(cached) " >&6
8300 else
8301 ac_wine_try_cflags_saved=$CFLAGS
8302 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h. */
8305 int main(int argc, char **argv) { return 0; }
8306 _ACEOF
8307 if ac_fn_c_try_link "$LINENO"; then :
8308 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8309 else
8310 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8312 rm -f core conftest.err conftest.$ac_objext \
8313 conftest$ac_exeext conftest.$ac_ext
8314 CFLAGS=$ac_wine_try_cflags_saved
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8317 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8318 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8319 case $host_os in
8320 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8321 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8322 esac
8325 # Extract the first word of "prelink", so it can be a program name with args.
8326 set dummy prelink; ac_word=$2
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8328 $as_echo_n "checking for $ac_word... " >&6; }
8329 if ${ac_cv_path_PRELINK+:} false; then :
8330 $as_echo_n "(cached) " >&6
8331 else
8332 case $PRELINK in
8333 [\\/]* | ?:[\\/]*)
8334 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8338 for as_dir in /sbin /usr/sbin $PATH
8340 IFS=$as_save_IFS
8341 test -z "$as_dir" && as_dir=.
8342 for ac_exec_ext in '' $ac_executable_extensions; do
8343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8344 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8346 break 2
8348 done
8349 done
8350 IFS=$as_save_IFS
8352 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8354 esac
8356 PRELINK=$ac_cv_path_PRELINK
8357 if test -n "$PRELINK"; then
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8359 $as_echo "$PRELINK" >&6; }
8360 else
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8362 $as_echo "no" >&6; }
8366 if test "x$PRELINK" = xfalse
8367 then
8368 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8371 esac
8373 else
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8375 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8376 if ${ac_cv_c_dll_unixware+:} false; then :
8377 $as_echo_n "(cached) " >&6
8378 else
8379 ac_wine_try_cflags_saved=$CFLAGS
8380 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8382 /* end confdefs.h. */
8383 void myfunc() {}
8384 _ACEOF
8385 if ac_fn_c_try_link "$LINENO"; then :
8386 ac_cv_c_dll_unixware="yes"
8387 else
8388 ac_cv_c_dll_unixware="no"
8390 rm -f core conftest.err conftest.$ac_objext \
8391 conftest$ac_exeext conftest.$ac_ext
8392 CFLAGS=$ac_wine_try_cflags_saved
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8395 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8396 if test "$ac_cv_c_dll_unixware" = "yes"
8397 then
8398 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8401 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8402 LIBWINE_RULES="
8403 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8405 all: libwine.so
8407 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8408 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8410 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8411 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8413 libwine.so: libwine.so.$libwine_soversion
8414 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8416 install install-lib:: libwine.so.$libwine_version
8417 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8418 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8420 install install-dev::
8421 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8423 uninstall::
8424 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8428 as_fn_append LOADER_RULES "
8429 $wine_binary: main.o
8430 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8432 wine-installed: main.o
8433 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8436 esac
8438 as_fn_append LIBWINE_RULES "
8439 EXTRA_TARGETS = $libwine_targets
8442 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8443 enable_winemac_drv=${enable_winemac_drv:-no}
8445 CROSSTARGET=""
8447 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8448 then
8449 case "$host_cpu" in
8450 i[3456789]86*)
8451 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
8452 mingw32-gcc" ;;
8453 x86_64)
8454 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 " ;;
8456 ac_prefix_list="" ;;
8457 esac
8458 for ac_prog in $ac_prefix_list
8460 # Extract the first word of "$ac_prog", so it can be a program name with args.
8461 set dummy $ac_prog; ac_word=$2
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8463 $as_echo_n "checking for $ac_word... " >&6; }
8464 if ${ac_cv_prog_CROSSCC+:} false; then :
8465 $as_echo_n "(cached) " >&6
8466 else
8467 if test -n "$CROSSCC"; then
8468 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8469 else
8470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8471 for as_dir in $PATH
8473 IFS=$as_save_IFS
8474 test -z "$as_dir" && as_dir=.
8475 for ac_exec_ext in '' $ac_executable_extensions; do
8476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8477 ac_cv_prog_CROSSCC="$ac_prog"
8478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8479 break 2
8481 done
8482 done
8483 IFS=$as_save_IFS
8487 CROSSCC=$ac_cv_prog_CROSSCC
8488 if test -n "$CROSSCC"; then
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8490 $as_echo "$CROSSCC" >&6; }
8491 else
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8493 $as_echo "no" >&6; }
8497 test -n "$CROSSCC" && break
8498 done
8499 test -n "$CROSSCC" || CROSSCC="false"
8501 if test "$CROSSCC" != "false"
8502 then
8503 ac_save_CC="$CC"
8504 CC="$CROSSCC"
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8506 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8511 main ()
8515 return 0;
8517 _ACEOF
8518 if ac_fn_c_try_compile "$LINENO"; then :
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8520 $as_echo "yes" >&6; }
8521 set x $CROSSCC
8522 shift
8523 while test $# -ge 1
8525 case "$1" in
8526 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8527 esac
8528 shift
8529 done
8530 else
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8532 $as_echo "no" >&6; }
8534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8535 CC="$ac_save_CC"
8540 if test "$ac_cv_header_pthread_h" = "yes"
8541 then
8542 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8543 if test "x$ac_cv_func_pthread_create" = xyes; then :
8545 else
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8547 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8548 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8549 $as_echo_n "(cached) " >&6
8550 else
8551 ac_check_lib_save_LIBS=$LIBS
8552 LIBS="-lpthread $LIBS"
8553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8556 /* Override any GCC internal prototype to avoid an error.
8557 Use char because int might match the return type of a GCC
8558 builtin and then its argument prototype would still apply. */
8559 #ifdef __cplusplus
8560 extern "C"
8561 #endif
8562 char pthread_create ();
8564 main ()
8566 return pthread_create ();
8568 return 0;
8570 _ACEOF
8571 if ac_fn_c_try_link "$LINENO"; then :
8572 ac_cv_lib_pthread_pthread_create=yes
8573 else
8574 ac_cv_lib_pthread_pthread_create=no
8576 rm -f core conftest.err conftest.$ac_objext \
8577 conftest$ac_exeext conftest.$ac_ext
8578 LIBS=$ac_check_lib_save_LIBS
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8581 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8582 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8583 PTHREAD_LIBS="-lpthread"
8590 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8591 case "x$with_pthread" in
8592 xno) ;;
8593 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8594 Wine cannot support threads without libpthread.
8595 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8596 esac
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8601 $as_echo_n "checking for X... " >&6; }
8604 # Check whether --with-x was given.
8605 if test "${with_x+set}" = set; then :
8606 withval=$with_x;
8609 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8610 if test "x$with_x" = xno; then
8611 # The user explicitly disabled X.
8612 have_x=disabled
8613 else
8614 case $x_includes,$x_libraries in #(
8615 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8616 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8617 $as_echo_n "(cached) " >&6
8618 else
8619 # One or both of the vars are not set, and there is no cached value.
8620 ac_x_includes=no ac_x_libraries=no
8621 rm -f -r conftest.dir
8622 if mkdir conftest.dir; then
8623 cd conftest.dir
8624 cat >Imakefile <<'_ACEOF'
8625 incroot:
8626 @echo incroot='${INCROOT}'
8627 usrlibdir:
8628 @echo usrlibdir='${USRLIBDIR}'
8629 libdir:
8630 @echo libdir='${LIBDIR}'
8631 _ACEOF
8632 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8633 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8634 for ac_var in incroot usrlibdir libdir; do
8635 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8636 done
8637 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8638 for ac_extension in a so sl dylib la dll; do
8639 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8640 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8641 ac_im_usrlibdir=$ac_im_libdir; break
8643 done
8644 # Screen out bogus values from the imake configuration. They are
8645 # bogus both because they are the default anyway, and because
8646 # using them would break gcc on systems where it needs fixed includes.
8647 case $ac_im_incroot in
8648 /usr/include) ac_x_includes= ;;
8649 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8650 esac
8651 case $ac_im_usrlibdir in
8652 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8653 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8654 esac
8656 cd ..
8657 rm -f -r conftest.dir
8660 # Standard set of common directories for X headers.
8661 # Check X11 before X11Rn because it is often a symlink to the current release.
8662 ac_x_header_dirs='
8663 /usr/X11/include
8664 /usr/X11R7/include
8665 /usr/X11R6/include
8666 /usr/X11R5/include
8667 /usr/X11R4/include
8669 /usr/include/X11
8670 /usr/include/X11R7
8671 /usr/include/X11R6
8672 /usr/include/X11R5
8673 /usr/include/X11R4
8675 /usr/local/X11/include
8676 /usr/local/X11R7/include
8677 /usr/local/X11R6/include
8678 /usr/local/X11R5/include
8679 /usr/local/X11R4/include
8681 /usr/local/include/X11
8682 /usr/local/include/X11R7
8683 /usr/local/include/X11R6
8684 /usr/local/include/X11R5
8685 /usr/local/include/X11R4
8687 /usr/X386/include
8688 /usr/x386/include
8689 /usr/XFree86/include/X11
8691 /usr/include
8692 /usr/local/include
8693 /usr/unsupported/include
8694 /usr/athena/include
8695 /usr/local/x11r5/include
8696 /usr/lpp/Xamples/include
8698 /usr/openwin/include
8699 /usr/openwin/share/include'
8701 if test "$ac_x_includes" = no; then
8702 # Guess where to find include files, by looking for Xlib.h.
8703 # First, try using that file with no special directory specified.
8704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8705 /* end confdefs.h. */
8706 #include <X11/Xlib.h>
8707 _ACEOF
8708 if ac_fn_c_try_cpp "$LINENO"; then :
8709 # We can compile using X headers with no special include directory.
8710 ac_x_includes=
8711 else
8712 for ac_dir in $ac_x_header_dirs; do
8713 if test -r "$ac_dir/X11/Xlib.h"; then
8714 ac_x_includes=$ac_dir
8715 break
8717 done
8719 rm -f conftest.err conftest.i conftest.$ac_ext
8720 fi # $ac_x_includes = no
8722 if test "$ac_x_libraries" = no; then
8723 # Check for the libraries.
8724 # See if we find them without any special options.
8725 # Don't add to $LIBS permanently.
8726 ac_save_LIBS=$LIBS
8727 LIBS="-lX11 $LIBS"
8728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8729 /* end confdefs.h. */
8730 #include <X11/Xlib.h>
8732 main ()
8734 XrmInitialize ()
8736 return 0;
8738 _ACEOF
8739 if ac_fn_c_try_link "$LINENO"; then :
8740 LIBS=$ac_save_LIBS
8741 # We can link X programs with no special library path.
8742 ac_x_libraries=
8743 else
8744 LIBS=$ac_save_LIBS
8745 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8747 # Don't even attempt the hair of trying to link an X program!
8748 for ac_extension in a so sl dylib la dll; do
8749 if test -r "$ac_dir/libX11.$ac_extension"; then
8750 ac_x_libraries=$ac_dir
8751 break 2
8753 done
8754 done
8756 rm -f core conftest.err conftest.$ac_objext \
8757 conftest$ac_exeext conftest.$ac_ext
8758 fi # $ac_x_libraries = no
8760 case $ac_x_includes,$ac_x_libraries in #(
8761 no,* | *,no | *\'*)
8762 # Didn't find X, or a directory has "'" in its name.
8763 ac_cv_have_x="have_x=no";; #(
8765 # Record where we found X for the cache.
8766 ac_cv_have_x="have_x=yes\
8767 ac_x_includes='$ac_x_includes'\
8768 ac_x_libraries='$ac_x_libraries'"
8769 esac
8771 ;; #(
8772 *) have_x=yes;;
8773 esac
8774 eval "$ac_cv_have_x"
8775 fi # $with_x != no
8777 if test "$have_x" != yes; then
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8779 $as_echo "$have_x" >&6; }
8780 no_x=yes
8781 else
8782 # If each of the values was on the command line, it overrides each guess.
8783 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8784 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8785 # Update the cache value to reflect the command line values.
8786 ac_cv_have_x="have_x=yes\
8787 ac_x_includes='$x_includes'\
8788 ac_x_libraries='$x_libraries'"
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8790 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8793 if test "$no_x" = yes; then
8794 # Not all programs may use this symbol, but it does not hurt to define it.
8796 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8798 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8799 else
8800 if test -n "$x_includes"; then
8801 X_CFLAGS="$X_CFLAGS -I$x_includes"
8804 # It would also be nice to do this for all -L options, not just this one.
8805 if test -n "$x_libraries"; then
8806 X_LIBS="$X_LIBS -L$x_libraries"
8807 # For Solaris; some versions of Sun CC require a space after -R and
8808 # others require no space. Words are not sufficient . . . .
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8810 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8811 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8812 ac_xsave_c_werror_flag=$ac_c_werror_flag
8813 ac_c_werror_flag=yes
8814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8815 /* end confdefs.h. */
8818 main ()
8822 return 0;
8824 _ACEOF
8825 if ac_fn_c_try_link "$LINENO"; then :
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8827 $as_echo "no" >&6; }
8828 X_LIBS="$X_LIBS -R$x_libraries"
8829 else
8830 LIBS="$ac_xsave_LIBS -R $x_libraries"
8831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8832 /* end confdefs.h. */
8835 main ()
8839 return 0;
8841 _ACEOF
8842 if ac_fn_c_try_link "$LINENO"; then :
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8844 $as_echo "yes" >&6; }
8845 X_LIBS="$X_LIBS -R $x_libraries"
8846 else
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8848 $as_echo "neither works" >&6; }
8850 rm -f core conftest.err conftest.$ac_objext \
8851 conftest$ac_exeext conftest.$ac_ext
8853 rm -f core conftest.err conftest.$ac_objext \
8854 conftest$ac_exeext conftest.$ac_ext
8855 ac_c_werror_flag=$ac_xsave_c_werror_flag
8856 LIBS=$ac_xsave_LIBS
8859 # Check for system-dependent libraries X programs must link with.
8860 # Do this before checking for the system-independent R6 libraries
8861 # (-lICE), since we may need -lsocket or whatever for X linking.
8863 if test "$ISC" = yes; then
8864 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8865 else
8866 # Martyn Johnson says this is needed for Ultrix, if the X
8867 # libraries were built with DECnet support. And Karl Berry says
8868 # the Alpha needs dnet_stub (dnet does not exist).
8869 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8871 /* end confdefs.h. */
8873 /* Override any GCC internal prototype to avoid an error.
8874 Use char because int might match the return type of a GCC
8875 builtin and then its argument prototype would still apply. */
8876 #ifdef __cplusplus
8877 extern "C"
8878 #endif
8879 char XOpenDisplay ();
8881 main ()
8883 return XOpenDisplay ();
8885 return 0;
8887 _ACEOF
8888 if ac_fn_c_try_link "$LINENO"; then :
8890 else
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8892 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8893 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8894 $as_echo_n "(cached) " >&6
8895 else
8896 ac_check_lib_save_LIBS=$LIBS
8897 LIBS="-ldnet $LIBS"
8898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8899 /* end confdefs.h. */
8901 /* Override any GCC internal prototype to avoid an error.
8902 Use char because int might match the return type of a GCC
8903 builtin and then its argument prototype would still apply. */
8904 #ifdef __cplusplus
8905 extern "C"
8906 #endif
8907 char dnet_ntoa ();
8909 main ()
8911 return dnet_ntoa ();
8913 return 0;
8915 _ACEOF
8916 if ac_fn_c_try_link "$LINENO"; then :
8917 ac_cv_lib_dnet_dnet_ntoa=yes
8918 else
8919 ac_cv_lib_dnet_dnet_ntoa=no
8921 rm -f core conftest.err conftest.$ac_objext \
8922 conftest$ac_exeext conftest.$ac_ext
8923 LIBS=$ac_check_lib_save_LIBS
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8926 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8927 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8928 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8931 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8933 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8934 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8935 $as_echo_n "(cached) " >&6
8936 else
8937 ac_check_lib_save_LIBS=$LIBS
8938 LIBS="-ldnet_stub $LIBS"
8939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8940 /* end confdefs.h. */
8942 /* Override any GCC internal prototype to avoid an error.
8943 Use char because int might match the return type of a GCC
8944 builtin and then its argument prototype would still apply. */
8945 #ifdef __cplusplus
8946 extern "C"
8947 #endif
8948 char dnet_ntoa ();
8950 main ()
8952 return dnet_ntoa ();
8954 return 0;
8956 _ACEOF
8957 if ac_fn_c_try_link "$LINENO"; then :
8958 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8959 else
8960 ac_cv_lib_dnet_stub_dnet_ntoa=no
8962 rm -f core conftest.err conftest.$ac_objext \
8963 conftest$ac_exeext conftest.$ac_ext
8964 LIBS=$ac_check_lib_save_LIBS
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8967 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8968 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8969 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8974 rm -f core conftest.err conftest.$ac_objext \
8975 conftest$ac_exeext conftest.$ac_ext
8976 LIBS="$ac_xsave_LIBS"
8978 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8979 # to get the SysV transport functions.
8980 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8981 # needs -lnsl.
8982 # The nsl library prevents programs from opening the X display
8983 # on Irix 5.2, according to T.E. Dickey.
8984 # The functions gethostbyname, getservbyname, and inet_addr are
8985 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8986 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8987 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8991 if test $ac_cv_func_gethostbyname = no; then
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8993 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8994 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8995 $as_echo_n "(cached) " >&6
8996 else
8997 ac_check_lib_save_LIBS=$LIBS
8998 LIBS="-lnsl $LIBS"
8999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9000 /* end confdefs.h. */
9002 /* Override any GCC internal prototype to avoid an error.
9003 Use char because int might match the return type of a GCC
9004 builtin and then its argument prototype would still apply. */
9005 #ifdef __cplusplus
9006 extern "C"
9007 #endif
9008 char gethostbyname ();
9010 main ()
9012 return gethostbyname ();
9014 return 0;
9016 _ACEOF
9017 if ac_fn_c_try_link "$LINENO"; then :
9018 ac_cv_lib_nsl_gethostbyname=yes
9019 else
9020 ac_cv_lib_nsl_gethostbyname=no
9022 rm -f core conftest.err conftest.$ac_objext \
9023 conftest$ac_exeext conftest.$ac_ext
9024 LIBS=$ac_check_lib_save_LIBS
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9027 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9028 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9029 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9032 if test $ac_cv_lib_nsl_gethostbyname = no; then
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9034 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9035 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9036 $as_echo_n "(cached) " >&6
9037 else
9038 ac_check_lib_save_LIBS=$LIBS
9039 LIBS="-lbsd $LIBS"
9040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9041 /* end confdefs.h. */
9043 /* Override any GCC internal prototype to avoid an error.
9044 Use char because int might match the return type of a GCC
9045 builtin and then its argument prototype would still apply. */
9046 #ifdef __cplusplus
9047 extern "C"
9048 #endif
9049 char gethostbyname ();
9051 main ()
9053 return gethostbyname ();
9055 return 0;
9057 _ACEOF
9058 if ac_fn_c_try_link "$LINENO"; then :
9059 ac_cv_lib_bsd_gethostbyname=yes
9060 else
9061 ac_cv_lib_bsd_gethostbyname=no
9063 rm -f core conftest.err conftest.$ac_objext \
9064 conftest$ac_exeext conftest.$ac_ext
9065 LIBS=$ac_check_lib_save_LIBS
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9068 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9069 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9070 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9076 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9077 # socket/setsockopt and other routines are undefined under SCO ODT
9078 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9079 # on later versions), says Simon Leinen: it contains gethostby*
9080 # variants that don't use the name server (or something). -lsocket
9081 # must be given before -lnsl if both are needed. We assume that
9082 # if connect needs -lnsl, so does gethostbyname.
9083 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9084 if test "x$ac_cv_func_connect" = xyes; then :
9088 if test $ac_cv_func_connect = no; then
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9090 $as_echo_n "checking for connect in -lsocket... " >&6; }
9091 if ${ac_cv_lib_socket_connect+:} false; then :
9092 $as_echo_n "(cached) " >&6
9093 else
9094 ac_check_lib_save_LIBS=$LIBS
9095 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9097 /* end confdefs.h. */
9099 /* Override any GCC internal prototype to avoid an error.
9100 Use char because int might match the return type of a GCC
9101 builtin and then its argument prototype would still apply. */
9102 #ifdef __cplusplus
9103 extern "C"
9104 #endif
9105 char connect ();
9107 main ()
9109 return connect ();
9111 return 0;
9113 _ACEOF
9114 if ac_fn_c_try_link "$LINENO"; then :
9115 ac_cv_lib_socket_connect=yes
9116 else
9117 ac_cv_lib_socket_connect=no
9119 rm -f core conftest.err conftest.$ac_objext \
9120 conftest$ac_exeext conftest.$ac_ext
9121 LIBS=$ac_check_lib_save_LIBS
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9124 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9125 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9126 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9131 # Guillermo Gomez says -lposix is necessary on A/UX.
9132 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9133 if test "x$ac_cv_func_remove" = xyes; then :
9137 if test $ac_cv_func_remove = no; then
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9139 $as_echo_n "checking for remove in -lposix... " >&6; }
9140 if ${ac_cv_lib_posix_remove+:} false; then :
9141 $as_echo_n "(cached) " >&6
9142 else
9143 ac_check_lib_save_LIBS=$LIBS
9144 LIBS="-lposix $LIBS"
9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9148 /* Override any GCC internal prototype to avoid an error.
9149 Use char because int might match the return type of a GCC
9150 builtin and then its argument prototype would still apply. */
9151 #ifdef __cplusplus
9152 extern "C"
9153 #endif
9154 char remove ();
9156 main ()
9158 return remove ();
9160 return 0;
9162 _ACEOF
9163 if ac_fn_c_try_link "$LINENO"; then :
9164 ac_cv_lib_posix_remove=yes
9165 else
9166 ac_cv_lib_posix_remove=no
9168 rm -f core conftest.err conftest.$ac_objext \
9169 conftest$ac_exeext conftest.$ac_ext
9170 LIBS=$ac_check_lib_save_LIBS
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9173 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9174 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9175 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9180 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9181 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9182 if test "x$ac_cv_func_shmat" = xyes; then :
9186 if test $ac_cv_func_shmat = no; then
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9188 $as_echo_n "checking for shmat in -lipc... " >&6; }
9189 if ${ac_cv_lib_ipc_shmat+:} false; then :
9190 $as_echo_n "(cached) " >&6
9191 else
9192 ac_check_lib_save_LIBS=$LIBS
9193 LIBS="-lipc $LIBS"
9194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9195 /* end confdefs.h. */
9197 /* Override any GCC internal prototype to avoid an error.
9198 Use char because int might match the return type of a GCC
9199 builtin and then its argument prototype would still apply. */
9200 #ifdef __cplusplus
9201 extern "C"
9202 #endif
9203 char shmat ();
9205 main ()
9207 return shmat ();
9209 return 0;
9211 _ACEOF
9212 if ac_fn_c_try_link "$LINENO"; then :
9213 ac_cv_lib_ipc_shmat=yes
9214 else
9215 ac_cv_lib_ipc_shmat=no
9217 rm -f core conftest.err conftest.$ac_objext \
9218 conftest$ac_exeext conftest.$ac_ext
9219 LIBS=$ac_check_lib_save_LIBS
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9222 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9223 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9224 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9230 # Check for libraries that X11R6 Xt/Xaw programs need.
9231 ac_save_LDFLAGS=$LDFLAGS
9232 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9233 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9234 # check for ICE first), but we must link in the order -lSM -lICE or
9235 # we get undefined symbols. So assume we have SM if we have ICE.
9236 # These have to be linked with before -lX11, unlike the other
9237 # libraries we check for below, so use a different variable.
9238 # John Interrante, Karl Berry
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9240 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9241 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9242 $as_echo_n "(cached) " >&6
9243 else
9244 ac_check_lib_save_LIBS=$LIBS
9245 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9247 /* end confdefs.h. */
9249 /* Override any GCC internal prototype to avoid an error.
9250 Use char because int might match the return type of a GCC
9251 builtin and then its argument prototype would still apply. */
9252 #ifdef __cplusplus
9253 extern "C"
9254 #endif
9255 char IceConnectionNumber ();
9257 main ()
9259 return IceConnectionNumber ();
9261 return 0;
9263 _ACEOF
9264 if ac_fn_c_try_link "$LINENO"; then :
9265 ac_cv_lib_ICE_IceConnectionNumber=yes
9266 else
9267 ac_cv_lib_ICE_IceConnectionNumber=no
9269 rm -f core conftest.err conftest.$ac_objext \
9270 conftest$ac_exeext conftest.$ac_ext
9271 LIBS=$ac_check_lib_save_LIBS
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9274 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9275 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9276 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9279 LDFLAGS=$ac_save_LDFLAGS
9284 if test "$have_x" = "yes"
9285 then
9286 ac_save_CPPFLAGS="$CPPFLAGS"
9287 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9290 $as_echo_n "checking for -lX11... " >&6; }
9291 if ${ac_cv_lib_soname_X11+:} false; then :
9292 $as_echo_n "(cached) " >&6
9293 else
9294 ac_check_soname_save_LIBS=$LIBS
9295 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9297 /* end confdefs.h. */
9299 /* Override any GCC internal prototype to avoid an error.
9300 Use char because int might match the return type of a GCC
9301 builtin and then its argument prototype would still apply. */
9302 #ifdef __cplusplus
9303 extern "C"
9304 #endif
9305 char XCreateWindow ();
9307 main ()
9309 return XCreateWindow ();
9311 return 0;
9313 _ACEOF
9314 if ac_fn_c_try_link "$LINENO"; then :
9315 case "$LIBEXT" in
9316 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9317 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'` ;;
9318 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9319 if ${ac_cv_lib_soname_X11:+false} :; then :
9320 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9321 fi ;;
9322 esac
9324 rm -f core conftest.err conftest.$ac_objext \
9325 conftest$ac_exeext conftest.$ac_ext
9326 LIBS=$ac_check_soname_save_LIBS
9328 if ${ac_cv_lib_soname_X11:+false} :; then :
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9330 $as_echo "not found" >&6; }
9332 else
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9334 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9336 cat >>confdefs.h <<_ACEOF
9337 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9338 _ACEOF
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9343 $as_echo_n "checking for -lXext... " >&6; }
9344 if ${ac_cv_lib_soname_Xext+:} false; then :
9345 $as_echo_n "(cached) " >&6
9346 else
9347 ac_check_soname_save_LIBS=$LIBS
9348 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9350 /* end confdefs.h. */
9352 /* Override any GCC internal prototype to avoid an error.
9353 Use char because int might match the return type of a GCC
9354 builtin and then its argument prototype would still apply. */
9355 #ifdef __cplusplus
9356 extern "C"
9357 #endif
9358 char XextCreateExtension ();
9360 main ()
9362 return XextCreateExtension ();
9364 return 0;
9366 _ACEOF
9367 if ac_fn_c_try_link "$LINENO"; then :
9368 case "$LIBEXT" in
9369 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9370 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'` ;;
9371 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9372 if ${ac_cv_lib_soname_Xext:+false} :; then :
9373 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9374 fi ;;
9375 esac
9377 rm -f core conftest.err conftest.$ac_objext \
9378 conftest$ac_exeext conftest.$ac_ext
9379 LIBS=$ac_check_soname_save_LIBS
9381 if ${ac_cv_lib_soname_Xext:+false} :; then :
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9383 $as_echo "not found" >&6; }
9385 else
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9387 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9389 cat >>confdefs.h <<_ACEOF
9390 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9391 _ACEOF
9393 X_LIBS="$X_LIBS -lXext"
9395 X_LIBS="$X_LIBS -lX11"
9397 for ac_header in X11/Xlib.h \
9398 X11/XKBlib.h \
9399 X11/Xutil.h \
9400 X11/Xcursor/Xcursor.h \
9401 X11/extensions/shape.h \
9402 X11/extensions/XInput.h \
9403 X11/extensions/XInput2.h \
9404 X11/extensions/XShm.h \
9405 X11/extensions/Xcomposite.h \
9406 X11/extensions/Xinerama.h \
9407 X11/extensions/Xrandr.h \
9408 X11/extensions/Xrender.h \
9409 X11/extensions/xf86vmode.h \
9410 X11/extensions/xf86vmproto.h
9411 do :
9412 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9413 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9414 # include <X11/Xlib.h>
9415 #endif
9416 #ifdef HAVE_X11_XUTIL_H
9417 # include <X11/Xutil.h>
9418 #endif
9420 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9421 cat >>confdefs.h <<_ACEOF
9422 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9423 _ACEOF
9427 done
9430 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9431 then
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9433 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9434 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9435 $as_echo_n "(cached) " >&6
9436 else
9437 ac_check_lib_save_LIBS=$LIBS
9438 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9442 /* Override any GCC internal prototype to avoid an error.
9443 Use char because int might match the return type of a GCC
9444 builtin and then its argument prototype would still apply. */
9445 #ifdef __cplusplus
9446 extern "C"
9447 #endif
9448 char XkbQueryExtension ();
9450 main ()
9452 return XkbQueryExtension ();
9454 return 0;
9456 _ACEOF
9457 if ac_fn_c_try_link "$LINENO"; then :
9458 ac_cv_lib_X11_XkbQueryExtension=yes
9459 else
9460 ac_cv_lib_X11_XkbQueryExtension=no
9462 rm -f core conftest.err conftest.$ac_objext \
9463 conftest$ac_exeext conftest.$ac_ext
9464 LIBS=$ac_check_lib_save_LIBS
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9467 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9468 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9470 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9476 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9477 then
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9479 $as_echo_n "checking for -lXcursor... " >&6; }
9480 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9481 $as_echo_n "(cached) " >&6
9482 else
9483 ac_check_soname_save_LIBS=$LIBS
9484 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9488 /* Override any GCC internal prototype to avoid an error.
9489 Use char because int might match the return type of a GCC
9490 builtin and then its argument prototype would still apply. */
9491 #ifdef __cplusplus
9492 extern "C"
9493 #endif
9494 char XcursorImageLoadCursor ();
9496 main ()
9498 return XcursorImageLoadCursor ();
9500 return 0;
9502 _ACEOF
9503 if ac_fn_c_try_link "$LINENO"; then :
9504 case "$LIBEXT" in
9505 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9506 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'` ;;
9507 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9508 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9509 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9510 fi ;;
9511 esac
9513 rm -f core conftest.err conftest.$ac_objext \
9514 conftest$ac_exeext conftest.$ac_ext
9515 LIBS=$ac_check_soname_save_LIBS
9517 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9519 $as_echo "not found" >&6; }
9521 else
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9523 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9525 cat >>confdefs.h <<_ACEOF
9526 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9527 _ACEOF
9532 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9533 case "x$with_xcursor" in
9534 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9535 xno) ;;
9536 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9537 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9538 esac
9541 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9542 then
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9544 $as_echo_n "checking for -lXi... " >&6; }
9545 if ${ac_cv_lib_soname_Xi+:} false; then :
9546 $as_echo_n "(cached) " >&6
9547 else
9548 ac_check_soname_save_LIBS=$LIBS
9549 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9551 /* end confdefs.h. */
9553 /* Override any GCC internal prototype to avoid an error.
9554 Use char because int might match the return type of a GCC
9555 builtin and then its argument prototype would still apply. */
9556 #ifdef __cplusplus
9557 extern "C"
9558 #endif
9559 char XOpenDevice ();
9561 main ()
9563 return XOpenDevice ();
9565 return 0;
9567 _ACEOF
9568 if ac_fn_c_try_link "$LINENO"; then :
9569 case "$LIBEXT" in
9570 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9571 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'` ;;
9572 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9573 if ${ac_cv_lib_soname_Xi:+false} :; then :
9574 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9575 fi ;;
9576 esac
9578 rm -f core conftest.err conftest.$ac_objext \
9579 conftest$ac_exeext conftest.$ac_ext
9580 LIBS=$ac_check_soname_save_LIBS
9582 if ${ac_cv_lib_soname_Xi:+false} :; then :
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9584 $as_echo "not found" >&6; }
9586 else
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9588 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9590 cat >>confdefs.h <<_ACEOF
9591 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9592 _ACEOF
9597 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9598 case "x$with_xinput" in
9599 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9600 xno) ;;
9601 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9602 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9603 esac
9606 if test "x$ac_cv_lib_soname_Xi" != x
9607 then
9608 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9609 case "x$with_xinput2" in
9610 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9611 xno) ;;
9612 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9613 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9614 esac
9618 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9619 then
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9621 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9622 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9623 $as_echo_n "(cached) " >&6
9624 else
9625 ac_check_lib_save_LIBS=$LIBS
9626 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9628 /* end confdefs.h. */
9630 /* Override any GCC internal prototype to avoid an error.
9631 Use char because int might match the return type of a GCC
9632 builtin and then its argument prototype would still apply. */
9633 #ifdef __cplusplus
9634 extern "C"
9635 #endif
9636 char XShmQueryExtension ();
9638 main ()
9640 return XShmQueryExtension ();
9642 return 0;
9644 _ACEOF
9645 if ac_fn_c_try_link "$LINENO"; then :
9646 ac_cv_lib_Xext_XShmQueryExtension=yes
9647 else
9648 ac_cv_lib_Xext_XShmQueryExtension=no
9650 rm -f core conftest.err conftest.$ac_objext \
9651 conftest$ac_exeext conftest.$ac_ext
9652 LIBS=$ac_check_lib_save_LIBS
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9655 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9656 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9658 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9663 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9664 case "x$with_xshm" in
9665 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9666 xno) ;;
9667 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9668 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9669 esac
9672 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9673 then
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9675 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9676 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9677 $as_echo_n "(cached) " >&6
9678 else
9679 ac_check_lib_save_LIBS=$LIBS
9680 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9682 /* end confdefs.h. */
9684 /* Override any GCC internal prototype to avoid an error.
9685 Use char because int might match the return type of a GCC
9686 builtin and then its argument prototype would still apply. */
9687 #ifdef __cplusplus
9688 extern "C"
9689 #endif
9690 char XShapeQueryExtension ();
9692 main ()
9694 return XShapeQueryExtension ();
9696 return 0;
9698 _ACEOF
9699 if ac_fn_c_try_link "$LINENO"; then :
9700 ac_cv_lib_Xext_XShapeQueryExtension=yes
9701 else
9702 ac_cv_lib_Xext_XShapeQueryExtension=no
9704 rm -f core conftest.err conftest.$ac_objext \
9705 conftest$ac_exeext conftest.$ac_ext
9706 LIBS=$ac_check_lib_save_LIBS
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9709 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9710 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9712 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9717 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9718 case "x$with_xshape" in
9719 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9720 xno) ;;
9721 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9722 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9723 esac
9726 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9727 then
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9729 $as_echo_n "checking for -lXxf86vm... " >&6; }
9730 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9731 $as_echo_n "(cached) " >&6
9732 else
9733 ac_check_soname_save_LIBS=$LIBS
9734 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9736 /* end confdefs.h. */
9738 /* Override any GCC internal prototype to avoid an error.
9739 Use char because int might match the return type of a GCC
9740 builtin and then its argument prototype would still apply. */
9741 #ifdef __cplusplus
9742 extern "C"
9743 #endif
9744 char XF86VidModeQueryExtension ();
9746 main ()
9748 return XF86VidModeQueryExtension ();
9750 return 0;
9752 _ACEOF
9753 if ac_fn_c_try_link "$LINENO"; then :
9754 case "$LIBEXT" in
9755 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9756 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'` ;;
9757 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9758 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9759 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9760 fi ;;
9761 esac
9763 rm -f core conftest.err conftest.$ac_objext \
9764 conftest$ac_exeext conftest.$ac_ext
9765 LIBS=$ac_check_soname_save_LIBS
9767 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9769 $as_echo "not found" >&6; }
9771 else
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9773 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9775 cat >>confdefs.h <<_ACEOF
9776 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9777 _ACEOF
9782 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9783 case "x$with_xxf86vm" in
9784 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9785 xno) ;;
9786 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9787 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9788 esac
9791 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"
9792 then
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9794 $as_echo_n "checking for -lXrender... " >&6; }
9795 if ${ac_cv_lib_soname_Xrender+:} false; then :
9796 $as_echo_n "(cached) " >&6
9797 else
9798 ac_check_soname_save_LIBS=$LIBS
9799 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9801 /* end confdefs.h. */
9803 /* Override any GCC internal prototype to avoid an error.
9804 Use char because int might match the return type of a GCC
9805 builtin and then its argument prototype would still apply. */
9806 #ifdef __cplusplus
9807 extern "C"
9808 #endif
9809 char XRenderQueryExtension ();
9811 main ()
9813 return XRenderQueryExtension ();
9815 return 0;
9817 _ACEOF
9818 if ac_fn_c_try_link "$LINENO"; then :
9819 case "$LIBEXT" in
9820 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9821 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'` ;;
9822 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9823 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9824 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9825 fi ;;
9826 esac
9828 rm -f core conftest.err conftest.$ac_objext \
9829 conftest$ac_exeext conftest.$ac_ext
9830 LIBS=$ac_check_soname_save_LIBS
9832 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9834 $as_echo "not found" >&6; }
9836 else
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9838 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9840 cat >>confdefs.h <<_ACEOF
9841 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9842 _ACEOF
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9845 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9846 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9847 $as_echo_n "(cached) " >&6
9848 else
9849 ac_check_lib_save_LIBS=$LIBS
9850 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9852 /* end confdefs.h. */
9854 /* Override any GCC internal prototype to avoid an error.
9855 Use char because int might match the return type of a GCC
9856 builtin and then its argument prototype would still apply. */
9857 #ifdef __cplusplus
9858 extern "C"
9859 #endif
9860 char XRenderSetPictureTransform ();
9862 main ()
9864 return XRenderSetPictureTransform ();
9866 return 0;
9868 _ACEOF
9869 if ac_fn_c_try_link "$LINENO"; then :
9870 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9871 else
9872 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9874 rm -f core conftest.err conftest.$ac_objext \
9875 conftest$ac_exeext conftest.$ac_ext
9876 LIBS=$ac_check_lib_save_LIBS
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9879 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9880 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9882 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9887 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9888 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9889 $as_echo_n "(cached) " >&6
9890 else
9891 ac_check_lib_save_LIBS=$LIBS
9892 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9894 /* end confdefs.h. */
9896 /* Override any GCC internal prototype to avoid an error.
9897 Use char because int might match the return type of a GCC
9898 builtin and then its argument prototype would still apply. */
9899 #ifdef __cplusplus
9900 extern "C"
9901 #endif
9902 char XRenderCreateLinearGradient ();
9904 main ()
9906 return XRenderCreateLinearGradient ();
9908 return 0;
9910 _ACEOF
9911 if ac_fn_c_try_link "$LINENO"; then :
9912 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9913 else
9914 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9916 rm -f core conftest.err conftest.$ac_objext \
9917 conftest$ac_exeext conftest.$ac_ext
9918 LIBS=$ac_check_lib_save_LIBS
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9921 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9922 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9924 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9931 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9932 case "x$with_xrender" in
9933 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9934 xno) ;;
9935 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9936 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9937 esac
9940 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9941 then
9942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9943 /* end confdefs.h. */
9944 #include <X11/Xlib.h>
9945 #include <X11/extensions/Xrandr.h>
9947 main ()
9949 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9951 return 0;
9953 _ACEOF
9954 if ac_fn_c_try_compile "$LINENO"; then :
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9956 $as_echo_n "checking for -lXrandr... " >&6; }
9957 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9958 $as_echo_n "(cached) " >&6
9959 else
9960 ac_check_soname_save_LIBS=$LIBS
9961 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9963 /* end confdefs.h. */
9965 /* Override any GCC internal prototype to avoid an error.
9966 Use char because int might match the return type of a GCC
9967 builtin and then its argument prototype would still apply. */
9968 #ifdef __cplusplus
9969 extern "C"
9970 #endif
9971 char XRRQueryExtension ();
9973 main ()
9975 return XRRQueryExtension ();
9977 return 0;
9979 _ACEOF
9980 if ac_fn_c_try_link "$LINENO"; then :
9981 case "$LIBEXT" in
9982 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9983 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'` ;;
9984 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9985 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9986 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9987 fi ;;
9988 esac
9990 rm -f core conftest.err conftest.$ac_objext \
9991 conftest$ac_exeext conftest.$ac_ext
9992 LIBS=$ac_check_soname_save_LIBS
9994 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9996 $as_echo "not found" >&6; }
9998 else
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10000 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10002 cat >>confdefs.h <<_ACEOF
10003 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10004 _ACEOF
10006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10007 /* end confdefs.h. */
10008 #include <X11/Xlib.h>
10009 #include <X11/extensions/Xrandr.h>
10011 main ()
10013 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10015 return 0;
10017 _ACEOF
10018 if ac_fn_c_try_compile "$LINENO"; then :
10020 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10028 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10029 case "x$with_xrandr" in
10030 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10031 xno) ;;
10032 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10033 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10034 esac
10037 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10038 then
10039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10040 /* end confdefs.h. */
10041 #include <X11/Xlib.h>
10042 #include <X11/extensions/Xinerama.h>
10044 main ()
10046 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10048 return 0;
10050 _ACEOF
10051 if ac_fn_c_try_compile "$LINENO"; then :
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10053 $as_echo_n "checking for -lXinerama... " >&6; }
10054 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10055 $as_echo_n "(cached) " >&6
10056 else
10057 ac_check_soname_save_LIBS=$LIBS
10058 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10060 /* end confdefs.h. */
10062 /* Override any GCC internal prototype to avoid an error.
10063 Use char because int might match the return type of a GCC
10064 builtin and then its argument prototype would still apply. */
10065 #ifdef __cplusplus
10066 extern "C"
10067 #endif
10068 char XineramaQueryScreens ();
10070 main ()
10072 return XineramaQueryScreens ();
10074 return 0;
10076 _ACEOF
10077 if ac_fn_c_try_link "$LINENO"; then :
10078 case "$LIBEXT" in
10079 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10080 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'` ;;
10081 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10082 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10083 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10084 fi ;;
10085 esac
10087 rm -f core conftest.err conftest.$ac_objext \
10088 conftest$ac_exeext conftest.$ac_ext
10089 LIBS=$ac_check_soname_save_LIBS
10091 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10093 $as_echo "not found" >&6; }
10095 else
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10097 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10099 cat >>confdefs.h <<_ACEOF
10100 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10101 _ACEOF
10106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10108 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10109 case "x$with_xinerama" in
10110 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10111 xno) ;;
10112 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10113 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10114 esac
10117 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10118 then
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10120 $as_echo_n "checking for -lXcomposite... " >&6; }
10121 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10122 $as_echo_n "(cached) " >&6
10123 else
10124 ac_check_soname_save_LIBS=$LIBS
10125 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10127 /* end confdefs.h. */
10129 /* Override any GCC internal prototype to avoid an error.
10130 Use char because int might match the return type of a GCC
10131 builtin and then its argument prototype would still apply. */
10132 #ifdef __cplusplus
10133 extern "C"
10134 #endif
10135 char XCompositeRedirectWindow ();
10137 main ()
10139 return XCompositeRedirectWindow ();
10141 return 0;
10143 _ACEOF
10144 if ac_fn_c_try_link "$LINENO"; then :
10145 case "$LIBEXT" in
10146 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10147 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'` ;;
10148 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10149 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10150 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10151 fi ;;
10152 esac
10154 rm -f core conftest.err conftest.$ac_objext \
10155 conftest$ac_exeext conftest.$ac_ext
10156 LIBS=$ac_check_soname_save_LIBS
10158 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10160 $as_echo "not found" >&6; }
10162 else
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10164 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10166 cat >>confdefs.h <<_ACEOF
10167 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10168 _ACEOF
10173 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10174 case "x$with_xcomposite" in
10175 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10176 xno) ;;
10177 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10178 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10179 esac
10182 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10183 #include <X11/Xlib.h>
10184 #endif
10186 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10188 cat >>confdefs.h <<_ACEOF
10189 #define HAVE_XICCALLBACK_CALLBACK 1
10190 _ACEOF
10194 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10195 #include <X11/Xlib.h>
10196 #endif
10198 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10200 cat >>confdefs.h <<_ACEOF
10201 #define HAVE_XEVENT_XCOOKIE 1
10202 _ACEOF
10209 opengl_msg=""
10210 if test "x$with_opengl" != "xno"
10211 then
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10213 $as_echo_n "checking for -lGL... " >&6; }
10214 if ${ac_cv_lib_soname_GL+:} false; then :
10215 $as_echo_n "(cached) " >&6
10216 else
10217 ac_check_soname_save_LIBS=$LIBS
10218 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10222 /* Override any GCC internal prototype to avoid an error.
10223 Use char because int might match the return type of a GCC
10224 builtin and then its argument prototype would still apply. */
10225 #ifdef __cplusplus
10226 extern "C"
10227 #endif
10228 char glXCreateContext ();
10230 main ()
10232 return glXCreateContext ();
10234 return 0;
10236 _ACEOF
10237 if ac_fn_c_try_link "$LINENO"; then :
10238 case "$LIBEXT" in
10239 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10240 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'` ;;
10241 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10242 if ${ac_cv_lib_soname_GL:+false} :; then :
10243 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10244 fi ;;
10245 esac
10247 rm -f core conftest.err conftest.$ac_objext \
10248 conftest$ac_exeext conftest.$ac_ext
10249 LIBS=$ac_check_soname_save_LIBS
10251 if ${ac_cv_lib_soname_GL:+false} :; then :
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10253 $as_echo "not found" >&6; }
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10255 $as_echo_n "checking for -lGL... " >&6; }
10256 if ${ac_cv_lib_soname_GL+:} false; then :
10257 $as_echo_n "(cached) " >&6
10258 else
10259 ac_check_soname_save_LIBS=$LIBS
10260 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"
10261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10262 /* end confdefs.h. */
10264 /* Override any GCC internal prototype to avoid an error.
10265 Use char because int might match the return type of a GCC
10266 builtin and then its argument prototype would still apply. */
10267 #ifdef __cplusplus
10268 extern "C"
10269 #endif
10270 char glXCreateContext ();
10272 main ()
10274 return glXCreateContext ();
10276 return 0;
10278 _ACEOF
10279 if ac_fn_c_try_link "$LINENO"; then :
10280 case "$LIBEXT" in
10281 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10282 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'` ;;
10283 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10284 if ${ac_cv_lib_soname_GL:+false} :; then :
10285 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10286 fi ;;
10287 esac
10289 rm -f core conftest.err conftest.$ac_objext \
10290 conftest$ac_exeext conftest.$ac_ext
10291 LIBS=$ac_check_soname_save_LIBS
10293 if ${ac_cv_lib_soname_GL:+false} :; then :
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10295 $as_echo "not found" >&6; }
10296 if test -f /usr/X11R6/lib/libGL.a
10297 then
10298 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10299 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10300 else
10301 opengl_msg="No OpenGL library found on this system."
10303 else
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10305 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10307 cat >>confdefs.h <<_ACEOF
10308 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10309 _ACEOF
10311 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"
10313 else
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10315 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10317 cat >>confdefs.h <<_ACEOF
10318 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10319 _ACEOF
10321 OPENGL_LIBS="-lGL"
10323 if test "x$with_glu" != "xno"
10324 then
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10326 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10327 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10328 $as_echo_n "(cached) " >&6
10329 else
10330 ac_check_lib_save_LIBS=$LIBS
10331 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10333 /* end confdefs.h. */
10335 /* Override any GCC internal prototype to avoid an error.
10336 Use char because int might match the return type of a GCC
10337 builtin and then its argument prototype would still apply. */
10338 #ifdef __cplusplus
10339 extern "C"
10340 #endif
10341 char gluLookAt ();
10343 main ()
10345 return gluLookAt ();
10347 return 0;
10349 _ACEOF
10350 if ac_fn_c_try_link "$LINENO"; then :
10351 ac_cv_lib_GLU_gluLookAt=yes
10352 else
10353 ac_cv_lib_GLU_gluLookAt=no
10355 rm -f core conftest.err conftest.$ac_objext \
10356 conftest$ac_exeext conftest.$ac_ext
10357 LIBS=$ac_check_lib_save_LIBS
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10360 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10361 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10365 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10366 case "x$with_glu" in
10367 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10368 xno) ;;
10369 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10370 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10371 esac
10375 if test "x$with_osmesa" != "xno"
10376 then
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10378 $as_echo_n "checking for -lOSMesa... " >&6; }
10379 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10380 $as_echo_n "(cached) " >&6
10381 else
10382 ac_check_soname_save_LIBS=$LIBS
10383 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10385 /* end confdefs.h. */
10387 /* Override any GCC internal prototype to avoid an error.
10388 Use char because int might match the return type of a GCC
10389 builtin and then its argument prototype would still apply. */
10390 #ifdef __cplusplus
10391 extern "C"
10392 #endif
10393 char glAccum ();
10395 main ()
10397 return glAccum ();
10399 return 0;
10401 _ACEOF
10402 if ac_fn_c_try_link "$LINENO"; then :
10403 case "$LIBEXT" in
10404 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10405 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'` ;;
10406 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10407 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10408 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10409 fi ;;
10410 esac
10412 rm -f core conftest.err conftest.$ac_objext \
10413 conftest$ac_exeext conftest.$ac_ext
10414 LIBS=$ac_check_soname_save_LIBS
10416 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10418 $as_echo "not found" >&6; }
10420 else
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10422 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10424 cat >>confdefs.h <<_ACEOF
10425 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10426 _ACEOF
10430 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10431 case "x$with_osmesa" in
10432 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10433 xno) ;;
10434 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10435 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10436 esac
10440 if test -n "$opengl_msg"; then :
10441 case "x$with_opengl" in
10442 x) as_fn_append wine_warnings "|$opengl_msg
10443 OpenGL and Direct3D won't be supported." ;;
10444 xno) ;;
10445 *) as_fn_error $? "$opengl_msg
10446 OpenGL and Direct3D won't be supported.
10447 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10448 esac
10451 CPPFLAGS="$ac_save_CPPFLAGS"
10452 else
10453 X_CFLAGS=""
10454 X_LIBS=""
10455 enable_winex11_drv=${enable_winex11_drv:-no}
10457 if test "x$X_LIBS" = "x"; then :
10458 case "x$with_x" in
10459 xno) ;;
10460 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10461 without X support, which probably isn't what you want. You will need
10462 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10463 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10464 esac
10467 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10469 if test "$ac_cv_header_CL_cl_h" = "yes"
10470 then
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10472 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10473 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10474 $as_echo_n "(cached) " >&6
10475 else
10476 ac_check_lib_save_LIBS=$LIBS
10477 LIBS="-lOpenCL $LIBS"
10478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10481 /* Override any GCC internal prototype to avoid an error.
10482 Use char because int might match the return type of a GCC
10483 builtin and then its argument prototype would still apply. */
10484 #ifdef __cplusplus
10485 extern "C"
10486 #endif
10487 char clGetPlatformInfo ();
10489 main ()
10491 return clGetPlatformInfo ();
10493 return 0;
10495 _ACEOF
10496 if ac_fn_c_try_link "$LINENO"; then :
10497 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10498 else
10499 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10501 rm -f core conftest.err conftest.$ac_objext \
10502 conftest$ac_exeext conftest.$ac_ext
10503 LIBS=$ac_check_lib_save_LIBS
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10506 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10507 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10508 OPENCL_LIBS="-lOpenCL"
10513 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10514 case "x$with_opencl" in
10515 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10516 xno) ;;
10517 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10518 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10519 esac
10521 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10523 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10524 then
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10526 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10527 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10528 $as_echo_n "(cached) " >&6
10529 else
10530 ac_check_lib_save_LIBS=$LIBS
10531 LIBS="-lpcap $LIBS"
10532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10533 /* end confdefs.h. */
10535 /* Override any GCC internal prototype to avoid an error.
10536 Use char because int might match the return type of a GCC
10537 builtin and then its argument prototype would still apply. */
10538 #ifdef __cplusplus
10539 extern "C"
10540 #endif
10541 char pcap_create ();
10543 main ()
10545 return pcap_create ();
10547 return 0;
10549 _ACEOF
10550 if ac_fn_c_try_link "$LINENO"; then :
10551 ac_cv_lib_pcap_pcap_create=yes
10552 else
10553 ac_cv_lib_pcap_pcap_create=no
10555 rm -f core conftest.err conftest.$ac_objext \
10556 conftest$ac_exeext conftest.$ac_ext
10557 LIBS=$ac_check_lib_save_LIBS
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10560 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10561 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10562 LIBPCAP="-lpcap"
10567 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10568 case "x$with_pcap" in
10569 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10570 xno) ;;
10571 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10572 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10573 esac
10575 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10578 if test "x$with_xml" != "xno"
10579 then
10580 if ${XML2_CFLAGS:+false} :; then :
10581 if ${PKG_CONFIG+:} false; then :
10582 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10585 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10586 if ${XML2_LIBS:+false} :; then :
10587 if ${PKG_CONFIG+:} false; then :
10588 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10591 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10592 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10593 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10594 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10595 ac_save_CPPFLAGS=$CPPFLAGS
10596 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10597 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10598 do :
10599 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10600 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10601 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10602 cat >>confdefs.h <<_ACEOF
10603 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10604 _ACEOF
10608 done
10610 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"
10611 then
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10613 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10614 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10615 $as_echo_n "(cached) " >&6
10616 else
10617 ac_check_lib_save_LIBS=$LIBS
10618 LIBS="-lxml2 $XML2_LIBS $LIBS"
10619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10620 /* end confdefs.h. */
10622 /* Override any GCC internal prototype to avoid an error.
10623 Use char because int might match the return type of a GCC
10624 builtin and then its argument prototype would still apply. */
10625 #ifdef __cplusplus
10626 extern "C"
10627 #endif
10628 char xmlParseMemory ();
10630 main ()
10632 return xmlParseMemory ();
10634 return 0;
10636 _ACEOF
10637 if ac_fn_c_try_link "$LINENO"; then :
10638 ac_cv_lib_xml2_xmlParseMemory=yes
10639 else
10640 ac_cv_lib_xml2_xmlParseMemory=no
10642 rm -f core conftest.err conftest.$ac_objext \
10643 conftest$ac_exeext conftest.$ac_ext
10644 LIBS=$ac_check_lib_save_LIBS
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10647 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10648 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10650 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10652 else
10653 XML2_LIBS=""
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10657 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10658 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10659 $as_echo_n "(cached) " >&6
10660 else
10661 ac_check_lib_save_LIBS=$LIBS
10662 LIBS="-lxml2 $XML2_LIBS $LIBS"
10663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10664 /* end confdefs.h. */
10666 /* Override any GCC internal prototype to avoid an error.
10667 Use char because int might match the return type of a GCC
10668 builtin and then its argument prototype would still apply. */
10669 #ifdef __cplusplus
10670 extern "C"
10671 #endif
10672 char xmlReadMemory ();
10674 main ()
10676 return xmlReadMemory ();
10678 return 0;
10680 _ACEOF
10681 if ac_fn_c_try_link "$LINENO"; then :
10682 ac_cv_lib_xml2_xmlReadMemory=yes
10683 else
10684 ac_cv_lib_xml2_xmlReadMemory=no
10686 rm -f core conftest.err conftest.$ac_objext \
10687 conftest$ac_exeext conftest.$ac_ext
10688 LIBS=$ac_check_lib_save_LIBS
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10691 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10692 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10694 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10699 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10700 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10701 $as_echo_n "(cached) " >&6
10702 else
10703 ac_check_lib_save_LIBS=$LIBS
10704 LIBS="-lxml2 $XML2_LIBS $LIBS"
10705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10708 /* Override any GCC internal prototype to avoid an error.
10709 Use char because int might match the return type of a GCC
10710 builtin and then its argument prototype would still apply. */
10711 #ifdef __cplusplus
10712 extern "C"
10713 #endif
10714 char xmlNewDocPI ();
10716 main ()
10718 return xmlNewDocPI ();
10720 return 0;
10722 _ACEOF
10723 if ac_fn_c_try_link "$LINENO"; then :
10724 ac_cv_lib_xml2_xmlNewDocPI=yes
10725 else
10726 ac_cv_lib_xml2_xmlNewDocPI=no
10728 rm -f core conftest.err conftest.$ac_objext \
10729 conftest$ac_exeext conftest.$ac_ext
10730 LIBS=$ac_check_lib_save_LIBS
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10733 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10734 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10736 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10741 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10742 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10743 $as_echo_n "(cached) " >&6
10744 else
10745 ac_check_lib_save_LIBS=$LIBS
10746 LIBS="-lxml2 $XML2_LIBS $LIBS"
10747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10750 /* Override any GCC internal prototype to avoid an error.
10751 Use char because int might match the return type of a GCC
10752 builtin and then its argument prototype would still apply. */
10753 #ifdef __cplusplus
10754 extern "C"
10755 #endif
10756 char xmlSchemaSetParserStructuredErrors ();
10758 main ()
10760 return xmlSchemaSetParserStructuredErrors ();
10762 return 0;
10764 _ACEOF
10765 if ac_fn_c_try_link "$LINENO"; then :
10766 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10767 else
10768 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10770 rm -f core conftest.err conftest.$ac_objext \
10771 conftest$ac_exeext conftest.$ac_ext
10772 LIBS=$ac_check_lib_save_LIBS
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10775 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10776 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10778 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10783 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10784 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10785 $as_echo_n "(cached) " >&6
10786 else
10787 ac_check_lib_save_LIBS=$LIBS
10788 LIBS="-lxml2 $XML2_LIBS $LIBS"
10789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h. */
10792 /* Override any GCC internal prototype to avoid an error.
10793 Use char because int might match the return type of a GCC
10794 builtin and then its argument prototype would still apply. */
10795 #ifdef __cplusplus
10796 extern "C"
10797 #endif
10798 char xmlSchemaSetValidStructuredErrors ();
10800 main ()
10802 return xmlSchemaSetValidStructuredErrors ();
10804 return 0;
10806 _ACEOF
10807 if ac_fn_c_try_link "$LINENO"; then :
10808 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10809 else
10810 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10812 rm -f core conftest.err conftest.$ac_objext \
10813 conftest$ac_exeext conftest.$ac_ext
10814 LIBS=$ac_check_lib_save_LIBS
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10817 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10818 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10820 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10825 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10826 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10827 $as_echo_n "(cached) " >&6
10828 else
10829 ac_check_lib_save_LIBS=$LIBS
10830 LIBS="-lxml2 $XML2_LIBS $LIBS"
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10834 /* Override any GCC internal prototype to avoid an error.
10835 Use char because int might match the return type of a GCC
10836 builtin and then its argument prototype would still apply. */
10837 #ifdef __cplusplus
10838 extern "C"
10839 #endif
10840 char xmlFirstElementChild ();
10842 main ()
10844 return xmlFirstElementChild ();
10846 return 0;
10848 _ACEOF
10849 if ac_fn_c_try_link "$LINENO"; then :
10850 ac_cv_lib_xml2_xmlFirstElementChild=yes
10851 else
10852 ac_cv_lib_xml2_xmlFirstElementChild=no
10854 rm -f core conftest.err conftest.$ac_objext \
10855 conftest$ac_exeext conftest.$ac_ext
10856 LIBS=$ac_check_lib_save_LIBS
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10859 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10860 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10862 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10866 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10868 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10870 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10874 else
10875 XML2_CFLAGS=""
10876 XML2_LIBS=""
10878 CPPFLAGS=$ac_save_CPPFLAGS
10879 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10880 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10883 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10884 case "x$with_xml" in
10885 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10886 xno) ;;
10887 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10888 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10889 esac
10892 if test "x$with_xslt" != "xno"
10893 then
10894 if ${XSLT_CFLAGS:+false} :; then :
10895 if ${PKG_CONFIG+:} false; then :
10896 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10899 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10900 if ${XSLT_LIBS:+false} :; then :
10901 if ${PKG_CONFIG+:} false; then :
10902 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10905 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10906 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10907 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10908 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10909 ac_save_CPPFLAGS=$CPPFLAGS
10910 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10911 for ac_header in libxslt/pattern.h libxslt/transform.h
10912 do :
10913 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10914 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10915 # include <libxslt/pattern.h>
10916 #endif
10918 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10919 cat >>confdefs.h <<_ACEOF
10920 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10921 _ACEOF
10925 done
10927 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10928 then
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10930 $as_echo_n "checking for -lxslt... " >&6; }
10931 if ${ac_cv_lib_soname_xslt+:} false; then :
10932 $as_echo_n "(cached) " >&6
10933 else
10934 ac_check_soname_save_LIBS=$LIBS
10935 LIBS="-lxslt $XSLT_LIBS $LIBS"
10936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10937 /* end confdefs.h. */
10939 /* Override any GCC internal prototype to avoid an error.
10940 Use char because int might match the return type of a GCC
10941 builtin and then its argument prototype would still apply. */
10942 #ifdef __cplusplus
10943 extern "C"
10944 #endif
10945 char xsltCompilePattern ();
10947 main ()
10949 return xsltCompilePattern ();
10951 return 0;
10953 _ACEOF
10954 if ac_fn_c_try_link "$LINENO"; then :
10955 case "$LIBEXT" in
10956 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10957 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'` ;;
10958 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10959 if ${ac_cv_lib_soname_xslt:+false} :; then :
10960 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10961 fi ;;
10962 esac
10964 rm -f core conftest.err conftest.$ac_objext \
10965 conftest$ac_exeext conftest.$ac_ext
10966 LIBS=$ac_check_soname_save_LIBS
10968 if ${ac_cv_lib_soname_xslt:+false} :; then :
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10970 $as_echo "not found" >&6; }
10972 else
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10974 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10976 cat >>confdefs.h <<_ACEOF
10977 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10978 _ACEOF
10982 else
10983 XSLT_CFLAGS=""
10985 CPPFLAGS=$ac_save_CPPFLAGS
10986 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10987 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10990 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10991 case "x$with_xslt" in
10992 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10993 xno) ;;
10994 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10995 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10996 esac
10999 if test "x$with_dbus" != "xno"
11000 then
11001 if ${DBUS_CFLAGS:+false} :; then :
11002 if ${PKG_CONFIG+:} false; then :
11003 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11007 if ${DBUS_LIBS:+false} :; then :
11008 if ${PKG_CONFIG+:} false; then :
11009 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11014 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11015 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11016 ac_save_CPPFLAGS=$CPPFLAGS
11017 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11018 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11019 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11021 $as_echo_n "checking for -ldbus-1... " >&6; }
11022 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11023 $as_echo_n "(cached) " >&6
11024 else
11025 ac_check_soname_save_LIBS=$LIBS
11026 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11028 /* end confdefs.h. */
11030 /* Override any GCC internal prototype to avoid an error.
11031 Use char because int might match the return type of a GCC
11032 builtin and then its argument prototype would still apply. */
11033 #ifdef __cplusplus
11034 extern "C"
11035 #endif
11036 char dbus_connection_close ();
11038 main ()
11040 return dbus_connection_close ();
11042 return 0;
11044 _ACEOF
11045 if ac_fn_c_try_link "$LINENO"; then :
11046 case "$LIBEXT" in
11047 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11048 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'` ;;
11049 *) 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'`
11050 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11051 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11052 fi ;;
11053 esac
11055 rm -f core conftest.err conftest.$ac_objext \
11056 conftest$ac_exeext conftest.$ac_ext
11057 LIBS=$ac_check_soname_save_LIBS
11059 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11061 $as_echo "not found" >&6; }
11062 DBUS_CFLAGS=""
11063 else
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11065 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11067 cat >>confdefs.h <<_ACEOF
11068 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11069 _ACEOF
11073 else
11074 DBUS_CFLAGS=""
11078 CPPFLAGS=$ac_save_CPPFLAGS
11079 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11080 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11083 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11084 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11085 case "x$with_dbus" in
11086 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11087 xno) ;;
11088 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11089 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11090 esac
11093 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11094 then
11095 if ${HAL_CFLAGS:+false} :; then :
11096 if ${PKG_CONFIG+:} false; then :
11097 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11101 if ${HAL_LIBS:+false} :; then :
11102 if ${PKG_CONFIG+:} false; then :
11103 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11107 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11108 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11109 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11110 ac_save_CPPFLAGS=$CPPFLAGS
11111 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11112 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11113 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11115 $as_echo_n "checking for -lhal... " >&6; }
11116 if ${ac_cv_lib_soname_hal+:} false; then :
11117 $as_echo_n "(cached) " >&6
11118 else
11119 ac_check_soname_save_LIBS=$LIBS
11120 LIBS="-lhal $HAL_LIBS $LIBS"
11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11124 /* Override any GCC internal prototype to avoid an error.
11125 Use char because int might match the return type of a GCC
11126 builtin and then its argument prototype would still apply. */
11127 #ifdef __cplusplus
11128 extern "C"
11129 #endif
11130 char libhal_ctx_new ();
11132 main ()
11134 return libhal_ctx_new ();
11136 return 0;
11138 _ACEOF
11139 if ac_fn_c_try_link "$LINENO"; then :
11140 case "$LIBEXT" in
11141 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11142 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'` ;;
11143 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11144 if ${ac_cv_lib_soname_hal:+false} :; then :
11145 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11146 fi ;;
11147 esac
11149 rm -f core conftest.err conftest.$ac_objext \
11150 conftest$ac_exeext conftest.$ac_ext
11151 LIBS=$ac_check_soname_save_LIBS
11153 if ${ac_cv_lib_soname_hal:+false} :; then :
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11155 $as_echo "not found" >&6; }
11156 HAL_CFLAGS=""
11157 else
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11159 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11161 cat >>confdefs.h <<_ACEOF
11162 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11163 _ACEOF
11167 else
11168 HAL_CFLAGS=""
11172 CPPFLAGS=$ac_save_CPPFLAGS
11173 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11174 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11176 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11177 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11178 case "x$with_hal" in
11179 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11180 xno) ;;
11181 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11182 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11183 esac
11187 if test "x$with_gnutls" != "xno"
11188 then
11189 if ${GNUTLS_CFLAGS:+false} :; then :
11190 if ${PKG_CONFIG+:} false; then :
11191 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11195 if ${GNUTLS_LIBS:+false} :; then :
11196 if ${PKG_CONFIG+:} false; then :
11197 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11202 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11203 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11204 ac_save_CPPFLAGS=$CPPFLAGS
11205 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11206 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11207 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h. */
11210 #include <gnutls/gnutls.h>
11211 #include <gnutls/crypto.h>
11213 main ()
11215 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11217 return 0;
11219 _ACEOF
11220 if ac_fn_c_try_compile "$LINENO"; then :
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11222 $as_echo_n "checking for -lgnutls... " >&6; }
11223 if ${ac_cv_lib_soname_gnutls+:} false; then :
11224 $as_echo_n "(cached) " >&6
11225 else
11226 ac_check_soname_save_LIBS=$LIBS
11227 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11229 /* end confdefs.h. */
11231 /* Override any GCC internal prototype to avoid an error.
11232 Use char because int might match the return type of a GCC
11233 builtin and then its argument prototype would still apply. */
11234 #ifdef __cplusplus
11235 extern "C"
11236 #endif
11237 char gnutls_global_init ();
11239 main ()
11241 return gnutls_global_init ();
11243 return 0;
11245 _ACEOF
11246 if ac_fn_c_try_link "$LINENO"; then :
11247 case "$LIBEXT" in
11248 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11249 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'` ;;
11250 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11251 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11252 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11253 fi ;;
11254 esac
11256 rm -f core conftest.err conftest.$ac_objext \
11257 conftest$ac_exeext conftest.$ac_ext
11258 LIBS=$ac_check_soname_save_LIBS
11260 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11262 $as_echo "not found" >&6; }
11263 GNUTLS_CFLAGS=""
11264 else
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11266 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11268 cat >>confdefs.h <<_ACEOF
11269 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11270 _ACEOF
11275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11276 else
11277 GNUTLS_CFLAGS=""
11281 CPPFLAGS=$ac_save_CPPFLAGS
11282 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11283 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11286 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11287 case "x$with_gnutls" in
11288 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11289 xno) ;;
11290 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11291 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11292 esac
11295 CURSES_LIBS=""
11296 if test "$ac_cv_header_ncurses_h" = "yes"
11297 then
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11299 $as_echo_n "checking for -lncurses... " >&6; }
11300 if ${ac_cv_lib_soname_ncurses+:} false; then :
11301 $as_echo_n "(cached) " >&6
11302 else
11303 ac_check_soname_save_LIBS=$LIBS
11304 LIBS="-lncurses $LIBS"
11305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11306 /* end confdefs.h. */
11308 /* Override any GCC internal prototype to avoid an error.
11309 Use char because int might match the return type of a GCC
11310 builtin and then its argument prototype would still apply. */
11311 #ifdef __cplusplus
11312 extern "C"
11313 #endif
11314 char waddch ();
11316 main ()
11318 return waddch ();
11320 return 0;
11322 _ACEOF
11323 if ac_fn_c_try_link "$LINENO"; then :
11324 case "$LIBEXT" in
11325 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11326 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11327 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11328 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11329 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11330 fi ;;
11331 esac
11333 rm -f core conftest.err conftest.$ac_objext \
11334 conftest$ac_exeext conftest.$ac_ext
11335 LIBS=$ac_check_soname_save_LIBS
11337 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11339 $as_echo "not found" >&6; }
11341 else
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11343 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11345 cat >>confdefs.h <<_ACEOF
11346 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11347 _ACEOF
11349 CURSES_LIBS="-lncurses"
11351 elif test "$ac_cv_header_curses_h" = "yes"
11352 then
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11354 $as_echo_n "checking for -lcurses... " >&6; }
11355 if ${ac_cv_lib_soname_curses+:} false; then :
11356 $as_echo_n "(cached) " >&6
11357 else
11358 ac_check_soname_save_LIBS=$LIBS
11359 LIBS="-lcurses $LIBS"
11360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11361 /* end confdefs.h. */
11363 /* Override any GCC internal prototype to avoid an error.
11364 Use char because int might match the return type of a GCC
11365 builtin and then its argument prototype would still apply. */
11366 #ifdef __cplusplus
11367 extern "C"
11368 #endif
11369 char waddch ();
11371 main ()
11373 return waddch ();
11375 return 0;
11377 _ACEOF
11378 if ac_fn_c_try_link "$LINENO"; then :
11379 case "$LIBEXT" in
11380 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11381 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'` ;;
11382 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11383 if ${ac_cv_lib_soname_curses:+false} :; then :
11384 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11385 fi ;;
11386 esac
11388 rm -f core conftest.err conftest.$ac_objext \
11389 conftest$ac_exeext conftest.$ac_ext
11390 LIBS=$ac_check_soname_save_LIBS
11392 if ${ac_cv_lib_soname_curses:+false} :; then :
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11394 $as_echo "not found" >&6; }
11396 else
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11398 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11400 cat >>confdefs.h <<_ACEOF
11401 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11402 _ACEOF
11404 CURSES_LIBS="-lcurses"
11407 ac_save_LIBS="$LIBS"
11408 LIBS="$LIBS $CURSES_LIBS"
11409 for ac_func in mousemask
11410 do :
11411 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11412 if test "x$ac_cv_func_mousemask" = xyes; then :
11413 cat >>confdefs.h <<_ACEOF
11414 #define HAVE_MOUSEMASK 1
11415 _ACEOF
11418 done
11420 LIBS="$ac_save_LIBS"
11421 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11422 case "x$with_curses" in
11423 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11424 xno) ;;
11425 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11426 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11427 esac
11430 if test "x$with_sane" != "xno"
11431 then
11432 if ${SANE_CFLAGS:+false} :; then :
11433 if ${PKG_CONFIG+:} false; then :
11434 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11437 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11438 if ${SANE_LIBS:+false} :; then :
11439 if ${PKG_CONFIG+:} false; then :
11440 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11443 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11445 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11446 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11447 ac_save_CPPFLAGS=$CPPFLAGS
11448 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11449 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11450 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11452 $as_echo_n "checking for -lsane... " >&6; }
11453 if ${ac_cv_lib_soname_sane+:} false; then :
11454 $as_echo_n "(cached) " >&6
11455 else
11456 ac_check_soname_save_LIBS=$LIBS
11457 LIBS="-lsane $SANE_LIBS $LIBS"
11458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11459 /* end confdefs.h. */
11461 /* Override any GCC internal prototype to avoid an error.
11462 Use char because int might match the return type of a GCC
11463 builtin and then its argument prototype would still apply. */
11464 #ifdef __cplusplus
11465 extern "C"
11466 #endif
11467 char sane_init ();
11469 main ()
11471 return sane_init ();
11473 return 0;
11475 _ACEOF
11476 if ac_fn_c_try_link "$LINENO"; then :
11477 case "$LIBEXT" in
11478 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11479 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'` ;;
11480 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11481 if ${ac_cv_lib_soname_sane:+false} :; then :
11482 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11483 fi ;;
11484 esac
11486 rm -f core conftest.err conftest.$ac_objext \
11487 conftest$ac_exeext conftest.$ac_ext
11488 LIBS=$ac_check_soname_save_LIBS
11490 if ${ac_cv_lib_soname_sane:+false} :; then :
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11492 $as_echo "not found" >&6; }
11493 SANE_CFLAGS=""
11494 else
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11496 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11498 cat >>confdefs.h <<_ACEOF
11499 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11500 _ACEOF
11504 else
11505 SANE_CFLAGS=""
11509 CPPFLAGS=$ac_save_CPPFLAGS
11510 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11511 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11514 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11515 case "x$with_sane" in
11516 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11517 xno) ;;
11518 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11519 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11520 esac
11523 if test "x$with_v4l" != "xno"
11524 then
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11526 $as_echo_n "checking for -lv4l1... " >&6; }
11527 if ${ac_cv_lib_soname_v4l1+:} false; then :
11528 $as_echo_n "(cached) " >&6
11529 else
11530 ac_check_soname_save_LIBS=$LIBS
11531 LIBS="-lv4l1 $LIBS"
11532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11533 /* end confdefs.h. */
11535 /* Override any GCC internal prototype to avoid an error.
11536 Use char because int might match the return type of a GCC
11537 builtin and then its argument prototype would still apply. */
11538 #ifdef __cplusplus
11539 extern "C"
11540 #endif
11541 char v4l1_open ();
11543 main ()
11545 return v4l1_open ();
11547 return 0;
11549 _ACEOF
11550 if ac_fn_c_try_link "$LINENO"; then :
11551 case "$LIBEXT" in
11552 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11553 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'` ;;
11554 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11555 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11556 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11557 fi ;;
11558 esac
11560 rm -f core conftest.err conftest.$ac_objext \
11561 conftest$ac_exeext conftest.$ac_ext
11562 LIBS=$ac_check_soname_save_LIBS
11564 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11566 $as_echo "not found" >&6; }
11568 else
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11570 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11572 cat >>confdefs.h <<_ACEOF
11573 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11574 _ACEOF
11579 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11580 case "x$with_v4l" in
11581 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11582 xno) ;;
11583 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11584 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11585 esac
11588 if test "x$with_gphoto" != "xno"
11589 then
11590 if ${GPHOTO2_CFLAGS:+false} :; then :
11591 if ${PKG_CONFIG+:} false; then :
11592 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11595 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11596 if ${GPHOTO2_LIBS:+false} :; then :
11597 if ${PKG_CONFIG+:} false; then :
11598 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11601 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11602 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11603 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11604 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11605 ac_save_CPPFLAGS=$CPPFLAGS
11606 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11607 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11608 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11610 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11611 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11612 $as_echo_n "(cached) " >&6
11613 else
11614 ac_check_lib_save_LIBS=$LIBS
11615 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h. */
11619 /* Override any GCC internal prototype to avoid an error.
11620 Use char because int might match the return type of a GCC
11621 builtin and then its argument prototype would still apply. */
11622 #ifdef __cplusplus
11623 extern "C"
11624 #endif
11625 char gp_camera_new ();
11627 main ()
11629 return gp_camera_new ();
11631 return 0;
11633 _ACEOF
11634 if ac_fn_c_try_link "$LINENO"; then :
11635 ac_cv_lib_gphoto2_gp_camera_new=yes
11636 else
11637 ac_cv_lib_gphoto2_gp_camera_new=no
11639 rm -f core conftest.err conftest.$ac_objext \
11640 conftest$ac_exeext conftest.$ac_ext
11641 LIBS=$ac_check_lib_save_LIBS
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11644 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11645 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11647 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11649 else
11650 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11653 else
11654 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11658 CPPFLAGS=$ac_save_CPPFLAGS
11659 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11660 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11662 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11663 if ${PKG_CONFIG+:} false; then :
11664 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11667 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11668 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11669 if ${PKG_CONFIG+:} false; then :
11670 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11673 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11674 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11675 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11676 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11677 ac_save_CPPFLAGS=$CPPFLAGS
11678 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11679 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11680 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11682 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11683 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11684 $as_echo_n "(cached) " >&6
11685 else
11686 ac_check_lib_save_LIBS=$LIBS
11687 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11689 /* end confdefs.h. */
11691 /* Override any GCC internal prototype to avoid an error.
11692 Use char because int might match the return type of a GCC
11693 builtin and then its argument prototype would still apply. */
11694 #ifdef __cplusplus
11695 extern "C"
11696 #endif
11697 char gp_port_info_list_new ();
11699 main ()
11701 return gp_port_info_list_new ();
11703 return 0;
11705 _ACEOF
11706 if ac_fn_c_try_link "$LINENO"; then :
11707 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11708 else
11709 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11711 rm -f core conftest.err conftest.$ac_objext \
11712 conftest$ac_exeext conftest.$ac_ext
11713 LIBS=$ac_check_lib_save_LIBS
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11716 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11717 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11719 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11721 else
11722 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11725 else
11726 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11730 CPPFLAGS=$ac_save_CPPFLAGS
11731 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11732 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11735 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11736 case "x$with_gphoto" in
11737 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11738 xno) ;;
11739 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11740 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11741 esac
11743 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11744 case "x$with_gphoto" in
11745 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11746 xno) ;;
11747 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11748 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11749 esac
11753 if test "$ac_cv_header_resolv_h" = "yes"
11754 then
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11756 $as_echo_n "checking for resolver library... " >&6; }
11757 if ${ac_cv_have_resolv+:} false; then :
11758 $as_echo_n "(cached) " >&6
11759 else
11760 ac_save_LIBS="$LIBS"
11761 for lib in '' -lresolv
11763 LIBS="$lib $ac_save_LIBS"
11764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11765 /* end confdefs.h. */
11766 #ifdef HAVE_NETINET_IN_H
11767 #include <netinet/in.h>
11768 #endif
11769 #include <resolv.h>
11771 main ()
11773 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11775 return 0;
11777 _ACEOF
11778 if ac_fn_c_try_link "$LINENO"; then :
11779 ac_cv_have_resolv=${lib:-"none required"}
11780 else
11781 ac_cv_have_resolv="not found"
11783 rm -f core conftest.err conftest.$ac_objext \
11784 conftest$ac_exeext conftest.$ac_ext
11785 test "x$ac_cv_have_resolv" = "xnot found" || break
11786 done
11787 LIBS="$ac_save_LIBS"
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11790 $as_echo "$ac_cv_have_resolv" >&6; }
11792 case "$ac_cv_have_resolv" in
11793 "not found") ;;
11794 "none required")
11796 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11799 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11801 RESOLV_LIBS=$ac_cv_have_resolv
11803 esac
11806 if test "x$with_lcms2" != "xno"
11807 then
11808 if ${LCMS2_CFLAGS:+false} :; then :
11809 if ${PKG_CONFIG+:} false; then :
11810 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11814 if ${LCMS2_LIBS:+false} :; then :
11815 if ${PKG_CONFIG+:} false; then :
11816 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11820 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11821 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11822 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11823 ac_save_CPPFLAGS=$CPPFLAGS
11824 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11825 for ac_header in lcms2.h
11826 do :
11827 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11828 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11829 cat >>confdefs.h <<_ACEOF
11830 #define HAVE_LCMS2_H 1
11831 _ACEOF
11835 done
11837 if test "$ac_cv_header_lcms2_h" = "yes"
11838 then
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11840 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11841 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11842 $as_echo_n "(cached) " >&6
11843 else
11844 ac_check_lib_save_LIBS=$LIBS
11845 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11847 /* end confdefs.h. */
11849 /* Override any GCC internal prototype to avoid an error.
11850 Use char because int might match the return type of a GCC
11851 builtin and then its argument prototype would still apply. */
11852 #ifdef __cplusplus
11853 extern "C"
11854 #endif
11855 char cmsOpenProfileFromFile ();
11857 main ()
11859 return cmsOpenProfileFromFile ();
11861 return 0;
11863 _ACEOF
11864 if ac_fn_c_try_link "$LINENO"; then :
11865 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11866 else
11867 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11869 rm -f core conftest.err conftest.$ac_objext \
11870 conftest$ac_exeext conftest.$ac_ext
11871 LIBS=$ac_check_lib_save_LIBS
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11874 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11875 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11877 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11879 else
11880 LCMS2_LIBS=""
11883 else
11884 LCMS2_CFLAGS=""
11885 LCMS2_LIBS=""
11887 CPPFLAGS=$ac_save_CPPFLAGS
11888 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11889 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11892 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11893 case "x$with_cms" in
11894 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11895 xno) ;;
11896 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11897 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11898 esac
11901 if test "x$with_freetype" != "xno"
11902 then
11903 if ${FREETYPE_CFLAGS:+false} :; then :
11904 if ${PKG_CONFIG+:} false; then :
11905 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11908 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11909 if ${FREETYPE_LIBS:+false} :; then :
11910 if ${PKG_CONFIG+:} false; then :
11911 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11914 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11915 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11916 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11917 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11918 ac_save_CPPFLAGS=$CPPFLAGS
11919 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11920 for ac_header in ft2build.h
11921 do :
11922 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11923 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11924 cat >>confdefs.h <<_ACEOF
11925 #define HAVE_FT2BUILD_H 1
11926 _ACEOF
11930 done
11932 if test "$ac_cv_header_ft2build_h" = "yes"
11933 then
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11935 $as_echo_n "checking for -lfreetype... " >&6; }
11936 if ${ac_cv_lib_soname_freetype+:} false; then :
11937 $as_echo_n "(cached) " >&6
11938 else
11939 ac_check_soname_save_LIBS=$LIBS
11940 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11944 /* Override any GCC internal prototype to avoid an error.
11945 Use char because int might match the return type of a GCC
11946 builtin and then its argument prototype would still apply. */
11947 #ifdef __cplusplus
11948 extern "C"
11949 #endif
11950 char FT_Init_FreeType ();
11952 main ()
11954 return FT_Init_FreeType ();
11956 return 0;
11958 _ACEOF
11959 if ac_fn_c_try_link "$LINENO"; then :
11960 case "$LIBEXT" in
11961 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11962 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'` ;;
11963 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11964 if ${ac_cv_lib_soname_freetype:+false} :; then :
11965 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11966 fi ;;
11967 esac
11969 rm -f core conftest.err conftest.$ac_objext \
11970 conftest$ac_exeext conftest.$ac_ext
11971 LIBS=$ac_check_soname_save_LIBS
11973 if ${ac_cv_lib_soname_freetype:+false} :; then :
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11975 $as_echo "not found" >&6; }
11976 FREETYPE_LIBS=""
11977 else
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11979 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11981 cat >>confdefs.h <<_ACEOF
11982 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11983 _ACEOF
11986 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11988 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11989 #include FT_MODULE_H
11991 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11993 cat >>confdefs.h <<_ACEOF
11994 #define HAVE_FT_TRUETYPEENGINETYPE 1
11995 _ACEOF
12001 else
12002 FREETYPE_CFLAGS=""
12003 FREETYPE_LIBS=""
12005 CPPFLAGS=$ac_save_CPPFLAGS
12006 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12007 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12010 if test "x$ac_cv_lib_soname_freetype" = x; then :
12011 case "x$with_freetype" in
12012 xno) ;;
12013 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12014 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12015 esac
12017 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12020 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12021 if ${ac_cv_c_ppdev+:} false; then :
12022 $as_echo_n "(cached) " >&6
12023 else
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12026 #ifdef HAVE_SYS_IOCTL_H
12027 # include <sys/ioctl.h>
12028 #endif
12029 #include <linux/ppdev.h>
12031 main ()
12033 ioctl (1,PPCLAIM,0)
12035 return 0;
12037 _ACEOF
12038 if ac_fn_c_try_compile "$LINENO"; then :
12039 ac_cv_c_ppdev="yes"
12040 else
12041 ac_cv_c_ppdev="no"
12043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12046 $as_echo "$ac_cv_c_ppdev" >&6; }
12047 if test "$ac_cv_c_ppdev" = "yes"
12048 then
12050 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12054 ac_wine_check_funcs_save_LIBS="$LIBS"
12055 LIBS="$LIBS $PTHREAD_LIBS"
12056 for ac_func in \
12057 pthread_attr_get_np \
12058 pthread_getattr_np \
12059 pthread_getthreadid_np \
12060 pthread_get_stackaddr_np \
12061 pthread_get_stacksize_np
12062 do :
12063 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12065 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12066 cat >>confdefs.h <<_ACEOF
12067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12068 _ACEOF
12071 done
12073 LIBS="$ac_wine_check_funcs_save_LIBS"
12075 if test "$ac_cv_header_zlib_h" = "yes"
12076 then
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12078 $as_echo_n "checking for inflate in -lz... " >&6; }
12079 if ${ac_cv_lib_z_inflate+:} false; then :
12080 $as_echo_n "(cached) " >&6
12081 else
12082 ac_check_lib_save_LIBS=$LIBS
12083 LIBS="-lz $LIBS"
12084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12085 /* end confdefs.h. */
12087 /* Override any GCC internal prototype to avoid an error.
12088 Use char because int might match the return type of a GCC
12089 builtin and then its argument prototype would still apply. */
12090 #ifdef __cplusplus
12091 extern "C"
12092 #endif
12093 char inflate ();
12095 main ()
12097 return inflate ();
12099 return 0;
12101 _ACEOF
12102 if ac_fn_c_try_link "$LINENO"; then :
12103 ac_cv_lib_z_inflate=yes
12104 else
12105 ac_cv_lib_z_inflate=no
12107 rm -f core conftest.err conftest.$ac_objext \
12108 conftest$ac_exeext conftest.$ac_ext
12109 LIBS=$ac_check_lib_save_LIBS
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12112 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12113 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12115 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12117 Z_LIBS="-lz"
12122 if test "x$Z_LIBS" = "x"; then :
12123 case "x$with_zlib" in
12124 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12125 xno) ;;
12126 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12127 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12128 esac
12131 if test "x$enable_tools" != xno
12132 then
12133 if test "$ac_cv_header_gettext_po_h" = "yes"
12134 then
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12136 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12137 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12138 $as_echo_n "(cached) " >&6
12139 else
12140 ac_check_lib_save_LIBS=$LIBS
12141 LIBS="-lgettextpo $LIBS"
12142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12143 /* end confdefs.h. */
12145 /* Override any GCC internal prototype to avoid an error.
12146 Use char because int might match the return type of a GCC
12147 builtin and then its argument prototype would still apply. */
12148 #ifdef __cplusplus
12149 extern "C"
12150 #endif
12151 char po_message_msgctxt ();
12153 main ()
12155 return po_message_msgctxt ();
12157 return 0;
12159 _ACEOF
12160 if ac_fn_c_try_link "$LINENO"; then :
12161 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12162 else
12163 ac_cv_lib_gettextpo_po_message_msgctxt=no
12165 rm -f core conftest.err conftest.$ac_objext \
12166 conftest$ac_exeext conftest.$ac_ext
12167 LIBS=$ac_check_lib_save_LIBS
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12170 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12171 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12173 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12175 GETTEXTPO_LIBS="-lgettextpo"
12180 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12181 case "x$with_gettextpo" in
12182 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12183 xno) ;;
12184 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12185 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12186 esac
12190 if test "x$with_gstreamer" != "xno"
12191 then
12192 if ${GSTREAMER_CFLAGS:+false} :; then :
12193 if ${PKG_CONFIG+:} false; then :
12194 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12198 if ${GSTREAMER_LIBS:+false} :; then :
12199 if ${PKG_CONFIG+:} false; then :
12200 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12205 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12206 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12207 ac_save_CPPFLAGS=$CPPFLAGS
12208 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12209 ac_gst_incl=""
12210 for i in $GSTREAMER_CFLAGS
12212 case "$i" in
12213 -I*) ac_gst_incl="$ac_gst_incl $i";;
12214 esac
12215 done
12216 GSTREAMER_CFLAGS=$ac_gst_incl
12217 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12218 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12219 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12220 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12221 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12223 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12225 /* end confdefs.h. */
12226 #include <gst/app/gstappsink.h>
12228 main ()
12230 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12232 return 0;
12234 _ACEOF
12235 if ac_fn_c_try_compile "$LINENO"; then :
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12237 $as_echo "yes" >&6; }
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12239 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12240 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12241 $as_echo_n "(cached) " >&6
12242 else
12243 ac_check_lib_save_LIBS=$LIBS
12244 LIBS="-lgstreamer-0.10 $LIBS"
12245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12246 /* end confdefs.h. */
12248 /* Override any GCC internal prototype to avoid an error.
12249 Use char because int might match the return type of a GCC
12250 builtin and then its argument prototype would still apply. */
12251 #ifdef __cplusplus
12252 extern "C"
12253 #endif
12254 char gst_pad_get_caps_reffed ();
12256 main ()
12258 return gst_pad_get_caps_reffed ();
12260 return 0;
12262 _ACEOF
12263 if ac_fn_c_try_link "$LINENO"; then :
12264 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12265 else
12266 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12268 rm -f core conftest.err conftest.$ac_objext \
12269 conftest$ac_exeext conftest.$ac_ext
12270 LIBS=$ac_check_lib_save_LIBS
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12273 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12274 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12276 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12277 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12278 $as_echo_n "(cached) " >&6
12279 else
12280 ac_check_lib_save_LIBS=$LIBS
12281 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h. */
12285 /* Override any GCC internal prototype to avoid an error.
12286 Use char because int might match the return type of a GCC
12287 builtin and then its argument prototype would still apply. */
12288 #ifdef __cplusplus
12289 extern "C"
12290 #endif
12291 char gst_app_buffer_new ();
12293 main ()
12295 return gst_app_buffer_new ();
12297 return 0;
12299 _ACEOF
12300 if ac_fn_c_try_link "$LINENO"; then :
12301 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12302 else
12303 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12305 rm -f core conftest.err conftest.$ac_objext \
12306 conftest$ac_exeext conftest.$ac_ext
12307 LIBS=$ac_check_lib_save_LIBS
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12310 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12311 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12317 else
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12319 $as_echo "no" >&6; }
12321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12325 else
12326 GSTREAMER_CFLAGS=""
12330 CPPFLAGS=$ac_save_CPPFLAGS
12331 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12332 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12335 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12336 case "x$with_gstreamer" in
12337 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12338 xno) ;;
12339 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12340 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12341 esac
12343 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12345 ALSA_LIBS=""
12347 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12348 then
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12350 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12351 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12352 $as_echo_n "(cached) " >&6
12353 else
12354 ac_check_lib_save_LIBS=$LIBS
12355 LIBS="-lasound $LIBS"
12356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12357 /* end confdefs.h. */
12359 /* Override any GCC internal prototype to avoid an error.
12360 Use char because int might match the return type of a GCC
12361 builtin and then its argument prototype would still apply. */
12362 #ifdef __cplusplus
12363 extern "C"
12364 #endif
12365 char snd_pcm_hw_params_get_access_mask ();
12367 main ()
12369 return snd_pcm_hw_params_get_access_mask ();
12371 return 0;
12373 _ACEOF
12374 if ac_fn_c_try_link "$LINENO"; then :
12375 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12376 else
12377 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12379 rm -f core conftest.err conftest.$ac_objext \
12380 conftest$ac_exeext conftest.$ac_ext
12381 LIBS=$ac_check_lib_save_LIBS
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12384 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12385 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12387 /* end confdefs.h. */
12388 #ifdef HAVE_ALSA_ASOUNDLIB_H
12389 #include <alsa/asoundlib.h>
12390 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12391 #include <sys/asoundlib.h>
12392 #endif
12394 main ()
12396 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12398 return 0;
12400 _ACEOF
12401 if ac_fn_c_try_compile "$LINENO"; then :
12402 ALSA_LIBS="-lasound"
12404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12409 if test "x$with_oss" != xno
12410 then
12411 ac_save_CPPFLAGS="$CPPFLAGS"
12412 if test -f /etc/oss.conf
12413 then
12414 . /etc/oss.conf
12416 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12417 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12418 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12419 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12420 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12422 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12424 cat >>confdefs.h <<_ACEOF
12425 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12426 _ACEOF
12428 OSS4_CFLAGS="$ac_oss_incl"
12435 CPPFLAGS="$ac_save_CPPFLAGS"
12436 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12437 then
12438 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12442 if test "x$with_capi" != "xno"
12443 then
12444 if ${CAPI20_CFLAGS:+false} :; then :
12445 if ${PKG_CONFIG+:} false; then :
12446 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12450 if ${CAPI20_LIBS:+false} :; then :
12451 if ${PKG_CONFIG+:} false; then :
12452 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12457 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12458 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12459 ac_save_CPPFLAGS=$CPPFLAGS
12460 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12461 for ac_header in capi20.h linux/capi.h
12462 do :
12463 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12464 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12466 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12467 cat >>confdefs.h <<_ACEOF
12468 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12469 _ACEOF
12473 done
12475 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12476 then
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12478 $as_echo_n "checking for -lcapi20... " >&6; }
12479 if ${ac_cv_lib_soname_capi20+:} false; then :
12480 $as_echo_n "(cached) " >&6
12481 else
12482 ac_check_soname_save_LIBS=$LIBS
12483 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12485 /* end confdefs.h. */
12487 /* Override any GCC internal prototype to avoid an error.
12488 Use char because int might match the return type of a GCC
12489 builtin and then its argument prototype would still apply. */
12490 #ifdef __cplusplus
12491 extern "C"
12492 #endif
12493 char capi20_register ();
12495 main ()
12497 return capi20_register ();
12499 return 0;
12501 _ACEOF
12502 if ac_fn_c_try_link "$LINENO"; then :
12503 case "$LIBEXT" in
12504 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12505 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'` ;;
12506 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12507 if ${ac_cv_lib_soname_capi20:+false} :; then :
12508 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12509 fi ;;
12510 esac
12512 rm -f core conftest.err conftest.$ac_objext \
12513 conftest$ac_exeext conftest.$ac_ext
12514 LIBS=$ac_check_soname_save_LIBS
12516 if ${ac_cv_lib_soname_capi20:+false} :; then :
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12518 $as_echo "not found" >&6; }
12520 else
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12522 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12524 cat >>confdefs.h <<_ACEOF
12525 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12526 _ACEOF
12531 CPPFLAGS=$ac_save_CPPFLAGS
12532 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12533 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12536 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12537 case "x$with_capi" in
12538 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12539 xno) ;;
12540 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12541 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12542 esac
12545 CUPS_CFLAGS=""
12547 if test "x$with_cups" != "xno"
12548 then
12549 ac_save_CPPFLAGS="$CPPFLAGS"
12550 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12551 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12552 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12553 for ac_header in cups/cups.h
12554 do :
12555 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12556 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12557 cat >>confdefs.h <<_ACEOF
12558 #define HAVE_CUPS_CUPS_H 1
12559 _ACEOF
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12561 $as_echo_n "checking for -lcups... " >&6; }
12562 if ${ac_cv_lib_soname_cups+:} false; then :
12563 $as_echo_n "(cached) " >&6
12564 else
12565 ac_check_soname_save_LIBS=$LIBS
12566 LIBS="-lcups $ac_cups_libs $LIBS"
12567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12570 /* Override any GCC internal prototype to avoid an error.
12571 Use char because int might match the return type of a GCC
12572 builtin and then its argument prototype would still apply. */
12573 #ifdef __cplusplus
12574 extern "C"
12575 #endif
12576 char cupsGetDefault ();
12578 main ()
12580 return cupsGetDefault ();
12582 return 0;
12584 _ACEOF
12585 if ac_fn_c_try_link "$LINENO"; then :
12586 case "$LIBEXT" in
12587 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12588 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'` ;;
12589 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12590 if ${ac_cv_lib_soname_cups:+false} :; then :
12591 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12592 fi ;;
12593 esac
12595 rm -f core conftest.err conftest.$ac_objext \
12596 conftest$ac_exeext conftest.$ac_ext
12597 LIBS=$ac_check_soname_save_LIBS
12599 if ${ac_cv_lib_soname_cups:+false} :; then :
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12601 $as_echo "not found" >&6; }
12603 else
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12605 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12607 cat >>confdefs.h <<_ACEOF
12608 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12609 _ACEOF
12611 CUPS_CFLAGS="$ac_cups_cflags"
12615 done
12617 CPPFLAGS="$ac_save_CPPFLAGS"
12619 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12620 case "x$with_cups" in
12621 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12622 xno) ;;
12623 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12624 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12625 esac
12628 if test "x$with_fontconfig" != "xno"
12629 then
12630 if ${FONTCONFIG_CFLAGS:+false} :; then :
12631 if ${PKG_CONFIG+:} false; then :
12632 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12635 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12636 if ${FONTCONFIG_LIBS:+false} :; then :
12637 if ${PKG_CONFIG+:} false; then :
12638 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12641 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12643 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12644 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12645 ac_save_CPPFLAGS=$CPPFLAGS
12646 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12647 for ac_header in fontconfig/fontconfig.h
12648 do :
12649 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12650 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12651 cat >>confdefs.h <<_ACEOF
12652 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12653 _ACEOF
12657 done
12659 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12660 then
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12662 $as_echo_n "checking for -lfontconfig... " >&6; }
12663 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12664 $as_echo_n "(cached) " >&6
12665 else
12666 ac_check_soname_save_LIBS=$LIBS
12667 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12669 /* end confdefs.h. */
12671 /* Override any GCC internal prototype to avoid an error.
12672 Use char because int might match the return type of a GCC
12673 builtin and then its argument prototype would still apply. */
12674 #ifdef __cplusplus
12675 extern "C"
12676 #endif
12677 char FcInit ();
12679 main ()
12681 return FcInit ();
12683 return 0;
12685 _ACEOF
12686 if ac_fn_c_try_link "$LINENO"; then :
12687 case "$LIBEXT" in
12688 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12689 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'` ;;
12690 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12691 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12692 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12693 fi ;;
12694 esac
12696 rm -f core conftest.err conftest.$ac_objext \
12697 conftest$ac_exeext conftest.$ac_ext
12698 LIBS=$ac_check_soname_save_LIBS
12700 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12702 $as_echo "not found" >&6; }
12703 FONTCONFIG_CFLAGS=""
12704 else
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12706 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12708 cat >>confdefs.h <<_ACEOF
12709 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12710 _ACEOF
12714 else
12715 FONTCONFIG_CFLAGS=""
12717 CPPFLAGS=$ac_save_CPPFLAGS
12718 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12719 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12722 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12723 case "x$with_fontconfig" in
12724 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12725 xno) ;;
12726 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12727 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12728 esac
12731 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12732 then
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12734 $as_echo_n "checking for -lgsm... " >&6; }
12735 if ${ac_cv_lib_soname_gsm+:} false; then :
12736 $as_echo_n "(cached) " >&6
12737 else
12738 ac_check_soname_save_LIBS=$LIBS
12739 LIBS="-lgsm $LIBS"
12740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12741 /* end confdefs.h. */
12743 /* Override any GCC internal prototype to avoid an error.
12744 Use char because int might match the return type of a GCC
12745 builtin and then its argument prototype would still apply. */
12746 #ifdef __cplusplus
12747 extern "C"
12748 #endif
12749 char gsm_create ();
12751 main ()
12753 return gsm_create ();
12755 return 0;
12757 _ACEOF
12758 if ac_fn_c_try_link "$LINENO"; then :
12759 case "$LIBEXT" in
12760 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12761 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'` ;;
12762 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12763 if ${ac_cv_lib_soname_gsm:+false} :; then :
12764 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12765 fi ;;
12766 esac
12768 rm -f core conftest.err conftest.$ac_objext \
12769 conftest$ac_exeext conftest.$ac_ext
12770 LIBS=$ac_check_soname_save_LIBS
12772 if ${ac_cv_lib_soname_gsm:+false} :; then :
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12774 $as_echo "not found" >&6; }
12776 else
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12778 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12780 cat >>confdefs.h <<_ACEOF
12781 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12782 _ACEOF
12787 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12788 case "x$with_gsm" in
12789 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12790 xno) ;;
12791 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12792 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12793 esac
12796 if test "x$with_jpeg" != "xno"
12797 then
12798 if ${JPEG_CFLAGS:+false} :; then :
12799 if ${PKG_CONFIG+:} false; then :
12800 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12804 if ${JPEG_LIBS:+false} :; then :
12805 if ${PKG_CONFIG+:} false; then :
12806 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12811 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12812 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12813 ac_save_CPPFLAGS=$CPPFLAGS
12814 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12815 for ac_header in jpeglib.h
12816 do :
12817 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12818 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12819 cat >>confdefs.h <<_ACEOF
12820 #define HAVE_JPEGLIB_H 1
12821 _ACEOF
12825 done
12827 if test "$ac_cv_header_jpeglib_h" = "yes"
12828 then
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12830 $as_echo_n "checking for -ljpeg... " >&6; }
12831 if ${ac_cv_lib_soname_jpeg+:} false; then :
12832 $as_echo_n "(cached) " >&6
12833 else
12834 ac_check_soname_save_LIBS=$LIBS
12835 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12837 /* end confdefs.h. */
12839 /* Override any GCC internal prototype to avoid an error.
12840 Use char because int might match the return type of a GCC
12841 builtin and then its argument prototype would still apply. */
12842 #ifdef __cplusplus
12843 extern "C"
12844 #endif
12845 char jpeg_start_decompress ();
12847 main ()
12849 return jpeg_start_decompress ();
12851 return 0;
12853 _ACEOF
12854 if ac_fn_c_try_link "$LINENO"; then :
12855 case "$LIBEXT" in
12856 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12857 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'` ;;
12858 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12859 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12860 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12861 fi ;;
12862 esac
12864 rm -f core conftest.err conftest.$ac_objext \
12865 conftest$ac_exeext conftest.$ac_ext
12866 LIBS=$ac_check_soname_save_LIBS
12868 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12870 $as_echo "not found" >&6; }
12871 JPEG_CFLAGS=""
12872 else
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12874 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12876 cat >>confdefs.h <<_ACEOF
12877 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12878 _ACEOF
12882 else
12883 JPEG_CFLAGS=""
12885 CPPFLAGS=$ac_save_CPPFLAGS
12886 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12887 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12890 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12891 case "x$with_jpeg" in
12892 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12893 xno) ;;
12894 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12895 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12896 esac
12899 if test "x$with_png" != "xno"
12900 then
12901 if ${PNG_CFLAGS:+false} :; then :
12902 if ${PKG_CONFIG+:} false; then :
12903 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12906 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12907 if ${PNG_LIBS:+false} :; then :
12908 if ${PKG_CONFIG+:} false; then :
12909 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12912 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12914 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12915 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12916 ac_save_CPPFLAGS=$CPPFLAGS
12917 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12918 for ac_header in png.h
12919 do :
12920 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12921 if test "x$ac_cv_header_png_h" = xyes; then :
12922 cat >>confdefs.h <<_ACEOF
12923 #define HAVE_PNG_H 1
12924 _ACEOF
12928 done
12930 if test "$ac_cv_header_png_h" = "yes"
12931 then
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12933 $as_echo_n "checking for -lpng... " >&6; }
12934 if ${ac_cv_lib_soname_png+:} false; then :
12935 $as_echo_n "(cached) " >&6
12936 else
12937 ac_check_soname_save_LIBS=$LIBS
12938 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12942 /* Override any GCC internal prototype to avoid an error.
12943 Use char because int might match the return type of a GCC
12944 builtin and then its argument prototype would still apply. */
12945 #ifdef __cplusplus
12946 extern "C"
12947 #endif
12948 char png_create_read_struct ();
12950 main ()
12952 return png_create_read_struct ();
12954 return 0;
12956 _ACEOF
12957 if ac_fn_c_try_link "$LINENO"; then :
12958 case "$LIBEXT" in
12959 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12960 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'` ;;
12961 *) 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'`
12962 if ${ac_cv_lib_soname_png:+false} :; then :
12963 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12964 fi ;;
12965 esac
12967 rm -f core conftest.err conftest.$ac_objext \
12968 conftest$ac_exeext conftest.$ac_ext
12969 LIBS=$ac_check_soname_save_LIBS
12971 if ${ac_cv_lib_soname_png:+false} :; then :
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12973 $as_echo "not found" >&6; }
12974 PNG_CFLAGS=""
12975 else
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12977 $as_echo "$ac_cv_lib_soname_png" >&6; }
12979 cat >>confdefs.h <<_ACEOF
12980 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12981 _ACEOF
12983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12984 /* end confdefs.h. */
12985 #include <png.h>
12987 main ()
12989 typeof(png_set_expand_gray_1_2_4_to_8) *p
12991 return 0;
12993 _ACEOF
12994 if ac_fn_c_try_compile "$LINENO"; then :
12996 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13001 else
13002 PNG_CFLAGS=""
13004 CPPFLAGS=$ac_save_CPPFLAGS
13005 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13006 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13009 if test "x$ac_cv_lib_soname_png" = "x"; then :
13010 case "x$with_png" in
13011 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13012 xno) ;;
13013 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13014 This is an error since --with-png was requested." "$LINENO" 5 ;;
13015 esac
13018 if test "x$with_tiff" != "xno"
13019 then
13020 if ${TIFF_CFLAGS:+false} :; then :
13021 if ${PKG_CONFIG+:} false; then :
13022 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13026 if ${TIFF_LIBS:+false} :; then :
13027 if ${PKG_CONFIG+:} false; then :
13028 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13033 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13034 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13035 ac_save_CPPFLAGS=$CPPFLAGS
13036 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13037 for ac_header in tiffio.h
13038 do :
13039 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13040 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13041 cat >>confdefs.h <<_ACEOF
13042 #define HAVE_TIFFIO_H 1
13043 _ACEOF
13047 done
13049 if test "$ac_cv_header_tiffio_h" = "yes"
13050 then
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13052 $as_echo_n "checking for -ltiff... " >&6; }
13053 if ${ac_cv_lib_soname_tiff+:} false; then :
13054 $as_echo_n "(cached) " >&6
13055 else
13056 ac_check_soname_save_LIBS=$LIBS
13057 LIBS="-ltiff $TIFF_LIBS $LIBS"
13058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13059 /* end confdefs.h. */
13061 /* Override any GCC internal prototype to avoid an error.
13062 Use char because int might match the return type of a GCC
13063 builtin and then its argument prototype would still apply. */
13064 #ifdef __cplusplus
13065 extern "C"
13066 #endif
13067 char TIFFClientOpen ();
13069 main ()
13071 return TIFFClientOpen ();
13073 return 0;
13075 _ACEOF
13076 if ac_fn_c_try_link "$LINENO"; then :
13077 case "$LIBEXT" in
13078 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13079 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'` ;;
13080 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13081 if ${ac_cv_lib_soname_tiff:+false} :; then :
13082 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13083 fi ;;
13084 esac
13086 rm -f core conftest.err conftest.$ac_objext \
13087 conftest$ac_exeext conftest.$ac_ext
13088 LIBS=$ac_check_soname_save_LIBS
13090 if ${ac_cv_lib_soname_tiff:+false} :; then :
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13092 $as_echo "not found" >&6; }
13094 else
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13096 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13098 cat >>confdefs.h <<_ACEOF
13099 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13100 _ACEOF
13105 CPPFLAGS=$ac_save_CPPFLAGS
13106 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13107 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13110 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13111 case "x$with_tiff" in
13112 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13113 xno) ;;
13114 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13115 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13116 esac
13119 if test "x$with_mpg123" != "xno"
13120 then
13121 if ${MPG123_CFLAGS:+false} :; then :
13122 if ${PKG_CONFIG+:} false; then :
13123 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13127 if ${MPG123_LIBS:+false} :; then :
13128 if ${PKG_CONFIG+:} false; then :
13129 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13133 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13134 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13135 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13136 ac_save_CPPFLAGS=$CPPFLAGS
13137 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13138 for ac_header in mpg123.h
13139 do :
13140 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13141 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13142 cat >>confdefs.h <<_ACEOF
13143 #define HAVE_MPG123_H 1
13144 _ACEOF
13148 done
13150 if test "$ac_cv_header_mpg123_h" = "yes"
13151 then
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13153 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13154 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13155 $as_echo_n "(cached) " >&6
13156 else
13157 ac_check_lib_save_LIBS=$LIBS
13158 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13160 /* end confdefs.h. */
13162 /* Override any GCC internal prototype to avoid an error.
13163 Use char because int might match the return type of a GCC
13164 builtin and then its argument prototype would still apply. */
13165 #ifdef __cplusplus
13166 extern "C"
13167 #endif
13168 char mpg123_feed ();
13170 main ()
13172 return mpg123_feed ();
13174 return 0;
13176 _ACEOF
13177 if ac_fn_c_try_link "$LINENO"; then :
13178 ac_cv_lib_mpg123_mpg123_feed=yes
13179 else
13180 ac_cv_lib_mpg123_mpg123_feed=no
13182 rm -f core conftest.err conftest.$ac_objext \
13183 conftest$ac_exeext conftest.$ac_ext
13184 LIBS=$ac_check_lib_save_LIBS
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13187 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13188 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13190 else
13191 MPG123_LIBS=""
13194 else
13195 MPG123_CFLAGS=""
13196 MPG123_LIBS=""
13198 CPPFLAGS=$ac_save_CPPFLAGS
13199 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13200 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13203 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13204 case "x$with_mpg123" in
13205 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13206 xno) ;;
13207 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13208 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13209 esac
13211 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}
13213 if test "$ac_cv_header_AL_al_h" = "yes"
13214 then
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13216 $as_echo_n "checking for -lopenal... " >&6; }
13217 if ${ac_cv_lib_soname_openal+:} false; then :
13218 $as_echo_n "(cached) " >&6
13219 else
13220 ac_check_soname_save_LIBS=$LIBS
13221 LIBS="-lopenal $LIBS"
13222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13223 /* end confdefs.h. */
13225 /* Override any GCC internal prototype to avoid an error.
13226 Use char because int might match the return type of a GCC
13227 builtin and then its argument prototype would still apply. */
13228 #ifdef __cplusplus
13229 extern "C"
13230 #endif
13231 char alGetSource3i ();
13233 main ()
13235 return alGetSource3i ();
13237 return 0;
13239 _ACEOF
13240 if ac_fn_c_try_link "$LINENO"; then :
13241 case "$LIBEXT" in
13242 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13243 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'` ;;
13244 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13245 if ${ac_cv_lib_soname_openal:+false} :; then :
13246 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13247 fi ;;
13248 esac
13250 rm -f core conftest.err conftest.$ac_objext \
13251 conftest$ac_exeext conftest.$ac_ext
13252 LIBS=$ac_check_soname_save_LIBS
13254 if ${ac_cv_lib_soname_openal:+false} :; then :
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13256 $as_echo "not found" >&6; }
13258 else
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13260 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13262 cat >>confdefs.h <<_ACEOF
13263 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13264 _ACEOF
13266 OPENAL_LIBS="-lopenal"
13268 ac_cv_lib_openal=yes
13270 cat >>confdefs.h <<_ACEOF
13271 #define HAVE_OPENAL 1
13272 _ACEOF
13276 if test "x$ac_cv_lib_openal" != xyes; then :
13277 case "x$with_openal" in
13278 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13279 xno) ;;
13280 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13281 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13282 esac
13284 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13286 if test "$ac_cv_header_kstat_h" = "yes"
13287 then
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13289 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13290 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13291 $as_echo_n "(cached) " >&6
13292 else
13293 ac_check_lib_save_LIBS=$LIBS
13294 LIBS="-lkstat $LIBS"
13295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13296 /* end confdefs.h. */
13298 /* Override any GCC internal prototype to avoid an error.
13299 Use char because int might match the return type of a GCC
13300 builtin and then its argument prototype would still apply. */
13301 #ifdef __cplusplus
13302 extern "C"
13303 #endif
13304 char kstat_open ();
13306 main ()
13308 return kstat_open ();
13310 return 0;
13312 _ACEOF
13313 if ac_fn_c_try_link "$LINENO"; then :
13314 ac_cv_lib_kstat_kstat_open=yes
13315 else
13316 ac_cv_lib_kstat_kstat_open=no
13318 rm -f core conftest.err conftest.$ac_objext \
13319 conftest$ac_exeext conftest.$ac_ext
13320 LIBS=$ac_check_lib_save_LIBS
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13323 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13324 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13326 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13328 KSTAT_LIBS="-lkstat"
13334 if test "$ac_cv_header_libprocstat_h" = "yes"
13335 then
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13337 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13338 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13339 $as_echo_n "(cached) " >&6
13340 else
13341 ac_check_lib_save_LIBS=$LIBS
13342 LIBS="-lprocstat $LIBS"
13343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13344 /* end confdefs.h. */
13346 /* Override any GCC internal prototype to avoid an error.
13347 Use char because int might match the return type of a GCC
13348 builtin and then its argument prototype would still apply. */
13349 #ifdef __cplusplus
13350 extern "C"
13351 #endif
13352 char procstat_open_sysctl ();
13354 main ()
13356 return procstat_open_sysctl ();
13358 return 0;
13360 _ACEOF
13361 if ac_fn_c_try_link "$LINENO"; then :
13362 ac_cv_lib_procstat_procstat_open_sysctl=yes
13363 else
13364 ac_cv_lib_procstat_procstat_open_sysctl=no
13366 rm -f core conftest.err conftest.$ac_objext \
13367 conftest$ac_exeext conftest.$ac_ext
13368 LIBS=$ac_check_lib_save_LIBS
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13371 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13372 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13374 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13376 PROCSTAT_LIBS="-lprocstat"
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13383 $as_echo_n "checking for -lodbc... " >&6; }
13384 if ${ac_cv_lib_soname_odbc+:} false; then :
13385 $as_echo_n "(cached) " >&6
13386 else
13387 ac_check_soname_save_LIBS=$LIBS
13388 LIBS="-lodbc $LIBS"
13389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13390 /* end confdefs.h. */
13392 /* Override any GCC internal prototype to avoid an error.
13393 Use char because int might match the return type of a GCC
13394 builtin and then its argument prototype would still apply. */
13395 #ifdef __cplusplus
13396 extern "C"
13397 #endif
13398 char SQLConnect ();
13400 main ()
13402 return SQLConnect ();
13404 return 0;
13406 _ACEOF
13407 if ac_fn_c_try_link "$LINENO"; then :
13408 case "$LIBEXT" in
13409 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13410 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'` ;;
13411 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13412 if ${ac_cv_lib_soname_odbc:+false} :; then :
13413 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13414 fi ;;
13415 esac
13417 rm -f core conftest.err conftest.$ac_objext \
13418 conftest$ac_exeext conftest.$ac_ext
13419 LIBS=$ac_check_soname_save_LIBS
13421 if ${ac_cv_lib_soname_odbc:+false} :; then :
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13423 $as_echo "not found" >&6; }
13424 cat >>confdefs.h <<_ACEOF
13425 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13426 _ACEOF
13428 else
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13430 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13432 cat >>confdefs.h <<_ACEOF
13433 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13434 _ACEOF
13439 if test "x$with_netapi" != "xno"
13440 then
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13442 $as_echo_n "checking for -lnetapi... " >&6; }
13443 if ${ac_cv_lib_soname_netapi+:} false; then :
13444 $as_echo_n "(cached) " >&6
13445 else
13446 ac_check_soname_save_LIBS=$LIBS
13447 LIBS="-lnetapi $LIBS"
13448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13449 /* end confdefs.h. */
13451 /* Override any GCC internal prototype to avoid an error.
13452 Use char because int might match the return type of a GCC
13453 builtin and then its argument prototype would still apply. */
13454 #ifdef __cplusplus
13455 extern "C"
13456 #endif
13457 char libnetapi_init ();
13459 main ()
13461 return libnetapi_init ();
13463 return 0;
13465 _ACEOF
13466 if ac_fn_c_try_link "$LINENO"; then :
13467 case "$LIBEXT" in
13468 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13469 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'` ;;
13470 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13471 if ${ac_cv_lib_soname_netapi:+false} :; then :
13472 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13473 fi ;;
13474 esac
13476 rm -f core conftest.err conftest.$ac_objext \
13477 conftest$ac_exeext conftest.$ac_ext
13478 LIBS=$ac_check_soname_save_LIBS
13480 if ${ac_cv_lib_soname_netapi:+false} :; then :
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13482 $as_echo "not found" >&6; }
13483 cat >>confdefs.h <<_ACEOF
13484 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13485 _ACEOF
13487 else
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13489 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13491 cat >>confdefs.h <<_ACEOF
13492 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13493 _ACEOF
13499 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13500 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13501 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13502 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13504 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13505 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13506 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13507 then
13508 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13512 EXTRACFLAGS=""
13514 if test "x${GCC}" = "xyes"
13515 then
13516 EXTRACFLAGS="-Wall -pipe"
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13519 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13520 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13521 $as_echo_n "(cached) " >&6
13522 else
13523 if test "$cross_compiling" = yes; then :
13524 ac_cv_c_gcc_strength_bug="yes"
13525 else
13526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13527 /* end confdefs.h. */
13528 int L[4] = {0,1,2,3};
13530 main ()
13532 static int Array[3];
13533 unsigned int B = 3;
13534 int i;
13535 for(i=0; i<B; i++) Array[i] = i - 3;
13536 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13537 L[i] = 4;
13538 return (Array[1] != -2 || L[2] != 3)
13540 return 0;
13542 _ACEOF
13543 if ac_fn_c_try_run "$LINENO"; then :
13544 ac_cv_c_gcc_strength_bug="no"
13545 else
13546 ac_cv_c_gcc_strength_bug="yes"
13548 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13549 conftest.$ac_objext conftest.beam conftest.$ac_ext
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13554 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13555 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13556 then
13557 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13561 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13562 if ${ac_cv_cflags__fno_builtin+:} false; then :
13563 $as_echo_n "(cached) " >&6
13564 else
13565 ac_wine_try_cflags_saved=$CFLAGS
13566 CFLAGS="$CFLAGS -fno-builtin"
13567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13568 /* end confdefs.h. */
13569 int main(int argc, char **argv) { return 0; }
13570 _ACEOF
13571 if ac_fn_c_try_link "$LINENO"; then :
13572 ac_cv_cflags__fno_builtin=yes
13573 else
13574 ac_cv_cflags__fno_builtin=no
13576 rm -f core conftest.err conftest.$ac_objext \
13577 conftest$ac_exeext conftest.$ac_ext
13578 CFLAGS=$ac_wine_try_cflags_saved
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13581 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13582 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13583 BUILTINFLAG="-fno-builtin"
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13587 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13588 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13589 $as_echo_n "(cached) " >&6
13590 else
13591 ac_wine_try_cflags_saved=$CFLAGS
13592 CFLAGS="$CFLAGS -fno-strict-aliasing"
13593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13594 /* end confdefs.h. */
13595 int main(int argc, char **argv) { return 0; }
13596 _ACEOF
13597 if ac_fn_c_try_link "$LINENO"; then :
13598 ac_cv_cflags__fno_strict_aliasing=yes
13599 else
13600 ac_cv_cflags__fno_strict_aliasing=no
13602 rm -f core conftest.err conftest.$ac_objext \
13603 conftest$ac_exeext conftest.$ac_ext
13604 CFLAGS=$ac_wine_try_cflags_saved
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13607 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13608 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13609 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13611 saved_CFLAGS=$CFLAGS
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13613 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13614 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13615 $as_echo_n "(cached) " >&6
13616 else
13617 ac_wine_try_cflags_saved=$CFLAGS
13618 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13620 /* end confdefs.h. */
13621 int main(int argc, char **argv) { return 0; }
13622 _ACEOF
13623 if ac_fn_c_try_link "$LINENO"; then :
13624 ac_cv_cflags__Werror_unknown_warning_option=yes
13625 else
13626 ac_cv_cflags__Werror_unknown_warning_option=no
13628 rm -f core conftest.err conftest.$ac_objext \
13629 conftest$ac_exeext conftest.$ac_ext
13630 CFLAGS=$ac_wine_try_cflags_saved
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13633 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13634 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13635 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13638 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13639 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13640 $as_echo_n "(cached) " >&6
13641 else
13642 ac_wine_try_cflags_saved=$CFLAGS
13643 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13645 /* end confdefs.h. */
13646 int main(int argc, char **argv) { return 0; }
13647 _ACEOF
13648 if ac_fn_c_try_link "$LINENO"; then :
13649 ac_cv_cflags__Wdeclaration_after_statement=yes
13650 else
13651 ac_cv_cflags__Wdeclaration_after_statement=no
13653 rm -f core conftest.err conftest.$ac_objext \
13654 conftest$ac_exeext conftest.$ac_ext
13655 CFLAGS=$ac_wine_try_cflags_saved
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13658 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13659 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13660 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13663 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13664 if ${ac_cv_cflags__Wempty_body+:} false; then :
13665 $as_echo_n "(cached) " >&6
13666 else
13667 ac_wine_try_cflags_saved=$CFLAGS
13668 CFLAGS="$CFLAGS -Wempty-body"
13669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13670 /* end confdefs.h. */
13671 int main(int argc, char **argv) { return 0; }
13672 _ACEOF
13673 if ac_fn_c_try_link "$LINENO"; then :
13674 ac_cv_cflags__Wempty_body=yes
13675 else
13676 ac_cv_cflags__Wempty_body=no
13678 rm -f core conftest.err conftest.$ac_objext \
13679 conftest$ac_exeext conftest.$ac_ext
13680 CFLAGS=$ac_wine_try_cflags_saved
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13683 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13684 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13685 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13688 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13689 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13690 $as_echo_n "(cached) " >&6
13691 else
13692 ac_wine_try_cflags_saved=$CFLAGS
13693 CFLAGS="$CFLAGS -Wignored-qualifiers"
13694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13695 /* end confdefs.h. */
13696 int main(int argc, char **argv) { return 0; }
13697 _ACEOF
13698 if ac_fn_c_try_link "$LINENO"; then :
13699 ac_cv_cflags__Wignored_qualifiers=yes
13700 else
13701 ac_cv_cflags__Wignored_qualifiers=no
13703 rm -f core conftest.err conftest.$ac_objext \
13704 conftest$ac_exeext conftest.$ac_ext
13705 CFLAGS=$ac_wine_try_cflags_saved
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13708 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13709 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13710 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13713 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13714 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13715 $as_echo_n "(cached) " >&6
13716 else
13717 ac_wine_try_cflags_saved=$CFLAGS
13718 CFLAGS="$CFLAGS -Wstrict-prototypes"
13719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13720 /* end confdefs.h. */
13721 int main(int argc, char **argv) { return 0; }
13722 _ACEOF
13723 if ac_fn_c_try_link "$LINENO"; then :
13724 ac_cv_cflags__Wstrict_prototypes=yes
13725 else
13726 ac_cv_cflags__Wstrict_prototypes=no
13728 rm -f core conftest.err conftest.$ac_objext \
13729 conftest$ac_exeext conftest.$ac_ext
13730 CFLAGS=$ac_wine_try_cflags_saved
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13733 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13734 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13735 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13738 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13739 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13740 $as_echo_n "(cached) " >&6
13741 else
13742 ac_wine_try_cflags_saved=$CFLAGS
13743 CFLAGS="$CFLAGS -Wtype-limits"
13744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13745 /* end confdefs.h. */
13746 int main(int argc, char **argv) { return 0; }
13747 _ACEOF
13748 if ac_fn_c_try_link "$LINENO"; then :
13749 ac_cv_cflags__Wtype_limits=yes
13750 else
13751 ac_cv_cflags__Wtype_limits=no
13753 rm -f core conftest.err conftest.$ac_objext \
13754 conftest$ac_exeext conftest.$ac_ext
13755 CFLAGS=$ac_wine_try_cflags_saved
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13758 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13759 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13760 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13763 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13764 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13765 $as_echo_n "(cached) " >&6
13766 else
13767 ac_wine_try_cflags_saved=$CFLAGS
13768 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13770 /* end confdefs.h. */
13771 int main(int argc, char **argv) { return 0; }
13772 _ACEOF
13773 if ac_fn_c_try_link "$LINENO"; then :
13774 ac_cv_cflags__Wunused_but_set_parameter=yes
13775 else
13776 ac_cv_cflags__Wunused_but_set_parameter=no
13778 rm -f core conftest.err conftest.$ac_objext \
13779 conftest$ac_exeext conftest.$ac_ext
13780 CFLAGS=$ac_wine_try_cflags_saved
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13783 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13784 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13785 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13788 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13789 if ${ac_cv_cflags__Wvla+:} false; then :
13790 $as_echo_n "(cached) " >&6
13791 else
13792 ac_wine_try_cflags_saved=$CFLAGS
13793 CFLAGS="$CFLAGS -Wvla"
13794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13795 /* end confdefs.h. */
13796 int main(int argc, char **argv) { return 0; }
13797 _ACEOF
13798 if ac_fn_c_try_link "$LINENO"; then :
13799 ac_cv_cflags__Wvla=yes
13800 else
13801 ac_cv_cflags__Wvla=no
13803 rm -f core conftest.err conftest.$ac_objext \
13804 conftest$ac_exeext conftest.$ac_ext
13805 CFLAGS=$ac_wine_try_cflags_saved
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13808 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13809 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13810 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13813 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13814 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13815 $as_echo_n "(cached) " >&6
13816 else
13817 ac_wine_try_cflags_saved=$CFLAGS
13818 CFLAGS="$CFLAGS -Wwrite-strings"
13819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13820 /* end confdefs.h. */
13821 int main(int argc, char **argv) { return 0; }
13822 _ACEOF
13823 if ac_fn_c_try_link "$LINENO"; then :
13824 ac_cv_cflags__Wwrite_strings=yes
13825 else
13826 ac_cv_cflags__Wwrite_strings=no
13828 rm -f core conftest.err conftest.$ac_objext \
13829 conftest$ac_exeext conftest.$ac_ext
13830 CFLAGS=$ac_wine_try_cflags_saved
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13833 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13834 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13835 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13839 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13840 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13841 $as_echo_n "(cached) " >&6
13842 else
13843 ac_wine_try_cflags_saved=$CFLAGS
13844 CFLAGS="$CFLAGS -Wpointer-arith"
13845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13846 /* end confdefs.h. */
13847 int main(int argc, char **argv) { return 0; }
13848 _ACEOF
13849 if ac_fn_c_try_link "$LINENO"; then :
13850 ac_cv_cflags__Wpointer_arith=yes
13851 else
13852 ac_cv_cflags__Wpointer_arith=no
13854 rm -f core conftest.err conftest.$ac_objext \
13855 conftest$ac_exeext conftest.$ac_ext
13856 CFLAGS=$ac_wine_try_cflags_saved
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13859 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13860 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13861 saved_string_h_CFLAGS=$CFLAGS
13862 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13864 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13865 if ${ac_cv_c_string_h_warnings+:} false; then :
13866 $as_echo_n "(cached) " >&6
13867 else
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13870 #include <string.h>
13872 main ()
13876 return 0;
13878 _ACEOF
13879 if ac_fn_c_try_compile "$LINENO"; then :
13880 ac_cv_c_string_h_warnings=no
13881 else
13882 ac_cv_c_string_h_warnings=yes
13884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13887 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13888 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13889 CFLAGS=$saved_string_h_CFLAGS
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13893 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13894 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13895 $as_echo_n "(cached) " >&6
13896 else
13897 ac_wine_try_cflags_saved=$CFLAGS
13898 CFLAGS="$CFLAGS -Wlogical-op"
13899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13900 /* end confdefs.h. */
13901 int main(int argc, char **argv) { return 0; }
13902 _ACEOF
13903 if ac_fn_c_try_link "$LINENO"; then :
13904 ac_cv_cflags__Wlogical_op=yes
13905 else
13906 ac_cv_cflags__Wlogical_op=no
13908 rm -f core conftest.err conftest.$ac_objext \
13909 conftest$ac_exeext conftest.$ac_ext
13910 CFLAGS=$ac_wine_try_cflags_saved
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13913 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13914 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13915 saved_string_h_CFLAGS=$CFLAGS
13916 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13918 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13919 if ${ac_cv_c_logicalop_noisy+:} false; then :
13920 $as_echo_n "(cached) " >&6
13921 else
13922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13923 /* end confdefs.h. */
13924 #include <string.h>
13925 char*f(const char *h,char n) {return strchr(h,n);}
13927 main ()
13931 return 0;
13933 _ACEOF
13934 if ac_fn_c_try_compile "$LINENO"; then :
13935 ac_cv_c_logicalop_noisy=no
13936 else
13937 ac_cv_c_logicalop_noisy=yes
13939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13942 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13943 CFLAGS=$saved_string_h_CFLAGS
13944 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13947 CFLAGS=$saved_CFLAGS
13949 for ac_flag in $CFLAGS; do
13950 case $ac_flag in
13951 -g) case $host_os in
13952 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13953 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13954 if ${ac_cv_cflags__gstabsp+:} false; then :
13955 $as_echo_n "(cached) " >&6
13956 else
13957 ac_wine_try_cflags_saved=$CFLAGS
13958 CFLAGS="$CFLAGS -gstabs+"
13959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13960 /* end confdefs.h. */
13961 int main(int argc, char **argv) { return 0; }
13962 _ACEOF
13963 if ac_fn_c_try_link "$LINENO"; then :
13964 ac_cv_cflags__gstabsp=yes
13965 else
13966 ac_cv_cflags__gstabsp=no
13968 rm -f core conftest.err conftest.$ac_objext \
13969 conftest$ac_exeext conftest.$ac_ext
13970 CFLAGS=$ac_wine_try_cflags_saved
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13973 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13974 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13975 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13976 fi ;;
13977 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13978 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13979 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13980 $as_echo_n "(cached) " >&6
13981 else
13982 ac_wine_try_cflags_saved=$CFLAGS
13983 CFLAGS="$CFLAGS -gdwarf-2"
13984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13985 /* end confdefs.h. */
13986 int main(int argc, char **argv) { return 0; }
13987 _ACEOF
13988 if ac_fn_c_try_link "$LINENO"; then :
13989 ac_cv_cflags__gdwarf_2=yes
13990 else
13991 ac_cv_cflags__gdwarf_2=no
13993 rm -f core conftest.err conftest.$ac_objext \
13994 conftest$ac_exeext conftest.$ac_ext
13995 CFLAGS=$ac_wine_try_cflags_saved
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13998 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13999 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14000 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14003 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14004 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14005 $as_echo_n "(cached) " >&6
14006 else
14007 ac_wine_try_cflags_saved=$CFLAGS
14008 CFLAGS="$CFLAGS -gstrict-dwarf"
14009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14010 /* end confdefs.h. */
14011 int main(int argc, char **argv) { return 0; }
14012 _ACEOF
14013 if ac_fn_c_try_link "$LINENO"; then :
14014 ac_cv_cflags__gstrict_dwarf=yes
14015 else
14016 ac_cv_cflags__gstrict_dwarf=no
14018 rm -f core conftest.err conftest.$ac_objext \
14019 conftest$ac_exeext conftest.$ac_ext
14020 CFLAGS=$ac_wine_try_cflags_saved
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14023 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14024 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14025 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14026 fi ;;
14027 esac ;;
14028 esac
14029 done
14031 case $host_cpu in
14032 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14033 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14034 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14035 $as_echo_n "(cached) " >&6
14036 else
14037 ac_wine_try_cflags_saved=$CFLAGS
14038 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14040 /* end confdefs.h. */
14041 int main(int argc, char **argv) { return 0; }
14042 _ACEOF
14043 if ac_fn_c_try_link "$LINENO"; then :
14044 ac_cv_cflags__fno_omit_frame_pointer=yes
14045 else
14046 ac_cv_cflags__fno_omit_frame_pointer=no
14048 rm -f core conftest.err conftest.$ac_objext \
14049 conftest$ac_exeext conftest.$ac_ext
14050 CFLAGS=$ac_wine_try_cflags_saved
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14053 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14054 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14055 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14056 fi ;;
14057 esac
14059 case $host in
14060 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14061 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14062 if ${ac_cv_cflags__Wno_format+:} false; then :
14063 $as_echo_n "(cached) " >&6
14064 else
14065 ac_wine_try_cflags_saved=$CFLAGS
14066 CFLAGS="$CFLAGS -Wno-format"
14067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14069 int main(int argc, char **argv) { return 0; }
14070 _ACEOF
14071 if ac_fn_c_try_link "$LINENO"; then :
14072 ac_cv_cflags__Wno_format=yes
14073 else
14074 ac_cv_cflags__Wno_format=no
14076 rm -f core conftest.err conftest.$ac_objext \
14077 conftest$ac_exeext conftest.$ac_ext
14078 CFLAGS=$ac_wine_try_cflags_saved
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14081 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14082 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14083 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14084 fi ;;
14085 esac
14087 if test "x$enable_maintainer_mode" = "xyes"
14088 then
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14090 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14091 if ${ac_cv_cflags__Werror+:} false; then :
14092 $as_echo_n "(cached) " >&6
14093 else
14094 ac_wine_try_cflags_saved=$CFLAGS
14095 CFLAGS="$CFLAGS -Werror"
14096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14098 int main(int argc, char **argv) { return 0; }
14099 _ACEOF
14100 if ac_fn_c_try_link "$LINENO"; then :
14101 ac_cv_cflags__Werror=yes
14102 else
14103 ac_cv_cflags__Werror=no
14105 rm -f core conftest.err conftest.$ac_objext \
14106 conftest$ac_exeext conftest.$ac_ext
14107 CFLAGS=$ac_wine_try_cflags_saved
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14110 $as_echo "$ac_cv_cflags__Werror" >&6; }
14111 if test "x$ac_cv_cflags__Werror" = xyes; then :
14112 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14116 saved_CFLAGS="$CFLAGS"
14117 CFLAGS="$CFLAGS -Werror"
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14119 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14120 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14121 $as_echo_n "(cached) " >&6
14122 else
14123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14124 /* end confdefs.h. */
14125 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14127 main ()
14131 return 0;
14133 _ACEOF
14134 if ac_fn_c_try_compile "$LINENO"; then :
14135 ac_cv_have_ms_hook_prologue="yes"
14136 else
14137 ac_cv_have_ms_hook_prologue="no"
14139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14142 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14143 CFLAGS="$saved_CFLAGS"
14144 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14145 then
14147 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14149 else
14150 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14157 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14158 if ${ac_cv_c_fortify_enabled+:} false; then :
14159 $as_echo_n "(cached) " >&6
14160 else
14161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14162 /* end confdefs.h. */
14163 #include <string.h>
14165 main ()
14167 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14168 #error Fortify enabled
14169 #endif
14171 return 0;
14173 _ACEOF
14174 if ac_fn_c_try_compile "$LINENO"; then :
14175 ac_cv_c_fortify_enabled=no
14176 else
14177 ac_cv_c_fortify_enabled=yes
14179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14182 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14183 if test "$ac_cv_c_fortify_enabled" = yes
14184 then
14185 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14190 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14191 if ${ac_cv_c_extern_prefix+:} false; then :
14192 $as_echo_n "(cached) " >&6
14193 else
14194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14196 extern int ac_test;
14198 main ()
14200 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14202 return 0;
14204 _ACEOF
14205 if ac_fn_c_try_link "$LINENO"; then :
14206 ac_cv_c_extern_prefix="yes"
14207 else
14208 ac_cv_c_extern_prefix="no"
14210 rm -f core conftest.err conftest.$ac_objext \
14211 conftest$ac_exeext conftest.$ac_ext
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14214 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14216 case $host_cpu in
14217 *i[3456789]86*)
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14219 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14220 if ${ac_cv_c_stdcall_suffix+:} false; then :
14221 $as_echo_n "(cached) " >&6
14222 else
14223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h. */
14225 #ifndef _MSC_VER
14226 #define __stdcall __attribute__((__stdcall__))
14227 #endif
14228 int __stdcall ac_test(int i) { return i; }
14230 main ()
14232 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14234 return 0;
14236 _ACEOF
14237 if ac_fn_c_try_link "$LINENO"; then :
14238 ac_cv_c_stdcall_suffix="yes"
14239 else
14240 ac_cv_c_stdcall_suffix="no"
14242 rm -f core conftest.err conftest.$ac_objext \
14243 conftest$ac_exeext conftest.$ac_ext
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14246 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14247 *) ac_cv_c_stdcall_suffix="no" ;;
14248 esac
14251 if test "$ac_cv_c_extern_prefix" = "yes"
14252 then
14253 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14255 asm_name_prefix="_"
14256 else
14257 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14259 asm_name_prefix=""
14263 if test "$ac_cv_c_stdcall_suffix" = "yes"
14264 then
14265 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14267 else
14268 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14274 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14275 if ${ac_cv_asm_func_def+:} false; then :
14276 $as_echo_n "(cached) " >&6
14277 else
14278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14279 /* end confdefs.h. */
14282 main ()
14284 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14286 return 0;
14288 _ACEOF
14289 if ac_fn_c_try_link "$LINENO"; then :
14290 ac_cv_asm_func_def=".def"
14291 else
14292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14293 /* end confdefs.h. */
14296 main ()
14298 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14300 return 0;
14302 _ACEOF
14303 if ac_fn_c_try_link "$LINENO"; then :
14304 ac_cv_asm_func_def=".type @function"
14305 else
14306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14310 main ()
14312 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14314 return 0;
14316 _ACEOF
14317 if ac_fn_c_try_link "$LINENO"; then :
14318 ac_cv_asm_func_def=".type 2"
14319 else
14320 ac_cv_asm_func_def="unknown"
14322 rm -f core conftest.err conftest.$ac_objext \
14323 conftest$ac_exeext conftest.$ac_ext
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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14332 $as_echo "$ac_cv_asm_func_def" >&6; }
14335 case "$ac_cv_asm_func_def" in
14336 ".def")
14337 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14339 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14340 ".type @function")
14341 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14343 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14344 ".type 2")
14345 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14347 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14349 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14351 asm_func_header="" ;;
14352 esac
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14355 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14356 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14357 $as_echo_n "(cached) " >&6
14358 else
14359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14360 /* end confdefs.h. */
14361 asm(".text\n\t.long 0");
14363 main ()
14367 return 0;
14369 _ACEOF
14370 if ac_fn_c_try_compile "$LINENO"; then :
14371 ac_cv_c_asm_outside_funcs="yes"
14372 else
14373 ac_cv_c_asm_outside_funcs="no"
14375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14378 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14381 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14382 if ${ac_cv_c_dot_previous+:} false; then :
14383 $as_echo_n "(cached) " >&6
14384 else
14385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h. */
14389 main ()
14391 asm(".text\nac_test:\t.long 0\n\t.previous");
14393 return 0;
14395 _ACEOF
14396 if ac_fn_c_try_link "$LINENO"; then :
14397 ac_cv_c_dot_previous="yes"
14398 else
14399 ac_cv_c_dot_previous="no"
14401 rm -f core conftest.err conftest.$ac_objext \
14402 conftest$ac_exeext conftest.$ac_ext
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14405 $as_echo "$ac_cv_c_dot_previous" >&6; }
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14408 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14409 if ${ac_cv_c_cfi_support+:} false; then :
14410 $as_echo_n "(cached) " >&6
14411 else
14412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14414 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14416 main ()
14420 return 0;
14422 _ACEOF
14423 if ac_fn_c_try_compile "$LINENO"; then :
14424 ac_cv_c_cfi_support="yes"
14425 else
14426 ac_cv_c_cfi_support="no"
14428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14431 $as_echo "$ac_cv_c_cfi_support" >&6; }
14433 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14434 asm_func_trailer=""
14435 if test "$ac_cv_c_dot_previous" = "yes"
14436 then
14437 asm_func_trailer="\\n\\t.previous"
14439 if test "$ac_cv_c_cfi_support" = "yes"
14440 then
14441 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14442 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14444 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14446 UNWINDFLAGS=-fasynchronous-unwind-tables
14448 else
14449 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14453 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14456 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14457 then
14458 cat >>confdefs.h <<_ACEOF
14459 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14460 _ACEOF
14462 else
14463 cat >>confdefs.h <<_ACEOF
14464 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14465 _ACEOF
14469 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14472 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14476 case $build_os in
14477 cygwin*|mingw32*) TOOLSEXT=".exe"
14479 esac
14481 case $host_os in
14482 linux*)
14483 case $host_cpu in
14484 *i[3456789]86*|x86_64*)
14485 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14486 loader_programs="$loader_programs $wine_binary-preloader"
14487 as_fn_append LOADER_RULES "
14488 $wine_binary-preloader: preloader.o
14489 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14491 install install-lib:: $wine_binary-preloader
14492 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14494 uninstall::
14495 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14497 preloader_EXTRADEFS = $BUILTINFLAG
14498 " ;;
14499 esac
14501 esac
14502 as_fn_append LOADER_RULES "
14503 PROGRAMS = $loader_programs
14507 ac_save_CFLAGS="$CFLAGS"
14508 CFLAGS="$CFLAGS $BUILTINFLAG"
14509 for ac_func in \
14510 __res_get_state \
14511 __res_getservers \
14512 _finite \
14513 _isnan \
14514 _pclose \
14515 _popen \
14516 _snprintf \
14517 _spawnvp \
14518 _strdup \
14519 _stricmp \
14520 _strnicmp \
14521 _strtoi64 \
14522 _strtoui64 \
14523 _vsnprintf \
14524 asctime_r \
14525 chsize \
14526 dlopen \
14527 epoll_create \
14528 ffs \
14529 fnmatch \
14530 fork \
14531 fpclass \
14532 fstatfs \
14533 fstatvfs \
14534 ftruncate \
14535 futimens \
14536 futimes \
14537 futimesat \
14538 getattrlist \
14539 getdirentries \
14540 getopt_long_only \
14541 getpwuid \
14542 gettimeofday \
14543 getuid \
14544 if_nameindex \
14545 kqueue \
14546 lstat \
14547 memmove \
14548 mmap \
14549 pclose \
14550 pipe2 \
14551 poll \
14552 popen \
14553 port_create \
14554 prctl \
14555 pread \
14556 proc_pidinfo \
14557 pwrite \
14558 readdir \
14559 readlink \
14560 sched_yield \
14561 select \
14562 setproctitle \
14563 setrlimit \
14564 settimeofday \
14565 sigaltstack \
14566 sigprocmask \
14567 snprintf \
14568 statfs \
14569 statvfs \
14570 strcasecmp \
14571 strdup \
14572 strerror \
14573 strncasecmp \
14574 strtold \
14575 strtoll \
14576 strtoull \
14577 symlink \
14578 tcdrain \
14579 thr_kill2 \
14580 timegm \
14581 usleep \
14582 vsnprintf
14584 do :
14585 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14586 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14587 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14588 cat >>confdefs.h <<_ACEOF
14589 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14590 _ACEOF
14593 done
14595 CFLAGS="$ac_save_CFLAGS"
14597 if test "$ac_cv_func_dlopen" = no
14598 then
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14600 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14601 if ${ac_cv_lib_dl_dlopen+:} false; then :
14602 $as_echo_n "(cached) " >&6
14603 else
14604 ac_check_lib_save_LIBS=$LIBS
14605 LIBS="-ldl $LIBS"
14606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14607 /* end confdefs.h. */
14609 /* Override any GCC internal prototype to avoid an error.
14610 Use char because int might match the return type of a GCC
14611 builtin and then its argument prototype would still apply. */
14612 #ifdef __cplusplus
14613 extern "C"
14614 #endif
14615 char dlopen ();
14617 main ()
14619 return dlopen ();
14621 return 0;
14623 _ACEOF
14624 if ac_fn_c_try_link "$LINENO"; then :
14625 ac_cv_lib_dl_dlopen=yes
14626 else
14627 ac_cv_lib_dl_dlopen=no
14629 rm -f core conftest.err conftest.$ac_objext \
14630 conftest$ac_exeext conftest.$ac_ext
14631 LIBS=$ac_check_lib_save_LIBS
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14634 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14635 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14636 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14637 DL_LIBS="-ldl"
14642 ac_wine_check_funcs_save_LIBS="$LIBS"
14643 LIBS="$LIBS $DL_LIBS"
14644 for ac_func in dladdr
14645 do :
14646 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14647 if test "x$ac_cv_func_dladdr" = xyes; then :
14648 cat >>confdefs.h <<_ACEOF
14649 #define HAVE_DLADDR 1
14650 _ACEOF
14653 done
14655 LIBS="$ac_wine_check_funcs_save_LIBS"
14657 if test "$ac_cv_func_poll" = no
14658 then
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14660 $as_echo_n "checking for poll in -lpoll... " >&6; }
14661 if ${ac_cv_lib_poll_poll+:} false; then :
14662 $as_echo_n "(cached) " >&6
14663 else
14664 ac_check_lib_save_LIBS=$LIBS
14665 LIBS="-lpoll $LIBS"
14666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14667 /* end confdefs.h. */
14669 /* Override any GCC internal prototype to avoid an error.
14670 Use char because int might match the return type of a GCC
14671 builtin and then its argument prototype would still apply. */
14672 #ifdef __cplusplus
14673 extern "C"
14674 #endif
14675 char poll ();
14677 main ()
14679 return poll ();
14681 return 0;
14683 _ACEOF
14684 if ac_fn_c_try_link "$LINENO"; then :
14685 ac_cv_lib_poll_poll=yes
14686 else
14687 ac_cv_lib_poll_poll=no
14689 rm -f core conftest.err conftest.$ac_objext \
14690 conftest$ac_exeext conftest.$ac_ext
14691 LIBS=$ac_check_lib_save_LIBS
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14694 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14695 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14696 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14697 POLL_LIBS="-lpoll"
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14704 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14705 if ${ac_cv_search_gethostbyname+:} false; then :
14706 $as_echo_n "(cached) " >&6
14707 else
14708 ac_func_search_save_LIBS=$LIBS
14709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14710 /* end confdefs.h. */
14712 /* Override any GCC internal prototype to avoid an error.
14713 Use char because int might match the return type of a GCC
14714 builtin and then its argument prototype would still apply. */
14715 #ifdef __cplusplus
14716 extern "C"
14717 #endif
14718 char gethostbyname ();
14720 main ()
14722 return gethostbyname ();
14724 return 0;
14726 _ACEOF
14727 for ac_lib in '' nsl; do
14728 if test -z "$ac_lib"; then
14729 ac_res="none required"
14730 else
14731 ac_res=-l$ac_lib
14732 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14734 if ac_fn_c_try_link "$LINENO"; then :
14735 ac_cv_search_gethostbyname=$ac_res
14737 rm -f core conftest.err conftest.$ac_objext \
14738 conftest$ac_exeext
14739 if ${ac_cv_search_gethostbyname+:} false; then :
14740 break
14742 done
14743 if ${ac_cv_search_gethostbyname+:} false; then :
14745 else
14746 ac_cv_search_gethostbyname=no
14748 rm conftest.$ac_ext
14749 LIBS=$ac_func_search_save_LIBS
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14752 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14753 ac_res=$ac_cv_search_gethostbyname
14754 if test "$ac_res" != no; then :
14755 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14761 $as_echo_n "checking for library containing connect... " >&6; }
14762 if ${ac_cv_search_connect+:} false; then :
14763 $as_echo_n "(cached) " >&6
14764 else
14765 ac_func_search_save_LIBS=$LIBS
14766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14767 /* end confdefs.h. */
14769 /* Override any GCC internal prototype to avoid an error.
14770 Use char because int might match the return type of a GCC
14771 builtin and then its argument prototype would still apply. */
14772 #ifdef __cplusplus
14773 extern "C"
14774 #endif
14775 char connect ();
14777 main ()
14779 return connect ();
14781 return 0;
14783 _ACEOF
14784 for ac_lib in '' socket; do
14785 if test -z "$ac_lib"; then
14786 ac_res="none required"
14787 else
14788 ac_res=-l$ac_lib
14789 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14791 if ac_fn_c_try_link "$LINENO"; then :
14792 ac_cv_search_connect=$ac_res
14794 rm -f core conftest.err conftest.$ac_objext \
14795 conftest$ac_exeext
14796 if ${ac_cv_search_connect+:} false; then :
14797 break
14799 done
14800 if ${ac_cv_search_connect+:} false; then :
14802 else
14803 ac_cv_search_connect=no
14805 rm conftest.$ac_ext
14806 LIBS=$ac_func_search_save_LIBS
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14809 $as_echo "$ac_cv_search_connect" >&6; }
14810 ac_res=$ac_cv_search_connect
14811 if test "$ac_res" != no; then :
14812 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14818 $as_echo_n "checking for library containing inet_aton... " >&6; }
14819 if ${ac_cv_search_inet_aton+:} false; then :
14820 $as_echo_n "(cached) " >&6
14821 else
14822 ac_func_search_save_LIBS=$LIBS
14823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14824 /* end confdefs.h. */
14826 /* Override any GCC internal prototype to avoid an error.
14827 Use char because int might match the return type of a GCC
14828 builtin and then its argument prototype would still apply. */
14829 #ifdef __cplusplus
14830 extern "C"
14831 #endif
14832 char inet_aton ();
14834 main ()
14836 return inet_aton ();
14838 return 0;
14840 _ACEOF
14841 for ac_lib in '' resolv; do
14842 if test -z "$ac_lib"; then
14843 ac_res="none required"
14844 else
14845 ac_res=-l$ac_lib
14846 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14848 if ac_fn_c_try_link "$LINENO"; then :
14849 ac_cv_search_inet_aton=$ac_res
14851 rm -f core conftest.err conftest.$ac_objext \
14852 conftest$ac_exeext
14853 if ${ac_cv_search_inet_aton+:} false; then :
14854 break
14856 done
14857 if ${ac_cv_search_inet_aton+:} false; then :
14859 else
14860 ac_cv_search_inet_aton=no
14862 rm conftest.$ac_ext
14863 LIBS=$ac_func_search_save_LIBS
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14866 $as_echo "$ac_cv_search_inet_aton" >&6; }
14867 ac_res=$ac_cv_search_inet_aton
14868 if test "$ac_res" != no; then :
14869 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14874 for ac_func in \
14875 getaddrinfo \
14876 getnameinfo \
14877 getnetbyname \
14878 getprotobyname \
14879 getprotobynumber \
14880 getservbyport \
14881 inet_addr \
14882 inet_network \
14883 inet_ntop \
14884 inet_pton \
14885 sendmsg \
14886 socketpair \
14888 do :
14889 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14890 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14891 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14892 cat >>confdefs.h <<_ACEOF
14893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14894 _ACEOF
14897 done
14900 ac_save_LIBS=$LIBS
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14902 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14903 if ${ac_cv_search_clock_gettime+:} false; then :
14904 $as_echo_n "(cached) " >&6
14905 else
14906 ac_func_search_save_LIBS=$LIBS
14907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14908 /* end confdefs.h. */
14910 /* Override any GCC internal prototype to avoid an error.
14911 Use char because int might match the return type of a GCC
14912 builtin and then its argument prototype would still apply. */
14913 #ifdef __cplusplus
14914 extern "C"
14915 #endif
14916 char clock_gettime ();
14918 main ()
14920 return clock_gettime ();
14922 return 0;
14924 _ACEOF
14925 for ac_lib in '' rt; do
14926 if test -z "$ac_lib"; then
14927 ac_res="none required"
14928 else
14929 ac_res=-l$ac_lib
14930 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14932 if ac_fn_c_try_link "$LINENO"; then :
14933 ac_cv_search_clock_gettime=$ac_res
14935 rm -f core conftest.err conftest.$ac_objext \
14936 conftest$ac_exeext
14937 if ${ac_cv_search_clock_gettime+:} false; then :
14938 break
14940 done
14941 if ${ac_cv_search_clock_gettime+:} false; then :
14943 else
14944 ac_cv_search_clock_gettime=no
14946 rm conftest.$ac_ext
14947 LIBS=$ac_func_search_save_LIBS
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14950 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14951 ac_res=$ac_cv_search_clock_gettime
14952 if test "$ac_res" != no; then :
14953 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14955 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14957 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14961 LIBS=$ac_save_LIBS
14963 LDAP_LIBS=""
14965 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14966 then
14967 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14969 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14971 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14972 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14973 $as_echo_n "(cached) " >&6
14974 else
14975 ac_check_lib_save_LIBS=$LIBS
14976 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14978 /* end confdefs.h. */
14980 /* Override any GCC internal prototype to avoid an error.
14981 Use char because int might match the return type of a GCC
14982 builtin and then its argument prototype would still apply. */
14983 #ifdef __cplusplus
14984 extern "C"
14985 #endif
14986 char ldap_initialize ();
14988 main ()
14990 return ldap_initialize ();
14992 return 0;
14994 _ACEOF
14995 if ac_fn_c_try_link "$LINENO"; then :
14996 ac_cv_lib_ldap_r_ldap_initialize=yes
14997 else
14998 ac_cv_lib_ldap_r_ldap_initialize=no
15000 rm -f core conftest.err conftest.$ac_objext \
15001 conftest$ac_exeext conftest.$ac_ext
15002 LIBS=$ac_check_lib_save_LIBS
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15005 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15006 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15008 $as_echo_n "checking for ber_init in -llber... " >&6; }
15009 if ${ac_cv_lib_lber_ber_init+:} false; then :
15010 $as_echo_n "(cached) " >&6
15011 else
15012 ac_check_lib_save_LIBS=$LIBS
15013 LIBS="-llber $PTHREAD_LIBS $LIBS"
15014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15015 /* end confdefs.h. */
15017 /* Override any GCC internal prototype to avoid an error.
15018 Use char because int might match the return type of a GCC
15019 builtin and then its argument prototype would still apply. */
15020 #ifdef __cplusplus
15021 extern "C"
15022 #endif
15023 char ber_init ();
15025 main ()
15027 return ber_init ();
15029 return 0;
15031 _ACEOF
15032 if ac_fn_c_try_link "$LINENO"; then :
15033 ac_cv_lib_lber_ber_init=yes
15034 else
15035 ac_cv_lib_lber_ber_init=no
15037 rm -f core conftest.err conftest.$ac_objext \
15038 conftest$ac_exeext conftest.$ac_ext
15039 LIBS=$ac_check_lib_save_LIBS
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15042 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15043 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15045 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15047 LDAP_LIBS="-lldap_r -llber"
15054 ac_wine_check_funcs_save_LIBS="$LIBS"
15055 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15056 for ac_func in \
15057 ldap_count_references \
15058 ldap_first_reference \
15059 ldap_next_reference \
15060 ldap_parse_reference \
15061 ldap_parse_sort_control \
15062 ldap_parse_sortresponse_control \
15063 ldap_parse_vlv_control \
15064 ldap_parse_vlvresponse_control
15065 do :
15066 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15067 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15068 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15069 cat >>confdefs.h <<_ACEOF
15070 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15071 _ACEOF
15074 done
15076 LIBS="$ac_wine_check_funcs_save_LIBS"
15078 if test "x$LDAP_LIBS" = "x"; then :
15079 case "x$with_ldap" in
15080 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15081 xno) ;;
15082 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15083 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15084 esac
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15088 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15089 if ${wine_cv_one_arg_mkdir+:} false; then :
15090 $as_echo_n "(cached) " >&6
15091 else
15092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15093 /* end confdefs.h. */
15094 #include <sys/stat.h>
15096 main ()
15098 mkdir("foo");
15100 return 0;
15102 _ACEOF
15103 if ac_fn_c_try_compile "$LINENO"; then :
15104 wine_cv_one_arg_mkdir=yes
15105 else
15106 wine_cv_one_arg_mkdir=no
15108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15111 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15112 if test "$wine_cv_one_arg_mkdir" = "yes"
15113 then
15115 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15120 $as_echo_n "checking for sched_setaffinity... " >&6; }
15121 if ${wine_cv_have_sched_setaffinity+:} false; then :
15122 $as_echo_n "(cached) " >&6
15123 else
15124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15126 #define _GNU_SOURCE
15127 #include <sched.h>
15129 main ()
15131 sched_setaffinity(0, 0, 0);
15133 return 0;
15135 _ACEOF
15136 if ac_fn_c_try_link "$LINENO"; then :
15137 wine_cv_have_sched_setaffinity=yes
15138 else
15139 wine_cv_have_sched_setaffinity=no
15141 rm -f core conftest.err conftest.$ac_objext \
15142 conftest$ac_exeext conftest.$ac_ext
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15145 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15146 if test "$wine_cv_have_sched_setaffinity" = "yes"
15147 then
15149 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15154 $as_echo_n "checking for fallocate... " >&6; }
15155 if ${wine_cv_have_fallocate+:} false; then :
15156 $as_echo_n "(cached) " >&6
15157 else
15158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15159 /* end confdefs.h. */
15160 #define _GNU_SOURCE
15161 #include <fcntl.h>
15163 main ()
15165 fallocate(-1, 0, 0, 0);
15167 return 0;
15169 _ACEOF
15170 if ac_fn_c_try_link "$LINENO"; then :
15171 wine_cv_have_fallocate=yes
15172 else
15173 wine_cv_have_fallocate=no
15175 rm -f core conftest.err conftest.$ac_objext \
15176 conftest$ac_exeext conftest.$ac_ext
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15179 $as_echo "$wine_cv_have_fallocate" >&6; }
15180 if test "$wine_cv_have_fallocate" = "yes"
15181 then
15183 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15189 $as_echo_n "checking for inline... " >&6; }
15190 if ${ac_cv_c_inline+:} false; then :
15191 $as_echo_n "(cached) " >&6
15192 else
15193 ac_cv_c_inline=no
15194 for ac_kw in inline __inline__ __inline; do
15195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15196 /* end confdefs.h. */
15197 #ifndef __cplusplus
15198 typedef int foo_t;
15199 static $ac_kw foo_t static_foo () {return 0; }
15200 $ac_kw foo_t foo () {return 0; }
15201 #endif
15203 _ACEOF
15204 if ac_fn_c_try_compile "$LINENO"; then :
15205 ac_cv_c_inline=$ac_kw
15207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15208 test "$ac_cv_c_inline" != no && break
15209 done
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15213 $as_echo "$ac_cv_c_inline" >&6; }
15215 case $ac_cv_c_inline in
15216 inline | yes) ;;
15218 case $ac_cv_c_inline in
15219 no) ac_val=;;
15220 *) ac_val=$ac_cv_c_inline;;
15221 esac
15222 cat >>confdefs.h <<_ACEOF
15223 #ifndef __cplusplus
15224 #define inline $ac_val
15225 #endif
15226 _ACEOF
15228 esac
15230 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15231 if test "x$ac_cv_type_mode_t" = xyes; then :
15233 cat >>confdefs.h <<_ACEOF
15234 #define HAVE_MODE_T 1
15235 _ACEOF
15239 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15240 if test "x$ac_cv_type_off_t" = xyes; then :
15242 cat >>confdefs.h <<_ACEOF
15243 #define HAVE_OFF_T 1
15244 _ACEOF
15248 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15249 if test "x$ac_cv_type_pid_t" = xyes; then :
15251 cat >>confdefs.h <<_ACEOF
15252 #define HAVE_PID_T 1
15253 _ACEOF
15257 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15258 if test "x$ac_cv_type_size_t" = xyes; then :
15260 cat >>confdefs.h <<_ACEOF
15261 #define HAVE_SIZE_T 1
15262 _ACEOF
15266 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15267 if test "x$ac_cv_type_ssize_t" = xyes; then :
15269 cat >>confdefs.h <<_ACEOF
15270 #define HAVE_SSIZE_T 1
15271 _ACEOF
15275 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15276 if test "x$ac_cv_type_long_long" = xyes; then :
15278 cat >>confdefs.h <<_ACEOF
15279 #define HAVE_LONG_LONG 1
15280 _ACEOF
15284 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15285 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15287 cat >>confdefs.h <<_ACEOF
15288 #define HAVE_FSBLKCNT_T 1
15289 _ACEOF
15293 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15294 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15296 cat >>confdefs.h <<_ACEOF
15297 #define HAVE_FSFILCNT_T 1
15298 _ACEOF
15303 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15304 #include <signal.h>
15306 if test "x$ac_cv_type_sigset_t" = xyes; then :
15308 cat >>confdefs.h <<_ACEOF
15309 #define HAVE_SIGSET_T 1
15310 _ACEOF
15315 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15317 if test "x$ac_cv_type_request_sense" = xyes; then :
15319 cat >>confdefs.h <<_ACEOF
15320 #define HAVE_REQUEST_SENSE 1
15321 _ACEOF
15327 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15328 #ifdef HAVE_SYS_SOCKET_H
15329 #include <sys/socket.h>
15330 #endif
15331 #ifdef HAVE_SYS_SOCKETVAR_H
15332 #include <sys/socketvar.h>
15333 #endif
15334 #ifdef HAVE_NET_ROUTE_H
15335 #include <net/route.h>
15336 #endif
15337 #ifdef HAVE_NETINET_IN_H
15338 #include <netinet/in.h>
15339 #endif
15340 #ifdef HAVE_NETINET_IN_SYSTM_H
15341 #include <netinet/in_systm.h>
15342 #endif
15343 #ifdef HAVE_NETINET_IP_H
15344 #include <netinet/ip.h>
15345 #endif
15346 #ifdef HAVE_NETINET_IN_PCB_H
15347 #include <netinet/in_pcb.h>
15348 #endif
15350 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15352 cat >>confdefs.h <<_ACEOF
15353 #define HAVE_STRUCT_XINPGEN 1
15354 _ACEOF
15360 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15361 #include <link.h>
15362 #endif
15363 #ifdef HAVE_SYS_LINK_H
15364 #include <sys/link.h>
15365 #endif
15367 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15369 cat >>confdefs.h <<_ACEOF
15370 #define HAVE_STRUCT_R_DEBUG 1
15371 _ACEOF
15375 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15376 #include <link.h>
15377 #endif
15378 #ifdef HAVE_SYS_LINK_H
15379 #include <sys/link.h>
15380 #endif
15382 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15384 cat >>confdefs.h <<_ACEOF
15385 #define HAVE_STRUCT_LINK_MAP 1
15386 _ACEOF
15392 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15393 #include <linux/input.h>
15394 #endif
15396 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15398 cat >>confdefs.h <<_ACEOF
15399 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15400 _ACEOF
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15407 $as_echo_n "checking for sigaddset... " >&6; }
15408 if ${wine_cv_have_sigaddset+:} false; then :
15409 $as_echo_n "(cached) " >&6
15410 else
15411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15412 /* end confdefs.h. */
15413 #include <signal.h>
15415 main ()
15417 sigset_t set; sigaddset(&set,SIGTERM);
15419 return 0;
15421 _ACEOF
15422 if ac_fn_c_try_link "$LINENO"; then :
15423 wine_cv_have_sigaddset=yes
15424 else
15425 wine_cv_have_sigaddset=no
15427 rm -f core conftest.err conftest.$ac_objext \
15428 conftest$ac_exeext conftest.$ac_ext
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15431 $as_echo "$wine_cv_have_sigaddset" >&6; }
15432 if test "$wine_cv_have_sigaddset" = "yes"
15433 then
15435 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15441 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15442 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15443 $as_echo_n "(cached) " >&6
15444 else
15445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15446 /* end confdefs.h. */
15447 #include <netdb.h>
15449 main ()
15452 char *name=0;
15453 struct hostent he;
15454 struct hostent *result;
15455 char *buf=0;
15456 int bufsize=0;
15457 int errnr;
15458 char *addr=0;
15459 int addrlen=0;
15460 int addrtype=0;
15461 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15462 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15465 return 0;
15467 _ACEOF
15468 if ac_fn_c_try_link "$LINENO"; then :
15469 wine_cv_linux_gethostbyname_r_6=yes
15470 else
15471 wine_cv_linux_gethostbyname_r_6=no
15474 rm -f core conftest.err conftest.$ac_objext \
15475 conftest$ac_exeext conftest.$ac_ext
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15479 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15480 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15481 then
15483 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15487 if test "$ac_cv_header_linux_joystick_h" = "yes"
15488 then
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15490 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15491 if ${wine_cv_linux_joystick_22_api+:} false; then :
15492 $as_echo_n "(cached) " >&6
15493 else
15494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15495 /* end confdefs.h. */
15497 #include <sys/ioctl.h>
15498 #include <sys/types.h>
15499 #include <linux/joystick.h>
15501 struct js_event blub;
15502 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15503 #error "no 2.2 header"
15504 #endif
15507 main ()
15509 /*empty*/
15511 return 0;
15513 _ACEOF
15514 if ac_fn_c_try_compile "$LINENO"; then :
15515 wine_cv_linux_joystick_22_api=yes
15516 else
15517 wine_cv_linux_joystick_22_api=no
15519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15523 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15524 if test "$wine_cv_linux_joystick_22_api" = "yes"
15525 then
15527 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15533 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15534 #ifdef HAVE_SYS_PARAM_H
15535 # include <sys/param.h>
15536 #endif
15537 #ifdef HAVE_SYS_MOUNT_H
15538 # include <sys/mount.h>
15539 #endif
15540 #ifdef HAVE_SYS_VFS_H
15541 # include <sys/vfs.h>
15542 #endif
15543 #ifdef HAVE_SYS_STATFS_H
15544 # include <sys/statfs.h>
15545 #endif
15547 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15549 cat >>confdefs.h <<_ACEOF
15550 #define HAVE_STRUCT_STATFS_F_BFREE 1
15551 _ACEOF
15555 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15556 #ifdef HAVE_SYS_PARAM_H
15557 # include <sys/param.h>
15558 #endif
15559 #ifdef HAVE_SYS_MOUNT_H
15560 # include <sys/mount.h>
15561 #endif
15562 #ifdef HAVE_SYS_VFS_H
15563 # include <sys/vfs.h>
15564 #endif
15565 #ifdef HAVE_SYS_STATFS_H
15566 # include <sys/statfs.h>
15567 #endif
15569 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15571 cat >>confdefs.h <<_ACEOF
15572 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15573 _ACEOF
15577 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15578 #ifdef HAVE_SYS_PARAM_H
15579 # include <sys/param.h>
15580 #endif
15581 #ifdef HAVE_SYS_MOUNT_H
15582 # include <sys/mount.h>
15583 #endif
15584 #ifdef HAVE_SYS_VFS_H
15585 # include <sys/vfs.h>
15586 #endif
15587 #ifdef HAVE_SYS_STATFS_H
15588 # include <sys/statfs.h>
15589 #endif
15591 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15593 cat >>confdefs.h <<_ACEOF
15594 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15595 _ACEOF
15599 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15600 #ifdef HAVE_SYS_PARAM_H
15601 # include <sys/param.h>
15602 #endif
15603 #ifdef HAVE_SYS_MOUNT_H
15604 # include <sys/mount.h>
15605 #endif
15606 #ifdef HAVE_SYS_VFS_H
15607 # include <sys/vfs.h>
15608 #endif
15609 #ifdef HAVE_SYS_STATFS_H
15610 # include <sys/statfs.h>
15611 #endif
15613 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15615 cat >>confdefs.h <<_ACEOF
15616 #define HAVE_STRUCT_STATFS_F_FFREE 1
15617 _ACEOF
15621 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15622 #ifdef HAVE_SYS_PARAM_H
15623 # include <sys/param.h>
15624 #endif
15625 #ifdef HAVE_SYS_MOUNT_H
15626 # include <sys/mount.h>
15627 #endif
15628 #ifdef HAVE_SYS_VFS_H
15629 # include <sys/vfs.h>
15630 #endif
15631 #ifdef HAVE_SYS_STATFS_H
15632 # include <sys/statfs.h>
15633 #endif
15635 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15637 cat >>confdefs.h <<_ACEOF
15638 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15639 _ACEOF
15643 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15644 #ifdef HAVE_SYS_PARAM_H
15645 # include <sys/param.h>
15646 #endif
15647 #ifdef HAVE_SYS_MOUNT_H
15648 # include <sys/mount.h>
15649 #endif
15650 #ifdef HAVE_SYS_VFS_H
15651 # include <sys/vfs.h>
15652 #endif
15653 #ifdef HAVE_SYS_STATFS_H
15654 # include <sys/statfs.h>
15655 #endif
15657 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15659 cat >>confdefs.h <<_ACEOF
15660 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15661 _ACEOF
15667 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15668 #include <sys/statvfs.h>
15669 #endif
15671 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15673 cat >>confdefs.h <<_ACEOF
15674 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15675 _ACEOF
15681 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15682 #include <dirent.h>
15683 #endif
15685 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15687 cat >>confdefs.h <<_ACEOF
15688 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15689 _ACEOF
15695 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15696 #ifdef HAVE_SYS_SOCKET_H
15697 # include <sys/socket.h>
15698 #endif
15699 #ifdef HAVE_SYS_UN_H
15700 # include <sys/un.h>
15701 #endif
15703 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15705 cat >>confdefs.h <<_ACEOF
15706 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15707 _ACEOF
15711 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15712 #ifdef HAVE_SYS_SOCKET_H
15713 # include <sys/socket.h>
15714 #endif
15715 #ifdef HAVE_SYS_UN_H
15716 # include <sys/un.h>
15717 #endif
15719 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15721 cat >>confdefs.h <<_ACEOF
15722 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15723 _ACEOF
15727 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15728 #ifdef HAVE_SYS_SOCKET_H
15729 # include <sys/socket.h>
15730 #endif
15731 #ifdef HAVE_SYS_UN_H
15732 # include <sys/un.h>
15733 #endif
15735 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15737 cat >>confdefs.h <<_ACEOF
15738 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15739 _ACEOF
15745 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15746 #ifdef HAVE_SCSI_SG_H
15747 #include <scsi/sg.h>
15748 #endif
15750 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15752 cat >>confdefs.h <<_ACEOF
15753 #define HAVE_SCSIREQ_T_CMD 1
15754 _ACEOF
15758 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>
15759 #ifdef HAVE_SCSI_SG_H
15760 #include <scsi/sg.h>
15761 #endif
15763 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15765 cat >>confdefs.h <<_ACEOF
15766 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15767 _ACEOF
15773 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15775 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15777 cat >>confdefs.h <<_ACEOF
15778 #define HAVE_SIGINFO_T_SI_FD 1
15779 _ACEOF
15785 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15786 #ifdef HAVE_SYS_MTIO_H
15787 #include <sys/mtio.h>
15788 #endif
15790 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15792 cat >>confdefs.h <<_ACEOF
15793 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15794 _ACEOF
15798 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15799 #ifdef HAVE_SYS_MTIO_H
15800 #include <sys/mtio.h>
15801 #endif
15803 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15805 cat >>confdefs.h <<_ACEOF
15806 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15807 _ACEOF
15811 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15812 #ifdef HAVE_SYS_MTIO_H
15813 #include <sys/mtio.h>
15814 #endif
15816 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15818 cat >>confdefs.h <<_ACEOF
15819 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15820 _ACEOF
15826 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15827 #include <getopt.h>
15828 #endif
15830 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15832 cat >>confdefs.h <<_ACEOF
15833 #define HAVE_STRUCT_OPTION_NAME 1
15834 _ACEOF
15840 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15841 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15843 cat >>confdefs.h <<_ACEOF
15844 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15845 _ACEOF
15849 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15850 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15852 cat >>confdefs.h <<_ACEOF
15853 #define HAVE_STRUCT_STAT_ST_MTIM 1
15854 _ACEOF
15858 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15859 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15861 cat >>confdefs.h <<_ACEOF
15862 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15863 _ACEOF
15867 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15868 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15870 cat >>confdefs.h <<_ACEOF
15871 #define HAVE_STRUCT_STAT_ST_CTIM 1
15872 _ACEOF
15876 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15877 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15879 cat >>confdefs.h <<_ACEOF
15880 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15881 _ACEOF
15885 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15886 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15888 cat >>confdefs.h <<_ACEOF
15889 #define HAVE_STRUCT_STAT_ST_ATIM 1
15890 _ACEOF
15894 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15895 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15897 cat >>confdefs.h <<_ACEOF
15898 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15899 _ACEOF
15903 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15904 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15906 cat >>confdefs.h <<_ACEOF
15907 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15908 _ACEOF
15912 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15913 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15915 cat >>confdefs.h <<_ACEOF
15916 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15917 _ACEOF
15921 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15922 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15924 cat >>confdefs.h <<_ACEOF
15925 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15926 _ACEOF
15930 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15931 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15933 cat >>confdefs.h <<_ACEOF
15934 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15935 _ACEOF
15939 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15940 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15942 cat >>confdefs.h <<_ACEOF
15943 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15944 _ACEOF
15950 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
15951 #include <sys/types.h>
15952 #endif
15953 #ifdef HAVE_NETINET_IN_H
15954 #include <netinet/in.h>
15955 #endif
15957 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15959 cat >>confdefs.h <<_ACEOF
15960 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15961 _ACEOF
15967 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15968 #include <resolv.h>
15969 #endif
15971 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15973 cat >>confdefs.h <<_ACEOF
15974 #define HAVE_STRUCT___RES_STATE 1
15975 _ACEOF
15981 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
15982 #include <resolv.h>
15983 #endif
15985 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15987 cat >>confdefs.h <<_ACEOF
15988 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15989 _ACEOF
15995 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15996 #include <sys/types.h>
15997 #endif
15998 #ifdef HAVE_NETINET_IN_H
15999 # include <netinet/in.h>
16000 #endif
16001 #ifdef HAVE_ARPA_NAMESER_H
16002 # include <arpa/nameser.h>
16003 #endif
16005 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16007 cat >>confdefs.h <<_ACEOF
16008 #define HAVE_NS_MSG__MSG_PTR 1
16009 _ACEOF
16015 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16016 #include <sys/types.h>
16017 #endif
16018 #ifdef HAVE_NETINET_IP_H
16019 #include <netinet/ip.h>
16020 #endif
16021 #ifdef HAVE_NETINET_IP_ICMP_H
16022 #include <netinet/ip_icmp.h>
16023 #endif
16024 #ifdef HAVE_NETINET_ICMP_VAR_H
16025 #include <netinet/icmp_var.h>
16026 #endif
16028 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16030 cat >>confdefs.h <<_ACEOF
16031 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16032 _ACEOF
16038 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16039 #include <sys/types.h>
16040 #endif
16041 #ifdef HAVE_ALIAS_H
16042 #include <alias.h>
16043 #endif
16044 #ifdef HAVE_SYS_SOCKET_H
16045 #include <sys/socket.h>
16046 #endif
16047 #ifdef HAVE_SYS_SOCKETVAR_H
16048 #include <sys/socketvar.h>
16049 #endif
16050 #ifdef HAVE_SYS_TIMEOUT_H
16051 #include <sys/timeout.h>
16052 #endif
16053 #ifdef HAVE_NETINET_IN_H
16054 #include <netinet/in.h>
16055 #endif
16056 #ifdef HAVE_NETINET_IN_SYSTM_H
16057 #include <netinet/in_systm.h>
16058 #endif
16059 #ifdef HAVE_NETINET_IP_H
16060 #include <netinet/ip.h>
16061 #endif
16062 #ifdef HAVE_NETINET_IP_VAR_H
16063 #include <netinet/ip_var.h>
16064 #endif
16065 #ifdef HAVE_NETINET_IP_ICMP_H
16066 #include <netinet/ip_icmp.h>
16067 #endif
16068 #ifdef HAVE_NETINET_ICMP_VAR_H
16069 #include <netinet/icmp_var.h>
16070 #endif
16072 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16074 cat >>confdefs.h <<_ACEOF
16075 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16076 _ACEOF
16082 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16083 #include <sys/types.h>
16084 #endif
16085 #ifdef HAVE_SYS_SOCKETVAR_H
16086 #include <sys/socketvar.h>
16087 #endif
16088 #ifdef HAVE_NETINET_IN_H
16089 #include <netinet/in.h>
16090 #endif
16091 #ifdef HAVE_NETINET_IP_VAR_H
16092 #include <netinet/ip_var.h>
16093 #endif
16095 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16097 cat >>confdefs.h <<_ACEOF
16098 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16099 _ACEOF
16105 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
16106 #include <netinet/ip_var.h>
16107 #endif
16109 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16111 cat >>confdefs.h <<_ACEOF
16112 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16113 _ACEOF
16119 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16120 #include <sys/types.h>
16121 #endif
16122 #ifdef HAVE_SYS_SOCKETVAR_H
16123 #include <sys/socketvar.h>
16124 #endif
16125 #ifdef HAVE_NETINET_IN_H
16126 #include <netinet/in.h>
16127 #endif
16128 #ifdef HAVE_NETINET_TCP_H
16129 #include <netinet/tcp.h>
16130 #endif
16131 #ifdef HAVE_NETINET_TCP_VAR_H
16132 #include <netinet/tcp_var.h>
16133 #endif
16135 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16137 cat >>confdefs.h <<_ACEOF
16138 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16139 _ACEOF
16145 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
16146 #include <netinet/tcp_var.h>
16147 #endif
16149 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16151 cat >>confdefs.h <<_ACEOF
16152 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16153 _ACEOF
16159 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16160 #include <sys/types.h>
16161 #endif
16162 #ifdef HAVE_NETINET_IN_H
16163 #include <netinet/in.h>
16164 #endif
16165 #ifdef HAVE_NETINET_IP_VAR_H
16166 #include <netinet/ip_var.h>
16167 #endif
16168 #ifdef HAVE_NETINET_UDP_H
16169 #include <netinet/udp.h>
16170 #endif
16171 #ifdef HAVE_NETINET_UDP_VAR_H
16172 #include <netinet/udp_var.h>
16173 #endif
16175 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16177 cat >>confdefs.h <<_ACEOF
16178 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16179 _ACEOF
16185 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16186 #include <sys/types.h>
16187 #endif
16188 #ifdef HAVE_NET_IF_H
16189 # include <net/if.h>
16190 #endif
16192 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16194 cat >>confdefs.h <<_ACEOF
16195 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16196 _ACEOF
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16203 $as_echo_n "checking for timezone variable... " >&6; }
16204 if ${ac_cv_have_timezone+:} false; then :
16205 $as_echo_n "(cached) " >&6
16206 else
16207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16208 /* end confdefs.h. */
16209 #include <time.h>
16211 main ()
16213 timezone = 1
16215 return 0;
16217 _ACEOF
16218 if ac_fn_c_try_link "$LINENO"; then :
16219 ac_cv_have_timezone="yes"
16220 else
16221 ac_cv_have_timezone="no"
16223 rm -f core conftest.err conftest.$ac_objext \
16224 conftest$ac_exeext conftest.$ac_ext
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16227 $as_echo "$ac_cv_have_timezone" >&6; }
16228 if test "$ac_cv_have_timezone" = "yes"
16229 then
16231 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16235 $as_echo_n "checking for daylight variable... " >&6; }
16236 if ${ac_cv_have_daylight+:} false; then :
16237 $as_echo_n "(cached) " >&6
16238 else
16239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16240 /* end confdefs.h. */
16241 #include <time.h>
16243 main ()
16245 daylight = 1
16247 return 0;
16249 _ACEOF
16250 if ac_fn_c_try_link "$LINENO"; then :
16251 ac_cv_have_daylight="yes"
16252 else
16253 ac_cv_have_daylight="no"
16255 rm -f core conftest.err conftest.$ac_objext \
16256 conftest$ac_exeext conftest.$ac_ext
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16259 $as_echo "$ac_cv_have_daylight" >&6; }
16260 if test "$ac_cv_have_daylight" = "yes"
16261 then
16263 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16267 ac_save_LIBS="$LIBS"
16268 LIBS="$LIBS -lm"
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16270 $as_echo_n "checking for isfinite... " >&6; }
16271 if ${ac_cv_have_isfinite+:} false; then :
16272 $as_echo_n "(cached) " >&6
16273 else
16274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16275 /* end confdefs.h. */
16276 #define _GNU_SOURCE
16277 #include <math.h>
16279 main ()
16281 float f = 0.0; return isfinite(f)
16283 return 0;
16285 _ACEOF
16286 if ac_fn_c_try_link "$LINENO"; then :
16287 ac_cv_have_isfinite="yes"
16288 else
16289 ac_cv_have_isfinite="no"
16291 rm -f core conftest.err conftest.$ac_objext \
16292 conftest$ac_exeext conftest.$ac_ext
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16295 $as_echo "$ac_cv_have_isfinite" >&6; }
16296 if test "$ac_cv_have_isfinite" = "yes"
16297 then
16299 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16303 ac_save_LIBS="$LIBS"
16304 LIBS="$LIBS -lm"
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16306 $as_echo_n "checking for isinf... " >&6; }
16307 if ${ac_cv_have_isinf+:} false; then :
16308 $as_echo_n "(cached) " >&6
16309 else
16310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16311 /* end confdefs.h. */
16312 #include <math.h>
16314 main ()
16316 float f = 0.0; return isinf(f)
16318 return 0;
16320 _ACEOF
16321 if ac_fn_c_try_link "$LINENO"; then :
16322 ac_cv_have_isinf="yes"
16323 else
16324 ac_cv_have_isinf="no"
16326 rm -f core conftest.err conftest.$ac_objext \
16327 conftest$ac_exeext conftest.$ac_ext
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16330 $as_echo "$ac_cv_have_isinf" >&6; }
16331 if test "$ac_cv_have_isinf" = "yes"
16332 then
16334 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16339 $as_echo_n "checking for isnan... " >&6; }
16340 if ${ac_cv_have_isnan+:} false; then :
16341 $as_echo_n "(cached) " >&6
16342 else
16343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16344 /* end confdefs.h. */
16345 #include <math.h>
16347 main ()
16349 float f = 0.0; return isnan(f)
16351 return 0;
16353 _ACEOF
16354 if ac_fn_c_try_link "$LINENO"; then :
16355 ac_cv_have_isnan="yes"
16356 else
16357 ac_cv_have_isnan="no"
16359 rm -f core conftest.err conftest.$ac_objext \
16360 conftest$ac_exeext conftest.$ac_ext
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16363 $as_echo "$ac_cv_have_isnan" >&6; }
16364 if test "$ac_cv_have_isnan" = "yes"
16365 then
16367 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16370 LIBS="$ac_save_LIBS"
16373 case $host_cpu in
16374 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16375 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16376 if ${ac_cv_cpp_def___i386__+:} false; then :
16377 $as_echo_n "(cached) " >&6
16378 else
16379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16380 /* end confdefs.h. */
16381 #ifndef __i386__
16383 #endif
16384 _ACEOF
16385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16386 $EGREP "yes" >/dev/null 2>&1; then :
16387 ac_cv_cpp_def___i386__=yes
16388 else
16389 ac_cv_cpp_def___i386__=no
16391 rm -f conftest*
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16395 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16396 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16397 CFLAGS="$CFLAGS -D__i386__"
16398 LINTFLAGS="$LINTFLAGS -D__i386__"
16399 fi ;;
16400 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16401 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16402 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16403 $as_echo_n "(cached) " >&6
16404 else
16405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16406 /* end confdefs.h. */
16407 #ifndef __x86_64__
16409 #endif
16410 _ACEOF
16411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16412 $EGREP "yes" >/dev/null 2>&1; then :
16413 ac_cv_cpp_def___x86_64__=yes
16414 else
16415 ac_cv_cpp_def___x86_64__=no
16417 rm -f conftest*
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16421 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16422 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16423 CFLAGS="$CFLAGS -D__x86_64__"
16424 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16425 fi ;;
16426 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16427 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16428 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16429 $as_echo_n "(cached) " >&6
16430 else
16431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16432 /* end confdefs.h. */
16433 #ifndef __sparc64__
16435 #endif
16436 _ACEOF
16437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16438 $EGREP "yes" >/dev/null 2>&1; then :
16439 ac_cv_cpp_def___sparc64__=yes
16440 else
16441 ac_cv_cpp_def___sparc64__=no
16443 rm -f conftest*
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16447 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16448 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16449 CFLAGS="$CFLAGS -D__sparc64__"
16450 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16451 fi ;;
16452 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16453 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16454 if ${ac_cv_cpp_def___sparc__+:} false; then :
16455 $as_echo_n "(cached) " >&6
16456 else
16457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16459 #ifndef __sparc__
16461 #endif
16462 _ACEOF
16463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16464 $EGREP "yes" >/dev/null 2>&1; then :
16465 ac_cv_cpp_def___sparc__=yes
16466 else
16467 ac_cv_cpp_def___sparc__=no
16469 rm -f conftest*
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16473 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16474 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16475 CFLAGS="$CFLAGS -D__sparc__"
16476 LINTFLAGS="$LINTFLAGS -D__sparc__"
16477 fi ;;
16478 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16479 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16480 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16481 $as_echo_n "(cached) " >&6
16482 else
16483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16484 /* end confdefs.h. */
16485 #ifndef __powerpc64__
16487 #endif
16488 _ACEOF
16489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16490 $EGREP "yes" >/dev/null 2>&1; then :
16491 ac_cv_cpp_def___powerpc64__=yes
16492 else
16493 ac_cv_cpp_def___powerpc64__=no
16495 rm -f conftest*
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16499 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16500 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16501 CFLAGS="$CFLAGS -D__powerpc64__"
16502 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16503 fi ;;
16504 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16505 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16506 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16507 $as_echo_n "(cached) " >&6
16508 else
16509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16510 /* end confdefs.h. */
16511 #ifndef __powerpc__
16513 #endif
16514 _ACEOF
16515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16516 $EGREP "yes" >/dev/null 2>&1; then :
16517 ac_cv_cpp_def___powerpc__=yes
16518 else
16519 ac_cv_cpp_def___powerpc__=no
16521 rm -f conftest*
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16525 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16526 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16527 CFLAGS="$CFLAGS -D__powerpc__"
16528 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16529 fi ;;
16530 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16531 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16532 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16533 $as_echo_n "(cached) " >&6
16534 else
16535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16536 /* end confdefs.h. */
16537 #ifndef __aarch64__
16539 #endif
16540 _ACEOF
16541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16542 $EGREP "yes" >/dev/null 2>&1; then :
16543 ac_cv_cpp_def___aarch64__=yes
16544 else
16545 ac_cv_cpp_def___aarch64__=no
16547 rm -f conftest*
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16551 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16552 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16553 CFLAGS="$CFLAGS -D__aarch64__"
16554 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16555 fi ;;
16556 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16557 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16558 if ${ac_cv_cpp_def___arm__+:} false; then :
16559 $as_echo_n "(cached) " >&6
16560 else
16561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16562 /* end confdefs.h. */
16563 #ifndef __arm__
16565 #endif
16566 _ACEOF
16567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16568 $EGREP "yes" >/dev/null 2>&1; then :
16569 ac_cv_cpp_def___arm__=yes
16570 else
16571 ac_cv_cpp_def___arm__=no
16573 rm -f conftest*
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16577 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16578 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16579 CFLAGS="$CFLAGS -D__arm__"
16580 LINTFLAGS="$LINTFLAGS -D__arm__"
16581 fi ;;
16582 esac
16584 case $host_vendor in
16585 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16586 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16587 if ${ac_cv_cpp_def___sun__+:} false; then :
16588 $as_echo_n "(cached) " >&6
16589 else
16590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16591 /* end confdefs.h. */
16592 #ifndef __sun__
16594 #endif
16595 _ACEOF
16596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16597 $EGREP "yes" >/dev/null 2>&1; then :
16598 ac_cv_cpp_def___sun__=yes
16599 else
16600 ac_cv_cpp_def___sun__=no
16602 rm -f conftest*
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16606 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16607 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16608 CFLAGS="$CFLAGS -D__sun__"
16609 LINTFLAGS="$LINTFLAGS -D__sun__"
16610 fi ;;
16611 esac
16617 ac_config_commands="$ac_config_commands include/stamp-h"
16619 $as_echo_n "creating Makefile rules..." >&6
16621 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16622 SOCKET_LIBS = $SOCKET_LIBS
16623 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16624 IOKIT_LIBS = $IOKIT_LIBS
16625 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16626 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16627 CORESERVICES_LIBS = $CORESERVICES_LIBS
16628 APPKIT_LIBS = $APPKIT_LIBS
16629 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16630 SECURITY_LIBS = $SECURITY_LIBS
16631 COREAUDIO_LIBS = $COREAUDIO_LIBS
16632 OPENAL_LIBS = $OPENAL_LIBS
16633 OPENCL_LIBS = $OPENCL_LIBS
16634 QUICKTIME_LIBS = $QUICKTIME_LIBS
16635 CARBON_LIBS = $CARBON_LIBS
16636 PTHREAD_LIBS = $PTHREAD_LIBS
16637 X_CFLAGS = $X_CFLAGS
16638 X_PRE_LIBS = $X_PRE_LIBS
16639 X_LIBS = $X_LIBS
16640 X_EXTRA_LIBS = $X_EXTRA_LIBS
16641 XML2_CFLAGS = $XML2_CFLAGS
16642 XML2_LIBS = $XML2_LIBS
16643 XSLT_CFLAGS = $XSLT_CFLAGS
16644 XSLT_LIBS = $XSLT_LIBS
16645 DBUS_CFLAGS = $DBUS_CFLAGS
16646 DBUS_LIBS = $DBUS_LIBS
16647 HAL_CFLAGS = $HAL_CFLAGS
16648 HAL_LIBS = $HAL_LIBS
16649 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16650 GNUTLS_LIBS = $GNUTLS_LIBS
16651 SANE_CFLAGS = $SANE_CFLAGS
16652 SANE_LIBS = $SANE_LIBS
16653 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16654 GPHOTO2_LIBS = $GPHOTO2_LIBS
16655 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16656 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16657 RESOLV_LIBS = $RESOLV_LIBS
16658 LCMS2_CFLAGS = $LCMS2_CFLAGS
16659 LCMS2_LIBS = $LCMS2_LIBS
16660 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16661 FREETYPE_LIBS = $FREETYPE_LIBS
16662 Z_LIBS = $Z_LIBS
16663 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16664 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16665 GSTREAMER_LIBS = $GSTREAMER_LIBS
16666 ALSA_LIBS = $ALSA_LIBS
16667 OSS4_CFLAGS = $OSS4_CFLAGS
16668 CAPI20_CFLAGS = $CAPI20_CFLAGS
16669 CAPI20_LIBS = $CAPI20_LIBS
16670 CUPS_CFLAGS = $CUPS_CFLAGS
16671 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16672 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16673 JPEG_CFLAGS = $JPEG_CFLAGS
16674 JPEG_LIBS = $JPEG_LIBS
16675 PNG_CFLAGS = $PNG_CFLAGS
16676 PNG_LIBS = $PNG_LIBS
16677 TIFF_CFLAGS = $TIFF_CFLAGS
16678 TIFF_LIBS = $TIFF_LIBS
16679 MPG123_CFLAGS = $MPG123_CFLAGS
16680 MPG123_LIBS = $MPG123_LIBS
16681 KSTAT_LIBS = $KSTAT_LIBS
16682 PROCSTAT_LIBS = $PROCSTAT_LIBS
16683 DL_LIBS = $DL_LIBS
16684 POLL_LIBS = $POLL_LIBS
16685 RT_LIBS = $RT_LIBS
16686 LDAP_LIBS = $LDAP_LIBS
16691 wine_fn_append_rule "
16692 # Rules automatically generated by configure
16694 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16696 .INIT: Makefile
16697 .MAKEFILEDEPS:
16698 all: Makefile
16699 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16700 @./config.status Make.tmp Makefile"
16702 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16703 .gitignore: config.status
16704 @./config.status .gitignore"
16706 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16707 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16709 if test "x$enable_fonts" != xno; then
16710 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16711 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16712 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16713 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16714 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16716 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16717 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16718 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16719 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16720 ac_config_links="$ac_config_links wine:tools/winewrapper"
16721 wine_fn_config_symlink wine
16722 if test "x$enable_win64" != xno; then
16723 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16724 wine_fn_config_symlink wine64
16727 wine_fn_config_dll acledit enable_acledit
16728 wine_fn_config_dll aclui enable_aclui implib
16729 wine_fn_config_dll activeds enable_activeds implib
16730 wine_fn_config_dll actxprxy enable_actxprxy clean
16731 wine_fn_config_lib adsiid
16732 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16733 wine_fn_config_test dlls/advapi32/tests advapi32_test
16734 wine_fn_config_dll advpack enable_advpack implib
16735 wine_fn_config_test dlls/advpack/tests advpack_test
16736 wine_fn_config_dll amstream enable_amstream clean
16737 wine_fn_config_test dlls/amstream/tests amstream_test
16738 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16739 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16740 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16741 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16742 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16743 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16744 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16745 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16746 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16747 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16748 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16749 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16750 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16751 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16752 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16753 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16754 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16755 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16756 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16757 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16758 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16759 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16760 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16761 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16762 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16763 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16764 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16765 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16766 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16767 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16768 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16769 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16770 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16771 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16772 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16773 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16774 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16775 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16776 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16777 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16778 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16779 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16780 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16781 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16782 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16783 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16784 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16785 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16786 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16787 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16788 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16789 wine_fn_config_dll apphelp enable_apphelp
16790 wine_fn_config_test dlls/apphelp/tests apphelp_test
16791 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16792 wine_fn_config_dll atl enable_atl clean,implib
16793 wine_fn_config_test dlls/atl/tests atl_test
16794 wine_fn_config_dll atl100 enable_atl100 implib
16795 wine_fn_config_test dlls/atl100/tests atl100_test
16796 wine_fn_config_dll atl110 enable_atl110
16797 wine_fn_config_dll atl80 enable_atl80 implib
16798 wine_fn_config_test dlls/atl80/tests atl80_test
16799 wine_fn_config_dll atl90 enable_atl90
16800 wine_fn_config_dll authz enable_authz
16801 wine_fn_config_dll avicap32 enable_avicap32 implib
16802 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16803 wine_fn_config_test dlls/avifil32/tests avifil32_test
16804 wine_fn_config_dll avifile.dll16 enable_win16
16805 wine_fn_config_dll avrt enable_avrt implib
16806 wine_fn_config_dll bcrypt enable_bcrypt
16807 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16808 wine_fn_config_dll browseui enable_browseui clean,po
16809 wine_fn_config_test dlls/browseui/tests browseui_test
16810 wine_fn_config_dll cabinet enable_cabinet implib
16811 wine_fn_config_test dlls/cabinet/tests cabinet_test
16812 wine_fn_config_dll capi2032 enable_capi2032 implib
16813 wine_fn_config_dll cards enable_cards implib
16814 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16815 wine_fn_config_dll clusapi enable_clusapi implib
16816 wine_fn_config_dll comcat enable_comcat
16817 wine_fn_config_test dlls/comcat/tests comcat_test
16818 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16819 wine_fn_config_test dlls/comctl32/tests comctl32_test
16820 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16821 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16822 wine_fn_config_dll comm.drv16 enable_win16
16823 wine_fn_config_dll commdlg.dll16 enable_win16
16824 wine_fn_config_dll compobj.dll16 enable_win16
16825 wine_fn_config_dll compstui enable_compstui implib
16826 wine_fn_config_dll comsvcs enable_comsvcs implib
16827 wine_fn_config_dll credui enable_credui implib,po
16828 wine_fn_config_test dlls/credui/tests credui_test
16829 wine_fn_config_dll crtdll enable_crtdll implib
16830 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16831 wine_fn_config_test dlls/crypt32/tests crypt32_test
16832 wine_fn_config_dll cryptdlg enable_cryptdlg po
16833 wine_fn_config_dll cryptdll enable_cryptdll implib
16834 wine_fn_config_dll cryptnet enable_cryptnet implib
16835 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16836 wine_fn_config_dll cryptui enable_cryptui implib,po
16837 wine_fn_config_test dlls/cryptui/tests cryptui_test
16838 wine_fn_config_dll ctapi32 enable_ctapi32
16839 wine_fn_config_dll ctl3d.dll16 enable_win16
16840 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16841 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16842 wine_fn_config_dll d2d1 enable_d2d1 implib
16843 wine_fn_config_dll d3d10 enable_d3d10 implib
16844 wine_fn_config_test dlls/d3d10/tests d3d10_test
16845 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16846 wine_fn_config_dll d3d10core enable_d3d10core implib
16847 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16848 wine_fn_config_dll d3d11 enable_d3d11
16849 wine_fn_config_dll d3d8 enable_d3d8 implib
16850 wine_fn_config_test dlls/d3d8/tests d3d8_test
16851 wine_fn_config_dll d3d9 enable_d3d9 implib
16852 wine_fn_config_test dlls/d3d9/tests d3d9_test
16853 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16854 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16855 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16856 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16857 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16858 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16859 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16860 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16861 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16862 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16863 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16864 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16865 wine_fn_config_dll d3dim enable_d3dim implib
16866 wine_fn_config_dll d3drm enable_d3drm implib
16867 wine_fn_config_test dlls/d3drm/tests d3drm_test
16868 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16869 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16870 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16871 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16872 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16873 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16874 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16875 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16876 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16877 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16878 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16879 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16880 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16881 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16882 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16883 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16884 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16885 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16886 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16887 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16888 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16889 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16890 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16891 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16892 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16893 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16894 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16895 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16896 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16897 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16898 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16899 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16900 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16901 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16902 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16903 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16904 wine_fn_config_dll dbgeng enable_dbgeng implib
16905 wine_fn_config_dll dbghelp enable_dbghelp implib
16906 wine_fn_config_dll dciman32 enable_dciman32 implib
16907 wine_fn_config_dll ddeml.dll16 enable_win16
16908 wine_fn_config_dll ddraw enable_ddraw clean,implib
16909 wine_fn_config_test dlls/ddraw/tests ddraw_test
16910 wine_fn_config_dll ddrawex enable_ddrawex clean
16911 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16912 wine_fn_config_dll devenum enable_devenum clean,po
16913 wine_fn_config_test dlls/devenum/tests devenum_test
16914 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16915 wine_fn_config_dll difxapi enable_difxapi
16916 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16917 wine_fn_config_test dlls/dinput/tests dinput_test
16918 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16919 wine_fn_config_test dlls/dinput8/tests dinput8_test
16920 wine_fn_config_dll dispdib.dll16 enable_win16
16921 wine_fn_config_dll dispex enable_dispex clean
16922 wine_fn_config_test dlls/dispex/tests dispex_test
16923 wine_fn_config_dll display.drv16 enable_win16
16924 wine_fn_config_dll dmband enable_dmband clean
16925 wine_fn_config_test dlls/dmband/tests dmband_test
16926 wine_fn_config_dll dmcompos enable_dmcompos clean
16927 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16928 wine_fn_config_dll dmime enable_dmime clean
16929 wine_fn_config_test dlls/dmime/tests dmime_test
16930 wine_fn_config_dll dmloader enable_dmloader clean
16931 wine_fn_config_test dlls/dmloader/tests dmloader_test
16932 wine_fn_config_dll dmscript enable_dmscript clean
16933 wine_fn_config_test dlls/dmscript/tests dmscript_test
16934 wine_fn_config_dll dmstyle enable_dmstyle clean
16935 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16936 wine_fn_config_dll dmsynth enable_dmsynth clean
16937 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16938 wine_fn_config_dll dmusic enable_dmusic clean
16939 wine_fn_config_test dlls/dmusic/tests dmusic_test
16940 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16941 wine_fn_config_dll dnsapi enable_dnsapi implib
16942 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16943 wine_fn_config_dll dplay enable_dplay implib
16944 wine_fn_config_dll dplayx enable_dplayx clean,implib
16945 wine_fn_config_test dlls/dplayx/tests dplayx_test
16946 wine_fn_config_dll dpnaddr enable_dpnaddr
16947 wine_fn_config_dll dpnet enable_dpnet clean,implib
16948 wine_fn_config_test dlls/dpnet/tests dpnet_test
16949 wine_fn_config_dll dpnhpast enable_dpnhpast
16950 wine_fn_config_dll dpnlobby enable_dpnlobby
16951 wine_fn_config_dll dpwsockx enable_dpwsockx
16952 wine_fn_config_dll drmclien enable_drmclien
16953 wine_fn_config_dll dsound enable_dsound clean,implib
16954 wine_fn_config_test dlls/dsound/tests dsound_test
16955 wine_fn_config_dll dssenh enable_dssenh
16956 wine_fn_config_test dlls/dssenh/tests dssenh_test
16957 wine_fn_config_dll dswave enable_dswave clean
16958 wine_fn_config_test dlls/dswave/tests dswave_test
16959 wine_fn_config_dll dwmapi enable_dwmapi implib
16960 wine_fn_config_dll dwrite enable_dwrite implib
16961 wine_fn_config_test dlls/dwrite/tests dwrite_test
16962 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16963 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16964 wine_fn_config_lib dxerr8
16965 wine_fn_config_lib dxerr9
16966 wine_fn_config_dll dxgi enable_dxgi implib
16967 wine_fn_config_test dlls/dxgi/tests dxgi_test
16968 wine_fn_config_lib dxguid
16969 wine_fn_config_dll dxva2 enable_dxva2
16970 wine_fn_config_dll explorerframe enable_explorerframe clean
16971 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16972 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16973 wine_fn_config_dll faultrep enable_faultrep implib
16974 wine_fn_config_test dlls/faultrep/tests faultrep_test
16975 wine_fn_config_dll fltlib enable_fltlib
16976 wine_fn_config_dll fntcache enable_fntcache
16977 wine_fn_config_dll fontsub enable_fontsub
16978 wine_fn_config_dll fusion enable_fusion
16979 wine_fn_config_test dlls/fusion/tests fusion_test
16980 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16981 wine_fn_config_dll gameux enable_gameux clean
16982 wine_fn_config_test dlls/gameux/tests gameux_test
16983 wine_fn_config_dll gdi.exe16 enable_win16
16984 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16985 wine_fn_config_test dlls/gdi32/tests gdi32_test
16986 wine_fn_config_dll gdiplus enable_gdiplus implib
16987 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16988 wine_fn_config_dll glu32 enable_glu32 implib
16989 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16990 wine_fn_config_dll gpkcsp enable_gpkcsp
16991 wine_fn_config_dll hal enable_hal
16992 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16993 wine_fn_config_dll hid enable_hid implib
16994 wine_fn_config_dll hlink enable_hlink clean,implib
16995 wine_fn_config_test dlls/hlink/tests hlink_test
16996 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16997 wine_fn_config_dll httpapi enable_httpapi
16998 wine_fn_config_dll iccvid enable_iccvid po
16999 wine_fn_config_dll icmp enable_icmp
17000 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17001 wine_fn_config_test dlls/ieframe/tests ieframe_test
17002 wine_fn_config_dll ifsmgr.vxd enable_win16
17003 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17004 wine_fn_config_dll imagehlp enable_imagehlp implib
17005 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17006 wine_fn_config_dll imm.dll16 enable_win16
17007 wine_fn_config_dll imm32 enable_imm32 implib
17008 wine_fn_config_test dlls/imm32/tests imm32_test
17009 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17010 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17011 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17012 wine_fn_config_dll inetmib1 enable_inetmib1
17013 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17014 wine_fn_config_dll infosoft enable_infosoft clean
17015 wine_fn_config_test dlls/infosoft/tests infosoft_test
17016 wine_fn_config_dll initpki enable_initpki
17017 wine_fn_config_dll inkobj enable_inkobj
17018 wine_fn_config_dll inseng enable_inseng clean
17019 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17020 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17021 wine_fn_config_dll itircl enable_itircl
17022 wine_fn_config_dll itss enable_itss clean
17023 wine_fn_config_test dlls/itss/tests itss_test
17024 wine_fn_config_dll joy.cpl enable_joy_cpl po
17025 wine_fn_config_dll jscript enable_jscript clean,po
17026 wine_fn_config_test dlls/jscript/tests jscript_test
17027 wine_fn_config_dll jsproxy enable_jsproxy implib
17028 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17029 wine_fn_config_test dlls/kernel32/tests kernel32_test
17030 wine_fn_config_dll keyboard.drv16 enable_win16
17031 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17032 wine_fn_config_dll ktmw32 enable_ktmw32
17033 wine_fn_config_dll loadperf enable_loadperf implib
17034 wine_fn_config_dll localspl enable_localspl po
17035 wine_fn_config_test dlls/localspl/tests localspl_test
17036 wine_fn_config_dll localui enable_localui po
17037 wine_fn_config_test dlls/localui/tests localui_test
17038 wine_fn_config_dll lz32 enable_lz32 implib
17039 wine_fn_config_test dlls/lz32/tests lz32_test
17040 wine_fn_config_dll lzexpand.dll16 enable_win16
17041 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17042 wine_fn_config_test dlls/mapi32/tests mapi32_test
17043 wine_fn_config_dll mapistub enable_mapistub
17044 wine_fn_config_dll mciavi32 enable_mciavi32
17045 wine_fn_config_dll mcicda enable_mcicda
17046 wine_fn_config_dll mciqtz32 enable_mciqtz32
17047 wine_fn_config_dll mciseq enable_mciseq
17048 wine_fn_config_dll mciwave enable_mciwave
17049 wine_fn_config_dll mgmtapi enable_mgmtapi
17050 wine_fn_config_dll midimap enable_midimap
17051 wine_fn_config_dll mlang enable_mlang clean,implib
17052 wine_fn_config_test dlls/mlang/tests mlang_test
17053 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17054 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17055 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17056 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17057 wine_fn_config_dll mmdevldr.vxd enable_win16
17058 wine_fn_config_dll mmsystem.dll16 enable_win16
17059 wine_fn_config_dll monodebg.vxd enable_win16
17060 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17061 wine_fn_config_dll mouse.drv16 enable_win16
17062 wine_fn_config_dll mpr enable_mpr implib,po
17063 wine_fn_config_test dlls/mpr/tests mpr_test
17064 wine_fn_config_dll mprapi enable_mprapi implib
17065 wine_fn_config_dll msacm.dll16 enable_win16
17066 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17067 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17068 wine_fn_config_test dlls/msacm32/tests msacm32_test
17069 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17070 wine_fn_config_dll msasn1 enable_msasn1 implib
17071 wine_fn_config_dll mscat32 enable_mscat32
17072 wine_fn_config_dll mscms enable_mscms implib
17073 wine_fn_config_test dlls/mscms/tests mscms_test
17074 wine_fn_config_dll mscoree enable_mscoree clean
17075 wine_fn_config_test dlls/mscoree/tests mscoree_test
17076 wine_fn_config_dll msctf enable_msctf clean
17077 wine_fn_config_test dlls/msctf/tests msctf_test
17078 wine_fn_config_dll msdaps enable_msdaps clean
17079 wine_fn_config_dll msdmo enable_msdmo implib
17080 wine_fn_config_dll msftedit enable_msftedit
17081 wine_fn_config_dll msg711.acm enable_msg711_acm
17082 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17083 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17084 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17085 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17086 wine_fn_config_dll msi enable_msi clean,implib,po
17087 wine_fn_config_test dlls/msi/tests msi_test
17088 wine_fn_config_dll msident enable_msident clean
17089 wine_fn_config_dll msimg32 enable_msimg32 implib
17090 wine_fn_config_dll msimsg enable_msimsg
17091 wine_fn_config_dll msimtf enable_msimtf clean
17092 wine_fn_config_dll msisip enable_msisip
17093 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17094 wine_fn_config_dll msls31 enable_msls31
17095 wine_fn_config_dll msnet32 enable_msnet32
17096 wine_fn_config_dll mspatcha enable_mspatcha
17097 wine_fn_config_dll msrle32 enable_msrle32 po
17098 wine_fn_config_test dlls/msrle32/tests msrle32_test
17099 wine_fn_config_dll mssign32 enable_mssign32
17100 wine_fn_config_dll mssip32 enable_mssip32
17101 wine_fn_config_dll mstask enable_mstask clean
17102 wine_fn_config_test dlls/mstask/tests mstask_test
17103 wine_fn_config_dll msvcirt enable_msvcirt
17104 wine_fn_config_dll msvcm80 enable_msvcm80
17105 wine_fn_config_dll msvcm90 enable_msvcm90
17106 wine_fn_config_dll msvcp100 enable_msvcp100
17107 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17108 wine_fn_config_dll msvcp110 enable_msvcp110
17109 wine_fn_config_dll msvcp60 enable_msvcp60
17110 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17111 wine_fn_config_dll msvcp70 enable_msvcp70
17112 wine_fn_config_dll msvcp71 enable_msvcp71
17113 wine_fn_config_dll msvcp80 enable_msvcp80
17114 wine_fn_config_dll msvcp90 enable_msvcp90
17115 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17116 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17117 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17118 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17119 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17120 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17121 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17122 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17123 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17124 wine_fn_config_dll msvcrt enable_msvcrt implib
17125 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17126 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17127 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17128 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17129 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17130 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17131 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17132 wine_fn_config_dll msvidc32 enable_msvidc32 po
17133 wine_fn_config_dll msvideo.dll16 enable_win16
17134 wine_fn_config_dll mswsock enable_mswsock implib
17135 wine_fn_config_dll msxml enable_msxml clean
17136 wine_fn_config_dll msxml2 enable_msxml2 clean
17137 wine_fn_config_dll msxml3 enable_msxml3 clean
17138 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17139 wine_fn_config_dll msxml4 enable_msxml4 clean
17140 wine_fn_config_dll msxml6 enable_msxml6 clean
17141 wine_fn_config_dll nddeapi enable_nddeapi implib
17142 wine_fn_config_dll netapi32 enable_netapi32 implib
17143 wine_fn_config_test dlls/netapi32/tests netapi32_test
17144 wine_fn_config_dll netcfgx enable_netcfgx clean
17145 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17146 wine_fn_config_dll netprofm enable_netprofm clean
17147 wine_fn_config_test dlls/netprofm/tests netprofm_test
17148 wine_fn_config_dll newdev enable_newdev implib
17149 wine_fn_config_dll normaliz enable_normaliz implib
17150 wine_fn_config_dll npmshtml enable_npmshtml
17151 wine_fn_config_dll ntdll enable_ntdll implib
17152 wine_fn_config_test dlls/ntdll/tests ntdll_test
17153 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17154 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17155 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17156 wine_fn_config_dll ntprint enable_ntprint
17157 wine_fn_config_test dlls/ntprint/tests ntprint_test
17158 wine_fn_config_dll objsel enable_objsel clean
17159 wine_fn_config_dll odbc32 enable_odbc32 implib
17160 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17161 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17162 wine_fn_config_dll odbccu32 enable_odbccu32
17163 wine_fn_config_dll ole2.dll16 enable_win16
17164 wine_fn_config_dll ole2conv.dll16 enable_win16
17165 wine_fn_config_dll ole2disp.dll16 enable_win16
17166 wine_fn_config_dll ole2nls.dll16 enable_win16
17167 wine_fn_config_dll ole2prox.dll16 enable_win16
17168 wine_fn_config_dll ole2thk.dll16 enable_win16
17169 wine_fn_config_dll ole32 enable_ole32 clean,implib
17170 wine_fn_config_test dlls/ole32/tests ole32_test
17171 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17172 wine_fn_config_test dlls/oleacc/tests oleacc_test
17173 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17174 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17175 wine_fn_config_dll olecli.dll16 enable_win16
17176 wine_fn_config_dll olecli32 enable_olecli32 implib
17177 wine_fn_config_dll oledb32 enable_oledb32 clean
17178 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17179 wine_fn_config_dll oledlg enable_oledlg implib,po
17180 wine_fn_config_dll olepro32 enable_olepro32 implib
17181 wine_fn_config_dll olesvr.dll16 enable_win16
17182 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17183 wine_fn_config_dll olethk32 enable_olethk32
17184 wine_fn_config_dll openal32 enable_openal32
17185 wine_fn_config_dll opencl enable_opencl
17186 wine_fn_config_dll opengl32 enable_opengl32 implib
17187 wine_fn_config_test dlls/opengl32/tests opengl32_test
17188 wine_fn_config_dll packager enable_packager clean
17189 wine_fn_config_test dlls/packager/tests packager_test
17190 wine_fn_config_dll pdh enable_pdh implib
17191 wine_fn_config_test dlls/pdh/tests pdh_test
17192 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17193 wine_fn_config_dll pidgen enable_pidgen
17194 wine_fn_config_dll powrprof enable_powrprof implib
17195 wine_fn_config_dll printui enable_printui
17196 wine_fn_config_dll propsys enable_propsys clean,implib
17197 wine_fn_config_test dlls/propsys/tests propsys_test
17198 wine_fn_config_dll psapi enable_psapi implib
17199 wine_fn_config_test dlls/psapi/tests psapi_test
17200 wine_fn_config_dll pstorec enable_pstorec clean
17201 wine_fn_config_dll qcap enable_qcap
17202 wine_fn_config_test dlls/qcap/tests qcap_test
17203 wine_fn_config_dll qedit enable_qedit clean
17204 wine_fn_config_test dlls/qedit/tests qedit_test
17205 wine_fn_config_dll qmgr enable_qmgr clean
17206 wine_fn_config_test dlls/qmgr/tests qmgr_test
17207 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17208 wine_fn_config_dll quartz enable_quartz clean,implib
17209 wine_fn_config_test dlls/quartz/tests quartz_test clean
17210 wine_fn_config_dll query enable_query
17211 wine_fn_config_dll rasapi16.dll16 enable_win16
17212 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17213 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17214 wine_fn_config_dll rasdlg enable_rasdlg implib
17215 wine_fn_config_dll regapi enable_regapi
17216 wine_fn_config_dll resutils enable_resutils implib
17217 wine_fn_config_dll riched20 enable_riched20 implib
17218 wine_fn_config_test dlls/riched20/tests riched20_test
17219 wine_fn_config_dll riched32 enable_riched32
17220 wine_fn_config_test dlls/riched32/tests riched32_test
17221 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17222 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17223 wine_fn_config_dll rsabase enable_rsabase
17224 wine_fn_config_dll rsaenh enable_rsaenh implib
17225 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17226 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17227 wine_fn_config_dll rtutils enable_rtutils implib
17228 wine_fn_config_dll samlib enable_samlib
17229 wine_fn_config_dll sane.ds enable_sane_ds po
17230 wine_fn_config_dll scarddlg enable_scarddlg
17231 wine_fn_config_dll sccbase enable_sccbase
17232 wine_fn_config_dll schannel enable_schannel
17233 wine_fn_config_test dlls/schannel/tests schannel_test
17234 wine_fn_config_dll schedsvc enable_schedsvc clean
17235 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17236 wine_fn_config_dll scrrun enable_scrrun clean
17237 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17238 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17239 wine_fn_config_dll secur32 enable_secur32 implib
17240 wine_fn_config_test dlls/secur32/tests secur32_test
17241 wine_fn_config_dll security enable_security
17242 wine_fn_config_dll sensapi enable_sensapi implib
17243 wine_fn_config_dll serialui enable_serialui implib,po
17244 wine_fn_config_test dlls/serialui/tests serialui_test
17245 wine_fn_config_dll setupapi enable_setupapi implib,po
17246 wine_fn_config_test dlls/setupapi/tests setupapi_test
17247 wine_fn_config_dll setupx.dll16 enable_win16
17248 wine_fn_config_dll sfc enable_sfc implib
17249 wine_fn_config_dll sfc_os enable_sfc_os implib
17250 wine_fn_config_dll shdoclc enable_shdoclc po
17251 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17252 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17253 wine_fn_config_dll shell.dll16 enable_win16
17254 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17255 wine_fn_config_test dlls/shell32/tests shell32_test
17256 wine_fn_config_dll shfolder enable_shfolder implib
17257 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17258 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17259 wine_fn_config_dll slbcsp enable_slbcsp
17260 wine_fn_config_dll slc enable_slc implib
17261 wine_fn_config_dll snmpapi enable_snmpapi implib
17262 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17263 wine_fn_config_dll softpub enable_softpub
17264 wine_fn_config_dll sound.drv16 enable_win16
17265 wine_fn_config_dll spoolss enable_spoolss implib
17266 wine_fn_config_test dlls/spoolss/tests spoolss_test
17267 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17268 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17269 wine_fn_config_dll sti enable_sti clean,implib
17270 wine_fn_config_test dlls/sti/tests sti_test
17271 wine_fn_config_dll storage.dll16 enable_win16
17272 wine_fn_config_dll stress.dll16 enable_win16
17273 wine_fn_config_lib strmbase
17274 wine_fn_config_lib strmiids
17275 wine_fn_config_dll svrapi enable_svrapi
17276 wine_fn_config_dll sxs enable_sxs implib
17277 wine_fn_config_test dlls/sxs/tests sxs_test
17278 wine_fn_config_dll system.drv16 enable_win16
17279 wine_fn_config_dll t2embed enable_t2embed
17280 wine_fn_config_dll tapi32 enable_tapi32 implib
17281 wine_fn_config_dll taskschd enable_taskschd clean
17282 wine_fn_config_test dlls/taskschd/tests taskschd_test
17283 wine_fn_config_dll toolhelp.dll16 enable_win16
17284 wine_fn_config_dll traffic enable_traffic
17285 wine_fn_config_dll twain.dll16 enable_win16
17286 wine_fn_config_dll twain_32 enable_twain_32
17287 wine_fn_config_test dlls/twain_32/tests twain_32_test
17288 wine_fn_config_dll typelib.dll16 enable_win16
17289 wine_fn_config_dll unicows enable_unicows implib
17290 wine_fn_config_dll updspapi enable_updspapi
17291 wine_fn_config_dll url enable_url implib
17292 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17293 wine_fn_config_test dlls/urlmon/tests urlmon_test
17294 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17295 wine_fn_config_dll user.exe16 enable_win16
17296 wine_fn_config_dll user32 enable_user32 clean,implib,po
17297 wine_fn_config_test dlls/user32/tests user32_test
17298 wine_fn_config_dll userenv enable_userenv implib
17299 wine_fn_config_test dlls/userenv/tests userenv_test
17300 wine_fn_config_dll usp10 enable_usp10 implib
17301 wine_fn_config_test dlls/usp10/tests usp10_test
17302 wine_fn_config_lib uuid
17303 wine_fn_config_dll uxtheme enable_uxtheme implib
17304 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17305 wine_fn_config_dll vbscript enable_vbscript clean
17306 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17307 wine_fn_config_dll vcomp enable_vcomp
17308 wine_fn_config_dll vcomp100 enable_vcomp100
17309 wine_fn_config_dll vcomp90 enable_vcomp90
17310 wine_fn_config_dll vdhcp.vxd enable_win16
17311 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17312 wine_fn_config_dll ver.dll16 enable_win16
17313 wine_fn_config_dll version enable_version implib
17314 wine_fn_config_test dlls/version/tests version_test
17315 wine_fn_config_dll vmm.vxd enable_win16
17316 wine_fn_config_dll vnbt.vxd enable_win16
17317 wine_fn_config_dll vnetbios.vxd enable_win16
17318 wine_fn_config_dll vtdapi.vxd enable_win16
17319 wine_fn_config_dll vwin32.vxd enable_win16
17320 wine_fn_config_dll w32skrnl enable_win16
17321 wine_fn_config_dll w32sys.dll16 enable_win16
17322 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17323 wine_fn_config_dll wbemprox enable_wbemprox clean
17324 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17325 wine_fn_config_dll webservices enable_webservices implib
17326 wine_fn_config_dll wer enable_wer implib
17327 wine_fn_config_test dlls/wer/tests wer_test
17328 wine_fn_config_dll wevtapi enable_wevtapi
17329 wine_fn_config_dll wiaservc enable_wiaservc clean
17330 wine_fn_config_dll win32s16.dll16 enable_win16
17331 wine_fn_config_dll win87em.dll16 enable_win16
17332 wine_fn_config_dll winaspi.dll16 enable_win16
17333 wine_fn_config_dll windebug.dll16 enable_win16
17334 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17335 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17336 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17337 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17338 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17339 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17340 wine_fn_config_lib winecrt0
17341 wine_fn_config_dll wined3d enable_wined3d implib
17342 wine_fn_config_dll winegstreamer enable_winegstreamer
17343 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17344 wine_fn_config_dll winemac.drv enable_winemac_drv
17345 wine_fn_config_dll winemapi enable_winemapi
17346 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17347 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17348 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17349 wine_fn_config_dll wineps16.drv16 enable_win16
17350 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17351 wine_fn_config_dll winex11.drv enable_winex11_drv
17352 wine_fn_config_dll wing.dll16 enable_win16
17353 wine_fn_config_dll wing32 enable_wing32
17354 wine_fn_config_dll winhttp enable_winhttp clean,implib
17355 wine_fn_config_test dlls/winhttp/tests winhttp_test
17356 wine_fn_config_dll wininet enable_wininet implib,po
17357 wine_fn_config_test dlls/wininet/tests wininet_test
17358 wine_fn_config_dll winmm enable_winmm implib,po
17359 wine_fn_config_test dlls/winmm/tests winmm_test
17360 wine_fn_config_dll winnls.dll16 enable_win16
17361 wine_fn_config_dll winnls32 enable_winnls32 implib
17362 wine_fn_config_dll winscard enable_winscard implib
17363 wine_fn_config_dll winsock.dll16 enable_win16
17364 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17365 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17366 wine_fn_config_dll winsta enable_winsta
17367 wine_fn_config_dll wintab.dll16 enable_win16
17368 wine_fn_config_dll wintab32 enable_wintab32 implib
17369 wine_fn_config_test dlls/wintab32/tests wintab32_test
17370 wine_fn_config_dll wintrust enable_wintrust implib
17371 wine_fn_config_test dlls/wintrust/tests wintrust_test
17372 wine_fn_config_dll wlanapi enable_wlanapi
17373 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17374 wine_fn_config_test dlls/wldap32/tests wldap32_test
17375 wine_fn_config_dll wmi enable_wmi
17376 wine_fn_config_dll wmiutils enable_wmiutils clean
17377 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17378 wine_fn_config_dll wmp enable_wmp clean
17379 wine_fn_config_test dlls/wmp/tests wmp_test
17380 wine_fn_config_dll wmvcore enable_wmvcore
17381 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17382 wine_fn_config_dll wow32 enable_win16 implib
17383 wine_fn_config_dll wpcap enable_wpcap
17384 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17385 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17386 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17387 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17388 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17389 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17390 wine_fn_config_dll wsock32 enable_wsock32 implib
17391 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17392 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17393 wine_fn_config_dll wuapi enable_wuapi clean
17394 wine_fn_config_dll wuaueng enable_wuaueng
17395 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17396 wine_fn_config_dll xinput1_1 enable_xinput1_1
17397 wine_fn_config_dll xinput1_2 enable_xinput1_2
17398 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17399 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17400 wine_fn_config_dll xinput1_4 enable_xinput1_4
17401 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17402 wine_fn_config_dll xmllite enable_xmllite implib
17403 wine_fn_config_test dlls/xmllite/tests xmllite_test
17404 wine_fn_config_dll xolehlp enable_xolehlp
17405 wine_fn_config_dll xpsprint enable_xpsprint
17406 wine_fn_config_dll xpssvcs enable_xpssvcs
17407 wine_fn_config_makefile documentation enable_documentation clean
17408 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17409 wine_fn_config_makefile include enable_include clean,install-dev
17410 wine_fn_config_makefile libs/port enable_libs_port
17411 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17412 wine_fn_config_makefile libs/wpp enable_libs_wpp
17413 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17414 wine_fn_config_program arp enable_arp install
17415 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17416 wine_fn_config_program attrib enable_attrib install,po
17417 wine_fn_config_program cabarc enable_cabarc install
17418 wine_fn_config_program cacls enable_cacls install
17419 wine_fn_config_program clock enable_clock install,po
17420 wine_fn_config_program cmd enable_cmd install,po
17421 wine_fn_config_test programs/cmd/tests cmd.exe_test
17422 wine_fn_config_program conhost enable_conhost install
17423 wine_fn_config_program control enable_control install
17424 wine_fn_config_program cscript enable_cscript install
17425 wine_fn_config_program dpnsvr enable_dpnsvr install
17426 wine_fn_config_program dxdiag enable_dxdiag install,po
17427 wine_fn_config_program eject enable_eject install
17428 wine_fn_config_program expand enable_expand install
17429 wine_fn_config_program explorer enable_explorer install,po
17430 wine_fn_config_program extrac32 enable_extrac32 install
17431 wine_fn_config_program findstr enable_findstr install
17432 wine_fn_config_program hh enable_hh install
17433 wine_fn_config_program hostname enable_hostname install,po
17434 wine_fn_config_program icinfo enable_icinfo install
17435 wine_fn_config_program iexplore enable_iexplore install
17436 wine_fn_config_program ipconfig enable_ipconfig install,po
17437 wine_fn_config_program lodctr enable_lodctr install
17438 wine_fn_config_program mofcomp enable_mofcomp install
17439 wine_fn_config_program mshta enable_mshta install
17440 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17441 wine_fn_config_program net enable_net install,po
17442 wine_fn_config_program netsh enable_netsh install
17443 wine_fn_config_program netstat enable_netstat install,po
17444 wine_fn_config_program ngen enable_ngen install
17445 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17446 wine_fn_config_program oleview enable_oleview install,po
17447 wine_fn_config_program ping enable_ping install
17448 wine_fn_config_program plugplay enable_plugplay install
17449 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17450 wine_fn_config_program progman enable_progman install,po
17451 wine_fn_config_program reg enable_reg install,po
17452 wine_fn_config_program regasm enable_regasm install
17453 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17454 wine_fn_config_test programs/regedit/tests regedit.exe_test
17455 wine_fn_config_program regsvcs enable_regsvcs install
17456 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17457 wine_fn_config_program rpcss enable_rpcss clean,install
17458 wine_fn_config_program rundll.exe16 enable_win16 install
17459 wine_fn_config_program rundll32 enable_rundll32 install
17460 wine_fn_config_program sc enable_sc install
17461 wine_fn_config_program schtasks enable_schtasks install
17462 wine_fn_config_program sdbinst enable_sdbinst install
17463 wine_fn_config_program secedit enable_secedit install
17464 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17465 wine_fn_config_program services enable_services clean,install
17466 wine_fn_config_test programs/services/tests services.exe_test
17467 wine_fn_config_program spoolsv enable_spoolsv install
17468 wine_fn_config_program start enable_start install,po
17469 wine_fn_config_program svchost enable_svchost install
17470 wine_fn_config_program taskkill enable_taskkill install,po
17471 wine_fn_config_program tasklist enable_tasklist install
17472 wine_fn_config_program taskmgr enable_taskmgr install,po
17473 wine_fn_config_program termsv enable_termsv install
17474 wine_fn_config_program uninstaller enable_uninstaller install,po
17475 wine_fn_config_program unlodctr enable_unlodctr install
17476 wine_fn_config_program view enable_view install,po
17477 wine_fn_config_program wevtutil enable_wevtutil install
17478 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17479 wine_fn_config_program winebrowser enable_winebrowser install
17480 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17481 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17482 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17483 wine_fn_config_program winedevice enable_winedevice install
17484 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17485 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17486 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17487 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17488 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17489 wine_fn_config_program winetest enable_winetest clean
17490 wine_fn_config_program winevdm enable_win16 install
17491 wine_fn_config_program winhelp.exe16 enable_win16 install
17492 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17493 wine_fn_config_program winoldap.mod16 enable_win16 install
17494 wine_fn_config_program winver enable_winver install
17495 wine_fn_config_program wmic enable_wmic install,po
17496 wine_fn_config_program wordpad enable_wordpad install,po
17497 wine_fn_config_program write enable_write install,po
17498 wine_fn_config_program wscript enable_wscript clean,install
17499 wine_fn_config_test programs/wscript/tests wscript.exe_test
17500 wine_fn_config_program wusa enable_wusa install
17501 wine_fn_config_program xcopy enable_xcopy install,po
17502 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17503 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17504 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17505 wine_fn_config_tool tools/sfnt2fon clean
17506 wine_fn_config_tool tools/widl clean,install-dev,manpage
17507 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17508 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17509 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17510 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17511 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17513 LINGUAS="\
17514 ar \
17515 bg \
17516 ca \
17517 cs \
17518 da \
17519 de \
17520 el \
17521 en \
17522 en_US \
17523 eo \
17524 es \
17525 fa \
17526 fi \
17527 fr \
17528 he \
17529 hi \
17530 hr \
17531 hu \
17532 it \
17533 ja \
17534 ko \
17535 lt \
17536 ml \
17537 nb_NO \
17538 nl \
17539 or \
17540 pa \
17541 pl \
17542 pt_BR \
17543 pt_PT \
17544 rm \
17545 ro \
17546 ru \
17547 sk \
17548 sl \
17549 sr_RS@cyrillic \
17550 sr_RS@latin \
17551 sv \
17552 te \
17553 th \
17554 tr \
17555 uk \
17556 wa \
17557 zh_CN \
17558 zh_TW"
17563 wine_fn_ignore_file ".gitignore"
17564 wine_fn_ignore_file "Makefile"
17565 wine_fn_ignore_file "TAGS"
17566 wine_fn_ignore_file "tags"
17567 wine_fn_ignore_file "autom4te.cache"
17568 wine_fn_ignore_file "config.cache"
17569 wine_fn_ignore_file "config.log"
17570 wine_fn_ignore_file "config.status"
17571 wine_fn_ignore_file "configure.lineno"
17572 wine_fn_ignore_file "include/config.h"
17573 wine_fn_ignore_file "include/stamp-h"
17574 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17576 if test "x$enable_tools" != xno
17577 then
17578 wine_fn_ignore_file "tools/makedep$ac_exeext"
17579 ac_config_commands="$ac_config_commands tools/makedep"
17583 ac_config_commands="$ac_config_commands Makefile"
17586 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17590 if test "x$enable_maintainer_mode" = xyes
17591 then
17592 wine_fn_append_rule "configure: configure.ac aclocal.m4
17593 autoconf --warnings=all
17594 include/config.h.in: include/stamp-h.in
17595 include/stamp-h.in: configure.ac aclocal.m4
17596 autoheader --warnings=all
17597 @echo timestamp > \$@"
17600 if test "x$with_gettextpo" = xyes
17601 then
17602 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17603 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17604 \$(LINGUAS:%=po/%.po): po/wine.pot
17605 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17606 po/wine.pot: \$(ALL_POT_FILES)
17607 msgcat -o \$@ \$(ALL_POT_FILES)"
17610 if test "$MSGFMT" != false
17611 then
17612 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17613 clean::
17614 \$(RM) \$(LINGUAS:%=po/%.mo)"
17616 posrc="po"
17617 test "$srcdir" = . || posrc="$srcdir/po"
17618 for i in $LINGUAS
17620 wine_fn_ignore_file "po/$i.mo"
17621 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17622 \$(MSGFMT) -o \$@ $posrc/$i.po"
17623 done
17624 else
17625 LINGUAS=
17628 if test "x$enable_tools" != xno
17629 then
17630 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17631 @./config.status tools/makedep
17632 Makefile: tools/makedep$ac_exeext
17633 distclean:: clean
17634 \$(RM) tools/makedep$ac_exeext"
17635 else
17636 wine_fn_append_rule "\$(MAKEDEP):
17637 @echo \"You need to run make in $TOOLSDIR first\" && false"
17640 if test -n "$with_wine64"
17641 then
17642 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17643 fonts server tools:
17644 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17645 $with_wine64/loader/wine:
17646 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17647 $with_wine64/loader/wine-preloader:
17648 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17649 clean::
17650 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17651 else
17652 as_fn_append LOADER_RULES "
17653 install install-lib:: wine.inf install-man-pages
17654 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17655 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17657 uninstall::
17658 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17662 if test "$srcdir" = .
17663 then
17664 ac_config_commands="$ac_config_commands .gitignore"
17668 $as_echo " done" >&6
17669 cat >confcache <<\_ACEOF
17670 # This file is a shell script that caches the results of configure
17671 # tests run on this system so they can be shared between configure
17672 # scripts and configure runs, see configure's option --config-cache.
17673 # It is not useful on other systems. If it contains results you don't
17674 # want to keep, you may remove or edit it.
17676 # config.status only pays attention to the cache file if you give it
17677 # the --recheck option to rerun configure.
17679 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17680 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17681 # following values.
17683 _ACEOF
17685 # The following way of writing the cache mishandles newlines in values,
17686 # but we know of no workaround that is simple, portable, and efficient.
17687 # So, we kill variables containing newlines.
17688 # Ultrix sh set writes to stderr and can't be redirected directly,
17689 # and sets the high bit in the cache file unless we assign to the vars.
17691 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17692 eval ac_val=\$$ac_var
17693 case $ac_val in #(
17694 *${as_nl}*)
17695 case $ac_var in #(
17696 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17697 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17698 esac
17699 case $ac_var in #(
17700 _ | IFS | as_nl) ;; #(
17701 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17702 *) { eval $ac_var=; unset $ac_var;} ;;
17703 esac ;;
17704 esac
17705 done
17707 (set) 2>&1 |
17708 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17709 *${as_nl}ac_space=\ *)
17710 # `set' does not quote correctly, so add quotes: double-quote
17711 # substitution turns \\\\ into \\, and sed turns \\ into \.
17712 sed -n \
17713 "s/'/'\\\\''/g;
17714 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17715 ;; #(
17717 # `set' quotes correctly as required by POSIX, so do not add quotes.
17718 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17720 esac |
17721 sort
17723 sed '
17724 /^ac_cv_env_/b end
17725 t clear
17726 :clear
17727 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17728 t end
17729 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17730 :end' >>confcache
17731 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17732 if test -w "$cache_file"; then
17733 if test "x$cache_file" != "x/dev/null"; then
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17735 $as_echo "$as_me: updating cache $cache_file" >&6;}
17736 if test ! -f "$cache_file" || test -h "$cache_file"; then
17737 cat confcache >"$cache_file"
17738 else
17739 case $cache_file in #(
17740 */* | ?:*)
17741 mv -f confcache "$cache_file"$$ &&
17742 mv -f "$cache_file"$$ "$cache_file" ;; #(
17744 mv -f confcache "$cache_file" ;;
17745 esac
17748 else
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17750 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17753 rm -f confcache
17755 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17756 # Let make expand exec_prefix.
17757 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17759 DEFS=-DHAVE_CONFIG_H
17761 ac_libobjs=
17762 ac_ltlibobjs=
17764 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17765 # 1. Remove the extension, and $U if already installed.
17766 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17767 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17768 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17769 # will be set to the directory where LIBOBJS objects are built.
17770 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17771 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17772 done
17773 LIBOBJS=$ac_libobjs
17775 LTLIBOBJS=$ac_ltlibobjs
17779 : "${CONFIG_STATUS=./config.status}"
17780 ac_write_fail=0
17781 ac_clean_files_save=$ac_clean_files
17782 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17784 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17785 as_write_fail=0
17786 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17787 #! $SHELL
17788 # Generated by $as_me.
17789 # Run this file to recreate the current configuration.
17790 # Compiler output produced by configure, useful for debugging
17791 # configure, is in config.log if it exists.
17793 debug=false
17794 ac_cs_recheck=false
17795 ac_cs_silent=false
17797 SHELL=\${CONFIG_SHELL-$SHELL}
17798 export SHELL
17799 _ASEOF
17800 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17801 ## -------------------- ##
17802 ## M4sh Initialization. ##
17803 ## -------------------- ##
17805 # Be more Bourne compatible
17806 DUALCASE=1; export DUALCASE # for MKS sh
17807 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17808 emulate sh
17809 NULLCMD=:
17810 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17811 # is contrary to our usage. Disable this feature.
17812 alias -g '${1+"$@"}'='"$@"'
17813 setopt NO_GLOB_SUBST
17814 else
17815 case `(set -o) 2>/dev/null` in #(
17816 *posix*) :
17817 set -o posix ;; #(
17818 *) :
17820 esac
17824 as_nl='
17826 export as_nl
17827 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17828 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17829 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17830 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17831 # Prefer a ksh shell builtin over an external printf program on Solaris,
17832 # but without wasting forks for bash or zsh.
17833 if test -z "$BASH_VERSION$ZSH_VERSION" \
17834 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17835 as_echo='print -r --'
17836 as_echo_n='print -rn --'
17837 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17838 as_echo='printf %s\n'
17839 as_echo_n='printf %s'
17840 else
17841 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17842 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17843 as_echo_n='/usr/ucb/echo -n'
17844 else
17845 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17846 as_echo_n_body='eval
17847 arg=$1;
17848 case $arg in #(
17849 *"$as_nl"*)
17850 expr "X$arg" : "X\\(.*\\)$as_nl";
17851 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17852 esac;
17853 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17855 export as_echo_n_body
17856 as_echo_n='sh -c $as_echo_n_body as_echo'
17858 export as_echo_body
17859 as_echo='sh -c $as_echo_body as_echo'
17862 # The user is always right.
17863 if test "${PATH_SEPARATOR+set}" != set; then
17864 PATH_SEPARATOR=:
17865 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17866 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17867 PATH_SEPARATOR=';'
17872 # IFS
17873 # We need space, tab and new line, in precisely that order. Quoting is
17874 # there to prevent editors from complaining about space-tab.
17875 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17876 # splitting by setting IFS to empty value.)
17877 IFS=" "" $as_nl"
17879 # Find who we are. Look in the path if we contain no directory separator.
17880 as_myself=
17881 case $0 in #((
17882 *[\\/]* ) as_myself=$0 ;;
17883 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17884 for as_dir in $PATH
17886 IFS=$as_save_IFS
17887 test -z "$as_dir" && as_dir=.
17888 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17889 done
17890 IFS=$as_save_IFS
17893 esac
17894 # We did not find ourselves, most probably we were run as `sh COMMAND'
17895 # in which case we are not to be found in the path.
17896 if test "x$as_myself" = x; then
17897 as_myself=$0
17899 if test ! -f "$as_myself"; then
17900 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17901 exit 1
17904 # Unset variables that we do not need and which cause bugs (e.g. in
17905 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17906 # suppresses any "Segmentation fault" message there. '((' could
17907 # trigger a bug in pdksh 5.2.14.
17908 for as_var in BASH_ENV ENV MAIL MAILPATH
17909 do eval test x\${$as_var+set} = xset \
17910 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17911 done
17912 PS1='$ '
17913 PS2='> '
17914 PS4='+ '
17916 # NLS nuisances.
17917 LC_ALL=C
17918 export LC_ALL
17919 LANGUAGE=C
17920 export LANGUAGE
17922 # CDPATH.
17923 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17926 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17927 # ----------------------------------------
17928 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17929 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17930 # script with STATUS, using 1 if that was 0.
17931 as_fn_error ()
17933 as_status=$1; test $as_status -eq 0 && as_status=1
17934 if test "$4"; then
17935 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17936 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17938 $as_echo "$as_me: error: $2" >&2
17939 as_fn_exit $as_status
17940 } # as_fn_error
17943 # as_fn_set_status STATUS
17944 # -----------------------
17945 # Set $? to STATUS, without forking.
17946 as_fn_set_status ()
17948 return $1
17949 } # as_fn_set_status
17951 # as_fn_exit STATUS
17952 # -----------------
17953 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17954 as_fn_exit ()
17956 set +e
17957 as_fn_set_status $1
17958 exit $1
17959 } # as_fn_exit
17961 # as_fn_unset VAR
17962 # ---------------
17963 # Portably unset VAR.
17964 as_fn_unset ()
17966 { eval $1=; unset $1;}
17968 as_unset=as_fn_unset
17969 # as_fn_append VAR VALUE
17970 # ----------------------
17971 # Append the text in VALUE to the end of the definition contained in VAR. Take
17972 # advantage of any shell optimizations that allow amortized linear growth over
17973 # repeated appends, instead of the typical quadratic growth present in naive
17974 # implementations.
17975 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17976 eval 'as_fn_append ()
17978 eval $1+=\$2
17980 else
17981 as_fn_append ()
17983 eval $1=\$$1\$2
17985 fi # as_fn_append
17987 # as_fn_arith ARG...
17988 # ------------------
17989 # Perform arithmetic evaluation on the ARGs, and store the result in the
17990 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17991 # must be portable across $(()) and expr.
17992 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17993 eval 'as_fn_arith ()
17995 as_val=$(( $* ))
17997 else
17998 as_fn_arith ()
18000 as_val=`expr "$@" || test $? -eq 1`
18002 fi # as_fn_arith
18005 if expr a : '\(a\)' >/dev/null 2>&1 &&
18006 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18007 as_expr=expr
18008 else
18009 as_expr=false
18012 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18013 as_basename=basename
18014 else
18015 as_basename=false
18018 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18019 as_dirname=dirname
18020 else
18021 as_dirname=false
18024 as_me=`$as_basename -- "$0" ||
18025 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18026 X"$0" : 'X\(//\)$' \| \
18027 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18028 $as_echo X/"$0" |
18029 sed '/^.*\/\([^/][^/]*\)\/*$/{
18030 s//\1/
18033 /^X\/\(\/\/\)$/{
18034 s//\1/
18037 /^X\/\(\/\).*/{
18038 s//\1/
18041 s/.*/./; q'`
18043 # Avoid depending upon Character Ranges.
18044 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18045 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18046 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18047 as_cr_digits='0123456789'
18048 as_cr_alnum=$as_cr_Letters$as_cr_digits
18050 ECHO_C= ECHO_N= ECHO_T=
18051 case `echo -n x` in #(((((
18052 -n*)
18053 case `echo 'xy\c'` in
18054 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18055 xy) ECHO_C='\c';;
18056 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18057 ECHO_T=' ';;
18058 esac;;
18060 ECHO_N='-n';;
18061 esac
18063 rm -f conf$$ conf$$.exe conf$$.file
18064 if test -d conf$$.dir; then
18065 rm -f conf$$.dir/conf$$.file
18066 else
18067 rm -f conf$$.dir
18068 mkdir conf$$.dir 2>/dev/null
18070 if (echo >conf$$.file) 2>/dev/null; then
18071 if ln -s conf$$.file conf$$ 2>/dev/null; then
18072 as_ln_s='ln -s'
18073 # ... but there are two gotchas:
18074 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18075 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18076 # In both cases, we have to default to `cp -pR'.
18077 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18078 as_ln_s='cp -pR'
18079 elif ln conf$$.file conf$$ 2>/dev/null; then
18080 as_ln_s=ln
18081 else
18082 as_ln_s='cp -pR'
18084 else
18085 as_ln_s='cp -pR'
18087 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18088 rmdir conf$$.dir 2>/dev/null
18091 # as_fn_mkdir_p
18092 # -------------
18093 # Create "$as_dir" as a directory, including parents if necessary.
18094 as_fn_mkdir_p ()
18097 case $as_dir in #(
18098 -*) as_dir=./$as_dir;;
18099 esac
18100 test -d "$as_dir" || eval $as_mkdir_p || {
18101 as_dirs=
18102 while :; do
18103 case $as_dir in #(
18104 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18105 *) as_qdir=$as_dir;;
18106 esac
18107 as_dirs="'$as_qdir' $as_dirs"
18108 as_dir=`$as_dirname -- "$as_dir" ||
18109 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18110 X"$as_dir" : 'X\(//\)[^/]' \| \
18111 X"$as_dir" : 'X\(//\)$' \| \
18112 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18113 $as_echo X"$as_dir" |
18114 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18115 s//\1/
18118 /^X\(\/\/\)[^/].*/{
18119 s//\1/
18122 /^X\(\/\/\)$/{
18123 s//\1/
18126 /^X\(\/\).*/{
18127 s//\1/
18130 s/.*/./; q'`
18131 test -d "$as_dir" && break
18132 done
18133 test -z "$as_dirs" || eval "mkdir $as_dirs"
18134 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18137 } # as_fn_mkdir_p
18138 if mkdir -p . 2>/dev/null; then
18139 as_mkdir_p='mkdir -p "$as_dir"'
18140 else
18141 test -d ./-p && rmdir ./-p
18142 as_mkdir_p=false
18146 # as_fn_executable_p FILE
18147 # -----------------------
18148 # Test if FILE is an executable regular file.
18149 as_fn_executable_p ()
18151 test -f "$1" && test -x "$1"
18152 } # as_fn_executable_p
18153 as_test_x='test -x'
18154 as_executable_p=as_fn_executable_p
18156 # Sed expression to map a string onto a valid CPP name.
18157 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18159 # Sed expression to map a string onto a valid variable name.
18160 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18163 exec 6>&1
18164 ## ----------------------------------- ##
18165 ## Main body of $CONFIG_STATUS script. ##
18166 ## ----------------------------------- ##
18167 _ASEOF
18168 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18171 # Save the log message, to keep $0 and so on meaningful, and to
18172 # report actual input values of CONFIG_FILES etc. instead of their
18173 # values after options handling.
18174 ac_log="
18175 This file was extended by Wine $as_me 1.7.25, which was
18176 generated by GNU Autoconf 2.69. Invocation command line was
18178 CONFIG_FILES = $CONFIG_FILES
18179 CONFIG_HEADERS = $CONFIG_HEADERS
18180 CONFIG_LINKS = $CONFIG_LINKS
18181 CONFIG_COMMANDS = $CONFIG_COMMANDS
18182 $ $0 $@
18184 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18187 _ACEOF
18189 case $ac_config_files in *"
18190 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18191 esac
18193 case $ac_config_headers in *"
18194 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18195 esac
18198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18199 # Files that config.status was made for.
18200 config_files="$ac_config_files"
18201 config_headers="$ac_config_headers"
18202 config_links="$ac_config_links"
18203 config_commands="$ac_config_commands"
18205 _ACEOF
18207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18208 ac_cs_usage="\
18209 \`$as_me' instantiates files and other configuration actions
18210 from templates according to the current configuration. Unless the files
18211 and actions are specified as TAGs, all are instantiated by default.
18213 Usage: $0 [OPTION]... [TAG]...
18215 -h, --help print this help, then exit
18216 -V, --version print version number and configuration settings, then exit
18217 --config print configuration, then exit
18218 -q, --quiet, --silent
18219 do not print progress messages
18220 -d, --debug don't remove temporary files
18221 --recheck update $as_me by reconfiguring in the same conditions
18222 --file=FILE[:TEMPLATE]
18223 instantiate the configuration file FILE
18224 --header=FILE[:TEMPLATE]
18225 instantiate the configuration header FILE
18227 Configuration files:
18228 $config_files
18230 Configuration headers:
18231 $config_headers
18233 Configuration links:
18234 $config_links
18236 Configuration commands:
18237 $config_commands
18239 Report bugs to <wine-devel@winehq.org>.
18240 Wine home page: <http://www.winehq.org>."
18242 _ACEOF
18243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18244 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18245 ac_cs_version="\\
18246 Wine config.status 1.7.25
18247 configured by $0, generated by GNU Autoconf 2.69,
18248 with options \\"\$ac_cs_config\\"
18250 Copyright (C) 2012 Free Software Foundation, Inc.
18251 This config.status script is free software; the Free Software Foundation
18252 gives unlimited permission to copy, distribute and modify it."
18254 ac_pwd='$ac_pwd'
18255 srcdir='$srcdir'
18256 test -n "\$AWK" || AWK=awk
18257 _ACEOF
18259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18260 # The default lists apply if the user does not specify any file.
18261 ac_need_defaults=:
18262 while test $# != 0
18264 case $1 in
18265 --*=?*)
18266 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18267 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18268 ac_shift=:
18270 --*=)
18271 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18272 ac_optarg=
18273 ac_shift=:
18276 ac_option=$1
18277 ac_optarg=$2
18278 ac_shift=shift
18280 esac
18282 case $ac_option in
18283 # Handling of the options.
18284 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18285 ac_cs_recheck=: ;;
18286 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18287 $as_echo "$ac_cs_version"; exit ;;
18288 --config | --confi | --conf | --con | --co | --c )
18289 $as_echo "$ac_cs_config"; exit ;;
18290 --debug | --debu | --deb | --de | --d | -d )
18291 debug=: ;;
18292 --file | --fil | --fi | --f )
18293 $ac_shift
18294 case $ac_optarg in
18295 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18296 '') as_fn_error $? "missing file argument" ;;
18297 esac
18298 as_fn_append CONFIG_FILES " '$ac_optarg'"
18299 ac_need_defaults=false;;
18300 --header | --heade | --head | --hea )
18301 $ac_shift
18302 case $ac_optarg in
18303 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18304 esac
18305 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18306 ac_need_defaults=false;;
18307 --he | --h)
18308 # Conflict between --help and --header
18309 as_fn_error $? "ambiguous option: \`$1'
18310 Try \`$0 --help' for more information.";;
18311 --help | --hel | -h )
18312 $as_echo "$ac_cs_usage"; exit ;;
18313 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18314 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18315 ac_cs_silent=: ;;
18317 # This is an error.
18318 -*) as_fn_error $? "unrecognized option: \`$1'
18319 Try \`$0 --help' for more information." ;;
18321 *) as_fn_append ac_config_targets " $1"
18322 ac_need_defaults=false ;;
18324 esac
18325 shift
18326 done
18328 ac_configure_extra_args=
18330 if $ac_cs_silent; then
18331 exec 6>/dev/null
18332 ac_configure_extra_args="$ac_configure_extra_args --silent"
18335 _ACEOF
18336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18337 if \$ac_cs_recheck; then
18338 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18339 shift
18340 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18341 CONFIG_SHELL='$SHELL'
18342 export CONFIG_SHELL
18343 exec "\$@"
18346 _ACEOF
18347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18348 exec 5>>config.log
18350 echo
18351 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18352 ## Running $as_me. ##
18353 _ASBOX
18354 $as_echo "$ac_log"
18355 } >&5
18357 _ACEOF
18358 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18360 # INIT-COMMANDS
18362 wine_fn_output_makedep ()
18364 as_dir=tools; as_fn_mkdir_p
18365 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18367 wine_fn_output_makefile ()
18369 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18370 `cat $wine_rules_file`
18371 _WINE_EOF
18372 as_fn_error $? "could not create Makefile" "$LINENO" 5
18374 wine_fn_output_gitignore ()
18376 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18377 $GITIGNORE
18378 _WINE_EOF
18379 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18382 _ACEOF
18384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18386 # Handling of arguments.
18387 for ac_config_target in $ac_config_targets
18389 case $ac_config_target in
18390 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18391 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18392 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18393 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18394 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18395 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18396 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18397 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18398 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18399 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18400 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18401 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18402 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18403 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18405 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18406 esac
18407 done
18410 # If the user did not use the arguments to specify the items to instantiate,
18411 # then the envvar interface is used. Set only those that are not.
18412 # We use the long form for the default assignment because of an extremely
18413 # bizarre bug on SunOS 4.1.3.
18414 if $ac_need_defaults; then
18415 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18416 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18417 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18418 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18421 # Have a temporary directory for convenience. Make it in the build tree
18422 # simply because there is no reason against having it here, and in addition,
18423 # creating and moving files from /tmp can sometimes cause problems.
18424 # Hook for its removal unless debugging.
18425 # Note that there is a small window in which the directory will not be cleaned:
18426 # after its creation but before its name has been assigned to `$tmp'.
18427 $debug ||
18429 tmp= ac_tmp=
18430 trap 'exit_status=$?
18431 : "${ac_tmp:=$tmp}"
18432 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18434 trap 'as_fn_exit 1' 1 2 13 15
18436 # Create a (secure) tmp directory for tmp files.
18439 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18440 test -d "$tmp"
18441 } ||
18443 tmp=./conf$$-$RANDOM
18444 (umask 077 && mkdir "$tmp")
18445 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18446 ac_tmp=$tmp
18448 # Set up the scripts for CONFIG_FILES section.
18449 # No need to generate them if there are no CONFIG_FILES.
18450 # This happens for instance with `./config.status config.h'.
18451 if test -n "$CONFIG_FILES"; then
18454 ac_cr=`echo X | tr X '\015'`
18455 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18456 # But we know of no other shell where ac_cr would be empty at this
18457 # point, so we can use a bashism as a fallback.
18458 if test "x$ac_cr" = x; then
18459 eval ac_cr=\$\'\\r\'
18461 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18462 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18463 ac_cs_awk_cr='\\r'
18464 else
18465 ac_cs_awk_cr=$ac_cr
18468 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18469 _ACEOF
18473 echo "cat >conf$$subs.awk <<_ACEOF" &&
18474 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18475 echo "_ACEOF"
18476 } >conf$$subs.sh ||
18477 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18478 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18479 ac_delim='%!_!# '
18480 for ac_last_try in false false false false false :; do
18481 . ./conf$$subs.sh ||
18482 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18484 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18485 if test $ac_delim_n = $ac_delim_num; then
18486 break
18487 elif $ac_last_try; then
18488 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18489 else
18490 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18492 done
18493 rm -f conf$$subs.sh
18495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18496 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18497 _ACEOF
18498 sed -n '
18500 s/^/S["/; s/!.*/"]=/
18503 s/^[^!]*!//
18504 :repl
18505 t repl
18506 s/'"$ac_delim"'$//
18507 t delim
18510 s/\(.\{148\}\)..*/\1/
18511 t more1
18512 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18515 b repl
18516 :more1
18517 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18520 s/.\{148\}//
18521 t nl
18522 :delim
18524 s/\(.\{148\}\)..*/\1/
18525 t more2
18526 s/["\\]/\\&/g; s/^/"/; s/$/"/
18529 :more2
18530 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18533 s/.\{148\}//
18534 t delim
18535 ' <conf$$subs.awk | sed '
18536 /^[^""]/{
18538 s/\n//
18540 ' >>$CONFIG_STATUS || ac_write_fail=1
18541 rm -f conf$$subs.awk
18542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18543 _ACAWK
18544 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18545 for (key in S) S_is_set[key] = 1
18546 FS = "\a"
18550 line = $ 0
18551 nfields = split(line, field, "@")
18552 substed = 0
18553 len = length(field[1])
18554 for (i = 2; i < nfields; i++) {
18555 key = field[i]
18556 keylen = length(key)
18557 if (S_is_set[key]) {
18558 value = S[key]
18559 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18560 len += length(value) + length(field[++i])
18561 substed = 1
18562 } else
18563 len += 1 + keylen
18566 print line
18569 _ACAWK
18570 _ACEOF
18571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18572 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18573 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18574 else
18576 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18577 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18578 _ACEOF
18580 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18581 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18582 # trailing colons and then remove the whole line if VPATH becomes empty
18583 # (actually we leave an empty line to preserve line numbers).
18584 if test "x$srcdir" = x.; then
18585 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18587 s///
18588 s/^/:/
18589 s/[ ]*$/:/
18590 s/:\$(srcdir):/:/g
18591 s/:\${srcdir}:/:/g
18592 s/:@srcdir@:/:/g
18593 s/^:*//
18594 s/:*$//
18596 s/\(=[ ]*\).*/\1/
18598 s/\n//
18599 s/^[^=]*=[ ]*$//
18603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18604 fi # test -n "$CONFIG_FILES"
18606 # Set up the scripts for CONFIG_HEADERS section.
18607 # No need to generate them if there are no CONFIG_HEADERS.
18608 # This happens for instance with `./config.status Makefile'.
18609 if test -n "$CONFIG_HEADERS"; then
18610 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18611 BEGIN {
18612 _ACEOF
18614 # Transform confdefs.h into an awk script `defines.awk', embedded as
18615 # here-document in config.status, that substitutes the proper values into
18616 # config.h.in to produce config.h.
18618 # Create a delimiter string that does not exist in confdefs.h, to ease
18619 # handling of long lines.
18620 ac_delim='%!_!# '
18621 for ac_last_try in false false :; do
18622 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18623 if test -z "$ac_tt"; then
18624 break
18625 elif $ac_last_try; then
18626 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18627 else
18628 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18630 done
18632 # For the awk script, D is an array of macro values keyed by name,
18633 # likewise P contains macro parameters if any. Preserve backslash
18634 # newline sequences.
18636 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18637 sed -n '
18638 s/.\{148\}/&'"$ac_delim"'/g
18639 t rset
18640 :rset
18641 s/^[ ]*#[ ]*define[ ][ ]*/ /
18642 t def
18644 :def
18645 s/\\$//
18646 t bsnl
18647 s/["\\]/\\&/g
18648 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18649 D["\1"]=" \3"/p
18650 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18652 :bsnl
18653 s/["\\]/\\&/g
18654 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18655 D["\1"]=" \3\\\\\\n"\\/p
18656 t cont
18657 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18658 t cont
18660 :cont
18662 s/.\{148\}/&'"$ac_delim"'/g
18663 t clear
18664 :clear
18665 s/\\$//
18666 t bsnlc
18667 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18669 :bsnlc
18670 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18671 b cont
18672 ' <confdefs.h | sed '
18673 s/'"$ac_delim"'/"\\\
18674 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18677 for (key in D) D_is_set[key] = 1
18678 FS = "\a"
18680 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18681 line = \$ 0
18682 split(line, arg, " ")
18683 if (arg[1] == "#") {
18684 defundef = arg[2]
18685 mac1 = arg[3]
18686 } else {
18687 defundef = substr(arg[1], 2)
18688 mac1 = arg[2]
18690 split(mac1, mac2, "(") #)
18691 macro = mac2[1]
18692 prefix = substr(line, 1, index(line, defundef) - 1)
18693 if (D_is_set[macro]) {
18694 # Preserve the white space surrounding the "#".
18695 print prefix "define", macro P[macro] D[macro]
18696 next
18697 } else {
18698 # Replace #undef with comments. This is necessary, for example,
18699 # in the case of _POSIX_SOURCE, which is predefined and required
18700 # on some systems where configure will not decide to define it.
18701 if (defundef == "undef") {
18702 print "/*", prefix defundef, macro, "*/"
18703 next
18707 { print }
18708 _ACAWK
18709 _ACEOF
18710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18711 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18712 fi # test -n "$CONFIG_HEADERS"
18715 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18716 shift
18717 for ac_tag
18719 case $ac_tag in
18720 :[FHLC]) ac_mode=$ac_tag; continue;;
18721 esac
18722 case $ac_mode$ac_tag in
18723 :[FHL]*:*);;
18724 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18725 :[FH]-) ac_tag=-:-;;
18726 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18727 esac
18728 ac_save_IFS=$IFS
18729 IFS=:
18730 set x $ac_tag
18731 IFS=$ac_save_IFS
18732 shift
18733 ac_file=$1
18734 shift
18736 case $ac_mode in
18737 :L) ac_source=$1;;
18738 :[FH])
18739 ac_file_inputs=
18740 for ac_f
18742 case $ac_f in
18743 -) ac_f="$ac_tmp/stdin";;
18744 *) # Look for the file first in the build tree, then in the source tree
18745 # (if the path is not absolute). The absolute path cannot be DOS-style,
18746 # because $ac_f cannot contain `:'.
18747 test -f "$ac_f" ||
18748 case $ac_f in
18749 [\\/$]*) false;;
18750 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18751 esac ||
18752 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18753 esac
18754 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18755 as_fn_append ac_file_inputs " '$ac_f'"
18756 done
18758 # Let's still pretend it is `configure' which instantiates (i.e., don't
18759 # use $as_me), people would be surprised to read:
18760 # /* config.h. Generated by config.status. */
18761 configure_input='Generated from '`
18762 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18763 `' by configure.'
18764 if test x"$ac_file" != x-; then
18765 configure_input="$ac_file. $configure_input"
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18767 $as_echo "$as_me: creating $ac_file" >&6;}
18769 # Neutralize special characters interpreted by sed in replacement strings.
18770 case $configure_input in #(
18771 *\&* | *\|* | *\\* )
18772 ac_sed_conf_input=`$as_echo "$configure_input" |
18773 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18774 *) ac_sed_conf_input=$configure_input;;
18775 esac
18777 case $ac_tag in
18778 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18779 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18780 esac
18782 esac
18784 ac_dir=`$as_dirname -- "$ac_file" ||
18785 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18786 X"$ac_file" : 'X\(//\)[^/]' \| \
18787 X"$ac_file" : 'X\(//\)$' \| \
18788 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18789 $as_echo X"$ac_file" |
18790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18791 s//\1/
18794 /^X\(\/\/\)[^/].*/{
18795 s//\1/
18798 /^X\(\/\/\)$/{
18799 s//\1/
18802 /^X\(\/\).*/{
18803 s//\1/
18806 s/.*/./; q'`
18807 as_dir="$ac_dir"; as_fn_mkdir_p
18808 ac_builddir=.
18810 case "$ac_dir" in
18811 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18813 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18814 # A ".." for each directory in $ac_dir_suffix.
18815 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18816 case $ac_top_builddir_sub in
18817 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18818 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18819 esac ;;
18820 esac
18821 ac_abs_top_builddir=$ac_pwd
18822 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18823 # for backward compatibility:
18824 ac_top_builddir=$ac_top_build_prefix
18826 case $srcdir in
18827 .) # We are building in place.
18828 ac_srcdir=.
18829 ac_top_srcdir=$ac_top_builddir_sub
18830 ac_abs_top_srcdir=$ac_pwd ;;
18831 [\\/]* | ?:[\\/]* ) # Absolute name.
18832 ac_srcdir=$srcdir$ac_dir_suffix;
18833 ac_top_srcdir=$srcdir
18834 ac_abs_top_srcdir=$srcdir ;;
18835 *) # Relative name.
18836 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18837 ac_top_srcdir=$ac_top_build_prefix$srcdir
18838 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18839 esac
18840 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18843 case $ac_mode in
18846 # CONFIG_FILE
18849 _ACEOF
18851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18852 # If the template does not know about datarootdir, expand it.
18853 # FIXME: This hack should be removed a few years after 2.60.
18854 ac_datarootdir_hack=; ac_datarootdir_seen=
18855 ac_sed_dataroot='
18856 /datarootdir/ {
18860 /@datadir@/p
18861 /@docdir@/p
18862 /@infodir@/p
18863 /@localedir@/p
18864 /@mandir@/p'
18865 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18866 *datarootdir*) ac_datarootdir_seen=yes;;
18867 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18869 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18870 _ACEOF
18871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18872 ac_datarootdir_hack='
18873 s&@datadir@&$datadir&g
18874 s&@docdir@&$docdir&g
18875 s&@infodir@&$infodir&g
18876 s&@localedir@&$localedir&g
18877 s&@mandir@&$mandir&g
18878 s&\\\${datarootdir}&$datarootdir&g' ;;
18879 esac
18880 _ACEOF
18882 # Neutralize VPATH when `$srcdir' = `.'.
18883 # Shell code in configure.ac might set extrasub.
18884 # FIXME: do we really want to maintain this feature?
18885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18886 ac_sed_extra="$ac_vpsub
18887 $extrasub
18888 _ACEOF
18889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18891 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18892 s|@configure_input@|$ac_sed_conf_input|;t t
18893 s&@top_builddir@&$ac_top_builddir_sub&;t t
18894 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18895 s&@srcdir@&$ac_srcdir&;t t
18896 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18897 s&@top_srcdir@&$ac_top_srcdir&;t t
18898 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18899 s&@builddir@&$ac_builddir&;t t
18900 s&@abs_builddir@&$ac_abs_builddir&;t t
18901 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18902 $ac_datarootdir_hack
18904 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18905 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18907 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18908 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18909 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18910 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18912 which seems to be undefined. Please make sure it is defined" >&5
18913 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18914 which seems to be undefined. Please make sure it is defined" >&2;}
18916 rm -f "$ac_tmp/stdin"
18917 case $ac_file in
18918 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18919 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18920 esac \
18921 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18925 # CONFIG_HEADER
18927 if test x"$ac_file" != x-; then
18929 $as_echo "/* $configure_input */" \
18930 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18931 } >"$ac_tmp/config.h" \
18932 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18933 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18935 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18936 else
18937 rm -f "$ac_file"
18938 mv "$ac_tmp/config.h" "$ac_file" \
18939 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18941 else
18942 $as_echo "/* $configure_input */" \
18943 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18944 || as_fn_error $? "could not create -" "$LINENO" 5
18949 # CONFIG_LINK
18952 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18954 else
18955 # Prefer the file from the source tree if names are identical.
18956 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18957 ac_source=$srcdir/$ac_source
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18961 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18963 if test ! -r "$ac_source"; then
18964 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18966 rm -f "$ac_file"
18968 # Try a relative symlink, then a hard link, then a copy.
18969 case $ac_source in
18970 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18971 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18972 esac
18973 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18974 ln "$ac_source" "$ac_file" 2>/dev/null ||
18975 cp -p "$ac_source" "$ac_file" ||
18976 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18979 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18980 $as_echo "$as_me: executing $ac_file commands" >&6;}
18982 esac
18985 case $ac_file$ac_mode in
18986 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18987 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18988 "Makefile":C) wine_fn_output_makefile Makefile ;;
18989 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18991 esac
18992 done # for ac_tag
18995 as_fn_exit 0
18996 _ACEOF
18997 ac_clean_files=$ac_clean_files_save
18999 test $ac_write_fail = 0 ||
19000 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19003 # configure is writing to config.log, and then calls config.status.
19004 # config.status does its own redirection, appending to config.log.
19005 # Unfortunately, on DOS this fails, as config.log is still kept open
19006 # by configure, so config.status won't be able to write to it; its
19007 # output is simply discarded. So we exec the FD to /dev/null,
19008 # effectively closing config.log, so it can be properly (re)opened and
19009 # appended to by config.status. When coming back to configure, we
19010 # need to make the FD available again.
19011 if test "$no_create" != yes; then
19012 ac_cs_success=:
19013 ac_config_status_args=
19014 test "$silent" = yes &&
19015 ac_config_status_args="$ac_config_status_args --quiet"
19016 exec 5>/dev/null
19017 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19018 exec 5>>config.log
19019 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19020 # would make configure fail if this is the last instruction.
19021 $ac_cs_success || as_fn_exit 1
19023 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19025 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19029 if test "$no_create" = "yes"
19030 then
19031 exit 0
19034 ac_save_IFS="$IFS"
19035 if test "x$wine_notices != "x; then
19036 echo >&6
19037 IFS="|"
19038 for msg in $wine_notices; do
19039 IFS="$ac_save_IFS"
19040 if ${msg:+false} :; then :
19042 else
19043 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19044 $as_echo "$as_me: $msg" >&6;}
19046 done
19048 IFS="|"
19049 for msg in $wine_warnings; do
19050 IFS="$ac_save_IFS"
19051 if ${msg:+false} :; then :
19053 else
19054 echo >&2
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19056 $as_echo "$as_me: WARNING: $msg" >&2;}
19058 done
19059 IFS="$ac_save_IFS"
19061 $as_echo "
19062 $as_me: Finished. Do '${ac_make}' to compile Wine.
19063 " >&6