kernel32/tests: Add UTF-7 encoded surrounding characters tests.
[wine.git] / configure
blob67fb59d382b2c5559c53a6836e2af013cd04ae92
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.30.
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.30'
584 PACKAGE_STRING='Wine 1.7.30'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
735 CPPBIN
736 ac_ct_CXX
737 CXXFLAGS
739 OBJEXT
740 EXEEXT
741 ac_ct_CC
742 CPPFLAGS
743 LDFLAGS
744 CFLAGS
746 SET_MAKE
747 host_os
748 host_vendor
749 host_cpu
750 host
751 build_os
752 build_vendor
753 build_cpu
754 build
755 target_alias
756 host_alias
757 build_alias
758 LIBS
759 ECHO_T
760 ECHO_N
761 ECHO_C
762 DEFS
763 mandir
764 localedir
765 libdir
766 psdir
767 pdfdir
768 dvidir
769 htmldir
770 infodir
771 docdir
772 oldincludedir
773 includedir
774 localstatedir
775 sharedstatedir
776 sysconfdir
777 datadir
778 datarootdir
779 libexecdir
780 sbindir
781 bindir
782 program_transform_name
783 prefix
784 exec_prefix
785 PACKAGE_URL
786 PACKAGE_BUGREPORT
787 PACKAGE_STRING
788 PACKAGE_VERSION
789 PACKAGE_TARNAME
790 PACKAGE_NAME
791 PATH_SEPARATOR
792 SHELL'
793 ac_subst_files=''
794 ac_user_opts='
795 enable_option_checking
796 enable_win16
797 enable_win64
798 enable_tests
799 enable_maintainer_mode
800 with_alsa
801 with_capi
802 with_cms
803 with_coreaudio
804 with_cups
805 with_curses
806 with_dbus
807 with_fontconfig
808 with_freetype
809 with_gettext
810 with_gettextpo
811 with_gphoto
812 with_glu
813 with_gnutls
814 with_gsm
815 with_gstreamer
816 with_hal
817 with_jpeg
818 with_ldap
819 with_mpg123
820 with_netapi
821 with_openal
822 with_opencl
823 with_opengl
824 with_osmesa
825 with_oss
826 with_pcap
827 with_png
828 with_pthread
829 with_sane
830 with_tiff
831 with_v4l
832 with_xcomposite
833 with_xcursor
834 with_xinerama
835 with_xinput
836 with_xinput2
837 with_xml
838 with_xrandr
839 with_xrender
840 with_xshape
841 with_xshm
842 with_xslt
843 with_xxf86vm
844 with_zlib
845 with_wine_tools
846 with_wine64
847 enable_largefile
848 with_x
849 enable_acledit
850 enable_aclui
851 enable_activeds
852 enable_actxprxy
853 enable_advapi32
854 enable_advpack
855 enable_amstream
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_debug_l1_1_1
859 enable_api_ms_win_core_errorhandling_l1_1_1
860 enable_api_ms_win_core_file_l1_2_0
861 enable_api_ms_win_core_handle_l1_1_0
862 enable_api_ms_win_core_heap_l1_2_0
863 enable_api_ms_win_core_heap_obsolete_l1_1_0
864 enable_api_ms_win_core_interlocked_l1_2_0
865 enable_api_ms_win_core_io_l1_1_1
866 enable_api_ms_win_core_kernel32_legacy_l1_1_0
867 enable_api_ms_win_core_libraryloader_l1_1_1
868 enable_api_ms_win_core_localization_l1_2_0
869 enable_api_ms_win_core_localization_obsolete_l1_1_0
870 enable_api_ms_win_core_localregistry_l1_1_0
871 enable_api_ms_win_core_memory_l1_1_1
872 enable_api_ms_win_core_namedpipe_l1_2_0
873 enable_api_ms_win_core_processenvironment_l1_2_0
874 enable_api_ms_win_core_processthreads_l1_1_0
875 enable_api_ms_win_core_processthreads_l1_1_1
876 enable_api_ms_win_core_profile_l1_1_0
877 enable_api_ms_win_core_psapi_l1_1_0
878 enable_api_ms_win_core_registry_l1_1_0
879 enable_api_ms_win_core_rtlsupport_l1_2_0
880 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
881 enable_api_ms_win_core_string_l1_1_0
882 enable_api_ms_win_core_synch_l1_2_0
883 enable_api_ms_win_core_sysinfo_l1_2_0
884 enable_api_ms_win_core_threadpool_legacy_l1_1_0
885 enable_api_ms_win_core_timezone_l1_1_0
886 enable_api_ms_win_core_url_l1_1_0
887 enable_api_ms_win_core_util_l1_1_0
888 enable_api_ms_win_core_winrt_error_l1_1_0
889 enable_api_ms_win_core_winrt_string_l1_1_0
890 enable_api_ms_win_downlevel_advapi32_l1_1_0
891 enable_api_ms_win_downlevel_advapi32_l2_1_0
892 enable_api_ms_win_downlevel_normaliz_l1_1_0
893 enable_api_ms_win_downlevel_ole32_l1_1_0
894 enable_api_ms_win_downlevel_shell32_l1_1_0
895 enable_api_ms_win_downlevel_shlwapi_l1_1_0
896 enable_api_ms_win_downlevel_shlwapi_l2_1_0
897 enable_api_ms_win_downlevel_user32_l1_1_0
898 enable_api_ms_win_downlevel_version_l1_1_0
899 enable_api_ms_win_eventing_provider_l1_1_0
900 enable_api_ms_win_ntuser_dc_access_l1_1_0
901 enable_api_ms_win_security_base_l1_1_0
902 enable_api_ms_win_security_base_l1_2_0
903 enable_api_ms_win_security_sddl_l1_1_0
904 enable_api_ms_win_service_core_l1_1_1
905 enable_api_ms_win_service_management_l1_1_0
906 enable_api_ms_win_service_winsvc_l1_2_0
907 enable_apphelp
908 enable_appwiz_cpl
909 enable_atl
910 enable_atl100
911 enable_atl110
912 enable_atl80
913 enable_atl90
914 enable_authz
915 enable_avicap32
916 enable_avifil32
917 enable_avrt
918 enable_bcrypt
919 enable_browseui
920 enable_cabinet
921 enable_capi2032
922 enable_cards
923 enable_cfgmgr32
924 enable_clusapi
925 enable_comcat
926 enable_comctl32
927 enable_comdlg32
928 enable_compstui
929 enable_comsvcs
930 enable_credui
931 enable_crtdll
932 enable_crypt32
933 enable_cryptdlg
934 enable_cryptdll
935 enable_cryptnet
936 enable_cryptui
937 enable_ctapi32
938 enable_ctl3d32
939 enable_d2d1
940 enable_d3d10
941 enable_d3d10_1
942 enable_d3d10core
943 enable_d3d11
944 enable_d3d8
945 enable_d3d9
946 enable_d3dcompiler_33
947 enable_d3dcompiler_34
948 enable_d3dcompiler_35
949 enable_d3dcompiler_36
950 enable_d3dcompiler_37
951 enable_d3dcompiler_38
952 enable_d3dcompiler_39
953 enable_d3dcompiler_40
954 enable_d3dcompiler_41
955 enable_d3dcompiler_42
956 enable_d3dcompiler_43
957 enable_d3dim
958 enable_d3drm
959 enable_d3dx10_33
960 enable_d3dx10_34
961 enable_d3dx10_35
962 enable_d3dx10_36
963 enable_d3dx10_37
964 enable_d3dx10_38
965 enable_d3dx10_39
966 enable_d3dx10_40
967 enable_d3dx10_41
968 enable_d3dx10_42
969 enable_d3dx10_43
970 enable_d3dx11_42
971 enable_d3dx11_43
972 enable_d3dx9_24
973 enable_d3dx9_25
974 enable_d3dx9_26
975 enable_d3dx9_27
976 enable_d3dx9_28
977 enable_d3dx9_29
978 enable_d3dx9_30
979 enable_d3dx9_31
980 enable_d3dx9_32
981 enable_d3dx9_33
982 enable_d3dx9_34
983 enable_d3dx9_35
984 enable_d3dx9_36
985 enable_d3dx9_37
986 enable_d3dx9_38
987 enable_d3dx9_39
988 enable_d3dx9_40
989 enable_d3dx9_41
990 enable_d3dx9_42
991 enable_d3dx9_43
992 enable_d3dxof
993 enable_dbgeng
994 enable_dbghelp
995 enable_dciman32
996 enable_ddraw
997 enable_ddrawex
998 enable_devenum
999 enable_dhcpcsvc
1000 enable_difxapi
1001 enable_dinput
1002 enable_dinput8
1003 enable_dispex
1004 enable_dmband
1005 enable_dmcompos
1006 enable_dmime
1007 enable_dmloader
1008 enable_dmscript
1009 enable_dmstyle
1010 enable_dmsynth
1011 enable_dmusic
1012 enable_dmusic32
1013 enable_dnsapi
1014 enable_dplay
1015 enable_dplayx
1016 enable_dpnaddr
1017 enable_dpnet
1018 enable_dpnhpast
1019 enable_dpnlobby
1020 enable_dpvoice
1021 enable_dpwsockx
1022 enable_drmclien
1023 enable_dsound
1024 enable_dssenh
1025 enable_dswave
1026 enable_dwmapi
1027 enable_dwrite
1028 enable_dxdiagn
1029 enable_dxgi
1030 enable_dxva2
1031 enable_explorerframe
1032 enable_ext_ms_win_gdi_devcaps_l1_1_0
1033 enable_faultrep
1034 enable_fltlib
1035 enable_fntcache
1036 enable_fontsub
1037 enable_fusion
1038 enable_fwpuclnt
1039 enable_gameux
1040 enable_gdi32
1041 enable_gdiplus
1042 enable_glu32
1043 enable_gphoto2_ds
1044 enable_gpkcsp
1045 enable_hal
1046 enable_hhctrl_ocx
1047 enable_hid
1048 enable_hlink
1049 enable_hnetcfg
1050 enable_httpapi
1051 enable_iccvid
1052 enable_icmp
1053 enable_ieframe
1054 enable_imaadp32_acm
1055 enable_imagehlp
1056 enable_imm32
1057 enable_inetcomm
1058 enable_inetcpl_cpl
1059 enable_inetmib1
1060 enable_infosoft
1061 enable_initpki
1062 enable_inkobj
1063 enable_inseng
1064 enable_iphlpapi
1065 enable_itircl
1066 enable_itss
1067 enable_joy_cpl
1068 enable_jscript
1069 enable_jsproxy
1070 enable_kernel32
1071 enable_ksuser
1072 enable_ktmw32
1073 enable_loadperf
1074 enable_localspl
1075 enable_localui
1076 enable_lz32
1077 enable_mapi32
1078 enable_mapistub
1079 enable_mciavi32
1080 enable_mcicda
1081 enable_mciqtz32
1082 enable_mciseq
1083 enable_mciwave
1084 enable_mgmtapi
1085 enable_midimap
1086 enable_mlang
1087 enable_mmcndmgr
1088 enable_mmdevapi
1089 enable_mountmgr_sys
1090 enable_mpr
1091 enable_mprapi
1092 enable_msacm32_drv
1093 enable_msacm32
1094 enable_msadp32_acm
1095 enable_msasn1
1096 enable_mscat32
1097 enable_mscms
1098 enable_mscoree
1099 enable_msctf
1100 enable_msdaps
1101 enable_msdmo
1102 enable_msftedit
1103 enable_msg711_acm
1104 enable_msgsm32_acm
1105 enable_mshtml_tlb
1106 enable_mshtml
1107 enable_msi
1108 enable_msident
1109 enable_msimg32
1110 enable_msimsg
1111 enable_msimtf
1112 enable_msisip
1113 enable_msisys_ocx
1114 enable_msls31
1115 enable_msnet32
1116 enable_mspatcha
1117 enable_msrle32
1118 enable_mssign32
1119 enable_mssip32
1120 enable_mstask
1121 enable_msvcirt
1122 enable_msvcm80
1123 enable_msvcm90
1124 enable_msvcp100
1125 enable_msvcp110
1126 enable_msvcp60
1127 enable_msvcp70
1128 enable_msvcp71
1129 enable_msvcp80
1130 enable_msvcp90
1131 enable_msvcr100
1132 enable_msvcr110
1133 enable_msvcr120
1134 enable_msvcr70
1135 enable_msvcr71
1136 enable_msvcr80
1137 enable_msvcr90
1138 enable_msvcrt
1139 enable_msvcrt20
1140 enable_msvcrt40
1141 enable_msvcrtd
1142 enable_msvfw32
1143 enable_msvidc32
1144 enable_mswsock
1145 enable_msxml
1146 enable_msxml2
1147 enable_msxml3
1148 enable_msxml4
1149 enable_msxml6
1150 enable_nddeapi
1151 enable_ndis_sys
1152 enable_netapi32
1153 enable_netcfgx
1154 enable_netprofm
1155 enable_newdev
1156 enable_normaliz
1157 enable_npmshtml
1158 enable_npptools
1159 enable_ntdll
1160 enable_ntdsapi
1161 enable_ntoskrnl_exe
1162 enable_ntprint
1163 enable_objsel
1164 enable_odbc32
1165 enable_odbccp32
1166 enable_odbccu32
1167 enable_ole32
1168 enable_oleacc
1169 enable_oleaut32
1170 enable_olecli32
1171 enable_oledb32
1172 enable_oledlg
1173 enable_olepro32
1174 enable_olesvr32
1175 enable_olethk32
1176 enable_openal32
1177 enable_opencl
1178 enable_opengl32
1179 enable_packager
1180 enable_pdh
1181 enable_photometadatahandler
1182 enable_pidgen
1183 enable_powrprof
1184 enable_printui
1185 enable_prntvpt
1186 enable_propsys
1187 enable_psapi
1188 enable_pstorec
1189 enable_qcap
1190 enable_qedit
1191 enable_qmgr
1192 enable_qmgrprxy
1193 enable_quartz
1194 enable_query
1195 enable_rasapi32
1196 enable_rasdlg
1197 enable_regapi
1198 enable_resutils
1199 enable_riched20
1200 enable_riched32
1201 enable_rpcrt4
1202 enable_rsabase
1203 enable_rsaenh
1204 enable_rstrtmgr
1205 enable_rtutils
1206 enable_samlib
1207 enable_sane_ds
1208 enable_scarddlg
1209 enable_sccbase
1210 enable_schannel
1211 enable_schedsvc
1212 enable_scrrun
1213 enable_scsiport_sys
1214 enable_secur32
1215 enable_security
1216 enable_sensapi
1217 enable_serialui
1218 enable_setupapi
1219 enable_sfc
1220 enable_sfc_os
1221 enable_shdoclc
1222 enable_shdocvw
1223 enable_shell32
1224 enable_shfolder
1225 enable_shlwapi
1226 enable_slbcsp
1227 enable_slc
1228 enable_snmpapi
1229 enable_softpub
1230 enable_spoolss
1231 enable_stdole2_tlb
1232 enable_stdole32_tlb
1233 enable_sti
1234 enable_svrapi
1235 enable_sxs
1236 enable_t2embed
1237 enable_tapi32
1238 enable_taskschd
1239 enable_traffic
1240 enable_twain_32
1241 enable_unicows
1242 enable_updspapi
1243 enable_url
1244 enable_urlmon
1245 enable_usbd_sys
1246 enable_user32
1247 enable_userenv
1248 enable_usp10
1249 enable_uxtheme
1250 enable_vbscript
1251 enable_vcomp
1252 enable_vcomp100
1253 enable_vcomp90
1254 enable_vdmdbg
1255 enable_version
1256 enable_wbemdisp
1257 enable_wbemprox
1258 enable_webservices
1259 enable_wer
1260 enable_wevtapi
1261 enable_wiaservc
1262 enable_windowscodecs
1263 enable_windowscodecsext
1264 enable_winealsa_drv
1265 enable_winecoreaudio_drv
1266 enable_wined3d
1267 enable_winegstreamer
1268 enable_winejoystick_drv
1269 enable_winemac_drv
1270 enable_winemapi
1271 enable_winemp3_acm
1272 enable_wineoss_drv
1273 enable_wineps_drv
1274 enable_wineqtdecoder
1275 enable_winex11_drv
1276 enable_wing32
1277 enable_winhttp
1278 enable_wininet
1279 enable_winmm
1280 enable_winnls32
1281 enable_winscard
1282 enable_winspool_drv
1283 enable_winsta
1284 enable_wintab32
1285 enable_wintrust
1286 enable_wlanapi
1287 enable_wldap32
1288 enable_wmi
1289 enable_wmiutils
1290 enable_wmp
1291 enable_wmvcore
1292 enable_wnaspi32
1293 enable_wpcap
1294 enable_ws2_32
1295 enable_wshom_ocx
1296 enable_wsnmp32
1297 enable_wsock32
1298 enable_wtsapi32
1299 enable_wuapi
1300 enable_wuaueng
1301 enable_xapofx1_1
1302 enable_xinput1_1
1303 enable_xinput1_2
1304 enable_xinput1_3
1305 enable_xinput1_4
1306 enable_xinput9_1_0
1307 enable_xmllite
1308 enable_xolehlp
1309 enable_xpsprint
1310 enable_xpssvcs
1311 enable_documentation
1312 enable_fonts
1313 enable_include
1314 enable_libs_port
1315 enable_libs_wine
1316 enable_libs_wpp
1317 enable_loader
1318 enable_arp
1319 enable_aspnet_regiis
1320 enable_attrib
1321 enable_cabarc
1322 enable_cacls
1323 enable_clock
1324 enable_cmd
1325 enable_conhost
1326 enable_control
1327 enable_cscript
1328 enable_dpnsvr
1329 enable_dxdiag
1330 enable_eject
1331 enable_expand
1332 enable_explorer
1333 enable_extrac32
1334 enable_findstr
1335 enable_hh
1336 enable_hostname
1337 enable_icinfo
1338 enable_iexplore
1339 enable_ipconfig
1340 enable_lodctr
1341 enable_mofcomp
1342 enable_mshta
1343 enable_msiexec
1344 enable_net
1345 enable_netsh
1346 enable_netstat
1347 enable_ngen
1348 enable_notepad
1349 enable_oleview
1350 enable_ping
1351 enable_plugplay
1352 enable_presentationfontcache
1353 enable_progman
1354 enable_reg
1355 enable_regasm
1356 enable_regedit
1357 enable_regsvcs
1358 enable_regsvr32
1359 enable_rpcss
1360 enable_rundll32
1361 enable_sc
1362 enable_schtasks
1363 enable_sdbinst
1364 enable_secedit
1365 enable_servicemodelreg
1366 enable_services
1367 enable_spoolsv
1368 enable_start
1369 enable_svchost
1370 enable_systeminfo
1371 enable_taskkill
1372 enable_tasklist
1373 enable_taskmgr
1374 enable_termsv
1375 enable_uninstaller
1376 enable_unlodctr
1377 enable_view
1378 enable_wevtutil
1379 enable_wineboot
1380 enable_winebrowser
1381 enable_winecfg
1382 enable_wineconsole
1383 enable_winedbg
1384 enable_winedevice
1385 enable_winefile
1386 enable_winemenubuilder
1387 enable_winemine
1388 enable_winemsibuilder
1389 enable_winepath
1390 enable_winetest
1391 enable_winhlp32
1392 enable_winver
1393 enable_wmic
1394 enable_wordpad
1395 enable_write
1396 enable_wscript
1397 enable_wusa
1398 enable_xcopy
1399 enable_server
1400 enable_tools
1402 ac_precious_vars='build_alias
1403 host_alias
1404 target_alias
1406 CFLAGS
1407 LDFLAGS
1408 LIBS
1409 CPPFLAGS
1411 CXXFLAGS
1414 XMKMF
1415 XML2_CFLAGS
1416 XML2_LIBS
1417 XSLT_CFLAGS
1418 XSLT_LIBS
1419 DBUS_CFLAGS
1420 DBUS_LIBS
1421 HAL_CFLAGS
1422 HAL_LIBS
1423 GNUTLS_CFLAGS
1424 GNUTLS_LIBS
1425 SANE_CFLAGS
1426 SANE_LIBS
1427 GPHOTO2_CFLAGS
1428 GPHOTO2_LIBS
1429 GPHOTO2_PORT_CFLAGS
1430 GPHOTO2_PORT_LIBS
1431 LCMS2_CFLAGS
1432 LCMS2_LIBS
1433 FREETYPE_CFLAGS
1434 FREETYPE_LIBS
1435 GSTREAMER_CFLAGS
1436 GSTREAMER_LIBS
1437 CAPI20_CFLAGS
1438 CAPI20_LIBS
1439 FONTCONFIG_CFLAGS
1440 FONTCONFIG_LIBS
1441 JPEG_CFLAGS
1442 JPEG_LIBS
1443 PNG_CFLAGS
1444 PNG_LIBS
1445 TIFF_CFLAGS
1446 TIFF_LIBS
1447 MPG123_CFLAGS
1448 MPG123_LIBS'
1451 # Initialize some variables set by options.
1452 ac_init_help=
1453 ac_init_version=false
1454 ac_unrecognized_opts=
1455 ac_unrecognized_sep=
1456 # The variables have the same names as the options, with
1457 # dashes changed to underlines.
1458 cache_file=/dev/null
1459 exec_prefix=NONE
1460 no_create=
1461 no_recursion=
1462 prefix=NONE
1463 program_prefix=NONE
1464 program_suffix=NONE
1465 program_transform_name=s,x,x,
1466 silent=
1467 site=
1468 srcdir=
1469 verbose=
1470 x_includes=NONE
1471 x_libraries=NONE
1473 # Installation directory options.
1474 # These are left unexpanded so users can "make install exec_prefix=/foo"
1475 # and all the variables that are supposed to be based on exec_prefix
1476 # by default will actually change.
1477 # Use braces instead of parens because sh, perl, etc. also accept them.
1478 # (The list follows the same order as the GNU Coding Standards.)
1479 bindir='${exec_prefix}/bin'
1480 sbindir='${exec_prefix}/sbin'
1481 libexecdir='${exec_prefix}/libexec'
1482 datarootdir='${prefix}/share'
1483 datadir='${datarootdir}'
1484 sysconfdir='${prefix}/etc'
1485 sharedstatedir='${prefix}/com'
1486 localstatedir='${prefix}/var'
1487 includedir='${prefix}/include'
1488 oldincludedir='/usr/include'
1489 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1490 infodir='${datarootdir}/info'
1491 htmldir='${docdir}'
1492 dvidir='${docdir}'
1493 pdfdir='${docdir}'
1494 psdir='${docdir}'
1495 libdir='${exec_prefix}/lib'
1496 localedir='${datarootdir}/locale'
1497 mandir='${datarootdir}/man'
1499 ac_prev=
1500 ac_dashdash=
1501 for ac_option
1503 # If the previous option needs an argument, assign it.
1504 if test -n "$ac_prev"; then
1505 eval $ac_prev=\$ac_option
1506 ac_prev=
1507 continue
1510 case $ac_option in
1511 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1512 *=) ac_optarg= ;;
1513 *) ac_optarg=yes ;;
1514 esac
1516 # Accept the important Cygnus configure options, so we can diagnose typos.
1518 case $ac_dashdash$ac_option in
1520 ac_dashdash=yes ;;
1522 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1523 ac_prev=bindir ;;
1524 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1525 bindir=$ac_optarg ;;
1527 -build | --build | --buil | --bui | --bu)
1528 ac_prev=build_alias ;;
1529 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1530 build_alias=$ac_optarg ;;
1532 -cache-file | --cache-file | --cache-fil | --cache-fi \
1533 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1534 ac_prev=cache_file ;;
1535 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1536 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1537 cache_file=$ac_optarg ;;
1539 --config-cache | -C)
1540 cache_file=config.cache ;;
1542 -datadir | --datadir | --datadi | --datad)
1543 ac_prev=datadir ;;
1544 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1545 datadir=$ac_optarg ;;
1547 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1548 | --dataroo | --dataro | --datar)
1549 ac_prev=datarootdir ;;
1550 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1551 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1552 datarootdir=$ac_optarg ;;
1554 -disable-* | --disable-*)
1555 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1556 # Reject names that are not valid shell variable names.
1557 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1558 as_fn_error $? "invalid feature name: $ac_useropt"
1559 ac_useropt_orig=$ac_useropt
1560 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1561 case $ac_user_opts in
1563 "enable_$ac_useropt"
1564 "*) ;;
1565 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1566 ac_unrecognized_sep=', ';;
1567 esac
1568 eval enable_$ac_useropt=no ;;
1570 -docdir | --docdir | --docdi | --doc | --do)
1571 ac_prev=docdir ;;
1572 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1573 docdir=$ac_optarg ;;
1575 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1576 ac_prev=dvidir ;;
1577 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1578 dvidir=$ac_optarg ;;
1580 -enable-* | --enable-*)
1581 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1582 # Reject names that are not valid shell variable names.
1583 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1584 as_fn_error $? "invalid feature name: $ac_useropt"
1585 ac_useropt_orig=$ac_useropt
1586 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1587 case $ac_user_opts in
1589 "enable_$ac_useropt"
1590 "*) ;;
1591 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1592 ac_unrecognized_sep=', ';;
1593 esac
1594 eval enable_$ac_useropt=\$ac_optarg ;;
1596 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1597 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1598 | --exec | --exe | --ex)
1599 ac_prev=exec_prefix ;;
1600 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1601 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1602 | --exec=* | --exe=* | --ex=*)
1603 exec_prefix=$ac_optarg ;;
1605 -gas | --gas | --ga | --g)
1606 # Obsolete; use --with-gas.
1607 with_gas=yes ;;
1609 -help | --help | --hel | --he | -h)
1610 ac_init_help=long ;;
1611 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1612 ac_init_help=recursive ;;
1613 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1614 ac_init_help=short ;;
1616 -host | --host | --hos | --ho)
1617 ac_prev=host_alias ;;
1618 -host=* | --host=* | --hos=* | --ho=*)
1619 host_alias=$ac_optarg ;;
1621 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1622 ac_prev=htmldir ;;
1623 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1624 | --ht=*)
1625 htmldir=$ac_optarg ;;
1627 -includedir | --includedir | --includedi | --included | --include \
1628 | --includ | --inclu | --incl | --inc)
1629 ac_prev=includedir ;;
1630 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1631 | --includ=* | --inclu=* | --incl=* | --inc=*)
1632 includedir=$ac_optarg ;;
1634 -infodir | --infodir | --infodi | --infod | --info | --inf)
1635 ac_prev=infodir ;;
1636 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1637 infodir=$ac_optarg ;;
1639 -libdir | --libdir | --libdi | --libd)
1640 ac_prev=libdir ;;
1641 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1642 libdir=$ac_optarg ;;
1644 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1645 | --libexe | --libex | --libe)
1646 ac_prev=libexecdir ;;
1647 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1648 | --libexe=* | --libex=* | --libe=*)
1649 libexecdir=$ac_optarg ;;
1651 -localedir | --localedir | --localedi | --localed | --locale)
1652 ac_prev=localedir ;;
1653 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1654 localedir=$ac_optarg ;;
1656 -localstatedir | --localstatedir | --localstatedi | --localstated \
1657 | --localstate | --localstat | --localsta | --localst | --locals)
1658 ac_prev=localstatedir ;;
1659 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1660 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1661 localstatedir=$ac_optarg ;;
1663 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1664 ac_prev=mandir ;;
1665 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1666 mandir=$ac_optarg ;;
1668 -nfp | --nfp | --nf)
1669 # Obsolete; use --without-fp.
1670 with_fp=no ;;
1672 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1673 | --no-cr | --no-c | -n)
1674 no_create=yes ;;
1676 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1677 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1678 no_recursion=yes ;;
1680 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1681 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1682 | --oldin | --oldi | --old | --ol | --o)
1683 ac_prev=oldincludedir ;;
1684 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1685 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1686 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1687 oldincludedir=$ac_optarg ;;
1689 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1690 ac_prev=prefix ;;
1691 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1692 prefix=$ac_optarg ;;
1694 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1695 | --program-pre | --program-pr | --program-p)
1696 ac_prev=program_prefix ;;
1697 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1698 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1699 program_prefix=$ac_optarg ;;
1701 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1702 | --program-suf | --program-su | --program-s)
1703 ac_prev=program_suffix ;;
1704 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1705 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1706 program_suffix=$ac_optarg ;;
1708 -program-transform-name | --program-transform-name \
1709 | --program-transform-nam | --program-transform-na \
1710 | --program-transform-n | --program-transform- \
1711 | --program-transform | --program-transfor \
1712 | --program-transfo | --program-transf \
1713 | --program-trans | --program-tran \
1714 | --progr-tra | --program-tr | --program-t)
1715 ac_prev=program_transform_name ;;
1716 -program-transform-name=* | --program-transform-name=* \
1717 | --program-transform-nam=* | --program-transform-na=* \
1718 | --program-transform-n=* | --program-transform-=* \
1719 | --program-transform=* | --program-transfor=* \
1720 | --program-transfo=* | --program-transf=* \
1721 | --program-trans=* | --program-tran=* \
1722 | --progr-tra=* | --program-tr=* | --program-t=*)
1723 program_transform_name=$ac_optarg ;;
1725 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1726 ac_prev=pdfdir ;;
1727 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1728 pdfdir=$ac_optarg ;;
1730 -psdir | --psdir | --psdi | --psd | --ps)
1731 ac_prev=psdir ;;
1732 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1733 psdir=$ac_optarg ;;
1735 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1736 | -silent | --silent | --silen | --sile | --sil)
1737 silent=yes ;;
1739 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1740 ac_prev=sbindir ;;
1741 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1742 | --sbi=* | --sb=*)
1743 sbindir=$ac_optarg ;;
1745 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1746 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1747 | --sharedst | --shareds | --shared | --share | --shar \
1748 | --sha | --sh)
1749 ac_prev=sharedstatedir ;;
1750 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1751 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1752 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1753 | --sha=* | --sh=*)
1754 sharedstatedir=$ac_optarg ;;
1756 -site | --site | --sit)
1757 ac_prev=site ;;
1758 -site=* | --site=* | --sit=*)
1759 site=$ac_optarg ;;
1761 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1762 ac_prev=srcdir ;;
1763 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1764 srcdir=$ac_optarg ;;
1766 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1767 | --syscon | --sysco | --sysc | --sys | --sy)
1768 ac_prev=sysconfdir ;;
1769 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1770 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1771 sysconfdir=$ac_optarg ;;
1773 -target | --target | --targe | --targ | --tar | --ta | --t)
1774 ac_prev=target_alias ;;
1775 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1776 target_alias=$ac_optarg ;;
1778 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1779 verbose=yes ;;
1781 -version | --version | --versio | --versi | --vers | -V)
1782 ac_init_version=: ;;
1784 -with-* | --with-*)
1785 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1786 # Reject names that are not valid shell variable names.
1787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1788 as_fn_error $? "invalid package name: $ac_useropt"
1789 ac_useropt_orig=$ac_useropt
1790 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1791 case $ac_user_opts in
1793 "with_$ac_useropt"
1794 "*) ;;
1795 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1796 ac_unrecognized_sep=', ';;
1797 esac
1798 eval with_$ac_useropt=\$ac_optarg ;;
1800 -without-* | --without-*)
1801 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1802 # Reject names that are not valid shell variable names.
1803 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1804 as_fn_error $? "invalid package name: $ac_useropt"
1805 ac_useropt_orig=$ac_useropt
1806 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1807 case $ac_user_opts in
1809 "with_$ac_useropt"
1810 "*) ;;
1811 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1812 ac_unrecognized_sep=', ';;
1813 esac
1814 eval with_$ac_useropt=no ;;
1816 --x)
1817 # Obsolete; use --with-x.
1818 with_x=yes ;;
1820 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1821 | --x-incl | --x-inc | --x-in | --x-i)
1822 ac_prev=x_includes ;;
1823 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1824 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1825 x_includes=$ac_optarg ;;
1827 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1828 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1829 ac_prev=x_libraries ;;
1830 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1831 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1832 x_libraries=$ac_optarg ;;
1834 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1835 Try \`$0 --help' for more information"
1838 *=*)
1839 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1840 # Reject names that are not valid shell variable names.
1841 case $ac_envvar in #(
1842 '' | [0-9]* | *[!_$as_cr_alnum]* )
1843 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1844 esac
1845 eval $ac_envvar=\$ac_optarg
1846 export $ac_envvar ;;
1849 # FIXME: should be removed in autoconf 3.0.
1850 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1851 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1852 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1853 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1856 esac
1857 done
1859 if test -n "$ac_prev"; then
1860 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1861 as_fn_error $? "missing argument to $ac_option"
1864 if test -n "$ac_unrecognized_opts"; then
1865 case $enable_option_checking in
1866 no) ;;
1867 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1868 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1869 esac
1872 # Check all directory arguments for consistency.
1873 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1874 datadir sysconfdir sharedstatedir localstatedir includedir \
1875 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1876 libdir localedir mandir
1878 eval ac_val=\$$ac_var
1879 # Remove trailing slashes.
1880 case $ac_val in
1881 */ )
1882 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1883 eval $ac_var=\$ac_val;;
1884 esac
1885 # Be sure to have absolute directory names.
1886 case $ac_val in
1887 [\\/$]* | ?:[\\/]* ) continue;;
1888 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1889 esac
1890 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1891 done
1893 # There might be people who depend on the old broken behavior: `$host'
1894 # used to hold the argument of --host etc.
1895 # FIXME: To remove some day.
1896 build=$build_alias
1897 host=$host_alias
1898 target=$target_alias
1900 # FIXME: To remove some day.
1901 if test "x$host_alias" != x; then
1902 if test "x$build_alias" = x; then
1903 cross_compiling=maybe
1904 elif test "x$build_alias" != "x$host_alias"; then
1905 cross_compiling=yes
1909 ac_tool_prefix=
1910 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1912 test "$silent" = yes && exec 6>/dev/null
1915 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1916 ac_ls_di=`ls -di .` &&
1917 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1918 as_fn_error $? "working directory cannot be determined"
1919 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1920 as_fn_error $? "pwd does not report name of working directory"
1923 # Find the source files, if location was not specified.
1924 if test -z "$srcdir"; then
1925 ac_srcdir_defaulted=yes
1926 # Try the directory containing this script, then the parent directory.
1927 ac_confdir=`$as_dirname -- "$as_myself" ||
1928 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1929 X"$as_myself" : 'X\(//\)[^/]' \| \
1930 X"$as_myself" : 'X\(//\)$' \| \
1931 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1932 $as_echo X"$as_myself" |
1933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1934 s//\1/
1937 /^X\(\/\/\)[^/].*/{
1938 s//\1/
1941 /^X\(\/\/\)$/{
1942 s//\1/
1945 /^X\(\/\).*/{
1946 s//\1/
1949 s/.*/./; q'`
1950 srcdir=$ac_confdir
1951 if test ! -r "$srcdir/$ac_unique_file"; then
1952 srcdir=..
1954 else
1955 ac_srcdir_defaulted=no
1957 if test ! -r "$srcdir/$ac_unique_file"; then
1958 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1959 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1961 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1962 ac_abs_confdir=`(
1963 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1964 pwd)`
1965 # When building in place, set srcdir=.
1966 if test "$ac_abs_confdir" = "$ac_pwd"; then
1967 srcdir=.
1969 # Remove unnecessary trailing slashes from srcdir.
1970 # Double slashes in file names in object file debugging info
1971 # mess up M-x gdb in Emacs.
1972 case $srcdir in
1973 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1974 esac
1975 for ac_var in $ac_precious_vars; do
1976 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1977 eval ac_env_${ac_var}_value=\$${ac_var}
1978 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1979 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1980 done
1983 # Report the --help message.
1985 if test "$ac_init_help" = "long"; then
1986 # Omit some internal or obsolete options to make the list less imposing.
1987 # This message is too long to be a string in the A/UX 3.1 sh.
1988 cat <<_ACEOF
1989 \`configure' configures Wine 1.7.30 to adapt to many kinds of systems.
1991 Usage: $0 [OPTION]... [VAR=VALUE]...
1993 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1994 VAR=VALUE. See below for descriptions of some of the useful variables.
1996 Defaults for the options are specified in brackets.
1998 Configuration:
1999 -h, --help display this help and exit
2000 --help=short display options specific to this package
2001 --help=recursive display the short help of all the included packages
2002 -V, --version display version information and exit
2003 -q, --quiet, --silent do not print \`checking ...' messages
2004 --cache-file=FILE cache test results in FILE [disabled]
2005 -C, --config-cache alias for \`--cache-file=config.cache'
2006 -n, --no-create do not create output files
2007 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2009 Installation directories:
2010 --prefix=PREFIX install architecture-independent files in PREFIX
2011 [$ac_default_prefix]
2012 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2013 [PREFIX]
2015 By default, \`make install' will install all the files in
2016 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2017 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2018 for instance \`--prefix=\$HOME'.
2020 For better control, use the options below.
2022 Fine tuning of the installation directories:
2023 --bindir=DIR user executables [EPREFIX/bin]
2024 --sbindir=DIR system admin executables [EPREFIX/sbin]
2025 --libexecdir=DIR program executables [EPREFIX/libexec]
2026 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2027 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2028 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2029 --libdir=DIR object code libraries [EPREFIX/lib]
2030 --includedir=DIR C header files [PREFIX/include]
2031 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2032 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2033 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2034 --infodir=DIR info documentation [DATAROOTDIR/info]
2035 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2036 --mandir=DIR man documentation [DATAROOTDIR/man]
2037 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2038 --htmldir=DIR html documentation [DOCDIR]
2039 --dvidir=DIR dvi documentation [DOCDIR]
2040 --pdfdir=DIR pdf documentation [DOCDIR]
2041 --psdir=DIR ps documentation [DOCDIR]
2042 _ACEOF
2044 cat <<\_ACEOF
2046 X features:
2047 --x-includes=DIR X include files are in DIR
2048 --x-libraries=DIR X library files are in DIR
2050 System types:
2051 --build=BUILD configure for building on BUILD [guessed]
2052 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2053 _ACEOF
2056 if test -n "$ac_init_help"; then
2057 case $ac_init_help in
2058 short | recursive ) echo "Configuration of Wine 1.7.30:";;
2059 esac
2060 cat <<\_ACEOF
2062 Optional Features:
2063 --disable-option-checking ignore unrecognized --enable/--with options
2064 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2065 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2066 --disable-win16 do not include Win16 support
2067 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2068 binaries)
2069 --disable-tests do not build the regression tests
2070 --enable-maintainer-mode
2071 enable maintainer-specific build rules
2072 --disable-largefile omit support for large files
2074 Optional Packages:
2075 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2076 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2077 --without-alsa do not use the Alsa sound support
2078 --without-capi do not use CAPI (ISDN support)
2079 --without-cms do not use CMS (color management support)
2080 --without-coreaudio do not use the CoreAudio sound support
2081 --without-cups do not use CUPS
2082 --without-curses do not use (n)curses
2083 --without-dbus do not use DBus (dynamic device support)
2084 --without-fontconfig do not use fontconfig
2085 --without-freetype do not use the FreeType library
2086 --without-gettext do not use gettext
2087 --with-gettextpo use the GetTextPO library to rebuild po files
2088 --without-gphoto do not use gphoto (Digital Camera support)
2089 --without-glu do not use the GLU library
2090 --without-gnutls do not use GnuTLS (schannel support)
2091 --without-gsm do not use libgsm (GSM 06.10 codec support)
2092 --without-gstreamer do not use GStreamer (codecs support)
2093 --without-hal do not use HAL (dynamic device support)
2094 --without-jpeg do not use JPEG
2095 --without-ldap do not use LDAP
2096 --without-mpg123 do not use the mpg123 library
2097 --without-netapi do not use the Samba NetAPI library
2098 --without-openal do not use OpenAL
2099 --without-opencl do not use OpenCL
2100 --without-opengl do not use OpenGL
2101 --without-osmesa do not use the OSMesa library
2102 --without-oss do not use the OSS sound support
2103 --without-pcap do not use the Packet Capture library
2104 --without-png do not use PNG
2105 --without-pthread do not use the pthread library
2106 --without-sane do not use SANE (scanner support)
2107 --without-tiff do not use TIFF
2108 --without-v4l do not use v4l1 (v4l support)
2109 --without-xcomposite do not use the Xcomposite extension
2110 --without-xcursor do not use the Xcursor extension
2111 --without-xinerama do not use Xinerama (multi-monitor support)
2112 --without-xinput do not use the Xinput extension
2113 --without-xinput2 do not use the Xinput 2 extension
2114 --without-xml do not use XML
2115 --without-xrandr do not use Xrandr (resolution changes)
2116 --without-xrender do not use the Xrender extension
2117 --without-xshape do not use the Xshape extension
2118 --without-xshm do not use XShm (shared memory extension)
2119 --without-xslt do not use XSLT
2120 --without-xxf86vm do not use XFree video mode extension
2121 --without-zlib do not use Zlib (data compression)
2122 --with-wine-tools=DIR use Wine tools from directory DIR
2123 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2124 --with-x use the X Window System
2126 Some influential environment variables:
2127 CC C compiler command
2128 CFLAGS C compiler flags
2129 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2130 nonstandard directory <lib dir>
2131 LIBS libraries to pass to the linker, e.g. -l<library>
2132 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2133 you have headers in a nonstandard directory <include dir>
2134 CXX C++ compiler command
2135 CXXFLAGS C++ compiler flags
2136 CPP C preprocessor
2137 XMKMF Path to xmkmf, Makefile generator for X Window System
2138 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2139 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2140 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2141 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2142 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2143 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2144 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2145 HAL_LIBS Linker flags for hal, overriding pkg-config
2146 GNUTLS_CFLAGS
2147 C compiler flags for gnutls, overriding pkg-config
2148 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2149 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2150 SANE_LIBS Linker flags for libsane, overriding pkg-config
2151 GPHOTO2_CFLAGS
2152 C compiler flags for libgphoto2, overriding pkg-config
2153 GPHOTO2_LIBS
2154 Linker flags for libgphoto2, overriding pkg-config
2155 GPHOTO2_PORT_CFLAGS
2156 C compiler flags for libgphoto2_port, overriding pkg-config
2157 GPHOTO2_PORT_LIBS
2158 Linker flags for libgphoto2_port, overriding pkg-config
2159 LCMS2_CFLAGS
2160 C compiler flags for lcms2, overriding pkg-config
2161 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2162 FREETYPE_CFLAGS
2163 C compiler flags for freetype2, overriding pkg-config
2164 FREETYPE_LIBS
2165 Linker flags for freetype2, overriding pkg-config
2166 GSTREAMER_CFLAGS
2167 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2168 GSTREAMER_LIBS
2169 Linker flags for gstreamer-app-0.10, overriding pkg-config
2170 CAPI20_CFLAGS
2171 C compiler flags for capi20, overriding pkg-config
2172 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2173 FONTCONFIG_CFLAGS
2174 C compiler flags for fontconfig, overriding pkg-config
2175 FONTCONFIG_LIBS
2176 Linker flags for fontconfig, overriding pkg-config
2177 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2178 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2179 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2180 PNG_LIBS Linker flags for libpng, overriding pkg-config
2181 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2182 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2183 MPG123_CFLAGS
2184 C compiler flags for libmpg123, overriding pkg-config
2185 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2187 Use these variables to override the choices made by `configure' or to help
2188 it to find libraries and programs with nonstandard names/locations.
2190 Report bugs to <wine-devel@winehq.org>.
2191 Wine home page: <http://www.winehq.org>.
2192 _ACEOF
2193 ac_status=$?
2196 if test "$ac_init_help" = "recursive"; then
2197 # If there are subdirs, report their specific --help.
2198 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2199 test -d "$ac_dir" ||
2200 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2201 continue
2202 ac_builddir=.
2204 case "$ac_dir" in
2205 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2207 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2208 # A ".." for each directory in $ac_dir_suffix.
2209 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2210 case $ac_top_builddir_sub in
2211 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2212 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2213 esac ;;
2214 esac
2215 ac_abs_top_builddir=$ac_pwd
2216 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2217 # for backward compatibility:
2218 ac_top_builddir=$ac_top_build_prefix
2220 case $srcdir in
2221 .) # We are building in place.
2222 ac_srcdir=.
2223 ac_top_srcdir=$ac_top_builddir_sub
2224 ac_abs_top_srcdir=$ac_pwd ;;
2225 [\\/]* | ?:[\\/]* ) # Absolute name.
2226 ac_srcdir=$srcdir$ac_dir_suffix;
2227 ac_top_srcdir=$srcdir
2228 ac_abs_top_srcdir=$srcdir ;;
2229 *) # Relative name.
2230 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2231 ac_top_srcdir=$ac_top_build_prefix$srcdir
2232 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2233 esac
2234 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2236 cd "$ac_dir" || { ac_status=$?; continue; }
2237 # Check for guested configure.
2238 if test -f "$ac_srcdir/configure.gnu"; then
2239 echo &&
2240 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2241 elif test -f "$ac_srcdir/configure"; then
2242 echo &&
2243 $SHELL "$ac_srcdir/configure" --help=recursive
2244 else
2245 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2246 fi || ac_status=$?
2247 cd "$ac_pwd" || { ac_status=$?; break; }
2248 done
2251 test -n "$ac_init_help" && exit $ac_status
2252 if $ac_init_version; then
2253 cat <<\_ACEOF
2254 Wine configure 1.7.30
2255 generated by GNU Autoconf 2.69
2257 Copyright (C) 2012 Free Software Foundation, Inc.
2258 This configure script is free software; the Free Software Foundation
2259 gives unlimited permission to copy, distribute and modify it.
2260 _ACEOF
2261 exit
2264 ## ------------------------ ##
2265 ## Autoconf initialization. ##
2266 ## ------------------------ ##
2268 # ac_fn_c_try_compile LINENO
2269 # --------------------------
2270 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2271 ac_fn_c_try_compile ()
2273 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2274 rm -f conftest.$ac_objext
2275 if { { ac_try="$ac_compile"
2276 case "(($ac_try" in
2277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2278 *) ac_try_echo=$ac_try;;
2279 esac
2280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2281 $as_echo "$ac_try_echo"; } >&5
2282 (eval "$ac_compile") 2>conftest.err
2283 ac_status=$?
2284 if test -s conftest.err; then
2285 grep -v '^ *+' conftest.err >conftest.er1
2286 cat conftest.er1 >&5
2287 mv -f conftest.er1 conftest.err
2289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2290 test $ac_status = 0; } && {
2291 test -z "$ac_c_werror_flag" ||
2292 test ! -s conftest.err
2293 } && test -s conftest.$ac_objext; then :
2294 ac_retval=0
2295 else
2296 $as_echo "$as_me: failed program was:" >&5
2297 sed 's/^/| /' conftest.$ac_ext >&5
2299 ac_retval=1
2301 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2302 as_fn_set_status $ac_retval
2304 } # ac_fn_c_try_compile
2306 # ac_fn_cxx_try_compile LINENO
2307 # ----------------------------
2308 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2309 ac_fn_cxx_try_compile ()
2311 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2312 rm -f conftest.$ac_objext
2313 if { { ac_try="$ac_compile"
2314 case "(($ac_try" in
2315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2316 *) ac_try_echo=$ac_try;;
2317 esac
2318 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2319 $as_echo "$ac_try_echo"; } >&5
2320 (eval "$ac_compile") 2>conftest.err
2321 ac_status=$?
2322 if test -s conftest.err; then
2323 grep -v '^ *+' conftest.err >conftest.er1
2324 cat conftest.er1 >&5
2325 mv -f conftest.er1 conftest.err
2327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2328 test $ac_status = 0; } && {
2329 test -z "$ac_cxx_werror_flag" ||
2330 test ! -s conftest.err
2331 } && test -s conftest.$ac_objext; then :
2332 ac_retval=0
2333 else
2334 $as_echo "$as_me: failed program was:" >&5
2335 sed 's/^/| /' conftest.$ac_ext >&5
2337 ac_retval=1
2339 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2340 as_fn_set_status $ac_retval
2342 } # ac_fn_cxx_try_compile
2344 # ac_fn_c_try_link LINENO
2345 # -----------------------
2346 # Try to link conftest.$ac_ext, and return whether this succeeded.
2347 ac_fn_c_try_link ()
2349 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2350 rm -f conftest.$ac_objext conftest$ac_exeext
2351 if { { ac_try="$ac_link"
2352 case "(($ac_try" in
2353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2354 *) ac_try_echo=$ac_try;;
2355 esac
2356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2357 $as_echo "$ac_try_echo"; } >&5
2358 (eval "$ac_link") 2>conftest.err
2359 ac_status=$?
2360 if test -s conftest.err; then
2361 grep -v '^ *+' conftest.err >conftest.er1
2362 cat conftest.er1 >&5
2363 mv -f conftest.er1 conftest.err
2365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2366 test $ac_status = 0; } && {
2367 test -z "$ac_c_werror_flag" ||
2368 test ! -s conftest.err
2369 } && test -s conftest$ac_exeext && {
2370 test "$cross_compiling" = yes ||
2371 test -x conftest$ac_exeext
2372 }; then :
2373 ac_retval=0
2374 else
2375 $as_echo "$as_me: failed program was:" >&5
2376 sed 's/^/| /' conftest.$ac_ext >&5
2378 ac_retval=1
2380 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2381 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2382 # interfere with the next link command; also delete a directory that is
2383 # left behind by Apple's compiler. We do this before executing the actions.
2384 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2385 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2386 as_fn_set_status $ac_retval
2388 } # ac_fn_c_try_link
2390 # ac_fn_c_try_cpp LINENO
2391 # ----------------------
2392 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2393 ac_fn_c_try_cpp ()
2395 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2396 if { { ac_try="$ac_cpp conftest.$ac_ext"
2397 case "(($ac_try" in
2398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2399 *) ac_try_echo=$ac_try;;
2400 esac
2401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2402 $as_echo "$ac_try_echo"; } >&5
2403 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2404 ac_status=$?
2405 if test -s conftest.err; then
2406 grep -v '^ *+' conftest.err >conftest.er1
2407 cat conftest.er1 >&5
2408 mv -f conftest.er1 conftest.err
2410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2411 test $ac_status = 0; } > conftest.i && {
2412 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2413 test ! -s conftest.err
2414 }; then :
2415 ac_retval=0
2416 else
2417 $as_echo "$as_me: failed program was:" >&5
2418 sed 's/^/| /' conftest.$ac_ext >&5
2420 ac_retval=1
2422 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2423 as_fn_set_status $ac_retval
2425 } # ac_fn_c_try_cpp
2427 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2428 # -------------------------------------------------------
2429 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2430 # the include files in INCLUDES and setting the cache variable VAR
2431 # accordingly.
2432 ac_fn_c_check_header_mongrel ()
2434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2435 if eval \${$3+:} false; then :
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2437 $as_echo_n "checking for $2... " >&6; }
2438 if eval \${$3+:} false; then :
2439 $as_echo_n "(cached) " >&6
2441 eval ac_res=\$$3
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2443 $as_echo "$ac_res" >&6; }
2444 else
2445 # Is the header compilable?
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2447 $as_echo_n "checking $2 usability... " >&6; }
2448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h. */
2451 #include <$2>
2452 _ACEOF
2453 if ac_fn_c_try_compile "$LINENO"; then :
2454 ac_header_compiler=yes
2455 else
2456 ac_header_compiler=no
2458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2460 $as_echo "$ac_header_compiler" >&6; }
2462 # Is the header present?
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2464 $as_echo_n "checking $2 presence... " >&6; }
2465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2466 /* end confdefs.h. */
2467 #include <$2>
2468 _ACEOF
2469 if ac_fn_c_try_cpp "$LINENO"; then :
2470 ac_header_preproc=yes
2471 else
2472 ac_header_preproc=no
2474 rm -f conftest.err conftest.i conftest.$ac_ext
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2476 $as_echo "$ac_header_preproc" >&6; }
2478 # So? What about this header?
2479 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2480 yes:no: )
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2482 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2484 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2486 no:yes:* )
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2488 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2490 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2492 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2494 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2496 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2497 ( $as_echo "## ------------------------------------ ##
2498 ## Report this to wine-devel@winehq.org ##
2499 ## ------------------------------------ ##"
2500 ) | sed "s/^/$as_me: WARNING: /" >&2
2502 esac
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2504 $as_echo_n "checking for $2... " >&6; }
2505 if eval \${$3+:} false; then :
2506 $as_echo_n "(cached) " >&6
2507 else
2508 eval "$3=\$ac_header_compiler"
2510 eval ac_res=\$$3
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2512 $as_echo "$ac_res" >&6; }
2514 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2516 } # ac_fn_c_check_header_mongrel
2518 # ac_fn_c_try_run LINENO
2519 # ----------------------
2520 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2521 # that executables *can* be run.
2522 ac_fn_c_try_run ()
2524 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2525 if { { ac_try="$ac_link"
2526 case "(($ac_try" in
2527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2528 *) ac_try_echo=$ac_try;;
2529 esac
2530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2531 $as_echo "$ac_try_echo"; } >&5
2532 (eval "$ac_link") 2>&5
2533 ac_status=$?
2534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2535 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2536 { { case "(($ac_try" in
2537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2538 *) ac_try_echo=$ac_try;;
2539 esac
2540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2541 $as_echo "$ac_try_echo"; } >&5
2542 (eval "$ac_try") 2>&5
2543 ac_status=$?
2544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2545 test $ac_status = 0; }; }; then :
2546 ac_retval=0
2547 else
2548 $as_echo "$as_me: program exited with status $ac_status" >&5
2549 $as_echo "$as_me: failed program was:" >&5
2550 sed 's/^/| /' conftest.$ac_ext >&5
2552 ac_retval=$ac_status
2554 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2555 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2556 as_fn_set_status $ac_retval
2558 } # ac_fn_c_try_run
2560 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2561 # -------------------------------------------------------
2562 # Tests whether HEADER exists and can be compiled using the include files in
2563 # INCLUDES, setting the cache variable VAR accordingly.
2564 ac_fn_c_check_header_compile ()
2566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2568 $as_echo_n "checking for $2... " >&6; }
2569 if eval \${$3+:} false; then :
2570 $as_echo_n "(cached) " >&6
2571 else
2572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2573 /* end confdefs.h. */
2575 #include <$2>
2576 _ACEOF
2577 if ac_fn_c_try_compile "$LINENO"; then :
2578 eval "$3=yes"
2579 else
2580 eval "$3=no"
2582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2584 eval ac_res=\$$3
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2586 $as_echo "$ac_res" >&6; }
2587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2589 } # ac_fn_c_check_header_compile
2591 # ac_fn_c_check_func LINENO FUNC VAR
2592 # ----------------------------------
2593 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2594 ac_fn_c_check_func ()
2596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2598 $as_echo_n "checking for $2... " >&6; }
2599 if eval \${$3+:} false; then :
2600 $as_echo_n "(cached) " >&6
2601 else
2602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2603 /* end confdefs.h. */
2604 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2606 #define $2 innocuous_$2
2608 /* System header to define __stub macros and hopefully few prototypes,
2609 which can conflict with char $2 (); below.
2610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2611 <limits.h> exists even on freestanding compilers. */
2613 #ifdef __STDC__
2614 # include <limits.h>
2615 #else
2616 # include <assert.h>
2617 #endif
2619 #undef $2
2621 /* Override any GCC internal prototype to avoid an error.
2622 Use char because int might match the return type of a GCC
2623 builtin and then its argument prototype would still apply. */
2624 #ifdef __cplusplus
2625 extern "C"
2626 #endif
2627 char $2 ();
2628 /* The GNU C library defines this for functions which it implements
2629 to always fail with ENOSYS. Some functions are actually named
2630 something starting with __ and the normal name is an alias. */
2631 #if defined __stub_$2 || defined __stub___$2
2632 choke me
2633 #endif
2636 main ()
2638 return $2 ();
2640 return 0;
2642 _ACEOF
2643 if ac_fn_c_try_link "$LINENO"; then :
2644 eval "$3=yes"
2645 else
2646 eval "$3=no"
2648 rm -f core conftest.err conftest.$ac_objext \
2649 conftest$ac_exeext conftest.$ac_ext
2651 eval ac_res=\$$3
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2653 $as_echo "$ac_res" >&6; }
2654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2656 } # ac_fn_c_check_func
2658 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2659 # ----------------------------------------------------
2660 # Tries to find if the field MEMBER exists in type AGGR, after including
2661 # INCLUDES, setting cache variable VAR accordingly.
2662 ac_fn_c_check_member ()
2664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2666 $as_echo_n "checking for $2.$3... " >&6; }
2667 if eval \${$4+:} false; then :
2668 $as_echo_n "(cached) " >&6
2669 else
2670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2671 /* end confdefs.h. */
2674 main ()
2676 static $2 ac_aggr;
2677 if (ac_aggr.$3)
2678 return 0;
2680 return 0;
2682 _ACEOF
2683 if ac_fn_c_try_compile "$LINENO"; then :
2684 eval "$4=yes"
2685 else
2686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2687 /* end confdefs.h. */
2690 main ()
2692 static $2 ac_aggr;
2693 if (sizeof ac_aggr.$3)
2694 return 0;
2696 return 0;
2698 _ACEOF
2699 if ac_fn_c_try_compile "$LINENO"; then :
2700 eval "$4=yes"
2701 else
2702 eval "$4=no"
2704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2708 eval ac_res=\$$4
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2710 $as_echo "$ac_res" >&6; }
2711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713 } # ac_fn_c_check_member
2715 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2716 # -------------------------------------------
2717 # Tests whether TYPE exists after having included INCLUDES, setting cache
2718 # variable VAR accordingly.
2719 ac_fn_c_check_type ()
2721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2723 $as_echo_n "checking for $2... " >&6; }
2724 if eval \${$3+:} false; then :
2725 $as_echo_n "(cached) " >&6
2726 else
2727 eval "$3=no"
2728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2729 /* end confdefs.h. */
2732 main ()
2734 if (sizeof ($2))
2735 return 0;
2737 return 0;
2739 _ACEOF
2740 if ac_fn_c_try_compile "$LINENO"; then :
2741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2742 /* end confdefs.h. */
2745 main ()
2747 if (sizeof (($2)))
2748 return 0;
2750 return 0;
2752 _ACEOF
2753 if ac_fn_c_try_compile "$LINENO"; then :
2755 else
2756 eval "$3=yes"
2758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2762 eval ac_res=\$$3
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2764 $as_echo "$ac_res" >&6; }
2765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2767 } # ac_fn_c_check_type
2768 cat >config.log <<_ACEOF
2769 This file contains any messages produced by compilers while
2770 running configure, to aid debugging if configure makes a mistake.
2772 It was created by Wine $as_me 1.7.30, which was
2773 generated by GNU Autoconf 2.69. Invocation command line was
2775 $ $0 $@
2777 _ACEOF
2778 exec 5>>config.log
2780 cat <<_ASUNAME
2781 ## --------- ##
2782 ## Platform. ##
2783 ## --------- ##
2785 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2786 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2787 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2788 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2789 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2791 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2792 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2794 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2795 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2796 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2797 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2798 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2799 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2800 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2802 _ASUNAME
2804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2805 for as_dir in $PATH
2807 IFS=$as_save_IFS
2808 test -z "$as_dir" && as_dir=.
2809 $as_echo "PATH: $as_dir"
2810 done
2811 IFS=$as_save_IFS
2813 } >&5
2815 cat >&5 <<_ACEOF
2818 ## ----------- ##
2819 ## Core tests. ##
2820 ## ----------- ##
2822 _ACEOF
2825 # Keep a trace of the command line.
2826 # Strip out --no-create and --no-recursion so they do not pile up.
2827 # Strip out --silent because we don't want to record it for future runs.
2828 # Also quote any args containing shell meta-characters.
2829 # Make two passes to allow for proper duplicate-argument suppression.
2830 ac_configure_args=
2831 ac_configure_args0=
2832 ac_configure_args1=
2833 ac_must_keep_next=false
2834 for ac_pass in 1 2
2836 for ac_arg
2838 case $ac_arg in
2839 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2840 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2841 | -silent | --silent | --silen | --sile | --sil)
2842 continue ;;
2843 *\'*)
2844 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2845 esac
2846 case $ac_pass in
2847 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2849 as_fn_append ac_configure_args1 " '$ac_arg'"
2850 if test $ac_must_keep_next = true; then
2851 ac_must_keep_next=false # Got value, back to normal.
2852 else
2853 case $ac_arg in
2854 *=* | --config-cache | -C | -disable-* | --disable-* \
2855 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2856 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2857 | -with-* | --with-* | -without-* | --without-* | --x)
2858 case "$ac_configure_args0 " in
2859 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2860 esac
2862 -* ) ac_must_keep_next=true ;;
2863 esac
2865 as_fn_append ac_configure_args " '$ac_arg'"
2867 esac
2868 done
2869 done
2870 { ac_configure_args0=; unset ac_configure_args0;}
2871 { ac_configure_args1=; unset ac_configure_args1;}
2873 # When interrupted or exit'd, cleanup temporary files, and complete
2874 # config.log. We remove comments because anyway the quotes in there
2875 # would cause problems or look ugly.
2876 # WARNING: Use '\'' to represent an apostrophe within the trap.
2877 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2878 trap 'exit_status=$?
2879 # Save into config.log some information that might help in debugging.
2881 echo
2883 $as_echo "## ---------------- ##
2884 ## Cache variables. ##
2885 ## ---------------- ##"
2886 echo
2887 # The following way of writing the cache mishandles newlines in values,
2889 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2890 eval ac_val=\$$ac_var
2891 case $ac_val in #(
2892 *${as_nl}*)
2893 case $ac_var in #(
2894 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2895 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2896 esac
2897 case $ac_var in #(
2898 _ | IFS | as_nl) ;; #(
2899 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2900 *) { eval $ac_var=; unset $ac_var;} ;;
2901 esac ;;
2902 esac
2903 done
2904 (set) 2>&1 |
2905 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2906 *${as_nl}ac_space=\ *)
2907 sed -n \
2908 "s/'\''/'\''\\\\'\'''\''/g;
2909 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2910 ;; #(
2912 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2914 esac |
2915 sort
2917 echo
2919 $as_echo "## ----------------- ##
2920 ## Output variables. ##
2921 ## ----------------- ##"
2922 echo
2923 for ac_var in $ac_subst_vars
2925 eval ac_val=\$$ac_var
2926 case $ac_val in
2927 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2928 esac
2929 $as_echo "$ac_var='\''$ac_val'\''"
2930 done | sort
2931 echo
2933 if test -n "$ac_subst_files"; then
2934 $as_echo "## ------------------- ##
2935 ## File substitutions. ##
2936 ## ------------------- ##"
2937 echo
2938 for ac_var in $ac_subst_files
2940 eval ac_val=\$$ac_var
2941 case $ac_val in
2942 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2943 esac
2944 $as_echo "$ac_var='\''$ac_val'\''"
2945 done | sort
2946 echo
2949 if test -s confdefs.h; then
2950 $as_echo "## ----------- ##
2951 ## confdefs.h. ##
2952 ## ----------- ##"
2953 echo
2954 cat confdefs.h
2955 echo
2957 test "$ac_signal" != 0 &&
2958 $as_echo "$as_me: caught signal $ac_signal"
2959 $as_echo "$as_me: exit $exit_status"
2960 } >&5
2961 rm -f core *.core core.conftest.* &&
2962 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2963 exit $exit_status
2965 for ac_signal in 1 2 13 15; do
2966 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2967 done
2968 ac_signal=0
2970 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2971 rm -f -r conftest* confdefs.h
2973 $as_echo "/* confdefs.h */" > confdefs.h
2975 # Predefined preprocessor variables.
2977 cat >>confdefs.h <<_ACEOF
2978 #define PACKAGE_NAME "$PACKAGE_NAME"
2979 _ACEOF
2981 cat >>confdefs.h <<_ACEOF
2982 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2983 _ACEOF
2985 cat >>confdefs.h <<_ACEOF
2986 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2987 _ACEOF
2989 cat >>confdefs.h <<_ACEOF
2990 #define PACKAGE_STRING "$PACKAGE_STRING"
2991 _ACEOF
2993 cat >>confdefs.h <<_ACEOF
2994 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2995 _ACEOF
2997 cat >>confdefs.h <<_ACEOF
2998 #define PACKAGE_URL "$PACKAGE_URL"
2999 _ACEOF
3002 # Let the site file select an alternate cache file if it wants to.
3003 # Prefer an explicitly selected file to automatically selected ones.
3004 ac_site_file1=NONE
3005 ac_site_file2=NONE
3006 if test -n "$CONFIG_SITE"; then
3007 # We do not want a PATH search for config.site.
3008 case $CONFIG_SITE in #((
3009 -*) ac_site_file1=./$CONFIG_SITE;;
3010 */*) ac_site_file1=$CONFIG_SITE;;
3011 *) ac_site_file1=./$CONFIG_SITE;;
3012 esac
3013 elif test "x$prefix" != xNONE; then
3014 ac_site_file1=$prefix/share/config.site
3015 ac_site_file2=$prefix/etc/config.site
3016 else
3017 ac_site_file1=$ac_default_prefix/share/config.site
3018 ac_site_file2=$ac_default_prefix/etc/config.site
3020 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3022 test "x$ac_site_file" = xNONE && continue
3023 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3025 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3026 sed 's/^/| /' "$ac_site_file" >&5
3027 . "$ac_site_file" \
3028 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3030 as_fn_error $? "failed to load site script $ac_site_file
3031 See \`config.log' for more details" "$LINENO" 5; }
3033 done
3035 if test -r "$cache_file"; then
3036 # Some versions of bash will fail to source /dev/null (special files
3037 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3038 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3040 $as_echo "$as_me: loading cache $cache_file" >&6;}
3041 case $cache_file in
3042 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3043 *) . "./$cache_file";;
3044 esac
3046 else
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3048 $as_echo "$as_me: creating cache $cache_file" >&6;}
3049 >$cache_file
3052 # Check that the precious variables saved in the cache have kept the same
3053 # value.
3054 ac_cache_corrupted=false
3055 for ac_var in $ac_precious_vars; do
3056 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3057 eval ac_new_set=\$ac_env_${ac_var}_set
3058 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3059 eval ac_new_val=\$ac_env_${ac_var}_value
3060 case $ac_old_set,$ac_new_set in
3061 set,)
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3063 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3064 ac_cache_corrupted=: ;;
3065 ,set)
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3067 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3068 ac_cache_corrupted=: ;;
3069 ,);;
3071 if test "x$ac_old_val" != "x$ac_new_val"; then
3072 # differences in whitespace do not lead to failure.
3073 ac_old_val_w=`echo x $ac_old_val`
3074 ac_new_val_w=`echo x $ac_new_val`
3075 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3077 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3078 ac_cache_corrupted=:
3079 else
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3081 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3082 eval $ac_var=\$ac_old_val
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3085 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3087 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3088 fi;;
3089 esac
3090 # Pass precious variables to config.status.
3091 if test "$ac_new_set" = set; then
3092 case $ac_new_val in
3093 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3094 *) ac_arg=$ac_var=$ac_new_val ;;
3095 esac
3096 case " $ac_configure_args " in
3097 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3098 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3099 esac
3101 done
3102 if $ac_cache_corrupted; then
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3106 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3107 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3109 ## -------------------- ##
3110 ## Main body of script. ##
3111 ## -------------------- ##
3113 ac_ext=c
3114 ac_cpp='$CPP $CPPFLAGS'
3115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3121 ac_config_headers="$ac_config_headers include/config.h"
3123 ac_aux_dir=
3124 for ac_dir in tools "$srcdir"/tools; do
3125 if test -f "$ac_dir/install-sh"; then
3126 ac_aux_dir=$ac_dir
3127 ac_install_sh="$ac_aux_dir/install-sh -c"
3128 break
3129 elif test -f "$ac_dir/install.sh"; then
3130 ac_aux_dir=$ac_dir
3131 ac_install_sh="$ac_aux_dir/install.sh -c"
3132 break
3133 elif test -f "$ac_dir/shtool"; then
3134 ac_aux_dir=$ac_dir
3135 ac_install_sh="$ac_aux_dir/shtool install -c"
3136 break
3138 done
3139 if test -z "$ac_aux_dir"; then
3140 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3143 # These three variables are undocumented and unsupported,
3144 # and are intended to be withdrawn in a future Autoconf release.
3145 # They can cause serious problems if a builder's source tree is in a directory
3146 # whose full name contains unusual characters.
3147 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3148 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3149 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3153 libwine_version="1.0"
3157 # Check whether --enable-win16 was given.
3158 if test "${enable_win16+set}" = set; then :
3159 enableval=$enable_win16;
3162 # Check whether --enable-win64 was given.
3163 if test "${enable_win64+set}" = set; then :
3164 enableval=$enable_win64;
3167 # Check whether --enable-tests was given.
3168 if test "${enable_tests+set}" = set; then :
3169 enableval=$enable_tests;
3172 # Check whether --enable-maintainer-mode was given.
3173 if test "${enable_maintainer_mode+set}" = set; then :
3174 enableval=$enable_maintainer_mode;
3179 # Check whether --with-alsa was given.
3180 if test "${with_alsa+set}" = set; then :
3181 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3185 # Check whether --with-capi was given.
3186 if test "${with_capi+set}" = set; then :
3187 withval=$with_capi;
3191 # Check whether --with-cms was given.
3192 if test "${with_cms+set}" = set; then :
3193 withval=$with_cms;
3197 # Check whether --with-coreaudio was given.
3198 if test "${with_coreaudio+set}" = set; then :
3199 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3203 # Check whether --with-cups was given.
3204 if test "${with_cups+set}" = set; then :
3205 withval=$with_cups;
3209 # Check whether --with-curses was given.
3210 if test "${with_curses+set}" = set; then :
3211 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3215 # Check whether --with-dbus was given.
3216 if test "${with_dbus+set}" = set; then :
3217 withval=$with_dbus;
3221 # Check whether --with-fontconfig was given.
3222 if test "${with_fontconfig+set}" = set; then :
3223 withval=$with_fontconfig;
3227 # Check whether --with-freetype was given.
3228 if test "${with_freetype+set}" = set; then :
3229 withval=$with_freetype;
3233 # Check whether --with-gettext was given.
3234 if test "${with_gettext+set}" = set; then :
3235 withval=$with_gettext;
3239 # Check whether --with-gettextpo was given.
3240 if test "${with_gettextpo+set}" = set; then :
3241 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3245 # Check whether --with-gphoto was given.
3246 if test "${with_gphoto+set}" = set; then :
3247 withval=$with_gphoto;
3251 # Check whether --with-glu was given.
3252 if test "${with_glu+set}" = set; then :
3253 withval=$with_glu;
3257 # Check whether --with-gnutls was given.
3258 if test "${with_gnutls+set}" = set; then :
3259 withval=$with_gnutls;
3263 # Check whether --with-gsm was given.
3264 if test "${with_gsm+set}" = set; then :
3265 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3269 # Check whether --with-gstreamer was given.
3270 if test "${with_gstreamer+set}" = set; then :
3271 withval=$with_gstreamer;
3275 # Check whether --with-hal was given.
3276 if test "${with_hal+set}" = set; then :
3277 withval=$with_hal;
3281 # Check whether --with-jpeg was given.
3282 if test "${with_jpeg+set}" = set; then :
3283 withval=$with_jpeg;
3287 # Check whether --with-ldap was given.
3288 if test "${with_ldap+set}" = set; then :
3289 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3293 # Check whether --with-mpg123 was given.
3294 if test "${with_mpg123+set}" = set; then :
3295 withval=$with_mpg123;
3299 # Check whether --with-netapi was given.
3300 if test "${with_netapi+set}" = set; then :
3301 withval=$with_netapi;
3305 # Check whether --with-openal was given.
3306 if test "${with_openal+set}" = set; then :
3307 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3311 # Check whether --with-opencl was given.
3312 if test "${with_opencl+set}" = set; then :
3313 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3317 # Check whether --with-opengl was given.
3318 if test "${with_opengl+set}" = set; then :
3319 withval=$with_opengl;
3323 # Check whether --with-osmesa was given.
3324 if test "${with_osmesa+set}" = set; then :
3325 withval=$with_osmesa;
3329 # Check whether --with-oss was given.
3330 if test "${with_oss+set}" = set; then :
3331 withval=$with_oss;
3335 # Check whether --with-pcap was given.
3336 if test "${with_pcap+set}" = set; then :
3337 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3341 # Check whether --with-png was given.
3342 if test "${with_png+set}" = set; then :
3343 withval=$with_png;
3347 # Check whether --with-pthread was given.
3348 if test "${with_pthread+set}" = set; then :
3349 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3353 # Check whether --with-sane was given.
3354 if test "${with_sane+set}" = set; then :
3355 withval=$with_sane;
3359 # Check whether --with-tiff was given.
3360 if test "${with_tiff+set}" = set; then :
3361 withval=$with_tiff;
3365 # Check whether --with-v4l was given.
3366 if test "${with_v4l+set}" = set; then :
3367 withval=$with_v4l;
3371 # Check whether --with-xcomposite was given.
3372 if test "${with_xcomposite+set}" = set; then :
3373 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3377 # Check whether --with-xcursor was given.
3378 if test "${with_xcursor+set}" = set; then :
3379 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3383 # Check whether --with-xinerama was given.
3384 if test "${with_xinerama+set}" = set; then :
3385 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3389 # Check whether --with-xinput was given.
3390 if test "${with_xinput+set}" = set; then :
3391 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3395 # Check whether --with-xinput2 was given.
3396 if test "${with_xinput2+set}" = set; then :
3397 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3401 # Check whether --with-xml was given.
3402 if test "${with_xml+set}" = set; then :
3403 withval=$with_xml;
3407 # Check whether --with-xrandr was given.
3408 if test "${with_xrandr+set}" = set; then :
3409 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3413 # Check whether --with-xrender was given.
3414 if test "${with_xrender+set}" = set; then :
3415 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3419 # Check whether --with-xshape was given.
3420 if test "${with_xshape+set}" = set; then :
3421 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3425 # Check whether --with-xshm was given.
3426 if test "${with_xshm+set}" = set; then :
3427 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3431 # Check whether --with-xslt was given.
3432 if test "${with_xslt+set}" = set; then :
3433 withval=$with_xslt;
3437 # Check whether --with-xxf86vm was given.
3438 if test "${with_xxf86vm+set}" = set; then :
3439 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
3443 # Check whether --with-zlib was given.
3444 if test "${with_zlib+set}" = set; then :
3445 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3450 # Check whether --with-wine-tools was given.
3451 if test "${with_wine_tools+set}" = set; then :
3452 withval=$with_wine_tools;
3456 # Check whether --with-wine64 was given.
3457 if test "${with_wine64+set}" = set; then :
3458 withval=$with_wine64;
3462 # Make sure we can run config.sub.
3463 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3464 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3467 $as_echo_n "checking build system type... " >&6; }
3468 if ${ac_cv_build+:} false; then :
3469 $as_echo_n "(cached) " >&6
3470 else
3471 ac_build_alias=$build_alias
3472 test "x$ac_build_alias" = x &&
3473 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3474 test "x$ac_build_alias" = x &&
3475 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3476 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3477 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3481 $as_echo "$ac_cv_build" >&6; }
3482 case $ac_cv_build in
3483 *-*-*) ;;
3484 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3485 esac
3486 build=$ac_cv_build
3487 ac_save_IFS=$IFS; IFS='-'
3488 set x $ac_cv_build
3489 shift
3490 build_cpu=$1
3491 build_vendor=$2
3492 shift; shift
3493 # Remember, the first character of IFS is used to create $*,
3494 # except with old shells:
3495 build_os=$*
3496 IFS=$ac_save_IFS
3497 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3501 $as_echo_n "checking host system type... " >&6; }
3502 if ${ac_cv_host+:} false; then :
3503 $as_echo_n "(cached) " >&6
3504 else
3505 if test "x$host_alias" = x; then
3506 ac_cv_host=$ac_cv_build
3507 else
3508 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3509 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3514 $as_echo "$ac_cv_host" >&6; }
3515 case $ac_cv_host in
3516 *-*-*) ;;
3517 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3518 esac
3519 host=$ac_cv_host
3520 ac_save_IFS=$IFS; IFS='-'
3521 set x $ac_cv_host
3522 shift
3523 host_cpu=$1
3524 host_vendor=$2
3525 shift; shift
3526 # Remember, the first character of IFS is used to create $*,
3527 # except with old shells:
3528 host_os=$*
3529 IFS=$ac_save_IFS
3530 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3534 case "$srcdir" in
3535 .) ;;
3536 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3537 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3538 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3539 fi ;;
3540 esac
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3544 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3545 set x ${MAKE-make}
3546 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3547 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3548 $as_echo_n "(cached) " >&6
3549 else
3550 cat >conftest.make <<\_ACEOF
3551 SHELL = /bin/sh
3552 all:
3553 @echo '@@@%%%=$(MAKE)=@@@%%%'
3554 _ACEOF
3555 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3556 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3557 *@@@%%%=?*=@@@%%%*)
3558 eval ac_cv_prog_make_${ac_make}_set=yes;;
3560 eval ac_cv_prog_make_${ac_make}_set=no;;
3561 esac
3562 rm -f conftest.make
3564 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3566 $as_echo "yes" >&6; }
3567 SET_MAKE=
3568 else
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3570 $as_echo "no" >&6; }
3571 SET_MAKE="MAKE=${MAKE-make}"
3574 ac_ext=c
3575 ac_cpp='$CPP $CPPFLAGS'
3576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3579 if test -n "$ac_tool_prefix"; then
3580 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3581 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583 $as_echo_n "checking for $ac_word... " >&6; }
3584 if ${ac_cv_prog_CC+:} false; then :
3585 $as_echo_n "(cached) " >&6
3586 else
3587 if test -n "$CC"; then
3588 ac_cv_prog_CC="$CC" # Let the user override the test.
3589 else
3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 for as_dir in $PATH
3593 IFS=$as_save_IFS
3594 test -z "$as_dir" && as_dir=.
3595 for ac_exec_ext in '' $ac_executable_extensions; do
3596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3597 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3599 break 2
3601 done
3602 done
3603 IFS=$as_save_IFS
3607 CC=$ac_cv_prog_CC
3608 if test -n "$CC"; then
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3610 $as_echo "$CC" >&6; }
3611 else
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3618 if test -z "$ac_cv_prog_CC"; then
3619 ac_ct_CC=$CC
3620 # Extract the first word of "gcc", so it can be a program name with args.
3621 set dummy gcc; ac_word=$2
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3623 $as_echo_n "checking for $ac_word... " >&6; }
3624 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3625 $as_echo_n "(cached) " >&6
3626 else
3627 if test -n "$ac_ct_CC"; then
3628 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3629 else
3630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3631 for as_dir in $PATH
3633 IFS=$as_save_IFS
3634 test -z "$as_dir" && as_dir=.
3635 for ac_exec_ext in '' $ac_executable_extensions; do
3636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3637 ac_cv_prog_ac_ct_CC="gcc"
3638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3639 break 2
3641 done
3642 done
3643 IFS=$as_save_IFS
3647 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3648 if test -n "$ac_ct_CC"; then
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3650 $as_echo "$ac_ct_CC" >&6; }
3651 else
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3653 $as_echo "no" >&6; }
3656 if test "x$ac_ct_CC" = x; then
3657 CC=""
3658 else
3659 case $cross_compiling:$ac_tool_warned in
3660 yes:)
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3663 ac_tool_warned=yes ;;
3664 esac
3665 CC=$ac_ct_CC
3667 else
3668 CC="$ac_cv_prog_CC"
3671 if test -z "$CC"; then
3672 if test -n "$ac_tool_prefix"; then
3673 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3674 set dummy ${ac_tool_prefix}cc; ac_word=$2
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3676 $as_echo_n "checking for $ac_word... " >&6; }
3677 if ${ac_cv_prog_CC+:} false; then :
3678 $as_echo_n "(cached) " >&6
3679 else
3680 if test -n "$CC"; then
3681 ac_cv_prog_CC="$CC" # Let the user override the test.
3682 else
3683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3684 for as_dir in $PATH
3686 IFS=$as_save_IFS
3687 test -z "$as_dir" && as_dir=.
3688 for ac_exec_ext in '' $ac_executable_extensions; do
3689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3690 ac_cv_prog_CC="${ac_tool_prefix}cc"
3691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3692 break 2
3694 done
3695 done
3696 IFS=$as_save_IFS
3700 CC=$ac_cv_prog_CC
3701 if test -n "$CC"; then
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3703 $as_echo "$CC" >&6; }
3704 else
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3706 $as_echo "no" >&6; }
3712 if test -z "$CC"; then
3713 # Extract the first word of "cc", so it can be a program name with args.
3714 set dummy cc; ac_word=$2
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3716 $as_echo_n "checking for $ac_word... " >&6; }
3717 if ${ac_cv_prog_CC+:} false; then :
3718 $as_echo_n "(cached) " >&6
3719 else
3720 if test -n "$CC"; then
3721 ac_cv_prog_CC="$CC" # Let the user override the test.
3722 else
3723 ac_prog_rejected=no
3724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3725 for as_dir in $PATH
3727 IFS=$as_save_IFS
3728 test -z "$as_dir" && as_dir=.
3729 for ac_exec_ext in '' $ac_executable_extensions; do
3730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3731 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3732 ac_prog_rejected=yes
3733 continue
3735 ac_cv_prog_CC="cc"
3736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3737 break 2
3739 done
3740 done
3741 IFS=$as_save_IFS
3743 if test $ac_prog_rejected = yes; then
3744 # We found a bogon in the path, so make sure we never use it.
3745 set dummy $ac_cv_prog_CC
3746 shift
3747 if test $# != 0; then
3748 # We chose a different compiler from the bogus one.
3749 # However, it has the same basename, so the bogon will be chosen
3750 # first if we set CC to just the basename; use the full file name.
3751 shift
3752 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3757 CC=$ac_cv_prog_CC
3758 if test -n "$CC"; then
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3760 $as_echo "$CC" >&6; }
3761 else
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 $as_echo "no" >&6; }
3768 if test -z "$CC"; then
3769 if test -n "$ac_tool_prefix"; then
3770 for ac_prog in cl.exe
3772 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3773 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3775 $as_echo_n "checking for $ac_word... " >&6; }
3776 if ${ac_cv_prog_CC+:} false; then :
3777 $as_echo_n "(cached) " >&6
3778 else
3779 if test -n "$CC"; then
3780 ac_cv_prog_CC="$CC" # Let the user override the test.
3781 else
3782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3783 for as_dir in $PATH
3785 IFS=$as_save_IFS
3786 test -z "$as_dir" && as_dir=.
3787 for ac_exec_ext in '' $ac_executable_extensions; do
3788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3789 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3791 break 2
3793 done
3794 done
3795 IFS=$as_save_IFS
3799 CC=$ac_cv_prog_CC
3800 if test -n "$CC"; then
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3802 $as_echo "$CC" >&6; }
3803 else
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3805 $as_echo "no" >&6; }
3809 test -n "$CC" && break
3810 done
3812 if test -z "$CC"; then
3813 ac_ct_CC=$CC
3814 for ac_prog in cl.exe
3816 # Extract the first word of "$ac_prog", so it can be a program name with args.
3817 set dummy $ac_prog; ac_word=$2
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3819 $as_echo_n "checking for $ac_word... " >&6; }
3820 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3821 $as_echo_n "(cached) " >&6
3822 else
3823 if test -n "$ac_ct_CC"; then
3824 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3825 else
3826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3827 for as_dir in $PATH
3829 IFS=$as_save_IFS
3830 test -z "$as_dir" && as_dir=.
3831 for ac_exec_ext in '' $ac_executable_extensions; do
3832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3833 ac_cv_prog_ac_ct_CC="$ac_prog"
3834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3835 break 2
3837 done
3838 done
3839 IFS=$as_save_IFS
3843 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3844 if test -n "$ac_ct_CC"; then
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3846 $as_echo "$ac_ct_CC" >&6; }
3847 else
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3849 $as_echo "no" >&6; }
3853 test -n "$ac_ct_CC" && break
3854 done
3856 if test "x$ac_ct_CC" = x; then
3857 CC=""
3858 else
3859 case $cross_compiling:$ac_tool_warned in
3860 yes:)
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3863 ac_tool_warned=yes ;;
3864 esac
3865 CC=$ac_ct_CC
3872 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3874 as_fn_error $? "no acceptable C compiler found in \$PATH
3875 See \`config.log' for more details" "$LINENO" 5; }
3877 # Provide some information about the compiler.
3878 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3879 set X $ac_compile
3880 ac_compiler=$2
3881 for ac_option in --version -v -V -qversion; do
3882 { { ac_try="$ac_compiler $ac_option >&5"
3883 case "(($ac_try" in
3884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3885 *) ac_try_echo=$ac_try;;
3886 esac
3887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3888 $as_echo "$ac_try_echo"; } >&5
3889 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3890 ac_status=$?
3891 if test -s conftest.err; then
3892 sed '10a\
3893 ... rest of stderr output deleted ...
3894 10q' conftest.err >conftest.er1
3895 cat conftest.er1 >&5
3897 rm -f conftest.er1 conftest.err
3898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3899 test $ac_status = 0; }
3900 done
3902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h. */
3906 main ()
3910 return 0;
3912 _ACEOF
3913 ac_clean_files_save=$ac_clean_files
3914 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3915 # Try to create an executable without -o first, disregard a.out.
3916 # It will help us diagnose broken compilers, and finding out an intuition
3917 # of exeext.
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3919 $as_echo_n "checking whether the C compiler works... " >&6; }
3920 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3922 # The possible output files:
3923 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3925 ac_rmfiles=
3926 for ac_file in $ac_files
3928 case $ac_file in
3929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3930 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3931 esac
3932 done
3933 rm -f $ac_rmfiles
3935 if { { ac_try="$ac_link_default"
3936 case "(($ac_try" in
3937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3938 *) ac_try_echo=$ac_try;;
3939 esac
3940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3941 $as_echo "$ac_try_echo"; } >&5
3942 (eval "$ac_link_default") 2>&5
3943 ac_status=$?
3944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3945 test $ac_status = 0; }; then :
3946 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3947 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3948 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3949 # so that the user can short-circuit this test for compilers unknown to
3950 # Autoconf.
3951 for ac_file in $ac_files ''
3953 test -f "$ac_file" || continue
3954 case $ac_file in
3955 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3957 [ab].out )
3958 # We found the default executable, but exeext='' is most
3959 # certainly right.
3960 break;;
3961 *.* )
3962 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3963 then :; else
3964 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3966 # We set ac_cv_exeext here because the later test for it is not
3967 # safe: cross compilers may not add the suffix if given an `-o'
3968 # argument, so we may need to know it at that point already.
3969 # Even if this section looks crufty: it has the advantage of
3970 # actually working.
3971 break;;
3973 break;;
3974 esac
3975 done
3976 test "$ac_cv_exeext" = no && ac_cv_exeext=
3978 else
3979 ac_file=''
3981 if test -z "$ac_file"; then :
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3983 $as_echo "no" >&6; }
3984 $as_echo "$as_me: failed program was:" >&5
3985 sed 's/^/| /' conftest.$ac_ext >&5
3987 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3989 as_fn_error 77 "C compiler cannot create executables
3990 See \`config.log' for more details" "$LINENO" 5; }
3991 else
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3993 $as_echo "yes" >&6; }
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3996 $as_echo_n "checking for C compiler default output file name... " >&6; }
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3998 $as_echo "$ac_file" >&6; }
3999 ac_exeext=$ac_cv_exeext
4001 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4002 ac_clean_files=$ac_clean_files_save
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4004 $as_echo_n "checking for suffix of executables... " >&6; }
4005 if { { ac_try="$ac_link"
4006 case "(($ac_try" in
4007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4008 *) ac_try_echo=$ac_try;;
4009 esac
4010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4011 $as_echo "$ac_try_echo"; } >&5
4012 (eval "$ac_link") 2>&5
4013 ac_status=$?
4014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4015 test $ac_status = 0; }; then :
4016 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4017 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4018 # work properly (i.e., refer to `conftest.exe'), while it won't with
4019 # `rm'.
4020 for ac_file in conftest.exe conftest conftest.*; do
4021 test -f "$ac_file" || continue
4022 case $ac_file in
4023 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4024 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4025 break;;
4026 * ) break;;
4027 esac
4028 done
4029 else
4030 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4032 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4033 See \`config.log' for more details" "$LINENO" 5; }
4035 rm -f conftest conftest$ac_cv_exeext
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4037 $as_echo "$ac_cv_exeext" >&6; }
4039 rm -f conftest.$ac_ext
4040 EXEEXT=$ac_cv_exeext
4041 ac_exeext=$EXEEXT
4042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4043 /* end confdefs.h. */
4044 #include <stdio.h>
4046 main ()
4048 FILE *f = fopen ("conftest.out", "w");
4049 return ferror (f) || fclose (f) != 0;
4052 return 0;
4054 _ACEOF
4055 ac_clean_files="$ac_clean_files conftest.out"
4056 # Check that the compiler produces executables we can run. If not, either
4057 # the compiler is broken, or we cross compile.
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4059 $as_echo_n "checking whether we are cross compiling... " >&6; }
4060 if test "$cross_compiling" != yes; then
4061 { { ac_try="$ac_link"
4062 case "(($ac_try" in
4063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4064 *) ac_try_echo=$ac_try;;
4065 esac
4066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4067 $as_echo "$ac_try_echo"; } >&5
4068 (eval "$ac_link") 2>&5
4069 ac_status=$?
4070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4071 test $ac_status = 0; }
4072 if { ac_try='./conftest$ac_cv_exeext'
4073 { { case "(($ac_try" in
4074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4075 *) ac_try_echo=$ac_try;;
4076 esac
4077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4078 $as_echo "$ac_try_echo"; } >&5
4079 (eval "$ac_try") 2>&5
4080 ac_status=$?
4081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4082 test $ac_status = 0; }; }; then
4083 cross_compiling=no
4084 else
4085 if test "$cross_compiling" = maybe; then
4086 cross_compiling=yes
4087 else
4088 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4090 as_fn_error $? "cannot run C compiled programs.
4091 If you meant to cross compile, use \`--host'.
4092 See \`config.log' for more details" "$LINENO" 5; }
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4097 $as_echo "$cross_compiling" >&6; }
4099 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4100 ac_clean_files=$ac_clean_files_save
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4102 $as_echo_n "checking for suffix of object files... " >&6; }
4103 if ${ac_cv_objext+:} false; then :
4104 $as_echo_n "(cached) " >&6
4105 else
4106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4110 main ()
4114 return 0;
4116 _ACEOF
4117 rm -f conftest.o conftest.obj
4118 if { { ac_try="$ac_compile"
4119 case "(($ac_try" in
4120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4121 *) ac_try_echo=$ac_try;;
4122 esac
4123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4124 $as_echo "$ac_try_echo"; } >&5
4125 (eval "$ac_compile") 2>&5
4126 ac_status=$?
4127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4128 test $ac_status = 0; }; then :
4129 for ac_file in conftest.o conftest.obj conftest.*; do
4130 test -f "$ac_file" || continue;
4131 case $ac_file in
4132 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4133 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4134 break;;
4135 esac
4136 done
4137 else
4138 $as_echo "$as_me: failed program was:" >&5
4139 sed 's/^/| /' conftest.$ac_ext >&5
4141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4143 as_fn_error $? "cannot compute suffix of object files: cannot compile
4144 See \`config.log' for more details" "$LINENO" 5; }
4146 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4149 $as_echo "$ac_cv_objext" >&6; }
4150 OBJEXT=$ac_cv_objext
4151 ac_objext=$OBJEXT
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4153 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4154 if ${ac_cv_c_compiler_gnu+:} false; then :
4155 $as_echo_n "(cached) " >&6
4156 else
4157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4158 /* end confdefs.h. */
4161 main ()
4163 #ifndef __GNUC__
4164 choke me
4165 #endif
4168 return 0;
4170 _ACEOF
4171 if ac_fn_c_try_compile "$LINENO"; then :
4172 ac_compiler_gnu=yes
4173 else
4174 ac_compiler_gnu=no
4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4177 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4181 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4182 if test $ac_compiler_gnu = yes; then
4183 GCC=yes
4184 else
4185 GCC=
4187 ac_test_CFLAGS=${CFLAGS+set}
4188 ac_save_CFLAGS=$CFLAGS
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4190 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4191 if ${ac_cv_prog_cc_g+:} false; then :
4192 $as_echo_n "(cached) " >&6
4193 else
4194 ac_save_c_werror_flag=$ac_c_werror_flag
4195 ac_c_werror_flag=yes
4196 ac_cv_prog_cc_g=no
4197 CFLAGS="-g"
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4202 main ()
4206 return 0;
4208 _ACEOF
4209 if ac_fn_c_try_compile "$LINENO"; then :
4210 ac_cv_prog_cc_g=yes
4211 else
4212 CFLAGS=""
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4217 main ()
4221 return 0;
4223 _ACEOF
4224 if ac_fn_c_try_compile "$LINENO"; then :
4226 else
4227 ac_c_werror_flag=$ac_save_c_werror_flag
4228 CFLAGS="-g"
4229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4230 /* end confdefs.h. */
4233 main ()
4237 return 0;
4239 _ACEOF
4240 if ac_fn_c_try_compile "$LINENO"; then :
4241 ac_cv_prog_cc_g=yes
4243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4248 ac_c_werror_flag=$ac_save_c_werror_flag
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4251 $as_echo "$ac_cv_prog_cc_g" >&6; }
4252 if test "$ac_test_CFLAGS" = set; then
4253 CFLAGS=$ac_save_CFLAGS
4254 elif test $ac_cv_prog_cc_g = yes; then
4255 if test "$GCC" = yes; then
4256 CFLAGS="-g -O2"
4257 else
4258 CFLAGS="-g"
4260 else
4261 if test "$GCC" = yes; then
4262 CFLAGS="-O2"
4263 else
4264 CFLAGS=
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4268 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4269 if ${ac_cv_prog_cc_c89+:} false; then :
4270 $as_echo_n "(cached) " >&6
4271 else
4272 ac_cv_prog_cc_c89=no
4273 ac_save_CC=$CC
4274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4276 #include <stdarg.h>
4277 #include <stdio.h>
4278 struct stat;
4279 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4280 struct buf { int x; };
4281 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4282 static char *e (p, i)
4283 char **p;
4284 int i;
4286 return p[i];
4288 static char *f (char * (*g) (char **, int), char **p, ...)
4290 char *s;
4291 va_list v;
4292 va_start (v,p);
4293 s = g (p, va_arg (v,int));
4294 va_end (v);
4295 return s;
4298 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4299 function prototypes and stuff, but not '\xHH' hex character constants.
4300 These don't provoke an error unfortunately, instead are silently treated
4301 as 'x'. The following induces an error, until -std is added to get
4302 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4303 array size at least. It's necessary to write '\x00'==0 to get something
4304 that's true only with -std. */
4305 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4307 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4308 inside strings and character constants. */
4309 #define FOO(x) 'x'
4310 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4312 int test (int i, double x);
4313 struct s1 {int (*f) (int a);};
4314 struct s2 {int (*f) (double a);};
4315 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4316 int argc;
4317 char **argv;
4319 main ()
4321 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4323 return 0;
4325 _ACEOF
4326 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4327 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4329 CC="$ac_save_CC $ac_arg"
4330 if ac_fn_c_try_compile "$LINENO"; then :
4331 ac_cv_prog_cc_c89=$ac_arg
4333 rm -f core conftest.err conftest.$ac_objext
4334 test "x$ac_cv_prog_cc_c89" != "xno" && break
4335 done
4336 rm -f conftest.$ac_ext
4337 CC=$ac_save_CC
4340 # AC_CACHE_VAL
4341 case "x$ac_cv_prog_cc_c89" in
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4344 $as_echo "none needed" >&6; } ;;
4345 xno)
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4347 $as_echo "unsupported" >&6; } ;;
4349 CC="$CC $ac_cv_prog_cc_c89"
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4351 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4352 esac
4353 if test "x$ac_cv_prog_cc_c89" != xno; then :
4357 ac_ext=c
4358 ac_cpp='$CPP $CPPFLAGS'
4359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4363 ac_ext=cpp
4364 ac_cpp='$CXXCPP $CPPFLAGS'
4365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4368 if test -z "$CXX"; then
4369 if test -n "$CCC"; then
4370 CXX=$CCC
4371 else
4372 if test -n "$ac_tool_prefix"; then
4373 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4375 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4376 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4378 $as_echo_n "checking for $ac_word... " >&6; }
4379 if ${ac_cv_prog_CXX+:} false; then :
4380 $as_echo_n "(cached) " >&6
4381 else
4382 if test -n "$CXX"; then
4383 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4384 else
4385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4386 for as_dir in $PATH
4388 IFS=$as_save_IFS
4389 test -z "$as_dir" && as_dir=.
4390 for ac_exec_ext in '' $ac_executable_extensions; do
4391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4392 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4394 break 2
4396 done
4397 done
4398 IFS=$as_save_IFS
4402 CXX=$ac_cv_prog_CXX
4403 if test -n "$CXX"; then
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4405 $as_echo "$CXX" >&6; }
4406 else
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4408 $as_echo "no" >&6; }
4412 test -n "$CXX" && break
4413 done
4415 if test -z "$CXX"; then
4416 ac_ct_CXX=$CXX
4417 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4419 # Extract the first word of "$ac_prog", so it can be a program name with args.
4420 set dummy $ac_prog; ac_word=$2
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4422 $as_echo_n "checking for $ac_word... " >&6; }
4423 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4424 $as_echo_n "(cached) " >&6
4425 else
4426 if test -n "$ac_ct_CXX"; then
4427 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4428 else
4429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4430 for as_dir in $PATH
4432 IFS=$as_save_IFS
4433 test -z "$as_dir" && as_dir=.
4434 for ac_exec_ext in '' $ac_executable_extensions; do
4435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4436 ac_cv_prog_ac_ct_CXX="$ac_prog"
4437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4438 break 2
4440 done
4441 done
4442 IFS=$as_save_IFS
4446 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4447 if test -n "$ac_ct_CXX"; then
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4449 $as_echo "$ac_ct_CXX" >&6; }
4450 else
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4452 $as_echo "no" >&6; }
4456 test -n "$ac_ct_CXX" && break
4457 done
4459 if test "x$ac_ct_CXX" = x; then
4460 CXX="g++"
4461 else
4462 case $cross_compiling:$ac_tool_warned in
4463 yes:)
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4466 ac_tool_warned=yes ;;
4467 esac
4468 CXX=$ac_ct_CXX
4474 # Provide some information about the compiler.
4475 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4476 set X $ac_compile
4477 ac_compiler=$2
4478 for ac_option in --version -v -V -qversion; do
4479 { { ac_try="$ac_compiler $ac_option >&5"
4480 case "(($ac_try" in
4481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4482 *) ac_try_echo=$ac_try;;
4483 esac
4484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4485 $as_echo "$ac_try_echo"; } >&5
4486 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4487 ac_status=$?
4488 if test -s conftest.err; then
4489 sed '10a\
4490 ... rest of stderr output deleted ...
4491 10q' conftest.err >conftest.er1
4492 cat conftest.er1 >&5
4494 rm -f conftest.er1 conftest.err
4495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4496 test $ac_status = 0; }
4497 done
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4500 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4501 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4502 $as_echo_n "(cached) " >&6
4503 else
4504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4508 main ()
4510 #ifndef __GNUC__
4511 choke me
4512 #endif
4515 return 0;
4517 _ACEOF
4518 if ac_fn_cxx_try_compile "$LINENO"; then :
4519 ac_compiler_gnu=yes
4520 else
4521 ac_compiler_gnu=no
4523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4528 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4529 if test $ac_compiler_gnu = yes; then
4530 GXX=yes
4531 else
4532 GXX=
4534 ac_test_CXXFLAGS=${CXXFLAGS+set}
4535 ac_save_CXXFLAGS=$CXXFLAGS
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4537 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4538 if ${ac_cv_prog_cxx_g+:} false; then :
4539 $as_echo_n "(cached) " >&6
4540 else
4541 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4542 ac_cxx_werror_flag=yes
4543 ac_cv_prog_cxx_g=no
4544 CXXFLAGS="-g"
4545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4546 /* end confdefs.h. */
4549 main ()
4553 return 0;
4555 _ACEOF
4556 if ac_fn_cxx_try_compile "$LINENO"; then :
4557 ac_cv_prog_cxx_g=yes
4558 else
4559 CXXFLAGS=""
4560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4564 main ()
4568 return 0;
4570 _ACEOF
4571 if ac_fn_cxx_try_compile "$LINENO"; then :
4573 else
4574 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4575 CXXFLAGS="-g"
4576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4580 main ()
4584 return 0;
4586 _ACEOF
4587 if ac_fn_cxx_try_compile "$LINENO"; then :
4588 ac_cv_prog_cxx_g=yes
4590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4595 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4598 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4599 if test "$ac_test_CXXFLAGS" = set; then
4600 CXXFLAGS=$ac_save_CXXFLAGS
4601 elif test $ac_cv_prog_cxx_g = yes; then
4602 if test "$GXX" = yes; then
4603 CXXFLAGS="-g -O2"
4604 else
4605 CXXFLAGS="-g"
4607 else
4608 if test "$GXX" = yes; then
4609 CXXFLAGS="-O2"
4610 else
4611 CXXFLAGS=
4614 ac_ext=c
4615 ac_cpp='$CPP $CPPFLAGS'
4616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4620 if test -n "$ac_tool_prefix"; then
4621 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4622 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4624 $as_echo_n "checking for $ac_word... " >&6; }
4625 if ${ac_cv_prog_CPPBIN+:} false; then :
4626 $as_echo_n "(cached) " >&6
4627 else
4628 if test -n "$CPPBIN"; then
4629 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4630 else
4631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4632 for as_dir in $PATH
4634 IFS=$as_save_IFS
4635 test -z "$as_dir" && as_dir=.
4636 for ac_exec_ext in '' $ac_executable_extensions; do
4637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4638 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4640 break 2
4642 done
4643 done
4644 IFS=$as_save_IFS
4648 CPPBIN=$ac_cv_prog_CPPBIN
4649 if test -n "$CPPBIN"; then
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4651 $as_echo "$CPPBIN" >&6; }
4652 else
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4654 $as_echo "no" >&6; }
4659 if test -z "$ac_cv_prog_CPPBIN"; then
4660 ac_ct_CPPBIN=$CPPBIN
4661 # Extract the first word of "cpp", so it can be a program name with args.
4662 set dummy cpp; ac_word=$2
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4664 $as_echo_n "checking for $ac_word... " >&6; }
4665 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4666 $as_echo_n "(cached) " >&6
4667 else
4668 if test -n "$ac_ct_CPPBIN"; then
4669 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4670 else
4671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4672 for as_dir in $PATH
4674 IFS=$as_save_IFS
4675 test -z "$as_dir" && as_dir=.
4676 for ac_exec_ext in '' $ac_executable_extensions; do
4677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4678 ac_cv_prog_ac_ct_CPPBIN="cpp"
4679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4680 break 2
4682 done
4683 done
4684 IFS=$as_save_IFS
4688 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4689 if test -n "$ac_ct_CPPBIN"; then
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4691 $as_echo "$ac_ct_CPPBIN" >&6; }
4692 else
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4694 $as_echo "no" >&6; }
4697 if test "x$ac_ct_CPPBIN" = x; then
4698 CPPBIN="cpp"
4699 else
4700 case $cross_compiling:$ac_tool_warned in
4701 yes:)
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4704 ac_tool_warned=yes ;;
4705 esac
4706 CPPBIN=$ac_ct_CPPBIN
4708 else
4709 CPPBIN="$ac_cv_prog_CPPBIN"
4713 cat >>confdefs.h <<_ACEOF
4714 #define EXEEXT "$ac_exeext"
4715 _ACEOF
4718 case $host in
4719 *-darwin*)
4720 if test "x$enable_win64" = "xyes"
4721 then
4722 CC="$CC -m64"
4723 CXX="$CXX -m64"
4724 host_cpu="x86_64"
4725 notice_platform="64-bit "
4726 TARGETFLAGS="-m64"
4728 else
4729 CC="$CC -m32"
4730 CXX="$CXX -m32"
4731 host_cpu="i386"
4732 notice_platform="32-bit "
4733 TARGETFLAGS="-m32"
4735 enable_win16=${enable_win16:-yes}
4737 with_fontconfig=${with_fontconfig:-no}
4739 x86_64*)
4740 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4741 then
4742 CC="$CC -m32"
4743 CXX="$CXX -m32"
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4745 $as_echo_n "checking whether $CC works... " >&6; }
4747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4748 /* end confdefs.h. */
4751 main ()
4755 return 0;
4757 _ACEOF
4758 if ac_fn_c_try_link "$LINENO"; then :
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4760 $as_echo "yes" >&6; }
4761 else
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 $as_echo "no" >&6; }
4764 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4766 rm -f core conftest.err conftest.$ac_objext \
4767 conftest$ac_exeext conftest.$ac_ext
4768 host_cpu="i386"
4769 notice_platform="32-bit "
4770 TARGETFLAGS="-m32"
4772 enable_win16=${enable_win16:-yes}
4773 else
4774 if test "x${GCC}" = "xyes"
4775 then
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4777 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h. */
4780 #include <stdarg.h>
4782 main ()
4784 void func(__builtin_ms_va_list *args);
4786 return 0;
4788 _ACEOF
4789 if ac_fn_c_try_compile "$LINENO"; then :
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4791 $as_echo "yes" >&6; }
4792 else
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4794 $as_echo "no" >&6; }
4795 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4799 TARGETFLAGS="-m64"
4803 arm*)
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4805 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4807 /* end confdefs.h. */
4808 int ac_test(int i) { return i; }
4810 main ()
4812 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4814 return 0;
4816 _ACEOF
4817 if ac_fn_c_try_link "$LINENO"; then :
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4819 $as_echo "yes" >&6; }
4820 else
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4822 $as_echo "no" >&6; }
4823 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4825 rm -f core conftest.err conftest.$ac_objext \
4826 conftest$ac_exeext conftest.$ac_ext
4827 CFLAGS="$CFLAGS -marm"
4828 TARGETFLAGS="-marm"
4831 *-mingw32*|*-cygwin*)
4832 enable_win16=${enable_win16:-no}
4833 CFLAGS="$CFLAGS -D_WIN32"
4835 i[3456789]86*)
4836 enable_win16=${enable_win16:-yes}
4838 esac
4840 enable_win16=${enable_win16:-no}
4841 enable_win64=${enable_win64:-no}
4843 enable_winetest=${enable_winetest:-$enable_tests}
4845 if test -n "$with_wine64"
4846 then
4847 if test "x$enable_win64" = "xyes"
4848 then
4849 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4850 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4852 enable_fonts=${enable_fonts:-no}
4853 enable_server=${enable_server:-no}
4854 elif test "x$enable_win64" = "xyes"
4855 then
4856 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4860 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4861 if ${wine_cv_toolsdir+:} false; then :
4862 $as_echo_n "(cached) " >&6
4863 else
4864 wine_cv_toolsdir="$with_wine_tools"
4865 if test -z "$with_wine_tools"; then
4866 if test "$cross_compiling" = "yes"; then
4867 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4868 elif test -n "$with_wine64"; then
4869 wine_cv_toolsdir="$with_wine64"
4872 if test -z "$wine_cv_toolsdir"; then
4873 wine_makedep=tools/makedep
4874 wine_cv_toolsdir="\$(top_builddir)"
4875 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4876 wine_makedep=$wine_cv_toolsdir/tools/makedep
4877 case "$wine_cv_toolsdir" in
4878 /*) ;;
4879 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4880 esac
4881 enable_tools=${enable_tools:-no}
4882 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4883 else
4884 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4888 $as_echo "$wine_cv_toolsdir" >&6; }
4889 TOOLSDIR=$wine_cv_toolsdir
4891 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4892 then
4893 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4897 for ac_prog in flex
4899 # Extract the first word of "$ac_prog", so it can be a program name with args.
4900 set dummy $ac_prog; ac_word=$2
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4902 $as_echo_n "checking for $ac_word... " >&6; }
4903 if ${ac_cv_prog_FLEX+:} false; then :
4904 $as_echo_n "(cached) " >&6
4905 else
4906 if test -n "$FLEX"; then
4907 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4908 else
4909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4910 for as_dir in $PATH
4912 IFS=$as_save_IFS
4913 test -z "$as_dir" && as_dir=.
4914 for ac_exec_ext in '' $ac_executable_extensions; do
4915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4916 ac_cv_prog_FLEX="$ac_prog"
4917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4918 break 2
4920 done
4921 done
4922 IFS=$as_save_IFS
4926 FLEX=$ac_cv_prog_FLEX
4927 if test -n "$FLEX"; then
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4929 $as_echo "$FLEX" >&6; }
4930 else
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4932 $as_echo "no" >&6; }
4936 test -n "$FLEX" && break
4937 done
4938 test -n "$FLEX" || FLEX="none"
4940 if test "$FLEX" = "none"
4941 then
4942 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4945 $as_echo_n "checking whether flex is recent enough... " >&6; }
4946 cat >conftest.l <<EOF
4947 %top{
4948 #include "prediluvian.h"
4952 if $FLEX -t conftest.l >/dev/null 2>&5
4953 then
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4955 $as_echo "yes" >&6; }
4956 else
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4958 $as_echo "no" >&6; }
4959 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4962 for ac_prog in bison
4964 # Extract the first word of "$ac_prog", so it can be a program name with args.
4965 set dummy $ac_prog; ac_word=$2
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4967 $as_echo_n "checking for $ac_word... " >&6; }
4968 if ${ac_cv_prog_BISON+:} false; then :
4969 $as_echo_n "(cached) " >&6
4970 else
4971 if test -n "$BISON"; then
4972 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4973 else
4974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4975 for as_dir in $PATH
4977 IFS=$as_save_IFS
4978 test -z "$as_dir" && as_dir=.
4979 for ac_exec_ext in '' $ac_executable_extensions; do
4980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4981 ac_cv_prog_BISON="$ac_prog"
4982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4983 break 2
4985 done
4986 done
4987 IFS=$as_save_IFS
4991 BISON=$ac_cv_prog_BISON
4992 if test -n "$BISON"; then
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4994 $as_echo "$BISON" >&6; }
4995 else
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4997 $as_echo "no" >&6; }
5001 test -n "$BISON" && break
5002 done
5003 test -n "$BISON" || BISON="none"
5005 if test "$BISON" = "none"
5006 then
5007 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5010 if test -n "$ac_tool_prefix"; then
5011 for ac_prog in ar gar
5013 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5014 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if ${ac_cv_prog_AR+:} false; then :
5018 $as_echo_n "(cached) " >&6
5019 else
5020 if test -n "$AR"; then
5021 ac_cv_prog_AR="$AR" # Let the user override the test.
5022 else
5023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5024 for as_dir in $PATH
5026 IFS=$as_save_IFS
5027 test -z "$as_dir" && as_dir=.
5028 for ac_exec_ext in '' $ac_executable_extensions; do
5029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5030 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 break 2
5034 done
5035 done
5036 IFS=$as_save_IFS
5040 AR=$ac_cv_prog_AR
5041 if test -n "$AR"; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5043 $as_echo "$AR" >&6; }
5044 else
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5050 test -n "$AR" && break
5051 done
5053 if test -z "$AR"; then
5054 ac_ct_AR=$AR
5055 for ac_prog in ar gar
5057 # Extract the first word of "$ac_prog", so it can be a program name with args.
5058 set dummy $ac_prog; ac_word=$2
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5060 $as_echo_n "checking for $ac_word... " >&6; }
5061 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5062 $as_echo_n "(cached) " >&6
5063 else
5064 if test -n "$ac_ct_AR"; then
5065 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5066 else
5067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5068 for as_dir in $PATH
5070 IFS=$as_save_IFS
5071 test -z "$as_dir" && as_dir=.
5072 for ac_exec_ext in '' $ac_executable_extensions; do
5073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5074 ac_cv_prog_ac_ct_AR="$ac_prog"
5075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5076 break 2
5078 done
5079 done
5080 IFS=$as_save_IFS
5084 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5085 if test -n "$ac_ct_AR"; then
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5087 $as_echo "$ac_ct_AR" >&6; }
5088 else
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090 $as_echo "no" >&6; }
5094 test -n "$ac_ct_AR" && break
5095 done
5097 if test "x$ac_ct_AR" = x; then
5098 AR="ar"
5099 else
5100 case $cross_compiling:$ac_tool_warned in
5101 yes:)
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5104 ac_tool_warned=yes ;;
5105 esac
5106 AR=$ac_ct_AR
5110 if test -n "$ac_tool_prefix"; then
5111 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5112 set dummy ${ac_tool_prefix}strip; ac_word=$2
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114 $as_echo_n "checking for $ac_word... " >&6; }
5115 if ${ac_cv_prog_STRIP+:} false; then :
5116 $as_echo_n "(cached) " >&6
5117 else
5118 if test -n "$STRIP"; then
5119 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5120 else
5121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5122 for as_dir in $PATH
5124 IFS=$as_save_IFS
5125 test -z "$as_dir" && as_dir=.
5126 for ac_exec_ext in '' $ac_executable_extensions; do
5127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5128 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5130 break 2
5132 done
5133 done
5134 IFS=$as_save_IFS
5138 STRIP=$ac_cv_prog_STRIP
5139 if test -n "$STRIP"; then
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5141 $as_echo "$STRIP" >&6; }
5142 else
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 $as_echo "no" >&6; }
5149 if test -z "$ac_cv_prog_STRIP"; then
5150 ac_ct_STRIP=$STRIP
5151 # Extract the first word of "strip", so it can be a program name with args.
5152 set dummy strip; ac_word=$2
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5154 $as_echo_n "checking for $ac_word... " >&6; }
5155 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5156 $as_echo_n "(cached) " >&6
5157 else
5158 if test -n "$ac_ct_STRIP"; then
5159 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5160 else
5161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5162 for as_dir in $PATH
5164 IFS=$as_save_IFS
5165 test -z "$as_dir" && as_dir=.
5166 for ac_exec_ext in '' $ac_executable_extensions; do
5167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5168 ac_cv_prog_ac_ct_STRIP="strip"
5169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5170 break 2
5172 done
5173 done
5174 IFS=$as_save_IFS
5178 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5179 if test -n "$ac_ct_STRIP"; then
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5181 $as_echo "$ac_ct_STRIP" >&6; }
5182 else
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5184 $as_echo "no" >&6; }
5187 if test "x$ac_ct_STRIP" = x; then
5188 STRIP="strip"
5189 else
5190 case $cross_compiling:$ac_tool_warned in
5191 yes:)
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5194 ac_tool_warned=yes ;;
5195 esac
5196 STRIP=$ac_ct_STRIP
5198 else
5199 STRIP="$ac_cv_prog_STRIP"
5202 ARFLAGS=rc
5204 if test -n "$ac_tool_prefix"; then
5205 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5206 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if ${ac_cv_prog_RANLIB+:} false; then :
5210 $as_echo_n "(cached) " >&6
5211 else
5212 if test -n "$RANLIB"; then
5213 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5214 else
5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216 for as_dir in $PATH
5218 IFS=$as_save_IFS
5219 test -z "$as_dir" && as_dir=.
5220 for ac_exec_ext in '' $ac_executable_extensions; do
5221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 break 2
5226 done
5227 done
5228 IFS=$as_save_IFS
5232 RANLIB=$ac_cv_prog_RANLIB
5233 if test -n "$RANLIB"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5235 $as_echo "$RANLIB" >&6; }
5236 else
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5243 if test -z "$ac_cv_prog_RANLIB"; then
5244 ac_ct_RANLIB=$RANLIB
5245 # Extract the first word of "ranlib", so it can be a program name with args.
5246 set dummy ranlib; ac_word=$2
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248 $as_echo_n "checking for $ac_word... " >&6; }
5249 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5250 $as_echo_n "(cached) " >&6
5251 else
5252 if test -n "$ac_ct_RANLIB"; then
5253 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5254 else
5255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256 for as_dir in $PATH
5258 IFS=$as_save_IFS
5259 test -z "$as_dir" && as_dir=.
5260 for ac_exec_ext in '' $ac_executable_extensions; do
5261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5262 ac_cv_prog_ac_ct_RANLIB="ranlib"
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5264 break 2
5266 done
5267 done
5268 IFS=$as_save_IFS
5272 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5273 if test -n "$ac_ct_RANLIB"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5275 $as_echo "$ac_ct_RANLIB" >&6; }
5276 else
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 $as_echo "no" >&6; }
5281 if test "x$ac_ct_RANLIB" = x; then
5282 RANLIB=":"
5283 else
5284 case $cross_compiling:$ac_tool_warned in
5285 yes:)
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5288 ac_tool_warned=yes ;;
5289 esac
5290 RANLIB=$ac_ct_RANLIB
5292 else
5293 RANLIB="$ac_cv_prog_RANLIB"
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5297 $as_echo_n "checking whether ln -s works... " >&6; }
5298 LN_S=$as_ln_s
5299 if test "$LN_S" = "ln -s"; then
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5301 $as_echo "yes" >&6; }
5302 else
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5304 $as_echo "no, using $LN_S" >&6; }
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5308 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5309 if ${ac_cv_path_GREP+:} false; then :
5310 $as_echo_n "(cached) " >&6
5311 else
5312 if test -z "$GREP"; then
5313 ac_path_GREP_found=false
5314 # Loop through the user's path and test for each of PROGNAME-LIST
5315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5316 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5318 IFS=$as_save_IFS
5319 test -z "$as_dir" && as_dir=.
5320 for ac_prog in grep ggrep; do
5321 for ac_exec_ext in '' $ac_executable_extensions; do
5322 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5323 as_fn_executable_p "$ac_path_GREP" || continue
5324 # Check for GNU ac_path_GREP and select it if it is found.
5325 # Check for GNU $ac_path_GREP
5326 case `"$ac_path_GREP" --version 2>&1` in
5327 *GNU*)
5328 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5330 ac_count=0
5331 $as_echo_n 0123456789 >"conftest.in"
5332 while :
5334 cat "conftest.in" "conftest.in" >"conftest.tmp"
5335 mv "conftest.tmp" "conftest.in"
5336 cp "conftest.in" "conftest.nl"
5337 $as_echo 'GREP' >> "conftest.nl"
5338 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5339 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5340 as_fn_arith $ac_count + 1 && ac_count=$as_val
5341 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5342 # Best one so far, save it but keep looking for a better one
5343 ac_cv_path_GREP="$ac_path_GREP"
5344 ac_path_GREP_max=$ac_count
5346 # 10*(2^10) chars as input seems more than enough
5347 test $ac_count -gt 10 && break
5348 done
5349 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5350 esac
5352 $ac_path_GREP_found && break 3
5353 done
5354 done
5355 done
5356 IFS=$as_save_IFS
5357 if test -z "$ac_cv_path_GREP"; then
5358 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5360 else
5361 ac_cv_path_GREP=$GREP
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5366 $as_echo "$ac_cv_path_GREP" >&6; }
5367 GREP="$ac_cv_path_GREP"
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5371 $as_echo_n "checking for egrep... " >&6; }
5372 if ${ac_cv_path_EGREP+:} false; then :
5373 $as_echo_n "(cached) " >&6
5374 else
5375 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5376 then ac_cv_path_EGREP="$GREP -E"
5377 else
5378 if test -z "$EGREP"; then
5379 ac_path_EGREP_found=false
5380 # Loop through the user's path and test for each of PROGNAME-LIST
5381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5382 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5384 IFS=$as_save_IFS
5385 test -z "$as_dir" && as_dir=.
5386 for ac_prog in egrep; do
5387 for ac_exec_ext in '' $ac_executable_extensions; do
5388 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5389 as_fn_executable_p "$ac_path_EGREP" || continue
5390 # Check for GNU ac_path_EGREP and select it if it is found.
5391 # Check for GNU $ac_path_EGREP
5392 case `"$ac_path_EGREP" --version 2>&1` in
5393 *GNU*)
5394 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5396 ac_count=0
5397 $as_echo_n 0123456789 >"conftest.in"
5398 while :
5400 cat "conftest.in" "conftest.in" >"conftest.tmp"
5401 mv "conftest.tmp" "conftest.in"
5402 cp "conftest.in" "conftest.nl"
5403 $as_echo 'EGREP' >> "conftest.nl"
5404 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5405 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5406 as_fn_arith $ac_count + 1 && ac_count=$as_val
5407 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5408 # Best one so far, save it but keep looking for a better one
5409 ac_cv_path_EGREP="$ac_path_EGREP"
5410 ac_path_EGREP_max=$ac_count
5412 # 10*(2^10) chars as input seems more than enough
5413 test $ac_count -gt 10 && break
5414 done
5415 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5416 esac
5418 $ac_path_EGREP_found && break 3
5419 done
5420 done
5421 done
5422 IFS=$as_save_IFS
5423 if test -z "$ac_cv_path_EGREP"; then
5424 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5426 else
5427 ac_cv_path_EGREP=$EGREP
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5433 $as_echo "$ac_cv_path_EGREP" >&6; }
5434 EGREP="$ac_cv_path_EGREP"
5437 # Extract the first word of "ldconfig", so it can be a program name with args.
5438 set dummy ldconfig; ac_word=$2
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5440 $as_echo_n "checking for $ac_word... " >&6; }
5441 if ${ac_cv_path_LDCONFIG+:} false; then :
5442 $as_echo_n "(cached) " >&6
5443 else
5444 case $LDCONFIG in
5445 [\\/]* | ?:[\\/]*)
5446 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5450 for as_dir in /sbin /usr/sbin $PATH
5452 IFS=$as_save_IFS
5453 test -z "$as_dir" && as_dir=.
5454 for ac_exec_ext in '' $ac_executable_extensions; do
5455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5456 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5458 break 2
5460 done
5461 done
5462 IFS=$as_save_IFS
5464 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5466 esac
5468 LDCONFIG=$ac_cv_path_LDCONFIG
5469 if test -n "$LDCONFIG"; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5471 $as_echo "$LDCONFIG" >&6; }
5472 else
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5474 $as_echo "no" >&6; }
5478 for ac_prog in msgfmt
5480 # Extract the first word of "$ac_prog", so it can be a program name with args.
5481 set dummy $ac_prog; ac_word=$2
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5483 $as_echo_n "checking for $ac_word... " >&6; }
5484 if ${ac_cv_prog_MSGFMT+:} false; then :
5485 $as_echo_n "(cached) " >&6
5486 else
5487 if test -n "$MSGFMT"; then
5488 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5489 else
5490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5491 for as_dir in $PATH
5493 IFS=$as_save_IFS
5494 test -z "$as_dir" && as_dir=.
5495 for ac_exec_ext in '' $ac_executable_extensions; do
5496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5497 ac_cv_prog_MSGFMT="$ac_prog"
5498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5499 break 2
5501 done
5502 done
5503 IFS=$as_save_IFS
5507 MSGFMT=$ac_cv_prog_MSGFMT
5508 if test -n "$MSGFMT"; then
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5510 $as_echo "$MSGFMT" >&6; }
5511 else
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5513 $as_echo "no" >&6; }
5517 test -n "$MSGFMT" && break
5518 done
5519 test -n "$MSGFMT" || MSGFMT="false"
5521 if ${ac_tool_prefix+:} false; then :
5522 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5523 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5525 $as_echo_n "checking for $ac_word... " >&6; }
5526 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5527 $as_echo_n "(cached) " >&6
5528 else
5529 if test -n "$PKG_CONFIG"; then
5530 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5531 else
5532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5533 for as_dir in $PATH
5535 IFS=$as_save_IFS
5536 test -z "$as_dir" && as_dir=.
5537 for ac_exec_ext in '' $ac_executable_extensions; do
5538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5539 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 break 2
5543 done
5544 done
5545 IFS=$as_save_IFS
5549 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5550 if test -n "$PKG_CONFIG"; then
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5552 $as_echo "$PKG_CONFIG" >&6; }
5553 else
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5555 $as_echo "no" >&6; }
5560 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5561 if test "x$cross_compiling" = xyes; then :
5563 else
5564 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5565 # Extract the first word of "pkg-config", so it can be a program name with args.
5566 set dummy pkg-config; ac_word=$2
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5568 $as_echo_n "checking for $ac_word... " >&6; }
5569 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5570 $as_echo_n "(cached) " >&6
5571 else
5572 if test -n "$PKG_CONFIG"; then
5573 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5574 else
5575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5576 for as_dir in $PATH
5578 IFS=$as_save_IFS
5579 test -z "$as_dir" && as_dir=.
5580 for ac_exec_ext in '' $ac_executable_extensions; do
5581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5582 ac_cv_prog_PKG_CONFIG="pkg-config"
5583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5584 break 2
5586 done
5587 done
5588 IFS=$as_save_IFS
5592 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5593 if test -n "$PKG_CONFIG"; then
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5595 $as_echo "$PKG_CONFIG" >&6; }
5596 else
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598 $as_echo "no" >&6; }
5603 else
5604 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5607 if test "x$enable_maintainer_mode" != "xyes"
5608 then
5609 FONTFORGE=""
5610 RSVG=""
5611 CONVERT=""
5612 ICOTOOL=""
5613 else
5614 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5615 for ac_prog in fontforge
5617 # Extract the first word of "$ac_prog", so it can be a program name with args.
5618 set dummy $ac_prog; ac_word=$2
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5620 $as_echo_n "checking for $ac_word... " >&6; }
5621 if ${ac_cv_prog_FONTFORGE+:} false; then :
5622 $as_echo_n "(cached) " >&6
5623 else
5624 if test -n "$FONTFORGE"; then
5625 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5626 else
5627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5628 for as_dir in $PATH
5630 IFS=$as_save_IFS
5631 test -z "$as_dir" && as_dir=.
5632 for ac_exec_ext in '' $ac_executable_extensions; do
5633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5634 ac_cv_prog_FONTFORGE="$ac_prog"
5635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5636 break 2
5638 done
5639 done
5640 IFS=$as_save_IFS
5644 FONTFORGE=$ac_cv_prog_FONTFORGE
5645 if test -n "$FONTFORGE"; then
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5647 $as_echo "$FONTFORGE" >&6; }
5648 else
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650 $as_echo "no" >&6; }
5654 test -n "$FONTFORGE" && break
5655 done
5656 test -n "$FONTFORGE" || FONTFORGE="false"
5658 for ac_prog in rsvg
5660 # Extract the first word of "$ac_prog", so it can be a program name with args.
5661 set dummy $ac_prog; ac_word=$2
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 $as_echo_n "checking for $ac_word... " >&6; }
5664 if ${ac_cv_prog_RSVG+:} false; then :
5665 $as_echo_n "(cached) " >&6
5666 else
5667 if test -n "$RSVG"; then
5668 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5669 else
5670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5671 for as_dir in $PATH
5673 IFS=$as_save_IFS
5674 test -z "$as_dir" && as_dir=.
5675 for ac_exec_ext in '' $ac_executable_extensions; do
5676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5677 ac_cv_prog_RSVG="$ac_prog"
5678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5679 break 2
5681 done
5682 done
5683 IFS=$as_save_IFS
5687 RSVG=$ac_cv_prog_RSVG
5688 if test -n "$RSVG"; then
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5690 $as_echo "$RSVG" >&6; }
5691 else
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693 $as_echo "no" >&6; }
5697 test -n "$RSVG" && break
5698 done
5699 test -n "$RSVG" || RSVG="false"
5701 for ac_prog in convert
5703 # Extract the first word of "$ac_prog", so it can be a program name with args.
5704 set dummy $ac_prog; ac_word=$2
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5706 $as_echo_n "checking for $ac_word... " >&6; }
5707 if ${ac_cv_prog_CONVERT+:} false; then :
5708 $as_echo_n "(cached) " >&6
5709 else
5710 if test -n "$CONVERT"; then
5711 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5712 else
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714 for as_dir in $PATH
5716 IFS=$as_save_IFS
5717 test -z "$as_dir" && as_dir=.
5718 for ac_exec_ext in '' $ac_executable_extensions; do
5719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5720 ac_cv_prog_CONVERT="$ac_prog"
5721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5722 break 2
5724 done
5725 done
5726 IFS=$as_save_IFS
5730 CONVERT=$ac_cv_prog_CONVERT
5731 if test -n "$CONVERT"; then
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5733 $as_echo "$CONVERT" >&6; }
5734 else
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 $as_echo "no" >&6; }
5740 test -n "$CONVERT" && break
5741 done
5742 test -n "$CONVERT" || CONVERT="false"
5744 for ac_prog in icotool
5746 # Extract the first word of "$ac_prog", so it can be a program name with args.
5747 set dummy $ac_prog; ac_word=$2
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5749 $as_echo_n "checking for $ac_word... " >&6; }
5750 if ${ac_cv_prog_ICOTOOL+:} false; then :
5751 $as_echo_n "(cached) " >&6
5752 else
5753 if test -n "$ICOTOOL"; then
5754 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5755 else
5756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 for as_dir in $PATH
5759 IFS=$as_save_IFS
5760 test -z "$as_dir" && as_dir=.
5761 for ac_exec_ext in '' $ac_executable_extensions; do
5762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5763 ac_cv_prog_ICOTOOL="$ac_prog"
5764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5765 break 2
5767 done
5768 done
5769 IFS=$as_save_IFS
5773 ICOTOOL=$ac_cv_prog_ICOTOOL
5774 if test -n "$ICOTOOL"; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5776 $as_echo "$ICOTOOL" >&6; }
5777 else
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5779 $as_echo "no" >&6; }
5783 test -n "$ICOTOOL" && break
5784 done
5785 test -n "$ICOTOOL" || ICOTOOL="false"
5787 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5788 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5790 if test "$CONVERT" = false
5791 then
5792 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5793 else
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5795 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5796 convert_version=`convert --version | head -n1`
5797 if test "x$convert_version" != "x"
5798 then
5799 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5800 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5801 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5802 then
5803 CONVERT=false
5806 if test "$CONVERT" = false
5807 then
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5809 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5810 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5811 else
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5813 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5817 if test "$ICOTOOL" = false
5818 then
5819 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5820 else
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5822 $as_echo_n "checking for recent enough icotool... " >&6; }
5823 icotool_version=`icotool --version | head -n1`
5824 if test "x$icotool_version" != "x"
5825 then
5826 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5827 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5828 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5829 then
5830 ICOTOOL=false
5831 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5834 if test "$ICOTOOL" = false
5835 then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5837 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5838 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5839 else
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5841 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5845 with_gettext=yes
5846 with_gettextpo=yes
5847 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5850 test "x$with_gettext" != xno || MSGFMT=false
5851 if test "$MSGFMT" != "false"
5852 then
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5854 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5855 cat >conftest.po <<EOF
5856 # comment
5857 msgctxt "ctxt"
5858 msgid "id"
5859 msgstr "str"
5861 if $MSGFMT -o /dev/null conftest.po 2>&5
5862 then
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5864 $as_echo "yes" >&6; }
5865 else
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5868 MSGFMT=false
5871 if test "$MSGFMT" = false; then :
5872 case "x$with_gettext" in
5873 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5874 xno) ;;
5875 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5876 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5877 esac
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5882 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5883 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5884 $as_echo_n "(cached) " >&6
5885 else
5886 ac_check_lib_save_LIBS=$LIBS
5887 LIBS="-li386 $LIBS"
5888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5889 /* end confdefs.h. */
5891 /* Override any GCC internal prototype to avoid an error.
5892 Use char because int might match the return type of a GCC
5893 builtin and then its argument prototype would still apply. */
5894 #ifdef __cplusplus
5895 extern "C"
5896 #endif
5897 char i386_set_ldt ();
5899 main ()
5901 return i386_set_ldt ();
5903 return 0;
5905 _ACEOF
5906 if ac_fn_c_try_link "$LINENO"; then :
5907 ac_cv_lib_i386_i386_set_ldt=yes
5908 else
5909 ac_cv_lib_i386_i386_set_ldt=no
5911 rm -f core conftest.err conftest.$ac_objext \
5912 conftest$ac_exeext conftest.$ac_ext
5913 LIBS=$ac_check_lib_save_LIBS
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5916 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5917 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5918 cat >>confdefs.h <<_ACEOF
5919 #define HAVE_LIBI386 1
5920 _ACEOF
5922 LIBS="-li386 $LIBS"
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5927 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5928 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5929 $as_echo_n "(cached) " >&6
5930 else
5931 ac_check_lib_save_LIBS=$LIBS
5932 LIBS="-lossaudio $LIBS"
5933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5934 /* end confdefs.h. */
5936 /* Override any GCC internal prototype to avoid an error.
5937 Use char because int might match the return type of a GCC
5938 builtin and then its argument prototype would still apply. */
5939 #ifdef __cplusplus
5940 extern "C"
5941 #endif
5942 char _oss_ioctl ();
5944 main ()
5946 return _oss_ioctl ();
5948 return 0;
5950 _ACEOF
5951 if ac_fn_c_try_link "$LINENO"; then :
5952 ac_cv_lib_ossaudio__oss_ioctl=yes
5953 else
5954 ac_cv_lib_ossaudio__oss_ioctl=no
5956 rm -f core conftest.err conftest.$ac_objext \
5957 conftest$ac_exeext conftest.$ac_ext
5958 LIBS=$ac_check_lib_save_LIBS
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5961 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5962 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5963 cat >>confdefs.h <<_ACEOF
5964 #define HAVE_LIBOSSAUDIO 1
5965 _ACEOF
5967 LIBS="-lossaudio $LIBS"
5972 OPENGL_LIBS=""
5976 # Check whether --enable-largefile was given.
5977 if test "${enable_largefile+set}" = set; then :
5978 enableval=$enable_largefile;
5981 if test "$enable_largefile" != no; then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5984 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5985 if ${ac_cv_sys_largefile_CC+:} false; then :
5986 $as_echo_n "(cached) " >&6
5987 else
5988 ac_cv_sys_largefile_CC=no
5989 if test "$GCC" != yes; then
5990 ac_save_CC=$CC
5991 while :; do
5992 # IRIX 6.2 and later do not support large files by default,
5993 # so use the C compiler's -n32 option if that helps.
5994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5995 /* end confdefs.h. */
5996 #include <sys/types.h>
5997 /* Check that off_t can represent 2**63 - 1 correctly.
5998 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5999 since some C++ compilers masquerading as C compilers
6000 incorrectly reject 9223372036854775807. */
6001 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6002 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6003 && LARGE_OFF_T % 2147483647 == 1)
6004 ? 1 : -1];
6006 main ()
6010 return 0;
6012 _ACEOF
6013 if ac_fn_c_try_compile "$LINENO"; then :
6014 break
6016 rm -f core conftest.err conftest.$ac_objext
6017 CC="$CC -n32"
6018 if ac_fn_c_try_compile "$LINENO"; then :
6019 ac_cv_sys_largefile_CC=' -n32'; break
6021 rm -f core conftest.err conftest.$ac_objext
6022 break
6023 done
6024 CC=$ac_save_CC
6025 rm -f conftest.$ac_ext
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6029 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6030 if test "$ac_cv_sys_largefile_CC" != no; then
6031 CC=$CC$ac_cv_sys_largefile_CC
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6035 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6036 if ${ac_cv_sys_file_offset_bits+:} false; then :
6037 $as_echo_n "(cached) " >&6
6038 else
6039 while :; do
6040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6041 /* end confdefs.h. */
6042 #include <sys/types.h>
6043 /* Check that off_t can represent 2**63 - 1 correctly.
6044 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6045 since some C++ compilers masquerading as C compilers
6046 incorrectly reject 9223372036854775807. */
6047 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6048 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6049 && LARGE_OFF_T % 2147483647 == 1)
6050 ? 1 : -1];
6052 main ()
6056 return 0;
6058 _ACEOF
6059 if ac_fn_c_try_compile "$LINENO"; then :
6060 ac_cv_sys_file_offset_bits=no; break
6062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6064 /* end confdefs.h. */
6065 #define _FILE_OFFSET_BITS 64
6066 #include <sys/types.h>
6067 /* Check that off_t can represent 2**63 - 1 correctly.
6068 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6069 since some C++ compilers masquerading as C compilers
6070 incorrectly reject 9223372036854775807. */
6071 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6072 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6073 && LARGE_OFF_T % 2147483647 == 1)
6074 ? 1 : -1];
6076 main ()
6080 return 0;
6082 _ACEOF
6083 if ac_fn_c_try_compile "$LINENO"; then :
6084 ac_cv_sys_file_offset_bits=64; break
6086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6087 ac_cv_sys_file_offset_bits=unknown
6088 break
6089 done
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6092 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6093 case $ac_cv_sys_file_offset_bits in #(
6094 no | unknown) ;;
6096 cat >>confdefs.h <<_ACEOF
6097 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6098 _ACEOF
6100 esac
6101 rm -rf conftest*
6102 if test $ac_cv_sys_file_offset_bits = unknown; then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6104 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6105 if ${ac_cv_sys_large_files+:} false; then :
6106 $as_echo_n "(cached) " >&6
6107 else
6108 while :; do
6109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6110 /* end confdefs.h. */
6111 #include <sys/types.h>
6112 /* Check that off_t can represent 2**63 - 1 correctly.
6113 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6114 since some C++ compilers masquerading as C compilers
6115 incorrectly reject 9223372036854775807. */
6116 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6117 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6118 && LARGE_OFF_T % 2147483647 == 1)
6119 ? 1 : -1];
6121 main ()
6125 return 0;
6127 _ACEOF
6128 if ac_fn_c_try_compile "$LINENO"; then :
6129 ac_cv_sys_large_files=no; break
6131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6133 /* end confdefs.h. */
6134 #define _LARGE_FILES 1
6135 #include <sys/types.h>
6136 /* Check that off_t can represent 2**63 - 1 correctly.
6137 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6138 since some C++ compilers masquerading as C compilers
6139 incorrectly reject 9223372036854775807. */
6140 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6141 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6142 && LARGE_OFF_T % 2147483647 == 1)
6143 ? 1 : -1];
6145 main ()
6149 return 0;
6151 _ACEOF
6152 if ac_fn_c_try_compile "$LINENO"; then :
6153 ac_cv_sys_large_files=1; break
6155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6156 ac_cv_sys_large_files=unknown
6157 break
6158 done
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6161 $as_echo "$ac_cv_sys_large_files" >&6; }
6162 case $ac_cv_sys_large_files in #(
6163 no | unknown) ;;
6165 cat >>confdefs.h <<_ACEOF
6166 #define _LARGE_FILES $ac_cv_sys_large_files
6167 _ACEOF
6169 esac
6170 rm -rf conftest*
6177 ac_ext=c
6178 ac_cpp='$CPP $CPPFLAGS'
6179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6183 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6184 # On Suns, sometimes $CPP names a directory.
6185 if test -n "$CPP" && test -d "$CPP"; then
6186 CPP=
6188 if test -z "$CPP"; then
6189 if ${ac_cv_prog_CPP+:} false; then :
6190 $as_echo_n "(cached) " >&6
6191 else
6192 # Double quotes because CPP needs to be expanded
6193 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6195 ac_preproc_ok=false
6196 for ac_c_preproc_warn_flag in '' yes
6198 # Use a header file that comes with gcc, so configuring glibc
6199 # with a fresh cross-compiler works.
6200 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6201 # <limits.h> exists even on freestanding compilers.
6202 # On the NeXT, cc -E runs the code through the compiler's parser,
6203 # not just through cpp. "Syntax error" is here to catch this case.
6204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6205 /* end confdefs.h. */
6206 #ifdef __STDC__
6207 # include <limits.h>
6208 #else
6209 # include <assert.h>
6210 #endif
6211 Syntax error
6212 _ACEOF
6213 if ac_fn_c_try_cpp "$LINENO"; then :
6215 else
6216 # Broken: fails on valid input.
6217 continue
6219 rm -f conftest.err conftest.i conftest.$ac_ext
6221 # OK, works on sane cases. Now check whether nonexistent headers
6222 # can be detected and how.
6223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6224 /* end confdefs.h. */
6225 #include <ac_nonexistent.h>
6226 _ACEOF
6227 if ac_fn_c_try_cpp "$LINENO"; then :
6228 # Broken: success on invalid input.
6229 continue
6230 else
6231 # Passes both tests.
6232 ac_preproc_ok=:
6233 break
6235 rm -f conftest.err conftest.i conftest.$ac_ext
6237 done
6238 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6239 rm -f conftest.i conftest.err conftest.$ac_ext
6240 if $ac_preproc_ok; then :
6241 break
6244 done
6245 ac_cv_prog_CPP=$CPP
6248 CPP=$ac_cv_prog_CPP
6249 else
6250 ac_cv_prog_CPP=$CPP
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6253 $as_echo "$CPP" >&6; }
6254 ac_preproc_ok=false
6255 for ac_c_preproc_warn_flag in '' yes
6257 # Use a header file that comes with gcc, so configuring glibc
6258 # with a fresh cross-compiler works.
6259 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6260 # <limits.h> exists even on freestanding compilers.
6261 # On the NeXT, cc -E runs the code through the compiler's parser,
6262 # not just through cpp. "Syntax error" is here to catch this case.
6263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6264 /* end confdefs.h. */
6265 #ifdef __STDC__
6266 # include <limits.h>
6267 #else
6268 # include <assert.h>
6269 #endif
6270 Syntax error
6271 _ACEOF
6272 if ac_fn_c_try_cpp "$LINENO"; then :
6274 else
6275 # Broken: fails on valid input.
6276 continue
6278 rm -f conftest.err conftest.i conftest.$ac_ext
6280 # OK, works on sane cases. Now check whether nonexistent headers
6281 # can be detected and how.
6282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6283 /* end confdefs.h. */
6284 #include <ac_nonexistent.h>
6285 _ACEOF
6286 if ac_fn_c_try_cpp "$LINENO"; then :
6287 # Broken: success on invalid input.
6288 continue
6289 else
6290 # Passes both tests.
6291 ac_preproc_ok=:
6292 break
6294 rm -f conftest.err conftest.i conftest.$ac_ext
6296 done
6297 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6298 rm -f conftest.i conftest.err conftest.$ac_ext
6299 if $ac_preproc_ok; then :
6301 else
6302 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6304 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6305 See \`config.log' for more details" "$LINENO" 5; }
6308 ac_ext=c
6309 ac_cpp='$CPP $CPPFLAGS'
6310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6316 $as_echo_n "checking for ANSI C header files... " >&6; }
6317 if ${ac_cv_header_stdc+:} false; then :
6318 $as_echo_n "(cached) " >&6
6319 else
6320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h. */
6322 #include <stdlib.h>
6323 #include <stdarg.h>
6324 #include <string.h>
6325 #include <float.h>
6328 main ()
6332 return 0;
6334 _ACEOF
6335 if ac_fn_c_try_compile "$LINENO"; then :
6336 ac_cv_header_stdc=yes
6337 else
6338 ac_cv_header_stdc=no
6340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6342 if test $ac_cv_header_stdc = yes; then
6343 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6345 /* end confdefs.h. */
6346 #include <string.h>
6348 _ACEOF
6349 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6350 $EGREP "memchr" >/dev/null 2>&1; then :
6352 else
6353 ac_cv_header_stdc=no
6355 rm -f conftest*
6359 if test $ac_cv_header_stdc = yes; then
6360 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6362 /* end confdefs.h. */
6363 #include <stdlib.h>
6365 _ACEOF
6366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6367 $EGREP "free" >/dev/null 2>&1; then :
6369 else
6370 ac_cv_header_stdc=no
6372 rm -f conftest*
6376 if test $ac_cv_header_stdc = yes; then
6377 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6378 if test "$cross_compiling" = yes; then :
6380 else
6381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6382 /* end confdefs.h. */
6383 #include <ctype.h>
6384 #include <stdlib.h>
6385 #if ((' ' & 0x0FF) == 0x020)
6386 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6387 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6388 #else
6389 # define ISLOWER(c) \
6390 (('a' <= (c) && (c) <= 'i') \
6391 || ('j' <= (c) && (c) <= 'r') \
6392 || ('s' <= (c) && (c) <= 'z'))
6393 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6394 #endif
6396 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6398 main ()
6400 int i;
6401 for (i = 0; i < 256; i++)
6402 if (XOR (islower (i), ISLOWER (i))
6403 || toupper (i) != TOUPPER (i))
6404 return 2;
6405 return 0;
6407 _ACEOF
6408 if ac_fn_c_try_run "$LINENO"; then :
6410 else
6411 ac_cv_header_stdc=no
6413 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6414 conftest.$ac_objext conftest.beam conftest.$ac_ext
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6420 $as_echo "$ac_cv_header_stdc" >&6; }
6421 if test $ac_cv_header_stdc = yes; then
6423 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6427 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6428 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6429 inttypes.h stdint.h unistd.h
6430 do :
6431 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6432 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6434 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6435 cat >>confdefs.h <<_ACEOF
6436 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6437 _ACEOF
6441 done
6444 for ac_header in \
6445 AL/al.h \
6446 ApplicationServices/ApplicationServices.h \
6447 AudioToolbox/AudioConverter.h \
6448 AudioUnit/AudioUnit.h \
6449 AudioUnit/AudioComponent.h \
6450 CL/cl.h \
6451 Carbon/Carbon.h \
6452 CoreAudio/CoreAudio.h \
6453 CoreServices/CoreServices.h \
6454 DiskArbitration/DiskArbitration.h \
6455 IOKit/IOKitLib.h \
6456 IOKit/hid/IOHIDLib.h \
6457 OpenAL/al.h \
6458 OpenCL/opencl.h \
6459 QuickTime/ImageCompression.h \
6460 Security/Security.h \
6461 alias.h \
6462 alsa/asoundlib.h \
6463 arpa/inet.h \
6464 arpa/nameser.h \
6465 asm/types.h \
6466 asm/user.h \
6467 curses.h \
6468 direct.h \
6469 dirent.h \
6470 dlfcn.h \
6471 elf.h \
6472 float.h \
6473 fnmatch.h \
6474 getopt.h \
6475 gettext-po.h \
6476 grp.h \
6477 gsm.h \
6478 gsm/gsm.h \
6479 ieeefp.h \
6480 inet/mib2.h \
6481 io.h \
6482 kstat.h \
6483 lber.h \
6484 ldap.h \
6485 libproc.h \
6486 link.h \
6487 linux/cdrom.h \
6488 linux/compiler.h \
6489 linux/filter.h \
6490 linux/hdreg.h \
6491 linux/input.h \
6492 linux/ioctl.h \
6493 linux/joystick.h \
6494 linux/major.h \
6495 linux/param.h \
6496 linux/serial.h \
6497 linux/types.h \
6498 linux/ucdrom.h \
6499 lwp.h \
6500 mach-o/nlist.h \
6501 mach-o/loader.h \
6502 mach/mach.h \
6503 mach/machine.h \
6504 machine/cpu.h \
6505 machine/limits.h \
6506 machine/sysarch.h \
6507 mntent.h \
6508 ncurses.h \
6509 netdb.h \
6510 netinet/in.h \
6511 netinet/in_systm.h \
6512 netinet/tcp.h \
6513 netinet/tcp_fsm.h \
6514 pcap/pcap.h \
6515 poll.h \
6516 port.h \
6517 process.h \
6518 pthread.h \
6519 pwd.h \
6520 sched.h \
6521 scsi/scsi.h \
6522 scsi/scsi_ioctl.h \
6523 scsi/sg.h \
6524 stdbool.h \
6525 stdint.h \
6526 stropts.h \
6527 sys/asoundlib.h \
6528 sys/attr.h \
6529 sys/cdio.h \
6530 sys/elf32.h \
6531 sys/epoll.h \
6532 sys/event.h \
6533 sys/exec_elf.h \
6534 sys/filio.h \
6535 sys/inotify.h \
6536 sys/ioctl.h \
6537 sys/ipc.h \
6538 sys/limits.h \
6539 sys/link.h \
6540 sys/mman.h \
6541 sys/modem.h \
6542 sys/msg.h \
6543 sys/mtio.h \
6544 sys/param.h \
6545 sys/poll.h \
6546 sys/prctl.h \
6547 sys/protosw.h \
6548 sys/ptrace.h \
6549 sys/queue.h \
6550 sys/resource.h \
6551 sys/scsiio.h \
6552 sys/shm.h \
6553 sys/signal.h \
6554 sys/socket.h \
6555 sys/socketvar.h \
6556 sys/sockio.h \
6557 sys/statvfs.h \
6558 sys/strtio.h \
6559 sys/syscall.h \
6560 sys/tihdr.h \
6561 sys/time.h \
6562 sys/timeout.h \
6563 sys/times.h \
6564 sys/uio.h \
6565 sys/user.h \
6566 sys/utsname.h \
6567 sys/vm86.h \
6568 sys/wait.h \
6569 syscall.h \
6570 termios.h \
6571 unistd.h \
6572 utime.h \
6573 valgrind/memcheck.h \
6574 valgrind/valgrind.h \
6575 zlib.h
6577 do :
6578 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6579 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6580 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6581 cat >>confdefs.h <<_ACEOF
6582 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6583 _ACEOF
6587 done
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6590 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6591 if ${ac_cv_header_stat_broken+:} false; then :
6592 $as_echo_n "(cached) " >&6
6593 else
6594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6595 /* end confdefs.h. */
6596 #include <sys/types.h>
6597 #include <sys/stat.h>
6599 #if defined S_ISBLK && defined S_IFDIR
6600 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6601 #endif
6603 #if defined S_ISBLK && defined S_IFCHR
6604 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6605 #endif
6607 #if defined S_ISLNK && defined S_IFREG
6608 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6609 #endif
6611 #if defined S_ISSOCK && defined S_IFREG
6612 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6613 #endif
6615 _ACEOF
6616 if ac_fn_c_try_compile "$LINENO"; then :
6617 ac_cv_header_stat_broken=no
6618 else
6619 ac_cv_header_stat_broken=yes
6621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6624 $as_echo "$ac_cv_header_stat_broken" >&6; }
6625 if test $ac_cv_header_stat_broken = yes; then
6627 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6633 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6634 do :
6635 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6636 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6637 #ifdef HAVE_SYS_PARAM_H
6638 # include <sys/param.h>
6639 #endif
6641 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6642 cat >>confdefs.h <<_ACEOF
6643 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6644 _ACEOF
6648 done
6651 for ac_header in \
6652 netinet/ip.h \
6653 net/if.h \
6654 net/if_arp.h \
6655 net/if_dl.h \
6656 net/if_types.h \
6657 net/route.h \
6658 netinet/if_ether.h \
6659 netinet/if_inarp.h \
6660 netinet/in_pcb.h \
6661 netinet/ip_icmp.h \
6662 netinet/ip_var.h \
6663 netinet/udp.h \
6664 netipx/ipx.h \
6665 sys/un.h \
6667 do :
6668 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6669 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6670 #ifdef HAVE_SYS_SOCKET_H
6671 # include <sys/socket.h>
6672 #endif
6673 #ifdef HAVE_SYS_SOCKETVAR_H
6674 # include <sys/socketvar.h>
6675 #endif
6676 #ifdef HAVE_NET_ROUTE_H
6677 # include <net/route.h>
6678 #endif
6679 #ifdef HAVE_NETINET_IN_H
6680 # include <netinet/in.h>
6681 #endif
6682 #ifdef HAVE_NETINET_IN_SYSTM_H
6683 # include <netinet/in_systm.h>
6684 #endif
6685 #ifdef HAVE_NET_IF_H
6686 # include <net/if.h>
6687 #endif
6688 #ifdef HAVE_NETINET_IP_H
6689 # include <netinet/ip.h>
6690 #endif
6692 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6693 cat >>confdefs.h <<_ACEOF
6694 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6695 _ACEOF
6699 done
6702 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6703 do :
6704 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6705 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6706 #ifdef HAVE_ALIAS_H
6707 # include <alias.h>
6708 #endif
6709 #ifdef HAVE_SYS_SOCKET_H
6710 # include <sys/socket.h>
6711 #endif
6712 #ifdef HAVE_SYS_SOCKETVAR_H
6713 # include <sys/socketvar.h>
6714 #endif
6715 #ifdef HAVE_SYS_TIMEOUT_H
6716 # include <sys/timeout.h>
6717 #endif
6718 #ifdef HAVE_NETINET_IN_H
6719 # include <netinet/in.h>
6720 #endif
6721 #ifdef HAVE_NETINET_IN_SYSTM_H
6722 # include <netinet/in_systm.h>
6723 #endif
6724 #ifdef HAVE_NETINET_IP_H
6725 # include <netinet/ip.h>
6726 #endif
6727 #ifdef HAVE_NETINET_IP_VAR_H
6728 # include <netinet/ip_var.h>
6729 #endif
6730 #ifdef HAVE_NETINET_IP_ICMP_H
6731 # include <netinet/ip_icmp.h>
6732 #endif
6733 #ifdef HAVE_NETINET_UDP_H
6734 # include <netinet/udp.h>
6735 #endif
6736 #ifdef HAVE_NETINET_TCP_H
6737 # include <netinet/tcp.h>
6738 #endif
6739 #ifdef HAVE_NETINET_TCP_TIMER_H
6740 #include <netinet/tcp_timer.h>
6741 #endif
6743 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6744 cat >>confdefs.h <<_ACEOF
6745 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6746 _ACEOF
6750 done
6753 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6754 do :
6755 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6756 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6757 #ifdef HAVE_ASM_TYPES_H
6758 # include <asm/types.h>
6759 #endif
6760 #ifdef HAVE_SYS_SOCKET_H
6761 # include <sys/socket.h>
6762 #endif
6763 #ifdef HAVE_LINUX_TYPES_H
6764 # include <linux/types.h>
6765 #endif
6767 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6768 cat >>confdefs.h <<_ACEOF
6769 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6770 _ACEOF
6774 done
6777 for ac_header in mach-o/dyld_images.h
6778 do :
6779 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6780 # include <stdbool.h>
6781 #endif
6782 #ifdef HAVE_STDINT_H
6783 # include <stdint.h>
6784 #endif
6786 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6787 cat >>confdefs.h <<_ACEOF
6788 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6789 _ACEOF
6793 done
6796 for ac_header in resolv.h
6797 do :
6798 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6799 #ifdef HAVE_SYS_SOCKET_H
6800 # include <sys/socket.h>
6801 #endif
6802 #ifdef HAVE_NETINET_IN_H
6803 # include <netinet/in.h>
6804 #endif
6805 #ifdef HAVE_ARPA_NAMESER_H
6806 # include <arpa/nameser.h>
6807 #endif
6809 if test "x$ac_cv_header_resolv_h" = xyes; then :
6810 cat >>confdefs.h <<_ACEOF
6811 #define HAVE_RESOLV_H 1
6812 _ACEOF
6816 done
6819 for ac_header in ifaddrs.h
6820 do :
6821 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6823 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6824 cat >>confdefs.h <<_ACEOF
6825 #define HAVE_IFADDRS_H 1
6826 _ACEOF
6830 done
6833 for ac_header in sys/ucontext.h
6834 do :
6835 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6837 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6838 cat >>confdefs.h <<_ACEOF
6839 #define HAVE_SYS_UCONTEXT_H 1
6840 _ACEOF
6844 done
6847 for ac_header in sys/thr.h
6848 do :
6849 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6850 #ifdef HAVE_SYS_UCONTEXT_H
6851 #include <sys/ucontext.h>
6852 #endif
6854 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6855 cat >>confdefs.h <<_ACEOF
6856 #define HAVE_SYS_THR_H 1
6857 _ACEOF
6861 done
6864 for ac_header in pthread_np.h
6865 do :
6866 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6867 #include <pthread.h>
6868 #endif
6870 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6871 cat >>confdefs.h <<_ACEOF
6872 #define HAVE_PTHREAD_NP_H 1
6873 _ACEOF
6877 done
6880 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6881 do :
6882 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6883 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6884 #include <sys/time.h>
6885 #endif
6886 #include <sys/types.h>
6887 #ifdef HAVE_ASM_TYPES_H
6888 #include <asm/types.h>
6889 #endif
6891 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6892 cat >>confdefs.h <<_ACEOF
6893 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6894 _ACEOF
6898 done
6901 for ac_header in libprocstat.h
6902 do :
6903 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6904 #include <sys/param.h>
6905 #endif
6906 #ifdef HAVE_SYS_QUEUE_H
6907 #include <sys/queue.h>
6908 #endif
6909 #ifdef HAVE_SYS_SOCKET_H
6910 #include <sys/socket.h>
6911 #endif
6913 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6914 cat >>confdefs.h <<_ACEOF
6915 #define HAVE_LIBPROCSTAT_H 1
6916 _ACEOF
6920 done
6924 dlldir="\${libdir}/wine"
6926 DLLPREFIX=""
6928 DLLFLAGS="-D_REENTRANT"
6930 LDRPATH_INSTALL=""
6932 LDRPATH_LOCAL=""
6934 LIBEXT="so"
6935 DLLEXT=".so"
6936 IMPLIBEXT="def"
6937 STATIC_IMPLIBEXT="def.a"
6938 # Extract the first word of "ldd", so it can be a program name with args.
6939 set dummy ldd; ac_word=$2
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6941 $as_echo_n "checking for $ac_word... " >&6; }
6942 if ${ac_cv_path_LDD+:} false; then :
6943 $as_echo_n "(cached) " >&6
6944 else
6945 case $LDD in
6946 [\\/]* | ?:[\\/]*)
6947 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6951 as_dummy="/sbin:/usr/sbin:$PATH"
6952 for as_dir in $as_dummy
6954 IFS=$as_save_IFS
6955 test -z "$as_dir" && as_dir=.
6956 for ac_exec_ext in '' $ac_executable_extensions; do
6957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6958 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6960 break 2
6962 done
6963 done
6964 IFS=$as_save_IFS
6966 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6968 esac
6970 LDD=$ac_cv_path_LDD
6971 if test -n "$LDD"; then
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6973 $as_echo "$LDD" >&6; }
6974 else
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6976 $as_echo "no" >&6; }
6980 if test -n "$ac_tool_prefix"; then
6981 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6982 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6984 $as_echo_n "checking for $ac_word... " >&6; }
6985 if ${ac_cv_prog_READELF+:} false; then :
6986 $as_echo_n "(cached) " >&6
6987 else
6988 if test -n "$READELF"; then
6989 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6990 else
6991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6992 for as_dir in $PATH
6994 IFS=$as_save_IFS
6995 test -z "$as_dir" && as_dir=.
6996 for ac_exec_ext in '' $ac_executable_extensions; do
6997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6998 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7000 break 2
7002 done
7003 done
7004 IFS=$as_save_IFS
7008 READELF=$ac_cv_prog_READELF
7009 if test -n "$READELF"; then
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7011 $as_echo "$READELF" >&6; }
7012 else
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7014 $as_echo "no" >&6; }
7019 if test -z "$ac_cv_prog_READELF"; then
7020 ac_ct_READELF=$READELF
7021 # Extract the first word of "readelf", so it can be a program name with args.
7022 set dummy readelf; ac_word=$2
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7024 $as_echo_n "checking for $ac_word... " >&6; }
7025 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7026 $as_echo_n "(cached) " >&6
7027 else
7028 if test -n "$ac_ct_READELF"; then
7029 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7030 else
7031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7032 for as_dir in $PATH
7034 IFS=$as_save_IFS
7035 test -z "$as_dir" && as_dir=.
7036 for ac_exec_ext in '' $ac_executable_extensions; do
7037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7038 ac_cv_prog_ac_ct_READELF="readelf"
7039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7040 break 2
7042 done
7043 done
7044 IFS=$as_save_IFS
7048 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7049 if test -n "$ac_ct_READELF"; then
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7051 $as_echo "$ac_ct_READELF" >&6; }
7052 else
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7054 $as_echo "no" >&6; }
7057 if test "x$ac_ct_READELF" = x; then
7058 READELF="true"
7059 else
7060 case $cross_compiling:$ac_tool_warned in
7061 yes:)
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7064 ac_tool_warned=yes ;;
7065 esac
7066 READELF=$ac_ct_READELF
7068 else
7069 READELF="$ac_cv_prog_READELF"
7072 wine_rules_file=conf$$rules.make
7073 rm -f $wine_rules_file
7074 ALL_POT_FILES=""
7075 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7076 ALL_TEST_RESOURCES=""
7079 wine_fn_append_file ()
7081 as_fn_append $1 " \\$as_nl $2"
7084 wine_fn_ignore_file ()
7086 case "$1" in
7087 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7088 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7089 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7090 esac
7093 wine_fn_append_rule ()
7095 $as_echo "$1" >>$wine_rules_file
7098 wine_fn_has_flag ()
7100 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7103 wine_fn_depend_rules ()
7105 wine_fn_append_rule \
7106 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7107 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7108 depend: $ac_dir/depend
7109 .PHONY: $ac_dir/depend
7110 $ac_dir/depend: \$(MAKEDEP) dummy
7111 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7114 wine_fn_pot_rules ()
7116 test "x$with_gettextpo" = xyes || return
7118 if wine_fn_has_flag mc
7119 then
7120 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7121 wine_fn_append_rule \
7122 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7123 @cd $ac_dir && \$(MAKE) msg.pot
7124 $ac_dir/msg.pot: tools/wmc include"
7126 if wine_fn_has_flag po
7127 then
7128 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7129 wine_fn_append_rule \
7130 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7131 @cd $ac_dir && \$(MAKE) rsrc.pot
7132 $ac_dir/rsrc.pot: tools/wrc include"
7136 wine_fn_all_rules ()
7138 wine_fn_depend_rules
7139 wine_fn_append_rule \
7140 "all: $ac_dir
7141 .PHONY: $ac_dir
7142 $ac_dir: $ac_dir/Makefile dummy
7143 @cd $ac_dir && \$(MAKE)"
7146 wine_fn_install_rules ()
7148 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7150 wine_fn_append_rule \
7151 ".PHONY: $ac_dir/install $ac_dir/uninstall
7152 $ac_dir/install:: $ac_dir
7153 @cd $ac_dir && \$(MAKE) install
7154 $ac_dir/uninstall:: $ac_dir/Makefile
7155 @cd $ac_dir && \$(MAKE) uninstall
7156 install:: $ac_dir/install
7157 __uninstall__: $ac_dir/uninstall"
7159 if wine_fn_has_flag install-lib
7160 then
7161 wine_fn_append_rule \
7162 ".PHONY: $ac_dir/install-lib
7163 $ac_dir/install-lib:: $ac_dir
7164 @cd $ac_dir && \$(MAKE) install-lib
7165 install-lib:: $ac_dir/install-lib"
7168 if wine_fn_has_flag install-dev
7169 then
7170 wine_fn_append_rule \
7171 ".PHONY: $ac_dir/install-dev
7172 $ac_dir/install-dev:: $ac_dir
7173 @cd $ac_dir && \$(MAKE) install-dev
7174 install-dev:: $ac_dir/install-dev"
7178 wine_fn_clean_rules ()
7180 ac_clean=$@
7181 ac_extraclean="$ac_dir/Makefile"
7182 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7183 case $ac_dir in
7184 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7185 esac
7187 if wine_fn_has_flag clean
7188 then
7189 wine_fn_append_rule \
7190 "__clean__: $ac_dir/clean
7191 .PHONY: $ac_dir/clean
7192 $ac_dir/clean: $ac_dir/Makefile
7193 @cd $ac_dir && \$(MAKE) clean
7194 \$(RM) $ac_extraclean"
7195 else
7196 wine_fn_append_rule \
7197 "__clean__: $ac_dir/clean
7198 .PHONY: $ac_dir/clean
7199 $ac_dir/clean: dummy
7200 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7204 wine_fn_disabled_rules ()
7206 ac_clean=$@
7207 ac_extraclean="$ac_dir/Makefile"
7208 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7210 wine_fn_append_rule \
7211 "__clean__: $ac_dir/clean
7212 .PHONY: $ac_dir/clean
7213 $ac_dir/clean: dummy
7214 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7217 wine_fn_config_makefile ()
7219 ac_dir=$1
7220 ac_enable=$2
7221 ac_flags=$3
7223 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7224 wine_fn_disabled_rules; return
7226 wine_fn_all_rules
7227 wine_fn_install_rules
7228 wine_fn_clean_rules
7231 wine_fn_config_lib ()
7233 ac_name=$1
7234 ac_flags=$2
7235 ac_dir=dlls/$ac_name
7236 ac_deps="include"
7238 if test "x$enable_tools" = xno; then :
7240 else
7241 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7243 wine_fn_all_rules
7244 wine_fn_clean_rules
7246 wine_fn_append_rule \
7247 ".PHONY: $ac_dir/install $ac_dir/uninstall
7248 $ac_dir/install:: $ac_dir
7249 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7250 $ac_dir/uninstall::
7251 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7252 install install-dev:: $ac_dir/install
7253 __uninstall__: $ac_dir/uninstall
7254 __builddeps__: $ac_dir
7255 $ac_dir: $ac_deps"
7258 wine_fn_config_dll ()
7260 ac_name=$1
7261 ac_dir=dlls/$ac_name
7262 ac_enable=$2
7263 ac_flags=$3
7264 ac_implib=${4:-$ac_name}
7265 ac_file=$ac_dir/lib$ac_implib
7266 ac_dll=$ac_name
7267 ac_deps="include"
7268 ac_implibflags=""
7270 if test "x$enable_tools" = xno; then :
7272 else
7273 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7275 case $ac_name in
7276 *16) ac_implibflags=" -m16" ;;
7277 *.*) ;;
7278 *) ac_dll=$ac_dll.dll ;;
7279 esac
7281 ac_clean=
7282 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7283 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7284 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7285 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7287 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7288 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7289 then
7290 wine_fn_depend_rules
7291 wine_fn_clean_rules $ac_clean
7292 else
7293 wine_fn_disabled_rules $ac_clean
7294 return
7296 else
7297 wine_fn_all_rules
7298 wine_fn_clean_rules $ac_clean
7299 wine_fn_append_rule \
7300 "$ac_dir: __builddeps__
7301 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7302 @cd $ac_dir && \$(MAKE) \$@
7303 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7304 install install-lib:: $ac_dir/install-lib
7305 __uninstall__: $ac_dir/uninstall"
7306 if test -n "$DLLEXT"
7307 then
7308 wine_fn_append_rule \
7309 "$ac_dir/install-lib:: $ac_dir
7310 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7311 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7312 $ac_dir/uninstall::
7313 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7314 else
7315 wine_fn_append_rule \
7316 "$ac_dir/install-lib:: $ac_dir
7317 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7318 $ac_dir/uninstall::
7319 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7322 wine_fn_pot_rules
7325 if wine_fn_has_flag staticimplib
7326 then
7327 wine_fn_append_rule \
7328 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7329 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7330 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7331 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7332 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7333 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7334 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7335 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7336 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7337 $ac_dir/uninstall::
7338 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7339 install install-dev:: $ac_dir/install-dev
7340 __uninstall__: $ac_dir/uninstall"
7342 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7343 then
7344 wine_fn_append_rule \
7345 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7346 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7347 $ac_dir/uninstall::
7348 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7351 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7352 then
7353 wine_fn_append_rule \
7354 "__builddeps__: $ac_file.cross.a
7355 $ac_file.cross.a: $ac_dir/Makefile dummy
7356 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7359 elif wine_fn_has_flag implib
7360 then
7361 wine_fn_append_rule \
7362 "__builddeps__: $ac_file.$IMPLIBEXT
7363 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7364 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7365 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7366 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7367 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7368 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7369 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7370 $ac_dir/uninstall::
7371 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7372 install install-dev:: $ac_dir/install-dev
7373 __uninstall__: $ac_dir/uninstall"
7374 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7375 then
7376 wine_fn_append_rule \
7377 "__builddeps__: $ac_file.cross.a
7378 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7379 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7382 if test "$ac_name" != "$ac_implib"
7383 then
7384 wine_fn_append_rule \
7385 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7386 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7387 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7388 clean::
7389 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7390 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7391 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7392 then
7393 wine_fn_append_rule \
7394 "__builddeps__: dlls/lib$ac_implib.cross.a
7395 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7396 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7397 clean::
7398 \$(RM) dlls/lib$ac_implib.cross.a"
7399 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7405 wine_fn_config_program ()
7407 ac_name=$1
7408 ac_dir=programs/$ac_name
7409 ac_enable=$2
7410 ac_flags=$3
7411 ac_program=$ac_name
7413 case $ac_name in
7414 *.*) ;;
7415 *) ac_program=$ac_program.exe ;;
7416 esac
7418 ac_clean=
7419 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7420 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7421 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7422 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7424 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7425 wine_fn_disabled_rules $ac_clean; return
7428 wine_fn_all_rules
7429 wine_fn_clean_rules $ac_clean
7430 wine_fn_append_rule "$ac_dir: __builddeps__"
7431 wine_fn_pot_rules
7433 wine_fn_has_flag install || return
7434 wine_fn_append_rule \
7435 ".PHONY: $ac_dir/install $ac_dir/uninstall
7436 install install-lib:: $ac_dir/install
7437 __uninstall__: $ac_dir/uninstall"
7439 if test -n "$DLLEXT"
7440 then
7441 wine_fn_append_rule \
7442 "$ac_dir/install:: $ac_dir
7443 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7444 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7445 $ac_dir/uninstall::
7446 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7448 if test -z "$with_wine64" && wine_fn_has_flag installbin
7449 then
7450 wine_fn_append_rule \
7451 "$ac_dir/install:: __tooldeps__
7452 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7453 $ac_dir/uninstall::
7454 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7456 else
7457 wine_fn_append_rule \
7458 "$ac_dir/install:: $ac_dir
7459 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7460 $ac_dir/uninstall::
7461 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7464 if test -z "$with_wine64" && wine_fn_has_flag manpage
7465 then
7466 wine_fn_append_rule \
7467 "$ac_dir/install:: $ac_dir
7468 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7469 $ac_dir/uninstall::
7470 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7474 wine_fn_config_test ()
7476 ac_dir=$1
7477 ac_name=$2
7478 ac_flags=$3
7480 ac_clean=
7481 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7482 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7484 if test "x$enable_tests" = xno; then :
7485 wine_fn_disabled_rules $ac_clean; return
7488 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7489 wine_fn_all_rules
7490 wine_fn_clean_rules $ac_clean
7492 wine_fn_append_rule \
7493 "$ac_dir: programs/winetest/Makefile __builddeps__
7494 programs/winetest: $ac_dir
7495 check test: $ac_dir/test
7496 .PHONY: $ac_dir/test
7497 $ac_dir/test: dummy
7498 @cd $ac_dir && \$(MAKE) test
7499 testclean::
7500 \$(RM) $ac_dir/*.ok"
7502 if test -n "$CROSSTARGET"
7503 then
7504 wine_fn_append_rule \
7505 "crosstest: $ac_dir/crosstest
7506 .PHONY: $ac_dir/crosstest
7507 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7508 @cd $ac_dir && \$(MAKE) crosstest"
7512 wine_fn_config_tool ()
7514 ac_dir=$1
7515 ac_flags=$2
7516 if test "x$enable_tools" = xno; then :
7517 return
7520 wine_fn_all_rules
7521 wine_fn_install_rules
7522 wine_fn_clean_rules
7524 wine_fn_append_rule "__tooldeps__: $ac_dir"
7525 wine_fn_append_rule "$ac_dir: libs/port"
7526 case $ac_dir in
7527 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7528 esac
7531 wine_fn_config_symlink ()
7533 ac_linkdir=
7534 if test "x$1" = "x-d"
7535 then
7536 ac_linkdir=$2
7537 shift; shift
7539 ac_links=$@
7540 wine_fn_append_rule \
7541 "$ac_links:
7542 @./config.status \$@
7543 distclean::
7544 \$(RM) $ac_links"
7545 for f in $ac_links; do wine_fn_ignore_file $f; done
7546 test -n "$ac_linkdir" || return
7547 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7550 wine_binary="wine"
7551 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7552 loader_programs="$wine_binary wine-installed"
7553 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7555 LOADER_RULES="
7556 all: wine.inf
7558 install install-lib:: wine-installed
7559 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7561 uninstall::
7562 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7566 case $host_os in
7567 cygwin*|mingw32*)
7568 if test -n "$ac_tool_prefix"; then
7569 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7570 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7572 $as_echo_n "checking for $ac_word... " >&6; }
7573 if ${ac_cv_prog_DLLTOOL+:} false; then :
7574 $as_echo_n "(cached) " >&6
7575 else
7576 if test -n "$DLLTOOL"; then
7577 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7578 else
7579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7580 for as_dir in $PATH
7582 IFS=$as_save_IFS
7583 test -z "$as_dir" && as_dir=.
7584 for ac_exec_ext in '' $ac_executable_extensions; do
7585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7586 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7588 break 2
7590 done
7591 done
7592 IFS=$as_save_IFS
7596 DLLTOOL=$ac_cv_prog_DLLTOOL
7597 if test -n "$DLLTOOL"; then
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7599 $as_echo "$DLLTOOL" >&6; }
7600 else
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7602 $as_echo "no" >&6; }
7607 if test -z "$ac_cv_prog_DLLTOOL"; then
7608 ac_ct_DLLTOOL=$DLLTOOL
7609 # Extract the first word of "dlltool", so it can be a program name with args.
7610 set dummy dlltool; ac_word=$2
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7612 $as_echo_n "checking for $ac_word... " >&6; }
7613 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7614 $as_echo_n "(cached) " >&6
7615 else
7616 if test -n "$ac_ct_DLLTOOL"; then
7617 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7618 else
7619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7620 for as_dir in $PATH
7622 IFS=$as_save_IFS
7623 test -z "$as_dir" && as_dir=.
7624 for ac_exec_ext in '' $ac_executable_extensions; do
7625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7626 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7628 break 2
7630 done
7631 done
7632 IFS=$as_save_IFS
7636 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7637 if test -n "$ac_ct_DLLTOOL"; then
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7639 $as_echo "$ac_ct_DLLTOOL" >&6; }
7640 else
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7642 $as_echo "no" >&6; }
7645 if test "x$ac_ct_DLLTOOL" = x; then
7646 DLLTOOL="false"
7647 else
7648 case $cross_compiling:$ac_tool_warned in
7649 yes:)
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7652 ac_tool_warned=yes ;;
7653 esac
7654 DLLTOOL=$ac_ct_DLLTOOL
7656 else
7657 DLLTOOL="$ac_cv_prog_DLLTOOL"
7660 LIBEXT="dll"
7661 DLLEXT=""
7662 IMPLIBEXT="a"
7663 STATIC_IMPLIBEXT="a"
7664 enable_iphlpapi=${enable_iphlpapi:-no}
7665 enable_kernel32=${enable_kernel32:-no}
7666 enable_msvcrt=${enable_msvcrt:-no}
7667 enable_ntdll=${enable_ntdll:-no}
7668 enable_ws2_32=${enable_ws2_32:-no}
7669 enable_loader=${enable_loader:-no}
7670 enable_server=${enable_server:-no}
7671 with_x=${with_x:-no}
7672 with_pthread=${with_pthread:-no}
7674 crtlibs=""
7675 case $host_os in
7676 mingw32*)
7677 crtlibs="-lmsvcrt"
7678 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7680 esac
7682 libwine_targets="libwine.dll libwine.a"
7683 LIBWINE_RULES="
7684 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7686 all: libwine.dll libwine.a
7688 libwine.a: \$(srcdir)/wine.def
7689 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7691 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7692 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7694 install install-lib:: libwine.dll
7695 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7697 install install-dev:: libwine.a
7698 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7700 uninstall::
7701 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7706 darwin*|macosx*)
7707 LIBEXT="dylib"
7708 DLLFLAGS="$DLLFLAGS -fPIC"
7709 LIBWINE_LDFLAGS="-multiply_defined suppress"
7710 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7711 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7712 COREFOUNDATION_LIBS="-framework CoreFoundation"
7714 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7716 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7718 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7720 CORESERVICES_LIBS="-framework CoreServices"
7722 APPKIT_LIBS="-framework AppKit"
7724 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7726 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7727 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7728 $as_echo_n "(cached) " >&6
7729 else
7730 ac_wine_try_cflags_saved=$CFLAGS
7731 CFLAGS="$CFLAGS -Wl,-no_pie"
7732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7733 /* end confdefs.h. */
7734 int main(int argc, char **argv) { return 0; }
7735 _ACEOF
7736 if ac_fn_c_try_link "$LINENO"; then :
7737 ac_cv_cflags__Wl__no_pie=yes
7738 else
7739 ac_cv_cflags__Wl__no_pie=no
7741 rm -f core conftest.err conftest.$ac_objext \
7742 conftest$ac_exeext conftest.$ac_ext
7743 CFLAGS=$ac_wine_try_cflags_saved
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7746 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7747 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7748 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7750 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7751 then
7752 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7755 if test "$ac_cv_header_Security_Security_h" = "yes"
7756 then
7757 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7759 ac_save_LIBS="$LIBS"
7760 LIBS="$LIBS $SECURITY_LIBS"
7761 for ac_func in SSLCopyPeerCertificates
7762 do :
7763 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7764 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7765 cat >>confdefs.h <<_ACEOF
7766 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7767 _ACEOF
7770 done
7772 LIBS="$ac_save_LIBS"
7773 with_gnutls=${with_gnutls:-no}
7775 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7776 then
7777 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7778 then
7779 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7781 else
7782 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7785 ac_save_LIBS="$LIBS"
7786 LIBS="$LIBS $COREAUDIO_LIBS"
7787 for ac_func in AUGraphAddNode
7788 do :
7789 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7790 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7791 cat >>confdefs.h <<_ACEOF
7792 #define HAVE_AUGRAPHADDNODE 1
7793 _ACEOF
7796 done
7798 LIBS="$ac_save_LIBS"
7800 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7801 then
7802 OPENAL_LIBS="-framework OpenAL"
7805 cat >>confdefs.h <<_ACEOF
7806 #define HAVE_OPENAL 1
7807 _ACEOF
7809 ac_cv_lib_openal=yes
7811 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7812 then
7813 OPENCL_LIBS="-framework OpenCL"
7815 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7817 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7818 then
7819 ac_save_LIBS="$LIBS"
7820 LIBS="$LIBS $IOKIT_LIBS"
7821 for ac_func in IOHIDManagerCreate
7822 do :
7823 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7824 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7825 cat >>confdefs.h <<_ACEOF
7826 #define HAVE_IOHIDMANAGERCREATE 1
7827 _ACEOF
7830 done
7832 LIBS="$ac_save_LIBS"
7834 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7835 then
7836 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7838 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7839 else
7840 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7842 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7843 then
7844 CARBON_LIBS="-framework Carbon"
7848 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7849 then
7850 ac_save_LIBS="$LIBS"
7851 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7852 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7853 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7854 enable_winemac_drv=${enable_winemac_drv:-yes}
7857 LIBS="$ac_save_LIBS"
7860 if test "x$enable_win16" = "xyes"
7861 then
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7863 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7864 if test "$cross_compiling" = yes; then :
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7866 $as_echo "cross-compiling, assuming yes" >&6; }
7867 else
7868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7869 /* end confdefs.h. */
7870 asm(".text\n"
7871 "bad:\tnop;nop\n"
7872 "good:\tnop;nop\n\t"
7873 ".globl _testfunc\n"
7874 "_testfunc:\tcallw good");
7875 extern void testfunc();
7877 main ()
7879 unsigned short *p = (unsigned short *)testfunc;
7880 return p[0] != 0xe866 || p[1] != 0xfffa
7882 return 0;
7884 _ACEOF
7885 if ac_fn_c_try_run "$LINENO"; then :
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7887 $as_echo "yes" >&6; }
7888 else
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7890 $as_echo "no" >&6; }
7891 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
7893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7894 conftest.$ac_objext conftest.beam conftest.$ac_ext
7899 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7900 LIBWINE_RULES="
7901 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7903 all: libwine.dylib
7905 libwine.$libwine_version.dylib: \$(OBJS)
7906 \$(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 \$@
7908 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7909 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7911 libwine.dylib: libwine.$libwine_soversion.dylib
7912 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7914 install install-lib:: libwine.$libwine_version.dylib
7915 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7916 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7918 install install-dev::
7919 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7921 uninstall::
7922 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7926 as_fn_append LOADER_RULES "
7927 $wine_binary: main.o wine_info.plist
7928 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7930 wine-installed: main.o wine_info.plist
7931 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7935 linux-android*)
7936 DLLFLAGS="$DLLFLAGS -fPIC"
7937 DLLPREFIX="lib"
7938 LDEXECFLAGS=""
7939 dlldir="\${libdir}"
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7941 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7942 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7943 $as_echo_n "(cached) " >&6
7944 else
7945 ac_wine_try_cflags_saved=$CFLAGS
7946 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7948 /* end confdefs.h. */
7949 int main(int argc, char **argv) { return 0; }
7950 _ACEOF
7951 if ac_fn_c_try_link "$LINENO"; then :
7952 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7953 else
7954 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7956 rm -f core conftest.err conftest.$ac_objext \
7957 conftest$ac_exeext conftest.$ac_ext
7958 CFLAGS=$ac_wine_try_cflags_saved
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7961 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7962 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7963 LDEXECFLAGS="-Wl,--export-dynamic"
7965 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7967 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7968 if eval \${$as_ac_var+:} false; then :
7969 $as_echo_n "(cached) " >&6
7970 else
7971 ac_wine_try_cflags_saved=$CFLAGS
7972 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7974 /* end confdefs.h. */
7975 int main(int argc, char **argv) { return 0; }
7976 _ACEOF
7977 if ac_fn_c_try_link "$LINENO"; then :
7978 eval "$as_ac_var=yes"
7979 else
7980 eval "$as_ac_var=no"
7982 rm -f core conftest.err conftest.$ac_objext \
7983 conftest$ac_exeext conftest.$ac_ext
7984 CFLAGS=$ac_wine_try_cflags_saved
7986 eval ac_res=\$$as_ac_var
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7988 $as_echo "$ac_res" >&6; }
7989 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7990 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7991 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7992 else
7993 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7995 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7996 if eval \${$as_ac_var+:} false; then :
7997 $as_echo_n "(cached) " >&6
7998 else
7999 ac_wine_try_cflags_saved=$CFLAGS
8000 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
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 eval "$as_ac_var=yes"
8007 else
8008 eval "$as_ac_var=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 eval ac_res=\$$as_ac_var
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8016 $as_echo "$ac_res" >&6; }
8017 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8018 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8019 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8024 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8025 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8026 $as_echo_n "(cached) " >&6
8027 else
8028 ac_wine_try_cflags_saved=$CFLAGS
8029 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8031 /* end confdefs.h. */
8032 int main(int argc, char **argv) { return 0; }
8033 _ACEOF
8034 if ac_fn_c_try_link "$LINENO"; then :
8035 ac_cv_cflags__Wl___enable_new_dtags=yes
8036 else
8037 ac_cv_cflags__Wl___enable_new_dtags=no
8039 rm -f core conftest.err conftest.$ac_objext \
8040 conftest$ac_exeext conftest.$ac_ext
8041 CFLAGS=$ac_wine_try_cflags_saved
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8044 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8045 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8046 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8049 case $host_cpu in
8050 *i[3456789]86* | x86_64)
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8052 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8053 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8054 $as_echo_n "(cached) " >&6
8055 else
8056 ac_wine_try_cflags_saved=$CFLAGS
8057 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8059 /* end confdefs.h. */
8060 int main(int argc, char **argv) { return 0; }
8061 _ACEOF
8062 if ac_fn_c_try_link "$LINENO"; then :
8063 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8064 else
8065 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8067 rm -f core conftest.err conftest.$ac_objext \
8068 conftest$ac_exeext conftest.$ac_ext
8069 CFLAGS=$ac_wine_try_cflags_saved
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8072 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8073 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8074 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8077 esac
8079 libwine_targets="libwine.so"
8080 LIBWINE_RULES="
8081 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8083 all: libwine.so
8085 libwine.so: \$(OBJS)
8086 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8088 install install-lib:: libwine.so
8089 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8091 uninstall::
8092 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8096 as_fn_append LOADER_RULES "
8097 $wine_binary: main.o
8098 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8100 wine-installed: main.o
8101 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8106 DLLFLAGS="$DLLFLAGS -fPIC"
8107 LDEXECFLAGS=""
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8109 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8110 if ${ac_cv_c_dll_gnuelf+:} false; then :
8111 $as_echo_n "(cached) " >&6
8112 else
8113 ac_wine_try_cflags_saved=$CFLAGS
8114 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8116 /* end confdefs.h. */
8117 void myfunc() {}
8118 _ACEOF
8119 if ac_fn_c_try_link "$LINENO"; then :
8120 ac_cv_c_dll_gnuelf="yes"
8121 else
8122 ac_cv_c_dll_gnuelf="no"
8124 rm -f core conftest.err conftest.$ac_objext \
8125 conftest$ac_exeext conftest.$ac_ext
8126 CFLAGS=$ac_wine_try_cflags_saved
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8129 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8130 if test "$ac_cv_c_dll_gnuelf" = "yes"
8131 then
8132 LDSHARED="\$(CC) -shared"
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8134 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8135 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8136 $as_echo_n "(cached) " >&6
8137 else
8138 ac_wine_try_cflags_saved=$CFLAGS
8139 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8141 /* end confdefs.h. */
8142 int main(int argc, char **argv) { return 0; }
8143 _ACEOF
8144 if ac_fn_c_try_link "$LINENO"; then :
8145 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8146 else
8147 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8149 rm -f core conftest.err conftest.$ac_objext \
8150 conftest$ac_exeext conftest.$ac_ext
8151 CFLAGS=$ac_wine_try_cflags_saved
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8154 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8155 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8156 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8157 else
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8159 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8160 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8161 $as_echo_n "(cached) " >&6
8162 else
8163 ac_wine_try_cflags_saved=$CFLAGS
8164 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8166 /* end confdefs.h. */
8167 int main(int argc, char **argv) { return 0; }
8168 _ACEOF
8169 if ac_fn_c_try_link "$LINENO"; then :
8170 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8171 else
8172 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8174 rm -f core conftest.err conftest.$ac_objext \
8175 conftest$ac_exeext conftest.$ac_ext
8176 CFLAGS=$ac_wine_try_cflags_saved
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8179 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8180 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8181 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8185 echo '{ global: *; };' >conftest.map
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8187 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8188 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8189 $as_echo_n "(cached) " >&6
8190 else
8191 ac_wine_try_cflags_saved=$CFLAGS
8192 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8194 /* end confdefs.h. */
8195 int main(int argc, char **argv) { return 0; }
8196 _ACEOF
8197 if ac_fn_c_try_link "$LINENO"; then :
8198 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8199 else
8200 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8202 rm -f core conftest.err conftest.$ac_objext \
8203 conftest$ac_exeext conftest.$ac_ext
8204 CFLAGS=$ac_wine_try_cflags_saved
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8207 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8208 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8209 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8211 rm -f conftest.map
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8214 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8215 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8216 $as_echo_n "(cached) " >&6
8217 else
8218 ac_wine_try_cflags_saved=$CFLAGS
8219 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8221 /* end confdefs.h. */
8222 int main(int argc, char **argv) { return 0; }
8223 _ACEOF
8224 if ac_fn_c_try_link "$LINENO"; then :
8225 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8226 else
8227 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8229 rm -f core conftest.err conftest.$ac_objext \
8230 conftest$ac_exeext conftest.$ac_ext
8231 CFLAGS=$ac_wine_try_cflags_saved
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8234 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8235 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8236 LDEXECFLAGS="-Wl,--export-dynamic"
8239 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8241 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8242 if eval \${$as_ac_var+:} false; then :
8243 $as_echo_n "(cached) " >&6
8244 else
8245 ac_wine_try_cflags_saved=$CFLAGS
8246 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8248 /* end confdefs.h. */
8249 int main(int argc, char **argv) { return 0; }
8250 _ACEOF
8251 if ac_fn_c_try_link "$LINENO"; then :
8252 eval "$as_ac_var=yes"
8253 else
8254 eval "$as_ac_var=no"
8256 rm -f core conftest.err conftest.$ac_objext \
8257 conftest$ac_exeext conftest.$ac_ext
8258 CFLAGS=$ac_wine_try_cflags_saved
8260 eval ac_res=\$$as_ac_var
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8262 $as_echo "$ac_res" >&6; }
8263 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8264 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8265 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8266 else
8267 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8269 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8270 if eval \${$as_ac_var+:} false; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 ac_wine_try_cflags_saved=$CFLAGS
8274 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
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 eval "$as_ac_var=yes"
8281 else
8282 eval "$as_ac_var=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 eval ac_res=\$$as_ac_var
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8290 $as_echo "$ac_res" >&6; }
8291 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8292 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8293 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8298 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8299 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8300 $as_echo_n "(cached) " >&6
8301 else
8302 ac_wine_try_cflags_saved=$CFLAGS
8303 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8305 /* end confdefs.h. */
8306 int main(int argc, char **argv) { return 0; }
8307 _ACEOF
8308 if ac_fn_c_try_link "$LINENO"; then :
8309 ac_cv_cflags__Wl___enable_new_dtags=yes
8310 else
8311 ac_cv_cflags__Wl___enable_new_dtags=no
8313 rm -f core conftest.err conftest.$ac_objext \
8314 conftest$ac_exeext conftest.$ac_ext
8315 CFLAGS=$ac_wine_try_cflags_saved
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8318 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8319 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8320 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8323 case $host_cpu in
8324 *i[3456789]86* | x86_64)
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8326 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8327 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8328 $as_echo_n "(cached) " >&6
8329 else
8330 ac_wine_try_cflags_saved=$CFLAGS
8331 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8333 /* end confdefs.h. */
8334 int main(int argc, char **argv) { return 0; }
8335 _ACEOF
8336 if ac_fn_c_try_link "$LINENO"; then :
8337 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8338 else
8339 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8341 rm -f core conftest.err conftest.$ac_objext \
8342 conftest$ac_exeext conftest.$ac_ext
8343 CFLAGS=$ac_wine_try_cflags_saved
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8346 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8347 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8348 case $host_os in
8349 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8350 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8351 esac
8354 # Extract the first word of "prelink", so it can be a program name with args.
8355 set dummy prelink; ac_word=$2
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8357 $as_echo_n "checking for $ac_word... " >&6; }
8358 if ${ac_cv_path_PRELINK+:} false; then :
8359 $as_echo_n "(cached) " >&6
8360 else
8361 case $PRELINK in
8362 [\\/]* | ?:[\\/]*)
8363 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8367 for as_dir in /sbin /usr/sbin $PATH
8369 IFS=$as_save_IFS
8370 test -z "$as_dir" && as_dir=.
8371 for ac_exec_ext in '' $ac_executable_extensions; do
8372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8373 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8375 break 2
8377 done
8378 done
8379 IFS=$as_save_IFS
8381 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8383 esac
8385 PRELINK=$ac_cv_path_PRELINK
8386 if test -n "$PRELINK"; then
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8388 $as_echo "$PRELINK" >&6; }
8389 else
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8391 $as_echo "no" >&6; }
8395 if test "x$PRELINK" = xfalse
8396 then
8397 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8400 esac
8402 else
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8404 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8405 if ${ac_cv_c_dll_unixware+:} false; then :
8406 $as_echo_n "(cached) " >&6
8407 else
8408 ac_wine_try_cflags_saved=$CFLAGS
8409 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8411 /* end confdefs.h. */
8412 void myfunc() {}
8413 _ACEOF
8414 if ac_fn_c_try_link "$LINENO"; then :
8415 ac_cv_c_dll_unixware="yes"
8416 else
8417 ac_cv_c_dll_unixware="no"
8419 rm -f core conftest.err conftest.$ac_objext \
8420 conftest$ac_exeext conftest.$ac_ext
8421 CFLAGS=$ac_wine_try_cflags_saved
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8424 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8425 if test "$ac_cv_c_dll_unixware" = "yes"
8426 then
8427 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8430 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8431 LIBWINE_RULES="
8432 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8434 all: libwine.so
8436 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8437 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8439 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8440 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8442 libwine.so: libwine.so.$libwine_soversion
8443 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8445 install install-lib:: libwine.so.$libwine_version
8446 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8447 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8449 install install-dev::
8450 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8452 uninstall::
8453 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8457 as_fn_append LOADER_RULES "
8458 $wine_binary: main.o
8459 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8461 wine-installed: main.o
8462 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8465 esac
8467 as_fn_append LIBWINE_RULES "
8468 EXTRA_TARGETS = $libwine_targets
8471 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8472 enable_winemac_drv=${enable_winemac_drv:-no}
8474 CROSSTARGET=""
8476 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8477 then
8478 case "$host_cpu" in
8479 i[3456789]86*)
8480 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
8481 mingw32-gcc" ;;
8482 x86_64)
8483 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 " ;;
8485 ac_prefix_list="" ;;
8486 esac
8487 for ac_prog in $ac_prefix_list
8489 # Extract the first word of "$ac_prog", so it can be a program name with args.
8490 set dummy $ac_prog; ac_word=$2
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8492 $as_echo_n "checking for $ac_word... " >&6; }
8493 if ${ac_cv_prog_CROSSCC+:} false; then :
8494 $as_echo_n "(cached) " >&6
8495 else
8496 if test -n "$CROSSCC"; then
8497 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8498 else
8499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8500 for as_dir in $PATH
8502 IFS=$as_save_IFS
8503 test -z "$as_dir" && as_dir=.
8504 for ac_exec_ext in '' $ac_executable_extensions; do
8505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8506 ac_cv_prog_CROSSCC="$ac_prog"
8507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8508 break 2
8510 done
8511 done
8512 IFS=$as_save_IFS
8516 CROSSCC=$ac_cv_prog_CROSSCC
8517 if test -n "$CROSSCC"; then
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8519 $as_echo "$CROSSCC" >&6; }
8520 else
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8522 $as_echo "no" >&6; }
8526 test -n "$CROSSCC" && break
8527 done
8528 test -n "$CROSSCC" || CROSSCC="false"
8530 if test "$CROSSCC" != "false"
8531 then
8532 ac_save_CC="$CC"
8533 CC="$CROSSCC"
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8535 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8540 main ()
8544 return 0;
8546 _ACEOF
8547 if ac_fn_c_try_compile "$LINENO"; then :
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8549 $as_echo "yes" >&6; }
8550 set x $CROSSCC
8551 shift
8552 while test $# -ge 1
8554 case "$1" in
8555 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8556 esac
8557 shift
8558 done
8559 else
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8561 $as_echo "no" >&6; }
8563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8564 CC="$ac_save_CC"
8569 if test "$ac_cv_header_pthread_h" = "yes"
8570 then
8571 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8572 if test "x$ac_cv_func_pthread_create" = xyes; then :
8574 else
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8576 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8577 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8578 $as_echo_n "(cached) " >&6
8579 else
8580 ac_check_lib_save_LIBS=$LIBS
8581 LIBS="-lpthread $LIBS"
8582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8583 /* end confdefs.h. */
8585 /* Override any GCC internal prototype to avoid an error.
8586 Use char because int might match the return type of a GCC
8587 builtin and then its argument prototype would still apply. */
8588 #ifdef __cplusplus
8589 extern "C"
8590 #endif
8591 char pthread_create ();
8593 main ()
8595 return pthread_create ();
8597 return 0;
8599 _ACEOF
8600 if ac_fn_c_try_link "$LINENO"; then :
8601 ac_cv_lib_pthread_pthread_create=yes
8602 else
8603 ac_cv_lib_pthread_pthread_create=no
8605 rm -f core conftest.err conftest.$ac_objext \
8606 conftest$ac_exeext conftest.$ac_ext
8607 LIBS=$ac_check_lib_save_LIBS
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8610 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8611 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8612 PTHREAD_LIBS="-lpthread"
8619 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8620 case "x$with_pthread" in
8621 xno) ;;
8622 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8623 Wine cannot support threads without libpthread.
8624 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8625 esac
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8630 $as_echo_n "checking for X... " >&6; }
8633 # Check whether --with-x was given.
8634 if test "${with_x+set}" = set; then :
8635 withval=$with_x;
8638 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8639 if test "x$with_x" = xno; then
8640 # The user explicitly disabled X.
8641 have_x=disabled
8642 else
8643 case $x_includes,$x_libraries in #(
8644 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8645 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8646 $as_echo_n "(cached) " >&6
8647 else
8648 # One or both of the vars are not set, and there is no cached value.
8649 ac_x_includes=no ac_x_libraries=no
8650 rm -f -r conftest.dir
8651 if mkdir conftest.dir; then
8652 cd conftest.dir
8653 cat >Imakefile <<'_ACEOF'
8654 incroot:
8655 @echo incroot='${INCROOT}'
8656 usrlibdir:
8657 @echo usrlibdir='${USRLIBDIR}'
8658 libdir:
8659 @echo libdir='${LIBDIR}'
8660 _ACEOF
8661 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8662 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8663 for ac_var in incroot usrlibdir libdir; do
8664 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8665 done
8666 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8667 for ac_extension in a so sl dylib la dll; do
8668 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8669 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8670 ac_im_usrlibdir=$ac_im_libdir; break
8672 done
8673 # Screen out bogus values from the imake configuration. They are
8674 # bogus both because they are the default anyway, and because
8675 # using them would break gcc on systems where it needs fixed includes.
8676 case $ac_im_incroot in
8677 /usr/include) ac_x_includes= ;;
8678 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8679 esac
8680 case $ac_im_usrlibdir in
8681 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8682 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8683 esac
8685 cd ..
8686 rm -f -r conftest.dir
8689 # Standard set of common directories for X headers.
8690 # Check X11 before X11Rn because it is often a symlink to the current release.
8691 ac_x_header_dirs='
8692 /usr/X11/include
8693 /usr/X11R7/include
8694 /usr/X11R6/include
8695 /usr/X11R5/include
8696 /usr/X11R4/include
8698 /usr/include/X11
8699 /usr/include/X11R7
8700 /usr/include/X11R6
8701 /usr/include/X11R5
8702 /usr/include/X11R4
8704 /usr/local/X11/include
8705 /usr/local/X11R7/include
8706 /usr/local/X11R6/include
8707 /usr/local/X11R5/include
8708 /usr/local/X11R4/include
8710 /usr/local/include/X11
8711 /usr/local/include/X11R7
8712 /usr/local/include/X11R6
8713 /usr/local/include/X11R5
8714 /usr/local/include/X11R4
8716 /usr/X386/include
8717 /usr/x386/include
8718 /usr/XFree86/include/X11
8720 /usr/include
8721 /usr/local/include
8722 /usr/unsupported/include
8723 /usr/athena/include
8724 /usr/local/x11r5/include
8725 /usr/lpp/Xamples/include
8727 /usr/openwin/include
8728 /usr/openwin/share/include'
8730 if test "$ac_x_includes" = no; then
8731 # Guess where to find include files, by looking for Xlib.h.
8732 # First, try using that file with no special directory specified.
8733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8734 /* end confdefs.h. */
8735 #include <X11/Xlib.h>
8736 _ACEOF
8737 if ac_fn_c_try_cpp "$LINENO"; then :
8738 # We can compile using X headers with no special include directory.
8739 ac_x_includes=
8740 else
8741 for ac_dir in $ac_x_header_dirs; do
8742 if test -r "$ac_dir/X11/Xlib.h"; then
8743 ac_x_includes=$ac_dir
8744 break
8746 done
8748 rm -f conftest.err conftest.i conftest.$ac_ext
8749 fi # $ac_x_includes = no
8751 if test "$ac_x_libraries" = no; then
8752 # Check for the libraries.
8753 # See if we find them without any special options.
8754 # Don't add to $LIBS permanently.
8755 ac_save_LIBS=$LIBS
8756 LIBS="-lX11 $LIBS"
8757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8758 /* end confdefs.h. */
8759 #include <X11/Xlib.h>
8761 main ()
8763 XrmInitialize ()
8765 return 0;
8767 _ACEOF
8768 if ac_fn_c_try_link "$LINENO"; then :
8769 LIBS=$ac_save_LIBS
8770 # We can link X programs with no special library path.
8771 ac_x_libraries=
8772 else
8773 LIBS=$ac_save_LIBS
8774 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8776 # Don't even attempt the hair of trying to link an X program!
8777 for ac_extension in a so sl dylib la dll; do
8778 if test -r "$ac_dir/libX11.$ac_extension"; then
8779 ac_x_libraries=$ac_dir
8780 break 2
8782 done
8783 done
8785 rm -f core conftest.err conftest.$ac_objext \
8786 conftest$ac_exeext conftest.$ac_ext
8787 fi # $ac_x_libraries = no
8789 case $ac_x_includes,$ac_x_libraries in #(
8790 no,* | *,no | *\'*)
8791 # Didn't find X, or a directory has "'" in its name.
8792 ac_cv_have_x="have_x=no";; #(
8794 # Record where we found X for the cache.
8795 ac_cv_have_x="have_x=yes\
8796 ac_x_includes='$ac_x_includes'\
8797 ac_x_libraries='$ac_x_libraries'"
8798 esac
8800 ;; #(
8801 *) have_x=yes;;
8802 esac
8803 eval "$ac_cv_have_x"
8804 fi # $with_x != no
8806 if test "$have_x" != yes; then
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8808 $as_echo "$have_x" >&6; }
8809 no_x=yes
8810 else
8811 # If each of the values was on the command line, it overrides each guess.
8812 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8813 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8814 # Update the cache value to reflect the command line values.
8815 ac_cv_have_x="have_x=yes\
8816 ac_x_includes='$x_includes'\
8817 ac_x_libraries='$x_libraries'"
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8819 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8822 if test "$no_x" = yes; then
8823 # Not all programs may use this symbol, but it does not hurt to define it.
8825 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8827 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8828 else
8829 if test -n "$x_includes"; then
8830 X_CFLAGS="$X_CFLAGS -I$x_includes"
8833 # It would also be nice to do this for all -L options, not just this one.
8834 if test -n "$x_libraries"; then
8835 X_LIBS="$X_LIBS -L$x_libraries"
8836 # For Solaris; some versions of Sun CC require a space after -R and
8837 # others require no space. Words are not sufficient . . . .
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8839 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8840 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8841 ac_xsave_c_werror_flag=$ac_c_werror_flag
8842 ac_c_werror_flag=yes
8843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8844 /* end confdefs.h. */
8847 main ()
8851 return 0;
8853 _ACEOF
8854 if ac_fn_c_try_link "$LINENO"; then :
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8856 $as_echo "no" >&6; }
8857 X_LIBS="$X_LIBS -R$x_libraries"
8858 else
8859 LIBS="$ac_xsave_LIBS -R $x_libraries"
8860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8861 /* end confdefs.h. */
8864 main ()
8868 return 0;
8870 _ACEOF
8871 if ac_fn_c_try_link "$LINENO"; then :
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8873 $as_echo "yes" >&6; }
8874 X_LIBS="$X_LIBS -R $x_libraries"
8875 else
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8877 $as_echo "neither works" >&6; }
8879 rm -f core conftest.err conftest.$ac_objext \
8880 conftest$ac_exeext conftest.$ac_ext
8882 rm -f core conftest.err conftest.$ac_objext \
8883 conftest$ac_exeext conftest.$ac_ext
8884 ac_c_werror_flag=$ac_xsave_c_werror_flag
8885 LIBS=$ac_xsave_LIBS
8888 # Check for system-dependent libraries X programs must link with.
8889 # Do this before checking for the system-independent R6 libraries
8890 # (-lICE), since we may need -lsocket or whatever for X linking.
8892 if test "$ISC" = yes; then
8893 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8894 else
8895 # Martyn Johnson says this is needed for Ultrix, if the X
8896 # libraries were built with DECnet support. And Karl Berry says
8897 # the Alpha needs dnet_stub (dnet does not exist).
8898 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8900 /* end confdefs.h. */
8902 /* Override any GCC internal prototype to avoid an error.
8903 Use char because int might match the return type of a GCC
8904 builtin and then its argument prototype would still apply. */
8905 #ifdef __cplusplus
8906 extern "C"
8907 #endif
8908 char XOpenDisplay ();
8910 main ()
8912 return XOpenDisplay ();
8914 return 0;
8916 _ACEOF
8917 if ac_fn_c_try_link "$LINENO"; then :
8919 else
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8921 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8922 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8923 $as_echo_n "(cached) " >&6
8924 else
8925 ac_check_lib_save_LIBS=$LIBS
8926 LIBS="-ldnet $LIBS"
8927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8928 /* end confdefs.h. */
8930 /* Override any GCC internal prototype to avoid an error.
8931 Use char because int might match the return type of a GCC
8932 builtin and then its argument prototype would still apply. */
8933 #ifdef __cplusplus
8934 extern "C"
8935 #endif
8936 char dnet_ntoa ();
8938 main ()
8940 return dnet_ntoa ();
8942 return 0;
8944 _ACEOF
8945 if ac_fn_c_try_link "$LINENO"; then :
8946 ac_cv_lib_dnet_dnet_ntoa=yes
8947 else
8948 ac_cv_lib_dnet_dnet_ntoa=no
8950 rm -f core conftest.err conftest.$ac_objext \
8951 conftest$ac_exeext conftest.$ac_ext
8952 LIBS=$ac_check_lib_save_LIBS
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8955 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8956 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8957 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8960 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8962 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8963 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8964 $as_echo_n "(cached) " >&6
8965 else
8966 ac_check_lib_save_LIBS=$LIBS
8967 LIBS="-ldnet_stub $LIBS"
8968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8969 /* end confdefs.h. */
8971 /* Override any GCC internal prototype to avoid an error.
8972 Use char because int might match the return type of a GCC
8973 builtin and then its argument prototype would still apply. */
8974 #ifdef __cplusplus
8975 extern "C"
8976 #endif
8977 char dnet_ntoa ();
8979 main ()
8981 return dnet_ntoa ();
8983 return 0;
8985 _ACEOF
8986 if ac_fn_c_try_link "$LINENO"; then :
8987 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8988 else
8989 ac_cv_lib_dnet_stub_dnet_ntoa=no
8991 rm -f core conftest.err conftest.$ac_objext \
8992 conftest$ac_exeext conftest.$ac_ext
8993 LIBS=$ac_check_lib_save_LIBS
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8996 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8997 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8998 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9003 rm -f core conftest.err conftest.$ac_objext \
9004 conftest$ac_exeext conftest.$ac_ext
9005 LIBS="$ac_xsave_LIBS"
9007 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9008 # to get the SysV transport functions.
9009 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9010 # needs -lnsl.
9011 # The nsl library prevents programs from opening the X display
9012 # on Irix 5.2, according to T.E. Dickey.
9013 # The functions gethostbyname, getservbyname, and inet_addr are
9014 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9015 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9016 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9020 if test $ac_cv_func_gethostbyname = no; then
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9022 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9023 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9024 $as_echo_n "(cached) " >&6
9025 else
9026 ac_check_lib_save_LIBS=$LIBS
9027 LIBS="-lnsl $LIBS"
9028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9029 /* end confdefs.h. */
9031 /* Override any GCC internal prototype to avoid an error.
9032 Use char because int might match the return type of a GCC
9033 builtin and then its argument prototype would still apply. */
9034 #ifdef __cplusplus
9035 extern "C"
9036 #endif
9037 char gethostbyname ();
9039 main ()
9041 return gethostbyname ();
9043 return 0;
9045 _ACEOF
9046 if ac_fn_c_try_link "$LINENO"; then :
9047 ac_cv_lib_nsl_gethostbyname=yes
9048 else
9049 ac_cv_lib_nsl_gethostbyname=no
9051 rm -f core conftest.err conftest.$ac_objext \
9052 conftest$ac_exeext conftest.$ac_ext
9053 LIBS=$ac_check_lib_save_LIBS
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9056 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9057 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9058 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9061 if test $ac_cv_lib_nsl_gethostbyname = no; then
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9063 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9064 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9065 $as_echo_n "(cached) " >&6
9066 else
9067 ac_check_lib_save_LIBS=$LIBS
9068 LIBS="-lbsd $LIBS"
9069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9070 /* end confdefs.h. */
9072 /* Override any GCC internal prototype to avoid an error.
9073 Use char because int might match the return type of a GCC
9074 builtin and then its argument prototype would still apply. */
9075 #ifdef __cplusplus
9076 extern "C"
9077 #endif
9078 char gethostbyname ();
9080 main ()
9082 return gethostbyname ();
9084 return 0;
9086 _ACEOF
9087 if ac_fn_c_try_link "$LINENO"; then :
9088 ac_cv_lib_bsd_gethostbyname=yes
9089 else
9090 ac_cv_lib_bsd_gethostbyname=no
9092 rm -f core conftest.err conftest.$ac_objext \
9093 conftest$ac_exeext conftest.$ac_ext
9094 LIBS=$ac_check_lib_save_LIBS
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9097 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9098 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9099 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9105 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9106 # socket/setsockopt and other routines are undefined under SCO ODT
9107 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9108 # on later versions), says Simon Leinen: it contains gethostby*
9109 # variants that don't use the name server (or something). -lsocket
9110 # must be given before -lnsl if both are needed. We assume that
9111 # if connect needs -lnsl, so does gethostbyname.
9112 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9113 if test "x$ac_cv_func_connect" = xyes; then :
9117 if test $ac_cv_func_connect = no; then
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9119 $as_echo_n "checking for connect in -lsocket... " >&6; }
9120 if ${ac_cv_lib_socket_connect+:} false; then :
9121 $as_echo_n "(cached) " >&6
9122 else
9123 ac_check_lib_save_LIBS=$LIBS
9124 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9126 /* end confdefs.h. */
9128 /* Override any GCC internal prototype to avoid an error.
9129 Use char because int might match the return type of a GCC
9130 builtin and then its argument prototype would still apply. */
9131 #ifdef __cplusplus
9132 extern "C"
9133 #endif
9134 char connect ();
9136 main ()
9138 return connect ();
9140 return 0;
9142 _ACEOF
9143 if ac_fn_c_try_link "$LINENO"; then :
9144 ac_cv_lib_socket_connect=yes
9145 else
9146 ac_cv_lib_socket_connect=no
9148 rm -f core conftest.err conftest.$ac_objext \
9149 conftest$ac_exeext conftest.$ac_ext
9150 LIBS=$ac_check_lib_save_LIBS
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9153 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9154 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9155 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9160 # Guillermo Gomez says -lposix is necessary on A/UX.
9161 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9162 if test "x$ac_cv_func_remove" = xyes; then :
9166 if test $ac_cv_func_remove = no; then
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9168 $as_echo_n "checking for remove in -lposix... " >&6; }
9169 if ${ac_cv_lib_posix_remove+:} false; then :
9170 $as_echo_n "(cached) " >&6
9171 else
9172 ac_check_lib_save_LIBS=$LIBS
9173 LIBS="-lposix $LIBS"
9174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9175 /* end confdefs.h. */
9177 /* Override any GCC internal prototype to avoid an error.
9178 Use char because int might match the return type of a GCC
9179 builtin and then its argument prototype would still apply. */
9180 #ifdef __cplusplus
9181 extern "C"
9182 #endif
9183 char remove ();
9185 main ()
9187 return remove ();
9189 return 0;
9191 _ACEOF
9192 if ac_fn_c_try_link "$LINENO"; then :
9193 ac_cv_lib_posix_remove=yes
9194 else
9195 ac_cv_lib_posix_remove=no
9197 rm -f core conftest.err conftest.$ac_objext \
9198 conftest$ac_exeext conftest.$ac_ext
9199 LIBS=$ac_check_lib_save_LIBS
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9202 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9203 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9204 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9209 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9210 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9211 if test "x$ac_cv_func_shmat" = xyes; then :
9215 if test $ac_cv_func_shmat = no; then
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9217 $as_echo_n "checking for shmat in -lipc... " >&6; }
9218 if ${ac_cv_lib_ipc_shmat+:} false; then :
9219 $as_echo_n "(cached) " >&6
9220 else
9221 ac_check_lib_save_LIBS=$LIBS
9222 LIBS="-lipc $LIBS"
9223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9224 /* end confdefs.h. */
9226 /* Override any GCC internal prototype to avoid an error.
9227 Use char because int might match the return type of a GCC
9228 builtin and then its argument prototype would still apply. */
9229 #ifdef __cplusplus
9230 extern "C"
9231 #endif
9232 char shmat ();
9234 main ()
9236 return shmat ();
9238 return 0;
9240 _ACEOF
9241 if ac_fn_c_try_link "$LINENO"; then :
9242 ac_cv_lib_ipc_shmat=yes
9243 else
9244 ac_cv_lib_ipc_shmat=no
9246 rm -f core conftest.err conftest.$ac_objext \
9247 conftest$ac_exeext conftest.$ac_ext
9248 LIBS=$ac_check_lib_save_LIBS
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9251 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9252 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9253 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9259 # Check for libraries that X11R6 Xt/Xaw programs need.
9260 ac_save_LDFLAGS=$LDFLAGS
9261 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9262 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9263 # check for ICE first), but we must link in the order -lSM -lICE or
9264 # we get undefined symbols. So assume we have SM if we have ICE.
9265 # These have to be linked with before -lX11, unlike the other
9266 # libraries we check for below, so use a different variable.
9267 # John Interrante, Karl Berry
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9269 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9270 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9271 $as_echo_n "(cached) " >&6
9272 else
9273 ac_check_lib_save_LIBS=$LIBS
9274 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9276 /* end confdefs.h. */
9278 /* Override any GCC internal prototype to avoid an error.
9279 Use char because int might match the return type of a GCC
9280 builtin and then its argument prototype would still apply. */
9281 #ifdef __cplusplus
9282 extern "C"
9283 #endif
9284 char IceConnectionNumber ();
9286 main ()
9288 return IceConnectionNumber ();
9290 return 0;
9292 _ACEOF
9293 if ac_fn_c_try_link "$LINENO"; then :
9294 ac_cv_lib_ICE_IceConnectionNumber=yes
9295 else
9296 ac_cv_lib_ICE_IceConnectionNumber=no
9298 rm -f core conftest.err conftest.$ac_objext \
9299 conftest$ac_exeext conftest.$ac_ext
9300 LIBS=$ac_check_lib_save_LIBS
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9303 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9304 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9305 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9308 LDFLAGS=$ac_save_LDFLAGS
9313 if test "$have_x" = "yes"
9314 then
9315 ac_save_CPPFLAGS="$CPPFLAGS"
9316 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9319 $as_echo_n "checking for -lX11... " >&6; }
9320 if ${ac_cv_lib_soname_X11+:} false; then :
9321 $as_echo_n "(cached) " >&6
9322 else
9323 ac_check_soname_save_LIBS=$LIBS
9324 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9326 /* end confdefs.h. */
9328 /* Override any GCC internal prototype to avoid an error.
9329 Use char because int might match the return type of a GCC
9330 builtin and then its argument prototype would still apply. */
9331 #ifdef __cplusplus
9332 extern "C"
9333 #endif
9334 char XCreateWindow ();
9336 main ()
9338 return XCreateWindow ();
9340 return 0;
9342 _ACEOF
9343 if ac_fn_c_try_link "$LINENO"; then :
9344 case "$LIBEXT" in
9345 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9346 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'` ;;
9347 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9348 if ${ac_cv_lib_soname_X11:+false} :; then :
9349 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9350 fi ;;
9351 esac
9353 rm -f core conftest.err conftest.$ac_objext \
9354 conftest$ac_exeext conftest.$ac_ext
9355 LIBS=$ac_check_soname_save_LIBS
9357 if ${ac_cv_lib_soname_X11:+false} :; then :
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9359 $as_echo "not found" >&6; }
9361 else
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9363 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9365 cat >>confdefs.h <<_ACEOF
9366 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9367 _ACEOF
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9372 $as_echo_n "checking for -lXext... " >&6; }
9373 if ${ac_cv_lib_soname_Xext+:} false; then :
9374 $as_echo_n "(cached) " >&6
9375 else
9376 ac_check_soname_save_LIBS=$LIBS
9377 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9379 /* end confdefs.h. */
9381 /* Override any GCC internal prototype to avoid an error.
9382 Use char because int might match the return type of a GCC
9383 builtin and then its argument prototype would still apply. */
9384 #ifdef __cplusplus
9385 extern "C"
9386 #endif
9387 char XextCreateExtension ();
9389 main ()
9391 return XextCreateExtension ();
9393 return 0;
9395 _ACEOF
9396 if ac_fn_c_try_link "$LINENO"; then :
9397 case "$LIBEXT" in
9398 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9399 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'` ;;
9400 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9401 if ${ac_cv_lib_soname_Xext:+false} :; then :
9402 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9403 fi ;;
9404 esac
9406 rm -f core conftest.err conftest.$ac_objext \
9407 conftest$ac_exeext conftest.$ac_ext
9408 LIBS=$ac_check_soname_save_LIBS
9410 if ${ac_cv_lib_soname_Xext:+false} :; then :
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9412 $as_echo "not found" >&6; }
9414 else
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9416 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9418 cat >>confdefs.h <<_ACEOF
9419 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9420 _ACEOF
9422 X_LIBS="$X_LIBS -lXext"
9424 X_LIBS="$X_LIBS -lX11"
9426 for ac_header in X11/Xlib.h \
9427 X11/XKBlib.h \
9428 X11/Xutil.h \
9429 X11/Xcursor/Xcursor.h \
9430 X11/extensions/shape.h \
9431 X11/extensions/XInput.h \
9432 X11/extensions/XInput2.h \
9433 X11/extensions/XShm.h \
9434 X11/extensions/Xcomposite.h \
9435 X11/extensions/Xinerama.h \
9436 X11/extensions/Xrandr.h \
9437 X11/extensions/Xrender.h \
9438 X11/extensions/xf86vmode.h \
9439 X11/extensions/xf86vmproto.h
9440 do :
9441 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9442 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9443 # include <X11/Xlib.h>
9444 #endif
9445 #ifdef HAVE_X11_XUTIL_H
9446 # include <X11/Xutil.h>
9447 #endif
9449 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9450 cat >>confdefs.h <<_ACEOF
9451 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9452 _ACEOF
9456 done
9459 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9460 then
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9462 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9463 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9464 $as_echo_n "(cached) " >&6
9465 else
9466 ac_check_lib_save_LIBS=$LIBS
9467 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9471 /* Override any GCC internal prototype to avoid an error.
9472 Use char because int might match the return type of a GCC
9473 builtin and then its argument prototype would still apply. */
9474 #ifdef __cplusplus
9475 extern "C"
9476 #endif
9477 char XkbQueryExtension ();
9479 main ()
9481 return XkbQueryExtension ();
9483 return 0;
9485 _ACEOF
9486 if ac_fn_c_try_link "$LINENO"; then :
9487 ac_cv_lib_X11_XkbQueryExtension=yes
9488 else
9489 ac_cv_lib_X11_XkbQueryExtension=no
9491 rm -f core conftest.err conftest.$ac_objext \
9492 conftest$ac_exeext conftest.$ac_ext
9493 LIBS=$ac_check_lib_save_LIBS
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9496 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9497 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9499 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9505 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9506 then
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9508 $as_echo_n "checking for -lXcursor... " >&6; }
9509 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9510 $as_echo_n "(cached) " >&6
9511 else
9512 ac_check_soname_save_LIBS=$LIBS
9513 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9515 /* end confdefs.h. */
9517 /* Override any GCC internal prototype to avoid an error.
9518 Use char because int might match the return type of a GCC
9519 builtin and then its argument prototype would still apply. */
9520 #ifdef __cplusplus
9521 extern "C"
9522 #endif
9523 char XcursorImageLoadCursor ();
9525 main ()
9527 return XcursorImageLoadCursor ();
9529 return 0;
9531 _ACEOF
9532 if ac_fn_c_try_link "$LINENO"; then :
9533 case "$LIBEXT" in
9534 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9535 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'` ;;
9536 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9537 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9538 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9539 fi ;;
9540 esac
9542 rm -f core conftest.err conftest.$ac_objext \
9543 conftest$ac_exeext conftest.$ac_ext
9544 LIBS=$ac_check_soname_save_LIBS
9546 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9548 $as_echo "not found" >&6; }
9550 else
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9552 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9554 cat >>confdefs.h <<_ACEOF
9555 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9556 _ACEOF
9561 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9562 case "x$with_xcursor" in
9563 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9564 xno) ;;
9565 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9566 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9567 esac
9570 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9571 then
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9573 $as_echo_n "checking for -lXi... " >&6; }
9574 if ${ac_cv_lib_soname_Xi+:} false; then :
9575 $as_echo_n "(cached) " >&6
9576 else
9577 ac_check_soname_save_LIBS=$LIBS
9578 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9580 /* end confdefs.h. */
9582 /* Override any GCC internal prototype to avoid an error.
9583 Use char because int might match the return type of a GCC
9584 builtin and then its argument prototype would still apply. */
9585 #ifdef __cplusplus
9586 extern "C"
9587 #endif
9588 char XOpenDevice ();
9590 main ()
9592 return XOpenDevice ();
9594 return 0;
9596 _ACEOF
9597 if ac_fn_c_try_link "$LINENO"; then :
9598 case "$LIBEXT" in
9599 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9600 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'` ;;
9601 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9602 if ${ac_cv_lib_soname_Xi:+false} :; then :
9603 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9604 fi ;;
9605 esac
9607 rm -f core conftest.err conftest.$ac_objext \
9608 conftest$ac_exeext conftest.$ac_ext
9609 LIBS=$ac_check_soname_save_LIBS
9611 if ${ac_cv_lib_soname_Xi:+false} :; then :
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9613 $as_echo "not found" >&6; }
9615 else
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9617 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9619 cat >>confdefs.h <<_ACEOF
9620 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9621 _ACEOF
9626 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9627 case "x$with_xinput" in
9628 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9629 xno) ;;
9630 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9631 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9632 esac
9635 if test "x$ac_cv_lib_soname_Xi" != x
9636 then
9637 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9638 case "x$with_xinput2" in
9639 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9640 xno) ;;
9641 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9642 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9643 esac
9647 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9648 then
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9650 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9651 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9652 $as_echo_n "(cached) " >&6
9653 else
9654 ac_check_lib_save_LIBS=$LIBS
9655 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9657 /* end confdefs.h. */
9659 /* Override any GCC internal prototype to avoid an error.
9660 Use char because int might match the return type of a GCC
9661 builtin and then its argument prototype would still apply. */
9662 #ifdef __cplusplus
9663 extern "C"
9664 #endif
9665 char XShmQueryExtension ();
9667 main ()
9669 return XShmQueryExtension ();
9671 return 0;
9673 _ACEOF
9674 if ac_fn_c_try_link "$LINENO"; then :
9675 ac_cv_lib_Xext_XShmQueryExtension=yes
9676 else
9677 ac_cv_lib_Xext_XShmQueryExtension=no
9679 rm -f core conftest.err conftest.$ac_objext \
9680 conftest$ac_exeext conftest.$ac_ext
9681 LIBS=$ac_check_lib_save_LIBS
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9684 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9685 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9687 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9692 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9693 case "x$with_xshm" in
9694 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9695 xno) ;;
9696 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9697 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9698 esac
9701 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9702 then
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9704 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9705 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9706 $as_echo_n "(cached) " >&6
9707 else
9708 ac_check_lib_save_LIBS=$LIBS
9709 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9711 /* end confdefs.h. */
9713 /* Override any GCC internal prototype to avoid an error.
9714 Use char because int might match the return type of a GCC
9715 builtin and then its argument prototype would still apply. */
9716 #ifdef __cplusplus
9717 extern "C"
9718 #endif
9719 char XShapeQueryExtension ();
9721 main ()
9723 return XShapeQueryExtension ();
9725 return 0;
9727 _ACEOF
9728 if ac_fn_c_try_link "$LINENO"; then :
9729 ac_cv_lib_Xext_XShapeQueryExtension=yes
9730 else
9731 ac_cv_lib_Xext_XShapeQueryExtension=no
9733 rm -f core conftest.err conftest.$ac_objext \
9734 conftest$ac_exeext conftest.$ac_ext
9735 LIBS=$ac_check_lib_save_LIBS
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9738 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9739 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9741 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9746 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9747 case "x$with_xshape" in
9748 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9749 xno) ;;
9750 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9751 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9752 esac
9755 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9756 then
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9758 $as_echo_n "checking for -lXxf86vm... " >&6; }
9759 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9760 $as_echo_n "(cached) " >&6
9761 else
9762 ac_check_soname_save_LIBS=$LIBS
9763 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9765 /* end confdefs.h. */
9767 /* Override any GCC internal prototype to avoid an error.
9768 Use char because int might match the return type of a GCC
9769 builtin and then its argument prototype would still apply. */
9770 #ifdef __cplusplus
9771 extern "C"
9772 #endif
9773 char XF86VidModeQueryExtension ();
9775 main ()
9777 return XF86VidModeQueryExtension ();
9779 return 0;
9781 _ACEOF
9782 if ac_fn_c_try_link "$LINENO"; then :
9783 case "$LIBEXT" in
9784 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9785 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'` ;;
9786 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9787 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9788 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9789 fi ;;
9790 esac
9792 rm -f core conftest.err conftest.$ac_objext \
9793 conftest$ac_exeext conftest.$ac_ext
9794 LIBS=$ac_check_soname_save_LIBS
9796 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9798 $as_echo "not found" >&6; }
9800 else
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9802 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9804 cat >>confdefs.h <<_ACEOF
9805 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9806 _ACEOF
9811 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9812 case "x$with_xxf86vm" in
9813 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9814 xno) ;;
9815 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9816 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9817 esac
9820 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"
9821 then
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9823 $as_echo_n "checking for -lXrender... " >&6; }
9824 if ${ac_cv_lib_soname_Xrender+:} false; then :
9825 $as_echo_n "(cached) " >&6
9826 else
9827 ac_check_soname_save_LIBS=$LIBS
9828 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9830 /* end confdefs.h. */
9832 /* Override any GCC internal prototype to avoid an error.
9833 Use char because int might match the return type of a GCC
9834 builtin and then its argument prototype would still apply. */
9835 #ifdef __cplusplus
9836 extern "C"
9837 #endif
9838 char XRenderQueryExtension ();
9840 main ()
9842 return XRenderQueryExtension ();
9844 return 0;
9846 _ACEOF
9847 if ac_fn_c_try_link "$LINENO"; then :
9848 case "$LIBEXT" in
9849 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9850 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'` ;;
9851 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9852 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9853 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9854 fi ;;
9855 esac
9857 rm -f core conftest.err conftest.$ac_objext \
9858 conftest$ac_exeext conftest.$ac_ext
9859 LIBS=$ac_check_soname_save_LIBS
9861 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9863 $as_echo "not found" >&6; }
9865 else
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9867 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9869 cat >>confdefs.h <<_ACEOF
9870 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9871 _ACEOF
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9874 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9875 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9876 $as_echo_n "(cached) " >&6
9877 else
9878 ac_check_lib_save_LIBS=$LIBS
9879 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9881 /* end confdefs.h. */
9883 /* Override any GCC internal prototype to avoid an error.
9884 Use char because int might match the return type of a GCC
9885 builtin and then its argument prototype would still apply. */
9886 #ifdef __cplusplus
9887 extern "C"
9888 #endif
9889 char XRenderSetPictureTransform ();
9891 main ()
9893 return XRenderSetPictureTransform ();
9895 return 0;
9897 _ACEOF
9898 if ac_fn_c_try_link "$LINENO"; then :
9899 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9900 else
9901 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9903 rm -f core conftest.err conftest.$ac_objext \
9904 conftest$ac_exeext conftest.$ac_ext
9905 LIBS=$ac_check_lib_save_LIBS
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9908 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9909 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9911 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9916 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9917 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9918 $as_echo_n "(cached) " >&6
9919 else
9920 ac_check_lib_save_LIBS=$LIBS
9921 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9923 /* end confdefs.h. */
9925 /* Override any GCC internal prototype to avoid an error.
9926 Use char because int might match the return type of a GCC
9927 builtin and then its argument prototype would still apply. */
9928 #ifdef __cplusplus
9929 extern "C"
9930 #endif
9931 char XRenderCreateLinearGradient ();
9933 main ()
9935 return XRenderCreateLinearGradient ();
9937 return 0;
9939 _ACEOF
9940 if ac_fn_c_try_link "$LINENO"; then :
9941 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9942 else
9943 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9945 rm -f core conftest.err conftest.$ac_objext \
9946 conftest$ac_exeext conftest.$ac_ext
9947 LIBS=$ac_check_lib_save_LIBS
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9950 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9951 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9953 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9960 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9961 case "x$with_xrender" in
9962 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9963 xno) ;;
9964 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9965 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9966 esac
9969 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9970 then
9971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9972 /* end confdefs.h. */
9973 #include <X11/Xlib.h>
9974 #include <X11/extensions/Xrandr.h>
9976 main ()
9978 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9980 return 0;
9982 _ACEOF
9983 if ac_fn_c_try_compile "$LINENO"; then :
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9985 $as_echo_n "checking for -lXrandr... " >&6; }
9986 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9987 $as_echo_n "(cached) " >&6
9988 else
9989 ac_check_soname_save_LIBS=$LIBS
9990 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9992 /* end confdefs.h. */
9994 /* Override any GCC internal prototype to avoid an error.
9995 Use char because int might match the return type of a GCC
9996 builtin and then its argument prototype would still apply. */
9997 #ifdef __cplusplus
9998 extern "C"
9999 #endif
10000 char XRRQueryExtension ();
10002 main ()
10004 return XRRQueryExtension ();
10006 return 0;
10008 _ACEOF
10009 if ac_fn_c_try_link "$LINENO"; then :
10010 case "$LIBEXT" in
10011 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10012 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'` ;;
10013 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10014 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10015 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10016 fi ;;
10017 esac
10019 rm -f core conftest.err conftest.$ac_objext \
10020 conftest$ac_exeext conftest.$ac_ext
10021 LIBS=$ac_check_soname_save_LIBS
10023 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10025 $as_echo "not found" >&6; }
10027 else
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10029 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10031 cat >>confdefs.h <<_ACEOF
10032 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10033 _ACEOF
10035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10037 #include <X11/Xlib.h>
10038 #include <X11/extensions/Xrandr.h>
10040 main ()
10042 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10044 return 0;
10046 _ACEOF
10047 if ac_fn_c_try_compile "$LINENO"; then :
10049 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10057 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10058 case "x$with_xrandr" in
10059 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10060 xno) ;;
10061 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10062 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10063 esac
10066 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10067 then
10068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10069 /* end confdefs.h. */
10070 #include <X11/Xlib.h>
10071 #include <X11/extensions/Xinerama.h>
10073 main ()
10075 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10077 return 0;
10079 _ACEOF
10080 if ac_fn_c_try_compile "$LINENO"; then :
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10082 $as_echo_n "checking for -lXinerama... " >&6; }
10083 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10084 $as_echo_n "(cached) " >&6
10085 else
10086 ac_check_soname_save_LIBS=$LIBS
10087 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10091 /* Override any GCC internal prototype to avoid an error.
10092 Use char because int might match the return type of a GCC
10093 builtin and then its argument prototype would still apply. */
10094 #ifdef __cplusplus
10095 extern "C"
10096 #endif
10097 char XineramaQueryScreens ();
10099 main ()
10101 return XineramaQueryScreens ();
10103 return 0;
10105 _ACEOF
10106 if ac_fn_c_try_link "$LINENO"; then :
10107 case "$LIBEXT" in
10108 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10109 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'` ;;
10110 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10111 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10112 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10113 fi ;;
10114 esac
10116 rm -f core conftest.err conftest.$ac_objext \
10117 conftest$ac_exeext conftest.$ac_ext
10118 LIBS=$ac_check_soname_save_LIBS
10120 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10122 $as_echo "not found" >&6; }
10124 else
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10126 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10128 cat >>confdefs.h <<_ACEOF
10129 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10130 _ACEOF
10135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10137 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10138 case "x$with_xinerama" in
10139 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10140 xno) ;;
10141 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10142 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10143 esac
10146 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10147 then
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10149 $as_echo_n "checking for -lXcomposite... " >&6; }
10150 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10151 $as_echo_n "(cached) " >&6
10152 else
10153 ac_check_soname_save_LIBS=$LIBS
10154 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10158 /* Override any GCC internal prototype to avoid an error.
10159 Use char because int might match the return type of a GCC
10160 builtin and then its argument prototype would still apply. */
10161 #ifdef __cplusplus
10162 extern "C"
10163 #endif
10164 char XCompositeRedirectWindow ();
10166 main ()
10168 return XCompositeRedirectWindow ();
10170 return 0;
10172 _ACEOF
10173 if ac_fn_c_try_link "$LINENO"; then :
10174 case "$LIBEXT" in
10175 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10176 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'` ;;
10177 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10178 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10179 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10180 fi ;;
10181 esac
10183 rm -f core conftest.err conftest.$ac_objext \
10184 conftest$ac_exeext conftest.$ac_ext
10185 LIBS=$ac_check_soname_save_LIBS
10187 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10189 $as_echo "not found" >&6; }
10191 else
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10193 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10195 cat >>confdefs.h <<_ACEOF
10196 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10197 _ACEOF
10202 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10203 case "x$with_xcomposite" in
10204 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10205 xno) ;;
10206 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10207 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10208 esac
10211 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10212 #include <X11/Xlib.h>
10213 #endif
10215 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10217 cat >>confdefs.h <<_ACEOF
10218 #define HAVE_XICCALLBACK_CALLBACK 1
10219 _ACEOF
10223 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10224 #include <X11/Xlib.h>
10225 #endif
10227 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10229 cat >>confdefs.h <<_ACEOF
10230 #define HAVE_XEVENT_XCOOKIE 1
10231 _ACEOF
10238 opengl_msg=""
10239 if test "x$with_opengl" != "xno"
10240 then
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10242 $as_echo_n "checking for -lGL... " >&6; }
10243 if ${ac_cv_lib_soname_GL+:} false; then :
10244 $as_echo_n "(cached) " >&6
10245 else
10246 ac_check_soname_save_LIBS=$LIBS
10247 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */
10251 /* Override any GCC internal prototype to avoid an error.
10252 Use char because int might match the return type of a GCC
10253 builtin and then its argument prototype would still apply. */
10254 #ifdef __cplusplus
10255 extern "C"
10256 #endif
10257 char glXCreateContext ();
10259 main ()
10261 return glXCreateContext ();
10263 return 0;
10265 _ACEOF
10266 if ac_fn_c_try_link "$LINENO"; then :
10267 case "$LIBEXT" in
10268 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10269 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'` ;;
10270 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10271 if ${ac_cv_lib_soname_GL:+false} :; then :
10272 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10273 fi ;;
10274 esac
10276 rm -f core conftest.err conftest.$ac_objext \
10277 conftest$ac_exeext conftest.$ac_ext
10278 LIBS=$ac_check_soname_save_LIBS
10280 if ${ac_cv_lib_soname_GL:+false} :; then :
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10282 $as_echo "not found" >&6; }
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10284 $as_echo_n "checking for -lGL... " >&6; }
10285 if ${ac_cv_lib_soname_GL+:} false; then :
10286 $as_echo_n "(cached) " >&6
10287 else
10288 ac_check_soname_save_LIBS=$LIBS
10289 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"
10290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */
10293 /* Override any GCC internal prototype to avoid an error.
10294 Use char because int might match the return type of a GCC
10295 builtin and then its argument prototype would still apply. */
10296 #ifdef __cplusplus
10297 extern "C"
10298 #endif
10299 char glXCreateContext ();
10301 main ()
10303 return glXCreateContext ();
10305 return 0;
10307 _ACEOF
10308 if ac_fn_c_try_link "$LINENO"; then :
10309 case "$LIBEXT" in
10310 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10311 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'` ;;
10312 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10313 if ${ac_cv_lib_soname_GL:+false} :; then :
10314 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10315 fi ;;
10316 esac
10318 rm -f core conftest.err conftest.$ac_objext \
10319 conftest$ac_exeext conftest.$ac_ext
10320 LIBS=$ac_check_soname_save_LIBS
10322 if ${ac_cv_lib_soname_GL:+false} :; then :
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10324 $as_echo "not found" >&6; }
10325 if test -f /usr/X11R6/lib/libGL.a
10326 then
10327 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10328 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10329 else
10330 opengl_msg="No OpenGL library found on this system."
10332 else
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10334 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10336 cat >>confdefs.h <<_ACEOF
10337 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10338 _ACEOF
10340 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"
10342 else
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10344 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10346 cat >>confdefs.h <<_ACEOF
10347 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10348 _ACEOF
10350 OPENGL_LIBS="-lGL"
10352 if test "x$with_glu" != "xno"
10353 then
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10355 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10356 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10357 $as_echo_n "(cached) " >&6
10358 else
10359 ac_check_lib_save_LIBS=$LIBS
10360 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10362 /* end confdefs.h. */
10364 /* Override any GCC internal prototype to avoid an error.
10365 Use char because int might match the return type of a GCC
10366 builtin and then its argument prototype would still apply. */
10367 #ifdef __cplusplus
10368 extern "C"
10369 #endif
10370 char gluLookAt ();
10372 main ()
10374 return gluLookAt ();
10376 return 0;
10378 _ACEOF
10379 if ac_fn_c_try_link "$LINENO"; then :
10380 ac_cv_lib_GLU_gluLookAt=yes
10381 else
10382 ac_cv_lib_GLU_gluLookAt=no
10384 rm -f core conftest.err conftest.$ac_objext \
10385 conftest$ac_exeext conftest.$ac_ext
10386 LIBS=$ac_check_lib_save_LIBS
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10389 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10390 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10394 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10395 case "x$with_glu" in
10396 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10397 xno) ;;
10398 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10399 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10400 esac
10404 if test "x$with_osmesa" != "xno"
10405 then
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10407 $as_echo_n "checking for -lOSMesa... " >&6; }
10408 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10409 $as_echo_n "(cached) " >&6
10410 else
10411 ac_check_soname_save_LIBS=$LIBS
10412 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10414 /* end confdefs.h. */
10416 /* Override any GCC internal prototype to avoid an error.
10417 Use char because int might match the return type of a GCC
10418 builtin and then its argument prototype would still apply. */
10419 #ifdef __cplusplus
10420 extern "C"
10421 #endif
10422 char glAccum ();
10424 main ()
10426 return glAccum ();
10428 return 0;
10430 _ACEOF
10431 if ac_fn_c_try_link "$LINENO"; then :
10432 case "$LIBEXT" in
10433 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10434 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'` ;;
10435 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10436 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10437 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10438 fi ;;
10439 esac
10441 rm -f core conftest.err conftest.$ac_objext \
10442 conftest$ac_exeext conftest.$ac_ext
10443 LIBS=$ac_check_soname_save_LIBS
10445 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10447 $as_echo "not found" >&6; }
10449 else
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10451 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10453 cat >>confdefs.h <<_ACEOF
10454 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10455 _ACEOF
10459 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10460 case "x$with_osmesa" in
10461 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10462 xno) ;;
10463 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10464 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10465 esac
10469 if test -n "$opengl_msg"; then :
10470 case "x$with_opengl" in
10471 x) as_fn_append wine_warnings "|$opengl_msg
10472 OpenGL and Direct3D won't be supported." ;;
10473 xno) ;;
10474 *) as_fn_error $? "$opengl_msg
10475 OpenGL and Direct3D won't be supported.
10476 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10477 esac
10480 CPPFLAGS="$ac_save_CPPFLAGS"
10481 else
10482 X_CFLAGS=""
10483 X_LIBS=""
10484 enable_winex11_drv=${enable_winex11_drv:-no}
10486 if test "x$X_LIBS" = "x"; then :
10487 case "x$with_x" in
10488 xno) ;;
10489 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10490 without X support, which probably isn't what you want. You will need
10491 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10492 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10493 esac
10496 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10498 if test "$ac_cv_header_CL_cl_h" = "yes"
10499 then
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10501 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10502 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10503 $as_echo_n "(cached) " >&6
10504 else
10505 ac_check_lib_save_LIBS=$LIBS
10506 LIBS="-lOpenCL $LIBS"
10507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10508 /* end confdefs.h. */
10510 /* Override any GCC internal prototype to avoid an error.
10511 Use char because int might match the return type of a GCC
10512 builtin and then its argument prototype would still apply. */
10513 #ifdef __cplusplus
10514 extern "C"
10515 #endif
10516 char clGetPlatformInfo ();
10518 main ()
10520 return clGetPlatformInfo ();
10522 return 0;
10524 _ACEOF
10525 if ac_fn_c_try_link "$LINENO"; then :
10526 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10527 else
10528 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10530 rm -f core conftest.err conftest.$ac_objext \
10531 conftest$ac_exeext conftest.$ac_ext
10532 LIBS=$ac_check_lib_save_LIBS
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10535 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10536 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10537 OPENCL_LIBS="-lOpenCL"
10542 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10543 case "x$with_opencl" in
10544 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10545 xno) ;;
10546 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10547 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10548 esac
10550 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10552 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10553 then
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10555 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10556 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10557 $as_echo_n "(cached) " >&6
10558 else
10559 ac_check_lib_save_LIBS=$LIBS
10560 LIBS="-lpcap $LIBS"
10561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10564 /* Override any GCC internal prototype to avoid an error.
10565 Use char because int might match the return type of a GCC
10566 builtin and then its argument prototype would still apply. */
10567 #ifdef __cplusplus
10568 extern "C"
10569 #endif
10570 char pcap_create ();
10572 main ()
10574 return pcap_create ();
10576 return 0;
10578 _ACEOF
10579 if ac_fn_c_try_link "$LINENO"; then :
10580 ac_cv_lib_pcap_pcap_create=yes
10581 else
10582 ac_cv_lib_pcap_pcap_create=no
10584 rm -f core conftest.err conftest.$ac_objext \
10585 conftest$ac_exeext conftest.$ac_ext
10586 LIBS=$ac_check_lib_save_LIBS
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10589 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10590 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10591 LIBPCAP="-lpcap"
10596 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10597 case "x$with_pcap" in
10598 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10599 xno) ;;
10600 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10601 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10602 esac
10604 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10607 if test "x$with_xml" != "xno"
10608 then
10609 if ${XML2_CFLAGS:+false} :; then :
10610 if ${PKG_CONFIG+:} false; then :
10611 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10614 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10615 if ${XML2_LIBS:+false} :; then :
10616 if ${PKG_CONFIG+:} false; then :
10617 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10620 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10621 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10622 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10623 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10624 ac_save_CPPFLAGS=$CPPFLAGS
10625 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10626 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10627 do :
10628 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10629 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10630 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10631 cat >>confdefs.h <<_ACEOF
10632 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10633 _ACEOF
10637 done
10639 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"
10640 then
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10642 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10643 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10644 $as_echo_n "(cached) " >&6
10645 else
10646 ac_check_lib_save_LIBS=$LIBS
10647 LIBS="-lxml2 $XML2_LIBS $LIBS"
10648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10649 /* end confdefs.h. */
10651 /* Override any GCC internal prototype to avoid an error.
10652 Use char because int might match the return type of a GCC
10653 builtin and then its argument prototype would still apply. */
10654 #ifdef __cplusplus
10655 extern "C"
10656 #endif
10657 char xmlParseMemory ();
10659 main ()
10661 return xmlParseMemory ();
10663 return 0;
10665 _ACEOF
10666 if ac_fn_c_try_link "$LINENO"; then :
10667 ac_cv_lib_xml2_xmlParseMemory=yes
10668 else
10669 ac_cv_lib_xml2_xmlParseMemory=no
10671 rm -f core conftest.err conftest.$ac_objext \
10672 conftest$ac_exeext conftest.$ac_ext
10673 LIBS=$ac_check_lib_save_LIBS
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10676 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10677 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10679 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10681 else
10682 XML2_LIBS=""
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10686 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10687 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10688 $as_echo_n "(cached) " >&6
10689 else
10690 ac_check_lib_save_LIBS=$LIBS
10691 LIBS="-lxml2 $XML2_LIBS $LIBS"
10692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10693 /* end confdefs.h. */
10695 /* Override any GCC internal prototype to avoid an error.
10696 Use char because int might match the return type of a GCC
10697 builtin and then its argument prototype would still apply. */
10698 #ifdef __cplusplus
10699 extern "C"
10700 #endif
10701 char xmlReadMemory ();
10703 main ()
10705 return xmlReadMemory ();
10707 return 0;
10709 _ACEOF
10710 if ac_fn_c_try_link "$LINENO"; then :
10711 ac_cv_lib_xml2_xmlReadMemory=yes
10712 else
10713 ac_cv_lib_xml2_xmlReadMemory=no
10715 rm -f core conftest.err conftest.$ac_objext \
10716 conftest$ac_exeext conftest.$ac_ext
10717 LIBS=$ac_check_lib_save_LIBS
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10720 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10721 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10723 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10728 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10729 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10730 $as_echo_n "(cached) " >&6
10731 else
10732 ac_check_lib_save_LIBS=$LIBS
10733 LIBS="-lxml2 $XML2_LIBS $LIBS"
10734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10735 /* end confdefs.h. */
10737 /* Override any GCC internal prototype to avoid an error.
10738 Use char because int might match the return type of a GCC
10739 builtin and then its argument prototype would still apply. */
10740 #ifdef __cplusplus
10741 extern "C"
10742 #endif
10743 char xmlNewDocPI ();
10745 main ()
10747 return xmlNewDocPI ();
10749 return 0;
10751 _ACEOF
10752 if ac_fn_c_try_link "$LINENO"; then :
10753 ac_cv_lib_xml2_xmlNewDocPI=yes
10754 else
10755 ac_cv_lib_xml2_xmlNewDocPI=no
10757 rm -f core conftest.err conftest.$ac_objext \
10758 conftest$ac_exeext conftest.$ac_ext
10759 LIBS=$ac_check_lib_save_LIBS
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10762 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10763 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10765 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10770 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10771 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10772 $as_echo_n "(cached) " >&6
10773 else
10774 ac_check_lib_save_LIBS=$LIBS
10775 LIBS="-lxml2 $XML2_LIBS $LIBS"
10776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10777 /* end confdefs.h. */
10779 /* Override any GCC internal prototype to avoid an error.
10780 Use char because int might match the return type of a GCC
10781 builtin and then its argument prototype would still apply. */
10782 #ifdef __cplusplus
10783 extern "C"
10784 #endif
10785 char xmlSchemaSetParserStructuredErrors ();
10787 main ()
10789 return xmlSchemaSetParserStructuredErrors ();
10791 return 0;
10793 _ACEOF
10794 if ac_fn_c_try_link "$LINENO"; then :
10795 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10796 else
10797 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10799 rm -f core conftest.err conftest.$ac_objext \
10800 conftest$ac_exeext conftest.$ac_ext
10801 LIBS=$ac_check_lib_save_LIBS
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10804 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10805 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10807 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10812 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10813 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10814 $as_echo_n "(cached) " >&6
10815 else
10816 ac_check_lib_save_LIBS=$LIBS
10817 LIBS="-lxml2 $XML2_LIBS $LIBS"
10818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10819 /* end confdefs.h. */
10821 /* Override any GCC internal prototype to avoid an error.
10822 Use char because int might match the return type of a GCC
10823 builtin and then its argument prototype would still apply. */
10824 #ifdef __cplusplus
10825 extern "C"
10826 #endif
10827 char xmlSchemaSetValidStructuredErrors ();
10829 main ()
10831 return xmlSchemaSetValidStructuredErrors ();
10833 return 0;
10835 _ACEOF
10836 if ac_fn_c_try_link "$LINENO"; then :
10837 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10838 else
10839 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10841 rm -f core conftest.err conftest.$ac_objext \
10842 conftest$ac_exeext conftest.$ac_ext
10843 LIBS=$ac_check_lib_save_LIBS
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10846 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10847 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10849 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10854 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10855 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10856 $as_echo_n "(cached) " >&6
10857 else
10858 ac_check_lib_save_LIBS=$LIBS
10859 LIBS="-lxml2 $XML2_LIBS $LIBS"
10860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10861 /* end confdefs.h. */
10863 /* Override any GCC internal prototype to avoid an error.
10864 Use char because int might match the return type of a GCC
10865 builtin and then its argument prototype would still apply. */
10866 #ifdef __cplusplus
10867 extern "C"
10868 #endif
10869 char xmlFirstElementChild ();
10871 main ()
10873 return xmlFirstElementChild ();
10875 return 0;
10877 _ACEOF
10878 if ac_fn_c_try_link "$LINENO"; then :
10879 ac_cv_lib_xml2_xmlFirstElementChild=yes
10880 else
10881 ac_cv_lib_xml2_xmlFirstElementChild=no
10883 rm -f core conftest.err conftest.$ac_objext \
10884 conftest$ac_exeext conftest.$ac_ext
10885 LIBS=$ac_check_lib_save_LIBS
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10888 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10889 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10891 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10895 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10897 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10899 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10903 else
10904 XML2_CFLAGS=""
10905 XML2_LIBS=""
10907 CPPFLAGS=$ac_save_CPPFLAGS
10908 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10909 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10912 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10913 case "x$with_xml" in
10914 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10915 xno) ;;
10916 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10917 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10918 esac
10921 if test "x$with_xslt" != "xno"
10922 then
10923 if ${XSLT_CFLAGS:+false} :; then :
10924 if ${PKG_CONFIG+:} false; then :
10925 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10928 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10929 if ${XSLT_LIBS:+false} :; then :
10930 if ${PKG_CONFIG+:} false; then :
10931 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10934 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10935 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10936 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10937 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10938 ac_save_CPPFLAGS=$CPPFLAGS
10939 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10940 for ac_header in libxslt/pattern.h libxslt/transform.h
10941 do :
10942 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10943 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10944 # include <libxslt/pattern.h>
10945 #endif
10947 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10948 cat >>confdefs.h <<_ACEOF
10949 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10950 _ACEOF
10954 done
10956 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10957 then
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10959 $as_echo_n "checking for -lxslt... " >&6; }
10960 if ${ac_cv_lib_soname_xslt+:} false; then :
10961 $as_echo_n "(cached) " >&6
10962 else
10963 ac_check_soname_save_LIBS=$LIBS
10964 LIBS="-lxslt $XSLT_LIBS $LIBS"
10965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10968 /* Override any GCC internal prototype to avoid an error.
10969 Use char because int might match the return type of a GCC
10970 builtin and then its argument prototype would still apply. */
10971 #ifdef __cplusplus
10972 extern "C"
10973 #endif
10974 char xsltCompilePattern ();
10976 main ()
10978 return xsltCompilePattern ();
10980 return 0;
10982 _ACEOF
10983 if ac_fn_c_try_link "$LINENO"; then :
10984 case "$LIBEXT" in
10985 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10986 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'` ;;
10987 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10988 if ${ac_cv_lib_soname_xslt:+false} :; then :
10989 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10990 fi ;;
10991 esac
10993 rm -f core conftest.err conftest.$ac_objext \
10994 conftest$ac_exeext conftest.$ac_ext
10995 LIBS=$ac_check_soname_save_LIBS
10997 if ${ac_cv_lib_soname_xslt:+false} :; then :
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10999 $as_echo "not found" >&6; }
11001 else
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11003 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11005 cat >>confdefs.h <<_ACEOF
11006 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11007 _ACEOF
11011 else
11012 XSLT_CFLAGS=""
11014 CPPFLAGS=$ac_save_CPPFLAGS
11015 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11016 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11019 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11020 case "x$with_xslt" in
11021 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11022 xno) ;;
11023 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11024 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11025 esac
11028 if test "x$with_dbus" != "xno"
11029 then
11030 if ${DBUS_CFLAGS:+false} :; then :
11031 if ${PKG_CONFIG+:} false; then :
11032 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11036 if ${DBUS_LIBS:+false} :; then :
11037 if ${PKG_CONFIG+:} false; then :
11038 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11043 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11044 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11045 ac_save_CPPFLAGS=$CPPFLAGS
11046 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11047 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11048 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11050 $as_echo_n "checking for -ldbus-1... " >&6; }
11051 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11052 $as_echo_n "(cached) " >&6
11053 else
11054 ac_check_soname_save_LIBS=$LIBS
11055 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h. */
11059 /* Override any GCC internal prototype to avoid an error.
11060 Use char because int might match the return type of a GCC
11061 builtin and then its argument prototype would still apply. */
11062 #ifdef __cplusplus
11063 extern "C"
11064 #endif
11065 char dbus_connection_close ();
11067 main ()
11069 return dbus_connection_close ();
11071 return 0;
11073 _ACEOF
11074 if ac_fn_c_try_link "$LINENO"; then :
11075 case "$LIBEXT" in
11076 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11077 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'` ;;
11078 *) 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'`
11079 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11080 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11081 fi ;;
11082 esac
11084 rm -f core conftest.err conftest.$ac_objext \
11085 conftest$ac_exeext conftest.$ac_ext
11086 LIBS=$ac_check_soname_save_LIBS
11088 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11090 $as_echo "not found" >&6; }
11091 DBUS_CFLAGS=""
11092 else
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11094 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11096 cat >>confdefs.h <<_ACEOF
11097 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11098 _ACEOF
11102 else
11103 DBUS_CFLAGS=""
11107 CPPFLAGS=$ac_save_CPPFLAGS
11108 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11109 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11112 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11113 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11114 case "x$with_dbus" in
11115 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11116 xno) ;;
11117 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11118 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11119 esac
11122 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11123 then
11124 if ${HAL_CFLAGS:+false} :; then :
11125 if ${PKG_CONFIG+:} false; then :
11126 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11130 if ${HAL_LIBS:+false} :; then :
11131 if ${PKG_CONFIG+:} false; then :
11132 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11136 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11137 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11138 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11139 ac_save_CPPFLAGS=$CPPFLAGS
11140 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11141 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11142 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11144 $as_echo_n "checking for -lhal... " >&6; }
11145 if ${ac_cv_lib_soname_hal+:} false; then :
11146 $as_echo_n "(cached) " >&6
11147 else
11148 ac_check_soname_save_LIBS=$LIBS
11149 LIBS="-lhal $HAL_LIBS $LIBS"
11150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11151 /* end confdefs.h. */
11153 /* Override any GCC internal prototype to avoid an error.
11154 Use char because int might match the return type of a GCC
11155 builtin and then its argument prototype would still apply. */
11156 #ifdef __cplusplus
11157 extern "C"
11158 #endif
11159 char libhal_ctx_new ();
11161 main ()
11163 return libhal_ctx_new ();
11165 return 0;
11167 _ACEOF
11168 if ac_fn_c_try_link "$LINENO"; then :
11169 case "$LIBEXT" in
11170 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11171 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'` ;;
11172 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11173 if ${ac_cv_lib_soname_hal:+false} :; then :
11174 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11175 fi ;;
11176 esac
11178 rm -f core conftest.err conftest.$ac_objext \
11179 conftest$ac_exeext conftest.$ac_ext
11180 LIBS=$ac_check_soname_save_LIBS
11182 if ${ac_cv_lib_soname_hal:+false} :; then :
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11184 $as_echo "not found" >&6; }
11185 HAL_CFLAGS=""
11186 else
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11188 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11190 cat >>confdefs.h <<_ACEOF
11191 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11192 _ACEOF
11196 else
11197 HAL_CFLAGS=""
11201 CPPFLAGS=$ac_save_CPPFLAGS
11202 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11203 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11205 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11206 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11207 case "x$with_hal" in
11208 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11209 xno) ;;
11210 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11211 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11212 esac
11216 if test "x$with_gnutls" != "xno"
11217 then
11218 if ${GNUTLS_CFLAGS:+false} :; then :
11219 if ${PKG_CONFIG+:} false; then :
11220 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11224 if ${GNUTLS_LIBS:+false} :; then :
11225 if ${PKG_CONFIG+:} false; then :
11226 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11231 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11232 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11233 ac_save_CPPFLAGS=$CPPFLAGS
11234 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11235 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11236 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11239 #include <gnutls/gnutls.h>
11240 #include <gnutls/crypto.h>
11242 main ()
11244 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11246 return 0;
11248 _ACEOF
11249 if ac_fn_c_try_compile "$LINENO"; then :
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11251 $as_echo_n "checking for -lgnutls... " >&6; }
11252 if ${ac_cv_lib_soname_gnutls+:} false; then :
11253 $as_echo_n "(cached) " >&6
11254 else
11255 ac_check_soname_save_LIBS=$LIBS
11256 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h. */
11260 /* Override any GCC internal prototype to avoid an error.
11261 Use char because int might match the return type of a GCC
11262 builtin and then its argument prototype would still apply. */
11263 #ifdef __cplusplus
11264 extern "C"
11265 #endif
11266 char gnutls_global_init ();
11268 main ()
11270 return gnutls_global_init ();
11272 return 0;
11274 _ACEOF
11275 if ac_fn_c_try_link "$LINENO"; then :
11276 case "$LIBEXT" in
11277 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11278 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'` ;;
11279 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11280 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11281 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11282 fi ;;
11283 esac
11285 rm -f core conftest.err conftest.$ac_objext \
11286 conftest$ac_exeext conftest.$ac_ext
11287 LIBS=$ac_check_soname_save_LIBS
11289 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11291 $as_echo "not found" >&6; }
11292 GNUTLS_CFLAGS=""
11293 else
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11295 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11297 cat >>confdefs.h <<_ACEOF
11298 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11299 _ACEOF
11304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11305 else
11306 GNUTLS_CFLAGS=""
11310 CPPFLAGS=$ac_save_CPPFLAGS
11311 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11312 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11315 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11316 case "x$with_gnutls" in
11317 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11318 xno) ;;
11319 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11320 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11321 esac
11324 CURSES_LIBS=""
11325 if test "$ac_cv_header_ncurses_h" = "yes"
11326 then
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11328 $as_echo_n "checking for -lncurses... " >&6; }
11329 if ${ac_cv_lib_soname_ncurses+:} false; then :
11330 $as_echo_n "(cached) " >&6
11331 else
11332 ac_check_soname_save_LIBS=$LIBS
11333 LIBS="-lncurses $LIBS"
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11337 /* Override any GCC internal prototype to avoid an error.
11338 Use char because int might match the return type of a GCC
11339 builtin and then its argument prototype would still apply. */
11340 #ifdef __cplusplus
11341 extern "C"
11342 #endif
11343 char waddch ();
11345 main ()
11347 return waddch ();
11349 return 0;
11351 _ACEOF
11352 if ac_fn_c_try_link "$LINENO"; then :
11353 case "$LIBEXT" in
11354 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11355 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11356 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11357 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11358 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11359 fi ;;
11360 esac
11362 rm -f core conftest.err conftest.$ac_objext \
11363 conftest$ac_exeext conftest.$ac_ext
11364 LIBS=$ac_check_soname_save_LIBS
11366 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11368 $as_echo "not found" >&6; }
11370 else
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11372 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11374 cat >>confdefs.h <<_ACEOF
11375 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11376 _ACEOF
11378 CURSES_LIBS="-lncurses"
11380 elif test "$ac_cv_header_curses_h" = "yes"
11381 then
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11383 $as_echo_n "checking for -lcurses... " >&6; }
11384 if ${ac_cv_lib_soname_curses+:} false; then :
11385 $as_echo_n "(cached) " >&6
11386 else
11387 ac_check_soname_save_LIBS=$LIBS
11388 LIBS="-lcurses $LIBS"
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11392 /* Override any GCC internal prototype to avoid an error.
11393 Use char because int might match the return type of a GCC
11394 builtin and then its argument prototype would still apply. */
11395 #ifdef __cplusplus
11396 extern "C"
11397 #endif
11398 char waddch ();
11400 main ()
11402 return waddch ();
11404 return 0;
11406 _ACEOF
11407 if ac_fn_c_try_link "$LINENO"; then :
11408 case "$LIBEXT" in
11409 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11410 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'` ;;
11411 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11412 if ${ac_cv_lib_soname_curses:+false} :; then :
11413 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11414 fi ;;
11415 esac
11417 rm -f core conftest.err conftest.$ac_objext \
11418 conftest$ac_exeext conftest.$ac_ext
11419 LIBS=$ac_check_soname_save_LIBS
11421 if ${ac_cv_lib_soname_curses:+false} :; then :
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11423 $as_echo "not found" >&6; }
11425 else
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11427 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11429 cat >>confdefs.h <<_ACEOF
11430 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11431 _ACEOF
11433 CURSES_LIBS="-lcurses"
11436 ac_save_LIBS="$LIBS"
11437 LIBS="$LIBS $CURSES_LIBS"
11438 for ac_func in mousemask
11439 do :
11440 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11441 if test "x$ac_cv_func_mousemask" = xyes; then :
11442 cat >>confdefs.h <<_ACEOF
11443 #define HAVE_MOUSEMASK 1
11444 _ACEOF
11447 done
11449 LIBS="$ac_save_LIBS"
11450 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11451 case "x$with_curses" in
11452 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11453 xno) ;;
11454 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11455 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11456 esac
11459 if test "x$with_sane" != "xno"
11460 then
11461 if ${SANE_CFLAGS:+false} :; then :
11462 if ${PKG_CONFIG+:} false; then :
11463 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11466 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11467 if ${SANE_LIBS:+false} :; then :
11468 if ${PKG_CONFIG+:} false; then :
11469 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11472 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11474 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11475 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11476 ac_save_CPPFLAGS=$CPPFLAGS
11477 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11478 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11479 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11481 $as_echo_n "checking for -lsane... " >&6; }
11482 if ${ac_cv_lib_soname_sane+:} false; then :
11483 $as_echo_n "(cached) " >&6
11484 else
11485 ac_check_soname_save_LIBS=$LIBS
11486 LIBS="-lsane $SANE_LIBS $LIBS"
11487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11488 /* end confdefs.h. */
11490 /* Override any GCC internal prototype to avoid an error.
11491 Use char because int might match the return type of a GCC
11492 builtin and then its argument prototype would still apply. */
11493 #ifdef __cplusplus
11494 extern "C"
11495 #endif
11496 char sane_init ();
11498 main ()
11500 return sane_init ();
11502 return 0;
11504 _ACEOF
11505 if ac_fn_c_try_link "$LINENO"; then :
11506 case "$LIBEXT" in
11507 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11508 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'` ;;
11509 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11510 if ${ac_cv_lib_soname_sane:+false} :; then :
11511 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11512 fi ;;
11513 esac
11515 rm -f core conftest.err conftest.$ac_objext \
11516 conftest$ac_exeext conftest.$ac_ext
11517 LIBS=$ac_check_soname_save_LIBS
11519 if ${ac_cv_lib_soname_sane:+false} :; then :
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11521 $as_echo "not found" >&6; }
11522 SANE_CFLAGS=""
11523 else
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11525 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11527 cat >>confdefs.h <<_ACEOF
11528 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11529 _ACEOF
11533 else
11534 SANE_CFLAGS=""
11538 CPPFLAGS=$ac_save_CPPFLAGS
11539 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11540 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11543 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11544 case "x$with_sane" in
11545 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11546 xno) ;;
11547 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11548 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11549 esac
11552 if test "x$with_v4l" != "xno"
11553 then
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11555 $as_echo_n "checking for -lv4l1... " >&6; }
11556 if ${ac_cv_lib_soname_v4l1+:} false; then :
11557 $as_echo_n "(cached) " >&6
11558 else
11559 ac_check_soname_save_LIBS=$LIBS
11560 LIBS="-lv4l1 $LIBS"
11561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11562 /* end confdefs.h. */
11564 /* Override any GCC internal prototype to avoid an error.
11565 Use char because int might match the return type of a GCC
11566 builtin and then its argument prototype would still apply. */
11567 #ifdef __cplusplus
11568 extern "C"
11569 #endif
11570 char v4l1_open ();
11572 main ()
11574 return v4l1_open ();
11576 return 0;
11578 _ACEOF
11579 if ac_fn_c_try_link "$LINENO"; then :
11580 case "$LIBEXT" in
11581 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11582 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'` ;;
11583 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11584 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11585 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11586 fi ;;
11587 esac
11589 rm -f core conftest.err conftest.$ac_objext \
11590 conftest$ac_exeext conftest.$ac_ext
11591 LIBS=$ac_check_soname_save_LIBS
11593 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11595 $as_echo "not found" >&6; }
11597 else
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11599 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11601 cat >>confdefs.h <<_ACEOF
11602 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11603 _ACEOF
11608 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11609 case "x$with_v4l" in
11610 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11611 xno) ;;
11612 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11613 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11614 esac
11617 if test "x$with_gphoto" != "xno"
11618 then
11619 if ${GPHOTO2_CFLAGS:+false} :; then :
11620 if ${PKG_CONFIG+:} false; then :
11621 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11624 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11625 if ${GPHOTO2_LIBS:+false} :; then :
11626 if ${PKG_CONFIG+:} false; then :
11627 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11630 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11631 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11632 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11633 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11634 ac_save_CPPFLAGS=$CPPFLAGS
11635 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11636 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11637 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11639 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11640 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11641 $as_echo_n "(cached) " >&6
11642 else
11643 ac_check_lib_save_LIBS=$LIBS
11644 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h. */
11648 /* Override any GCC internal prototype to avoid an error.
11649 Use char because int might match the return type of a GCC
11650 builtin and then its argument prototype would still apply. */
11651 #ifdef __cplusplus
11652 extern "C"
11653 #endif
11654 char gp_camera_new ();
11656 main ()
11658 return gp_camera_new ();
11660 return 0;
11662 _ACEOF
11663 if ac_fn_c_try_link "$LINENO"; then :
11664 ac_cv_lib_gphoto2_gp_camera_new=yes
11665 else
11666 ac_cv_lib_gphoto2_gp_camera_new=no
11668 rm -f core conftest.err conftest.$ac_objext \
11669 conftest$ac_exeext conftest.$ac_ext
11670 LIBS=$ac_check_lib_save_LIBS
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11673 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11674 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11676 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11678 else
11679 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11682 else
11683 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11687 CPPFLAGS=$ac_save_CPPFLAGS
11688 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11689 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11691 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11692 if ${PKG_CONFIG+:} false; then :
11693 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11696 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11697 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11698 if ${PKG_CONFIG+:} false; then :
11699 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11702 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11703 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11704 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11705 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11706 ac_save_CPPFLAGS=$CPPFLAGS
11707 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11708 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11709 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11711 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11712 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11713 $as_echo_n "(cached) " >&6
11714 else
11715 ac_check_lib_save_LIBS=$LIBS
11716 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11718 /* end confdefs.h. */
11720 /* Override any GCC internal prototype to avoid an error.
11721 Use char because int might match the return type of a GCC
11722 builtin and then its argument prototype would still apply. */
11723 #ifdef __cplusplus
11724 extern "C"
11725 #endif
11726 char gp_port_info_list_new ();
11728 main ()
11730 return gp_port_info_list_new ();
11732 return 0;
11734 _ACEOF
11735 if ac_fn_c_try_link "$LINENO"; then :
11736 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11737 else
11738 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11740 rm -f core conftest.err conftest.$ac_objext \
11741 conftest$ac_exeext conftest.$ac_ext
11742 LIBS=$ac_check_lib_save_LIBS
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11745 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11746 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11748 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11750 else
11751 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11754 else
11755 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11759 CPPFLAGS=$ac_save_CPPFLAGS
11760 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11761 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11764 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11765 case "x$with_gphoto" in
11766 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11767 xno) ;;
11768 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11769 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11770 esac
11772 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11773 case "x$with_gphoto" in
11774 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11775 xno) ;;
11776 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11777 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11778 esac
11782 if test "$ac_cv_header_resolv_h" = "yes"
11783 then
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11785 $as_echo_n "checking for resolver library... " >&6; }
11786 if ${ac_cv_have_resolv+:} false; then :
11787 $as_echo_n "(cached) " >&6
11788 else
11789 ac_save_LIBS="$LIBS"
11790 for lib in '' -lresolv
11792 LIBS="$lib $ac_save_LIBS"
11793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11795 #ifdef HAVE_NETINET_IN_H
11796 #include <netinet/in.h>
11797 #endif
11798 #include <resolv.h>
11800 main ()
11802 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11804 return 0;
11806 _ACEOF
11807 if ac_fn_c_try_link "$LINENO"; then :
11808 ac_cv_have_resolv=${lib:-"none required"}
11809 else
11810 ac_cv_have_resolv="not found"
11812 rm -f core conftest.err conftest.$ac_objext \
11813 conftest$ac_exeext conftest.$ac_ext
11814 test "x$ac_cv_have_resolv" = "xnot found" || break
11815 done
11816 LIBS="$ac_save_LIBS"
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11819 $as_echo "$ac_cv_have_resolv" >&6; }
11821 case "$ac_cv_have_resolv" in
11822 "not found") ;;
11823 "none required")
11825 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11828 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11830 RESOLV_LIBS=$ac_cv_have_resolv
11832 esac
11835 if test "x$with_lcms2" != "xno"
11836 then
11837 if ${LCMS2_CFLAGS:+false} :; then :
11838 if ${PKG_CONFIG+:} false; then :
11839 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11843 if ${LCMS2_LIBS:+false} :; then :
11844 if ${PKG_CONFIG+:} false; then :
11845 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11849 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11850 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11851 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11852 ac_save_CPPFLAGS=$CPPFLAGS
11853 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11854 for ac_header in lcms2.h
11855 do :
11856 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11857 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11858 cat >>confdefs.h <<_ACEOF
11859 #define HAVE_LCMS2_H 1
11860 _ACEOF
11864 done
11866 if test "$ac_cv_header_lcms2_h" = "yes"
11867 then
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11869 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11870 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11871 $as_echo_n "(cached) " >&6
11872 else
11873 ac_check_lib_save_LIBS=$LIBS
11874 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11878 /* Override any GCC internal prototype to avoid an error.
11879 Use char because int might match the return type of a GCC
11880 builtin and then its argument prototype would still apply. */
11881 #ifdef __cplusplus
11882 extern "C"
11883 #endif
11884 char cmsOpenProfileFromFile ();
11886 main ()
11888 return cmsOpenProfileFromFile ();
11890 return 0;
11892 _ACEOF
11893 if ac_fn_c_try_link "$LINENO"; then :
11894 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11895 else
11896 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11898 rm -f core conftest.err conftest.$ac_objext \
11899 conftest$ac_exeext conftest.$ac_ext
11900 LIBS=$ac_check_lib_save_LIBS
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11903 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11904 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11906 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11908 else
11909 LCMS2_LIBS=""
11912 else
11913 LCMS2_CFLAGS=""
11914 LCMS2_LIBS=""
11916 CPPFLAGS=$ac_save_CPPFLAGS
11917 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11918 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11921 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11922 case "x$with_cms" in
11923 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11924 xno) ;;
11925 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11926 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11927 esac
11930 if test "x$with_freetype" != "xno"
11931 then
11932 if ${FREETYPE_CFLAGS:+false} :; then :
11933 if ${PKG_CONFIG+:} false; then :
11934 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11937 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11938 if ${FREETYPE_LIBS:+false} :; then :
11939 if ${PKG_CONFIG+:} false; then :
11940 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11943 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11944 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11945 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11946 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11947 ac_save_CPPFLAGS=$CPPFLAGS
11948 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11949 for ac_header in ft2build.h
11950 do :
11951 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11952 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11953 cat >>confdefs.h <<_ACEOF
11954 #define HAVE_FT2BUILD_H 1
11955 _ACEOF
11959 done
11961 if test "$ac_cv_header_ft2build_h" = "yes"
11962 then
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11964 $as_echo_n "checking for -lfreetype... " >&6; }
11965 if ${ac_cv_lib_soname_freetype+:} false; then :
11966 $as_echo_n "(cached) " >&6
11967 else
11968 ac_check_soname_save_LIBS=$LIBS
11969 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11971 /* end confdefs.h. */
11973 /* Override any GCC internal prototype to avoid an error.
11974 Use char because int might match the return type of a GCC
11975 builtin and then its argument prototype would still apply. */
11976 #ifdef __cplusplus
11977 extern "C"
11978 #endif
11979 char FT_Init_FreeType ();
11981 main ()
11983 return FT_Init_FreeType ();
11985 return 0;
11987 _ACEOF
11988 if ac_fn_c_try_link "$LINENO"; then :
11989 case "$LIBEXT" in
11990 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11991 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'` ;;
11992 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11993 if ${ac_cv_lib_soname_freetype:+false} :; then :
11994 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11995 fi ;;
11996 esac
11998 rm -f core conftest.err conftest.$ac_objext \
11999 conftest$ac_exeext conftest.$ac_ext
12000 LIBS=$ac_check_soname_save_LIBS
12002 if ${ac_cv_lib_soname_freetype:+false} :; then :
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12004 $as_echo "not found" >&6; }
12005 FREETYPE_LIBS=""
12006 else
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12008 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12010 cat >>confdefs.h <<_ACEOF
12011 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12012 _ACEOF
12015 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12017 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12018 #include FT_MODULE_H
12020 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12022 cat >>confdefs.h <<_ACEOF
12023 #define HAVE_FT_TRUETYPEENGINETYPE 1
12024 _ACEOF
12030 else
12031 FREETYPE_CFLAGS=""
12032 FREETYPE_LIBS=""
12034 CPPFLAGS=$ac_save_CPPFLAGS
12035 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12036 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12039 if test "x$ac_cv_lib_soname_freetype" = x; then :
12040 case "x$with_freetype" in
12041 xno) ;;
12042 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12043 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12044 esac
12046 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12049 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12050 if ${ac_cv_c_ppdev+:} false; then :
12051 $as_echo_n "(cached) " >&6
12052 else
12053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12055 #ifdef HAVE_SYS_IOCTL_H
12056 # include <sys/ioctl.h>
12057 #endif
12058 #include <linux/ppdev.h>
12060 main ()
12062 ioctl (1,PPCLAIM,0)
12064 return 0;
12066 _ACEOF
12067 if ac_fn_c_try_compile "$LINENO"; then :
12068 ac_cv_c_ppdev="yes"
12069 else
12070 ac_cv_c_ppdev="no"
12072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12075 $as_echo "$ac_cv_c_ppdev" >&6; }
12076 if test "$ac_cv_c_ppdev" = "yes"
12077 then
12079 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12083 ac_wine_check_funcs_save_LIBS="$LIBS"
12084 LIBS="$LIBS $PTHREAD_LIBS"
12085 for ac_func in \
12086 pthread_attr_get_np \
12087 pthread_getattr_np \
12088 pthread_getthreadid_np \
12089 pthread_get_stackaddr_np \
12090 pthread_get_stacksize_np
12091 do :
12092 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12093 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12094 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12095 cat >>confdefs.h <<_ACEOF
12096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12097 _ACEOF
12100 done
12102 LIBS="$ac_wine_check_funcs_save_LIBS"
12104 if test "$ac_cv_header_zlib_h" = "yes"
12105 then
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12107 $as_echo_n "checking for inflate in -lz... " >&6; }
12108 if ${ac_cv_lib_z_inflate+:} false; then :
12109 $as_echo_n "(cached) " >&6
12110 else
12111 ac_check_lib_save_LIBS=$LIBS
12112 LIBS="-lz $LIBS"
12113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12114 /* end confdefs.h. */
12116 /* Override any GCC internal prototype to avoid an error.
12117 Use char because int might match the return type of a GCC
12118 builtin and then its argument prototype would still apply. */
12119 #ifdef __cplusplus
12120 extern "C"
12121 #endif
12122 char inflate ();
12124 main ()
12126 return inflate ();
12128 return 0;
12130 _ACEOF
12131 if ac_fn_c_try_link "$LINENO"; then :
12132 ac_cv_lib_z_inflate=yes
12133 else
12134 ac_cv_lib_z_inflate=no
12136 rm -f core conftest.err conftest.$ac_objext \
12137 conftest$ac_exeext conftest.$ac_ext
12138 LIBS=$ac_check_lib_save_LIBS
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12141 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12142 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12144 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12146 Z_LIBS="-lz"
12151 if test "x$Z_LIBS" = "x"; then :
12152 case "x$with_zlib" in
12153 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12154 xno) ;;
12155 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12156 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12157 esac
12160 if test "x$enable_tools" != xno
12161 then
12162 if test "$ac_cv_header_gettext_po_h" = "yes"
12163 then
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12165 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12166 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12167 $as_echo_n "(cached) " >&6
12168 else
12169 ac_check_lib_save_LIBS=$LIBS
12170 LIBS="-lgettextpo $LIBS"
12171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12172 /* end confdefs.h. */
12174 /* Override any GCC internal prototype to avoid an error.
12175 Use char because int might match the return type of a GCC
12176 builtin and then its argument prototype would still apply. */
12177 #ifdef __cplusplus
12178 extern "C"
12179 #endif
12180 char po_message_msgctxt ();
12182 main ()
12184 return po_message_msgctxt ();
12186 return 0;
12188 _ACEOF
12189 if ac_fn_c_try_link "$LINENO"; then :
12190 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12191 else
12192 ac_cv_lib_gettextpo_po_message_msgctxt=no
12194 rm -f core conftest.err conftest.$ac_objext \
12195 conftest$ac_exeext conftest.$ac_ext
12196 LIBS=$ac_check_lib_save_LIBS
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12199 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12200 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12202 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12204 GETTEXTPO_LIBS="-lgettextpo"
12209 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12210 case "x$with_gettextpo" in
12211 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12212 xno) ;;
12213 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12214 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12215 esac
12219 if test "x$with_gstreamer" != "xno"
12220 then
12221 if ${GSTREAMER_CFLAGS:+false} :; then :
12222 if ${PKG_CONFIG+:} false; then :
12223 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12227 if ${GSTREAMER_LIBS:+false} :; then :
12228 if ${PKG_CONFIG+:} false; then :
12229 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12234 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12235 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12236 ac_save_CPPFLAGS=$CPPFLAGS
12237 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12238 ac_gst_incl=""
12239 for i in $GSTREAMER_CFLAGS
12241 case "$i" in
12242 -I*) ac_gst_incl="$ac_gst_incl $i";;
12243 esac
12244 done
12245 GSTREAMER_CFLAGS=$ac_gst_incl
12246 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12247 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12248 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12249 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12250 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12252 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12254 /* end confdefs.h. */
12255 #include <gst/app/gstappsink.h>
12257 main ()
12259 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12261 return 0;
12263 _ACEOF
12264 if ac_fn_c_try_compile "$LINENO"; then :
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12266 $as_echo "yes" >&6; }
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12268 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12269 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12270 $as_echo_n "(cached) " >&6
12271 else
12272 ac_check_lib_save_LIBS=$LIBS
12273 LIBS="-lgstreamer-0.10 $LIBS"
12274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12275 /* end confdefs.h. */
12277 /* Override any GCC internal prototype to avoid an error.
12278 Use char because int might match the return type of a GCC
12279 builtin and then its argument prototype would still apply. */
12280 #ifdef __cplusplus
12281 extern "C"
12282 #endif
12283 char gst_pad_get_caps_reffed ();
12285 main ()
12287 return gst_pad_get_caps_reffed ();
12289 return 0;
12291 _ACEOF
12292 if ac_fn_c_try_link "$LINENO"; then :
12293 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12294 else
12295 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12297 rm -f core conftest.err conftest.$ac_objext \
12298 conftest$ac_exeext conftest.$ac_ext
12299 LIBS=$ac_check_lib_save_LIBS
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12302 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12303 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12305 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12306 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12307 $as_echo_n "(cached) " >&6
12308 else
12309 ac_check_lib_save_LIBS=$LIBS
12310 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12312 /* end confdefs.h. */
12314 /* Override any GCC internal prototype to avoid an error.
12315 Use char because int might match the return type of a GCC
12316 builtin and then its argument prototype would still apply. */
12317 #ifdef __cplusplus
12318 extern "C"
12319 #endif
12320 char gst_app_buffer_new ();
12322 main ()
12324 return gst_app_buffer_new ();
12326 return 0;
12328 _ACEOF
12329 if ac_fn_c_try_link "$LINENO"; then :
12330 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12331 else
12332 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12334 rm -f core conftest.err conftest.$ac_objext \
12335 conftest$ac_exeext conftest.$ac_ext
12336 LIBS=$ac_check_lib_save_LIBS
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12339 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12340 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12346 else
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12348 $as_echo "no" >&6; }
12350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12354 else
12355 GSTREAMER_CFLAGS=""
12359 CPPFLAGS=$ac_save_CPPFLAGS
12360 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12361 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12364 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12365 case "x$with_gstreamer" in
12366 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12367 xno) ;;
12368 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12369 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12370 esac
12372 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12374 ALSA_LIBS=""
12376 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12377 then
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12379 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12380 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12381 $as_echo_n "(cached) " >&6
12382 else
12383 ac_check_lib_save_LIBS=$LIBS
12384 LIBS="-lasound $LIBS"
12385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h. */
12388 /* Override any GCC internal prototype to avoid an error.
12389 Use char because int might match the return type of a GCC
12390 builtin and then its argument prototype would still apply. */
12391 #ifdef __cplusplus
12392 extern "C"
12393 #endif
12394 char snd_pcm_hw_params_get_access_mask ();
12396 main ()
12398 return snd_pcm_hw_params_get_access_mask ();
12400 return 0;
12402 _ACEOF
12403 if ac_fn_c_try_link "$LINENO"; then :
12404 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12405 else
12406 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12408 rm -f core conftest.err conftest.$ac_objext \
12409 conftest$ac_exeext conftest.$ac_ext
12410 LIBS=$ac_check_lib_save_LIBS
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12413 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12414 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12416 /* end confdefs.h. */
12417 #ifdef HAVE_ALSA_ASOUNDLIB_H
12418 #include <alsa/asoundlib.h>
12419 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12420 #include <sys/asoundlib.h>
12421 #endif
12423 main ()
12425 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12427 return 0;
12429 _ACEOF
12430 if ac_fn_c_try_compile "$LINENO"; then :
12431 ALSA_LIBS="-lasound"
12433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12438 if test "x$with_oss" != xno
12439 then
12440 ac_save_CPPFLAGS="$CPPFLAGS"
12441 if test -f /etc/oss.conf
12442 then
12443 . /etc/oss.conf
12445 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12446 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12447 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12448 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12449 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12451 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12453 cat >>confdefs.h <<_ACEOF
12454 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12455 _ACEOF
12457 OSS4_CFLAGS="$ac_oss_incl"
12464 CPPFLAGS="$ac_save_CPPFLAGS"
12465 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12466 then
12467 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12471 if test "x$with_capi" != "xno"
12472 then
12473 if ${CAPI20_CFLAGS:+false} :; then :
12474 if ${PKG_CONFIG+:} false; then :
12475 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12479 if ${CAPI20_LIBS:+false} :; then :
12480 if ${PKG_CONFIG+:} false; then :
12481 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12486 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12487 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12488 ac_save_CPPFLAGS=$CPPFLAGS
12489 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12490 for ac_header in capi20.h linux/capi.h
12491 do :
12492 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12493 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12495 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12496 cat >>confdefs.h <<_ACEOF
12497 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12498 _ACEOF
12502 done
12504 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12505 then
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12507 $as_echo_n "checking for -lcapi20... " >&6; }
12508 if ${ac_cv_lib_soname_capi20+:} false; then :
12509 $as_echo_n "(cached) " >&6
12510 else
12511 ac_check_soname_save_LIBS=$LIBS
12512 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12514 /* end confdefs.h. */
12516 /* Override any GCC internal prototype to avoid an error.
12517 Use char because int might match the return type of a GCC
12518 builtin and then its argument prototype would still apply. */
12519 #ifdef __cplusplus
12520 extern "C"
12521 #endif
12522 char capi20_register ();
12524 main ()
12526 return capi20_register ();
12528 return 0;
12530 _ACEOF
12531 if ac_fn_c_try_link "$LINENO"; then :
12532 case "$LIBEXT" in
12533 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12534 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'` ;;
12535 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12536 if ${ac_cv_lib_soname_capi20:+false} :; then :
12537 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12538 fi ;;
12539 esac
12541 rm -f core conftest.err conftest.$ac_objext \
12542 conftest$ac_exeext conftest.$ac_ext
12543 LIBS=$ac_check_soname_save_LIBS
12545 if ${ac_cv_lib_soname_capi20:+false} :; then :
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12547 $as_echo "not found" >&6; }
12549 else
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12551 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12553 cat >>confdefs.h <<_ACEOF
12554 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12555 _ACEOF
12560 CPPFLAGS=$ac_save_CPPFLAGS
12561 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12562 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12565 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12566 case "x$with_capi" in
12567 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12568 xno) ;;
12569 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12570 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12571 esac
12574 CUPS_CFLAGS=""
12576 if test "x$with_cups" != "xno"
12577 then
12578 ac_save_CPPFLAGS="$CPPFLAGS"
12579 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12580 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12581 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12582 for ac_header in cups/cups.h
12583 do :
12584 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12585 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12586 cat >>confdefs.h <<_ACEOF
12587 #define HAVE_CUPS_CUPS_H 1
12588 _ACEOF
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12590 $as_echo_n "checking for -lcups... " >&6; }
12591 if ${ac_cv_lib_soname_cups+:} false; then :
12592 $as_echo_n "(cached) " >&6
12593 else
12594 ac_check_soname_save_LIBS=$LIBS
12595 LIBS="-lcups $ac_cups_libs $LIBS"
12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12599 /* Override any GCC internal prototype to avoid an error.
12600 Use char because int might match the return type of a GCC
12601 builtin and then its argument prototype would still apply. */
12602 #ifdef __cplusplus
12603 extern "C"
12604 #endif
12605 char cupsGetDefault ();
12607 main ()
12609 return cupsGetDefault ();
12611 return 0;
12613 _ACEOF
12614 if ac_fn_c_try_link "$LINENO"; then :
12615 case "$LIBEXT" in
12616 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12617 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'` ;;
12618 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12619 if ${ac_cv_lib_soname_cups:+false} :; then :
12620 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12621 fi ;;
12622 esac
12624 rm -f core conftest.err conftest.$ac_objext \
12625 conftest$ac_exeext conftest.$ac_ext
12626 LIBS=$ac_check_soname_save_LIBS
12628 if ${ac_cv_lib_soname_cups:+false} :; then :
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12630 $as_echo "not found" >&6; }
12632 else
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12634 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12636 cat >>confdefs.h <<_ACEOF
12637 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12638 _ACEOF
12640 CUPS_CFLAGS="$ac_cups_cflags"
12644 done
12646 CPPFLAGS="$ac_save_CPPFLAGS"
12648 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12649 case "x$with_cups" in
12650 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12651 xno) ;;
12652 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12653 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12654 esac
12657 if test "x$with_fontconfig" != "xno"
12658 then
12659 if ${FONTCONFIG_CFLAGS:+false} :; then :
12660 if ${PKG_CONFIG+:} false; then :
12661 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12664 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12665 if ${FONTCONFIG_LIBS:+false} :; then :
12666 if ${PKG_CONFIG+:} false; then :
12667 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12670 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12672 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12673 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12674 ac_save_CPPFLAGS=$CPPFLAGS
12675 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12676 for ac_header in fontconfig/fontconfig.h
12677 do :
12678 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12679 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12680 cat >>confdefs.h <<_ACEOF
12681 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12682 _ACEOF
12686 done
12688 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12689 then
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12691 $as_echo_n "checking for -lfontconfig... " >&6; }
12692 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12693 $as_echo_n "(cached) " >&6
12694 else
12695 ac_check_soname_save_LIBS=$LIBS
12696 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12698 /* end confdefs.h. */
12700 /* Override any GCC internal prototype to avoid an error.
12701 Use char because int might match the return type of a GCC
12702 builtin and then its argument prototype would still apply. */
12703 #ifdef __cplusplus
12704 extern "C"
12705 #endif
12706 char FcInit ();
12708 main ()
12710 return FcInit ();
12712 return 0;
12714 _ACEOF
12715 if ac_fn_c_try_link "$LINENO"; then :
12716 case "$LIBEXT" in
12717 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12718 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'` ;;
12719 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12720 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12721 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12722 fi ;;
12723 esac
12725 rm -f core conftest.err conftest.$ac_objext \
12726 conftest$ac_exeext conftest.$ac_ext
12727 LIBS=$ac_check_soname_save_LIBS
12729 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12731 $as_echo "not found" >&6; }
12732 FONTCONFIG_CFLAGS=""
12733 else
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12735 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12737 cat >>confdefs.h <<_ACEOF
12738 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12739 _ACEOF
12743 else
12744 FONTCONFIG_CFLAGS=""
12746 CPPFLAGS=$ac_save_CPPFLAGS
12747 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12748 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12751 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12752 case "x$with_fontconfig" in
12753 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12754 xno) ;;
12755 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12756 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12757 esac
12760 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12761 then
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12763 $as_echo_n "checking for -lgsm... " >&6; }
12764 if ${ac_cv_lib_soname_gsm+:} false; then :
12765 $as_echo_n "(cached) " >&6
12766 else
12767 ac_check_soname_save_LIBS=$LIBS
12768 LIBS="-lgsm $LIBS"
12769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12770 /* end confdefs.h. */
12772 /* Override any GCC internal prototype to avoid an error.
12773 Use char because int might match the return type of a GCC
12774 builtin and then its argument prototype would still apply. */
12775 #ifdef __cplusplus
12776 extern "C"
12777 #endif
12778 char gsm_create ();
12780 main ()
12782 return gsm_create ();
12784 return 0;
12786 _ACEOF
12787 if ac_fn_c_try_link "$LINENO"; then :
12788 case "$LIBEXT" in
12789 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12790 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'` ;;
12791 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12792 if ${ac_cv_lib_soname_gsm:+false} :; then :
12793 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12794 fi ;;
12795 esac
12797 rm -f core conftest.err conftest.$ac_objext \
12798 conftest$ac_exeext conftest.$ac_ext
12799 LIBS=$ac_check_soname_save_LIBS
12801 if ${ac_cv_lib_soname_gsm:+false} :; then :
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12803 $as_echo "not found" >&6; }
12805 else
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12807 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12809 cat >>confdefs.h <<_ACEOF
12810 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12811 _ACEOF
12816 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12817 case "x$with_gsm" in
12818 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12819 xno) ;;
12820 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12821 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12822 esac
12825 if test "x$with_jpeg" != "xno"
12826 then
12827 if ${JPEG_CFLAGS:+false} :; then :
12828 if ${PKG_CONFIG+:} false; then :
12829 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12833 if ${JPEG_LIBS:+false} :; then :
12834 if ${PKG_CONFIG+:} false; then :
12835 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12840 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12841 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12842 ac_save_CPPFLAGS=$CPPFLAGS
12843 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12844 for ac_header in jpeglib.h
12845 do :
12846 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12847 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12848 cat >>confdefs.h <<_ACEOF
12849 #define HAVE_JPEGLIB_H 1
12850 _ACEOF
12854 done
12856 if test "$ac_cv_header_jpeglib_h" = "yes"
12857 then
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12859 $as_echo_n "checking for -ljpeg... " >&6; }
12860 if ${ac_cv_lib_soname_jpeg+:} false; then :
12861 $as_echo_n "(cached) " >&6
12862 else
12863 ac_check_soname_save_LIBS=$LIBS
12864 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12866 /* end confdefs.h. */
12868 /* Override any GCC internal prototype to avoid an error.
12869 Use char because int might match the return type of a GCC
12870 builtin and then its argument prototype would still apply. */
12871 #ifdef __cplusplus
12872 extern "C"
12873 #endif
12874 char jpeg_start_decompress ();
12876 main ()
12878 return jpeg_start_decompress ();
12880 return 0;
12882 _ACEOF
12883 if ac_fn_c_try_link "$LINENO"; then :
12884 case "$LIBEXT" in
12885 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12886 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'` ;;
12887 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12888 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12889 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12890 fi ;;
12891 esac
12893 rm -f core conftest.err conftest.$ac_objext \
12894 conftest$ac_exeext conftest.$ac_ext
12895 LIBS=$ac_check_soname_save_LIBS
12897 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12899 $as_echo "not found" >&6; }
12900 JPEG_CFLAGS=""
12901 else
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12903 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12905 cat >>confdefs.h <<_ACEOF
12906 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12907 _ACEOF
12911 else
12912 JPEG_CFLAGS=""
12914 CPPFLAGS=$ac_save_CPPFLAGS
12915 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12916 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12919 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12920 case "x$with_jpeg" in
12921 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12922 xno) ;;
12923 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12924 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12925 esac
12928 if test "x$with_png" != "xno"
12929 then
12930 if ${PNG_CFLAGS:+false} :; then :
12931 if ${PKG_CONFIG+:} false; then :
12932 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12935 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12936 if ${PNG_LIBS:+false} :; then :
12937 if ${PKG_CONFIG+:} false; then :
12938 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12941 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12943 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12944 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12945 ac_save_CPPFLAGS=$CPPFLAGS
12946 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12947 for ac_header in png.h
12948 do :
12949 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12950 if test "x$ac_cv_header_png_h" = xyes; then :
12951 cat >>confdefs.h <<_ACEOF
12952 #define HAVE_PNG_H 1
12953 _ACEOF
12957 done
12959 if test "$ac_cv_header_png_h" = "yes"
12960 then
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12962 $as_echo_n "checking for -lpng... " >&6; }
12963 if ${ac_cv_lib_soname_png+:} false; then :
12964 $as_echo_n "(cached) " >&6
12965 else
12966 ac_check_soname_save_LIBS=$LIBS
12967 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12969 /* end confdefs.h. */
12971 /* Override any GCC internal prototype to avoid an error.
12972 Use char because int might match the return type of a GCC
12973 builtin and then its argument prototype would still apply. */
12974 #ifdef __cplusplus
12975 extern "C"
12976 #endif
12977 char png_create_read_struct ();
12979 main ()
12981 return png_create_read_struct ();
12983 return 0;
12985 _ACEOF
12986 if ac_fn_c_try_link "$LINENO"; then :
12987 case "$LIBEXT" in
12988 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12989 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'` ;;
12990 *) 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'`
12991 if ${ac_cv_lib_soname_png:+false} :; then :
12992 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12993 fi ;;
12994 esac
12996 rm -f core conftest.err conftest.$ac_objext \
12997 conftest$ac_exeext conftest.$ac_ext
12998 LIBS=$ac_check_soname_save_LIBS
13000 if ${ac_cv_lib_soname_png:+false} :; then :
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13002 $as_echo "not found" >&6; }
13003 PNG_CFLAGS=""
13004 else
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13006 $as_echo "$ac_cv_lib_soname_png" >&6; }
13008 cat >>confdefs.h <<_ACEOF
13009 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13010 _ACEOF
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13014 #include <png.h>
13016 main ()
13018 typeof(png_set_expand_gray_1_2_4_to_8) *p
13020 return 0;
13022 _ACEOF
13023 if ac_fn_c_try_compile "$LINENO"; then :
13025 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13030 else
13031 PNG_CFLAGS=""
13033 CPPFLAGS=$ac_save_CPPFLAGS
13034 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13035 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13038 if test "x$ac_cv_lib_soname_png" = "x"; then :
13039 case "x$with_png" in
13040 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13041 xno) ;;
13042 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13043 This is an error since --with-png was requested." "$LINENO" 5 ;;
13044 esac
13047 if test "x$with_tiff" != "xno"
13048 then
13049 if ${TIFF_CFLAGS:+false} :; then :
13050 if ${PKG_CONFIG+:} false; then :
13051 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13055 if ${TIFF_LIBS:+false} :; then :
13056 if ${PKG_CONFIG+:} false; then :
13057 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13062 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13063 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13064 ac_save_CPPFLAGS=$CPPFLAGS
13065 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13066 for ac_header in tiffio.h
13067 do :
13068 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13069 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13070 cat >>confdefs.h <<_ACEOF
13071 #define HAVE_TIFFIO_H 1
13072 _ACEOF
13076 done
13078 if test "$ac_cv_header_tiffio_h" = "yes"
13079 then
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13081 $as_echo_n "checking for -ltiff... " >&6; }
13082 if ${ac_cv_lib_soname_tiff+:} false; then :
13083 $as_echo_n "(cached) " >&6
13084 else
13085 ac_check_soname_save_LIBS=$LIBS
13086 LIBS="-ltiff $TIFF_LIBS $LIBS"
13087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13088 /* end confdefs.h. */
13090 /* Override any GCC internal prototype to avoid an error.
13091 Use char because int might match the return type of a GCC
13092 builtin and then its argument prototype would still apply. */
13093 #ifdef __cplusplus
13094 extern "C"
13095 #endif
13096 char TIFFClientOpen ();
13098 main ()
13100 return TIFFClientOpen ();
13102 return 0;
13104 _ACEOF
13105 if ac_fn_c_try_link "$LINENO"; then :
13106 case "$LIBEXT" in
13107 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13108 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'` ;;
13109 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13110 if ${ac_cv_lib_soname_tiff:+false} :; then :
13111 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13112 fi ;;
13113 esac
13115 rm -f core conftest.err conftest.$ac_objext \
13116 conftest$ac_exeext conftest.$ac_ext
13117 LIBS=$ac_check_soname_save_LIBS
13119 if ${ac_cv_lib_soname_tiff:+false} :; then :
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13121 $as_echo "not found" >&6; }
13123 else
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13125 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13127 cat >>confdefs.h <<_ACEOF
13128 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13129 _ACEOF
13134 CPPFLAGS=$ac_save_CPPFLAGS
13135 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13136 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13139 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13140 case "x$with_tiff" in
13141 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13142 xno) ;;
13143 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13144 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13145 esac
13148 if test "x$with_mpg123" != "xno"
13149 then
13150 if ${MPG123_CFLAGS:+false} :; then :
13151 if ${PKG_CONFIG+:} false; then :
13152 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13156 if ${MPG123_LIBS:+false} :; then :
13157 if ${PKG_CONFIG+:} false; then :
13158 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13162 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13163 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13164 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13165 ac_save_CPPFLAGS=$CPPFLAGS
13166 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13167 for ac_header in mpg123.h
13168 do :
13169 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13170 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13171 cat >>confdefs.h <<_ACEOF
13172 #define HAVE_MPG123_H 1
13173 _ACEOF
13177 done
13179 if test "$ac_cv_header_mpg123_h" = "yes"
13180 then
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13182 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13183 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13184 $as_echo_n "(cached) " >&6
13185 else
13186 ac_check_lib_save_LIBS=$LIBS
13187 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13189 /* end confdefs.h. */
13191 /* Override any GCC internal prototype to avoid an error.
13192 Use char because int might match the return type of a GCC
13193 builtin and then its argument prototype would still apply. */
13194 #ifdef __cplusplus
13195 extern "C"
13196 #endif
13197 char mpg123_feed ();
13199 main ()
13201 return mpg123_feed ();
13203 return 0;
13205 _ACEOF
13206 if ac_fn_c_try_link "$LINENO"; then :
13207 ac_cv_lib_mpg123_mpg123_feed=yes
13208 else
13209 ac_cv_lib_mpg123_mpg123_feed=no
13211 rm -f core conftest.err conftest.$ac_objext \
13212 conftest$ac_exeext conftest.$ac_ext
13213 LIBS=$ac_check_lib_save_LIBS
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13216 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13217 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13219 else
13220 MPG123_LIBS=""
13223 else
13224 MPG123_CFLAGS=""
13225 MPG123_LIBS=""
13227 CPPFLAGS=$ac_save_CPPFLAGS
13228 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13229 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13232 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13233 case "x$with_mpg123" in
13234 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13235 xno) ;;
13236 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13237 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13238 esac
13240 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}
13242 if test "$ac_cv_header_AL_al_h" = "yes"
13243 then
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13245 $as_echo_n "checking for -lopenal... " >&6; }
13246 if ${ac_cv_lib_soname_openal+:} false; then :
13247 $as_echo_n "(cached) " >&6
13248 else
13249 ac_check_soname_save_LIBS=$LIBS
13250 LIBS="-lopenal $LIBS"
13251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h. */
13254 /* Override any GCC internal prototype to avoid an error.
13255 Use char because int might match the return type of a GCC
13256 builtin and then its argument prototype would still apply. */
13257 #ifdef __cplusplus
13258 extern "C"
13259 #endif
13260 char alGetSource3i ();
13262 main ()
13264 return alGetSource3i ();
13266 return 0;
13268 _ACEOF
13269 if ac_fn_c_try_link "$LINENO"; then :
13270 case "$LIBEXT" in
13271 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13272 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'` ;;
13273 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13274 if ${ac_cv_lib_soname_openal:+false} :; then :
13275 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13276 fi ;;
13277 esac
13279 rm -f core conftest.err conftest.$ac_objext \
13280 conftest$ac_exeext conftest.$ac_ext
13281 LIBS=$ac_check_soname_save_LIBS
13283 if ${ac_cv_lib_soname_openal:+false} :; then :
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13285 $as_echo "not found" >&6; }
13287 else
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13289 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13291 cat >>confdefs.h <<_ACEOF
13292 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13293 _ACEOF
13295 OPENAL_LIBS="-lopenal"
13297 ac_cv_lib_openal=yes
13299 cat >>confdefs.h <<_ACEOF
13300 #define HAVE_OPENAL 1
13301 _ACEOF
13305 if test "x$ac_cv_lib_openal" != xyes; then :
13306 case "x$with_openal" in
13307 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13308 xno) ;;
13309 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13310 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13311 esac
13313 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13315 if test "$ac_cv_header_kstat_h" = "yes"
13316 then
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13318 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13319 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13320 $as_echo_n "(cached) " >&6
13321 else
13322 ac_check_lib_save_LIBS=$LIBS
13323 LIBS="-lkstat $LIBS"
13324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13325 /* end confdefs.h. */
13327 /* Override any GCC internal prototype to avoid an error.
13328 Use char because int might match the return type of a GCC
13329 builtin and then its argument prototype would still apply. */
13330 #ifdef __cplusplus
13331 extern "C"
13332 #endif
13333 char kstat_open ();
13335 main ()
13337 return kstat_open ();
13339 return 0;
13341 _ACEOF
13342 if ac_fn_c_try_link "$LINENO"; then :
13343 ac_cv_lib_kstat_kstat_open=yes
13344 else
13345 ac_cv_lib_kstat_kstat_open=no
13347 rm -f core conftest.err conftest.$ac_objext \
13348 conftest$ac_exeext conftest.$ac_ext
13349 LIBS=$ac_check_lib_save_LIBS
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13352 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13353 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13355 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13357 KSTAT_LIBS="-lkstat"
13363 if test "$ac_cv_header_libprocstat_h" = "yes"
13364 then
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13366 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13367 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13368 $as_echo_n "(cached) " >&6
13369 else
13370 ac_check_lib_save_LIBS=$LIBS
13371 LIBS="-lprocstat $LIBS"
13372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13373 /* end confdefs.h. */
13375 /* Override any GCC internal prototype to avoid an error.
13376 Use char because int might match the return type of a GCC
13377 builtin and then its argument prototype would still apply. */
13378 #ifdef __cplusplus
13379 extern "C"
13380 #endif
13381 char procstat_open_sysctl ();
13383 main ()
13385 return procstat_open_sysctl ();
13387 return 0;
13389 _ACEOF
13390 if ac_fn_c_try_link "$LINENO"; then :
13391 ac_cv_lib_procstat_procstat_open_sysctl=yes
13392 else
13393 ac_cv_lib_procstat_procstat_open_sysctl=no
13395 rm -f core conftest.err conftest.$ac_objext \
13396 conftest$ac_exeext conftest.$ac_ext
13397 LIBS=$ac_check_lib_save_LIBS
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13400 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13401 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13403 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13405 PROCSTAT_LIBS="-lprocstat"
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13412 $as_echo_n "checking for -lodbc... " >&6; }
13413 if ${ac_cv_lib_soname_odbc+:} false; then :
13414 $as_echo_n "(cached) " >&6
13415 else
13416 ac_check_soname_save_LIBS=$LIBS
13417 LIBS="-lodbc $LIBS"
13418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13419 /* end confdefs.h. */
13421 /* Override any GCC internal prototype to avoid an error.
13422 Use char because int might match the return type of a GCC
13423 builtin and then its argument prototype would still apply. */
13424 #ifdef __cplusplus
13425 extern "C"
13426 #endif
13427 char SQLConnect ();
13429 main ()
13431 return SQLConnect ();
13433 return 0;
13435 _ACEOF
13436 if ac_fn_c_try_link "$LINENO"; then :
13437 case "$LIBEXT" in
13438 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13439 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'` ;;
13440 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13441 if ${ac_cv_lib_soname_odbc:+false} :; then :
13442 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13443 fi ;;
13444 esac
13446 rm -f core conftest.err conftest.$ac_objext \
13447 conftest$ac_exeext conftest.$ac_ext
13448 LIBS=$ac_check_soname_save_LIBS
13450 if ${ac_cv_lib_soname_odbc:+false} :; then :
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13452 $as_echo "not found" >&6; }
13453 cat >>confdefs.h <<_ACEOF
13454 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13455 _ACEOF
13457 else
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13459 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13461 cat >>confdefs.h <<_ACEOF
13462 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13463 _ACEOF
13468 if test "x$with_netapi" != "xno"
13469 then
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13471 $as_echo_n "checking for -lnetapi... " >&6; }
13472 if ${ac_cv_lib_soname_netapi+:} false; then :
13473 $as_echo_n "(cached) " >&6
13474 else
13475 ac_check_soname_save_LIBS=$LIBS
13476 LIBS="-lnetapi $LIBS"
13477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13478 /* end confdefs.h. */
13480 /* Override any GCC internal prototype to avoid an error.
13481 Use char because int might match the return type of a GCC
13482 builtin and then its argument prototype would still apply. */
13483 #ifdef __cplusplus
13484 extern "C"
13485 #endif
13486 char libnetapi_init ();
13488 main ()
13490 return libnetapi_init ();
13492 return 0;
13494 _ACEOF
13495 if ac_fn_c_try_link "$LINENO"; then :
13496 case "$LIBEXT" in
13497 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13498 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'` ;;
13499 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13500 if ${ac_cv_lib_soname_netapi:+false} :; then :
13501 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13502 fi ;;
13503 esac
13505 rm -f core conftest.err conftest.$ac_objext \
13506 conftest$ac_exeext conftest.$ac_ext
13507 LIBS=$ac_check_soname_save_LIBS
13509 if ${ac_cv_lib_soname_netapi:+false} :; then :
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13511 $as_echo "not found" >&6; }
13512 cat >>confdefs.h <<_ACEOF
13513 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13514 _ACEOF
13516 else
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13518 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13520 cat >>confdefs.h <<_ACEOF
13521 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13522 _ACEOF
13528 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13529 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13530 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13531 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13533 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13534 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13535 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13536 then
13537 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13541 EXTRACFLAGS=""
13543 if test "x${GCC}" = "xyes"
13544 then
13545 EXTRACFLAGS="-Wall -pipe"
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13548 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13549 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13550 $as_echo_n "(cached) " >&6
13551 else
13552 if test "$cross_compiling" = yes; then :
13553 ac_cv_c_gcc_strength_bug="yes"
13554 else
13555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13556 /* end confdefs.h. */
13557 int L[4] = {0,1,2,3};
13559 main ()
13561 static int Array[3];
13562 unsigned int B = 3;
13563 int i;
13564 for(i=0; i<B; i++) Array[i] = i - 3;
13565 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13566 L[i] = 4;
13567 return (Array[1] != -2 || L[2] != 3)
13569 return 0;
13571 _ACEOF
13572 if ac_fn_c_try_run "$LINENO"; then :
13573 ac_cv_c_gcc_strength_bug="no"
13574 else
13575 ac_cv_c_gcc_strength_bug="yes"
13577 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13578 conftest.$ac_objext conftest.beam conftest.$ac_ext
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13583 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13584 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13585 then
13586 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13590 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13591 if ${ac_cv_cflags__fno_builtin+:} false; then :
13592 $as_echo_n "(cached) " >&6
13593 else
13594 ac_wine_try_cflags_saved=$CFLAGS
13595 CFLAGS="$CFLAGS -fno-builtin"
13596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13597 /* end confdefs.h. */
13598 int main(int argc, char **argv) { return 0; }
13599 _ACEOF
13600 if ac_fn_c_try_link "$LINENO"; then :
13601 ac_cv_cflags__fno_builtin=yes
13602 else
13603 ac_cv_cflags__fno_builtin=no
13605 rm -f core conftest.err conftest.$ac_objext \
13606 conftest$ac_exeext conftest.$ac_ext
13607 CFLAGS=$ac_wine_try_cflags_saved
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13610 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13611 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13612 BUILTINFLAG="-fno-builtin"
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13616 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13617 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13618 $as_echo_n "(cached) " >&6
13619 else
13620 ac_wine_try_cflags_saved=$CFLAGS
13621 CFLAGS="$CFLAGS -fno-strict-aliasing"
13622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13623 /* end confdefs.h. */
13624 int main(int argc, char **argv) { return 0; }
13625 _ACEOF
13626 if ac_fn_c_try_link "$LINENO"; then :
13627 ac_cv_cflags__fno_strict_aliasing=yes
13628 else
13629 ac_cv_cflags__fno_strict_aliasing=no
13631 rm -f core conftest.err conftest.$ac_objext \
13632 conftest$ac_exeext conftest.$ac_ext
13633 CFLAGS=$ac_wine_try_cflags_saved
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13636 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13637 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13638 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13640 saved_CFLAGS=$CFLAGS
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13642 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13643 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13644 $as_echo_n "(cached) " >&6
13645 else
13646 ac_wine_try_cflags_saved=$CFLAGS
13647 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13649 /* end confdefs.h. */
13650 int main(int argc, char **argv) { return 0; }
13651 _ACEOF
13652 if ac_fn_c_try_link "$LINENO"; then :
13653 ac_cv_cflags__Werror_unknown_warning_option=yes
13654 else
13655 ac_cv_cflags__Werror_unknown_warning_option=no
13657 rm -f core conftest.err conftest.$ac_objext \
13658 conftest$ac_exeext conftest.$ac_ext
13659 CFLAGS=$ac_wine_try_cflags_saved
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13662 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13663 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13664 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13667 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13668 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13669 $as_echo_n "(cached) " >&6
13670 else
13671 ac_wine_try_cflags_saved=$CFLAGS
13672 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13675 int main(int argc, char **argv) { return 0; }
13676 _ACEOF
13677 if ac_fn_c_try_link "$LINENO"; then :
13678 ac_cv_cflags__Wdeclaration_after_statement=yes
13679 else
13680 ac_cv_cflags__Wdeclaration_after_statement=no
13682 rm -f core conftest.err conftest.$ac_objext \
13683 conftest$ac_exeext conftest.$ac_ext
13684 CFLAGS=$ac_wine_try_cflags_saved
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13687 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13688 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13689 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13692 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13693 if ${ac_cv_cflags__Wempty_body+:} false; then :
13694 $as_echo_n "(cached) " >&6
13695 else
13696 ac_wine_try_cflags_saved=$CFLAGS
13697 CFLAGS="$CFLAGS -Wempty-body"
13698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13699 /* end confdefs.h. */
13700 int main(int argc, char **argv) { return 0; }
13701 _ACEOF
13702 if ac_fn_c_try_link "$LINENO"; then :
13703 ac_cv_cflags__Wempty_body=yes
13704 else
13705 ac_cv_cflags__Wempty_body=no
13707 rm -f core conftest.err conftest.$ac_objext \
13708 conftest$ac_exeext conftest.$ac_ext
13709 CFLAGS=$ac_wine_try_cflags_saved
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13712 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13713 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13714 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13717 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13718 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13719 $as_echo_n "(cached) " >&6
13720 else
13721 ac_wine_try_cflags_saved=$CFLAGS
13722 CFLAGS="$CFLAGS -Wignored-qualifiers"
13723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13724 /* end confdefs.h. */
13725 int main(int argc, char **argv) { return 0; }
13726 _ACEOF
13727 if ac_fn_c_try_link "$LINENO"; then :
13728 ac_cv_cflags__Wignored_qualifiers=yes
13729 else
13730 ac_cv_cflags__Wignored_qualifiers=no
13732 rm -f core conftest.err conftest.$ac_objext \
13733 conftest$ac_exeext conftest.$ac_ext
13734 CFLAGS=$ac_wine_try_cflags_saved
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13737 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13738 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13739 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13742 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13743 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13744 $as_echo_n "(cached) " >&6
13745 else
13746 ac_wine_try_cflags_saved=$CFLAGS
13747 CFLAGS="$CFLAGS -Wstrict-prototypes"
13748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13750 int main(int argc, char **argv) { return 0; }
13751 _ACEOF
13752 if ac_fn_c_try_link "$LINENO"; then :
13753 ac_cv_cflags__Wstrict_prototypes=yes
13754 else
13755 ac_cv_cflags__Wstrict_prototypes=no
13757 rm -f core conftest.err conftest.$ac_objext \
13758 conftest$ac_exeext conftest.$ac_ext
13759 CFLAGS=$ac_wine_try_cflags_saved
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13762 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13763 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13764 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13767 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13768 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13769 $as_echo_n "(cached) " >&6
13770 else
13771 ac_wine_try_cflags_saved=$CFLAGS
13772 CFLAGS="$CFLAGS -Wtype-limits"
13773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13774 /* end confdefs.h. */
13775 int main(int argc, char **argv) { return 0; }
13776 _ACEOF
13777 if ac_fn_c_try_link "$LINENO"; then :
13778 ac_cv_cflags__Wtype_limits=yes
13779 else
13780 ac_cv_cflags__Wtype_limits=no
13782 rm -f core conftest.err conftest.$ac_objext \
13783 conftest$ac_exeext conftest.$ac_ext
13784 CFLAGS=$ac_wine_try_cflags_saved
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13787 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13788 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13789 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13792 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13793 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13794 $as_echo_n "(cached) " >&6
13795 else
13796 ac_wine_try_cflags_saved=$CFLAGS
13797 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13799 /* end confdefs.h. */
13800 int main(int argc, char **argv) { return 0; }
13801 _ACEOF
13802 if ac_fn_c_try_link "$LINENO"; then :
13803 ac_cv_cflags__Wunused_but_set_parameter=yes
13804 else
13805 ac_cv_cflags__Wunused_but_set_parameter=no
13807 rm -f core conftest.err conftest.$ac_objext \
13808 conftest$ac_exeext conftest.$ac_ext
13809 CFLAGS=$ac_wine_try_cflags_saved
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13812 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13813 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13814 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13817 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13818 if ${ac_cv_cflags__Wvla+:} false; then :
13819 $as_echo_n "(cached) " >&6
13820 else
13821 ac_wine_try_cflags_saved=$CFLAGS
13822 CFLAGS="$CFLAGS -Wvla"
13823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13825 int main(int argc, char **argv) { return 0; }
13826 _ACEOF
13827 if ac_fn_c_try_link "$LINENO"; then :
13828 ac_cv_cflags__Wvla=yes
13829 else
13830 ac_cv_cflags__Wvla=no
13832 rm -f core conftest.err conftest.$ac_objext \
13833 conftest$ac_exeext conftest.$ac_ext
13834 CFLAGS=$ac_wine_try_cflags_saved
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13837 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13838 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13839 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13842 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13843 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13844 $as_echo_n "(cached) " >&6
13845 else
13846 ac_wine_try_cflags_saved=$CFLAGS
13847 CFLAGS="$CFLAGS -Wwrite-strings"
13848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13849 /* end confdefs.h. */
13850 int main(int argc, char **argv) { return 0; }
13851 _ACEOF
13852 if ac_fn_c_try_link "$LINENO"; then :
13853 ac_cv_cflags__Wwrite_strings=yes
13854 else
13855 ac_cv_cflags__Wwrite_strings=no
13857 rm -f core conftest.err conftest.$ac_objext \
13858 conftest$ac_exeext conftest.$ac_ext
13859 CFLAGS=$ac_wine_try_cflags_saved
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13862 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13863 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13864 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13868 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13869 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13870 $as_echo_n "(cached) " >&6
13871 else
13872 ac_wine_try_cflags_saved=$CFLAGS
13873 CFLAGS="$CFLAGS -Wpointer-arith"
13874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13876 int main(int argc, char **argv) { return 0; }
13877 _ACEOF
13878 if ac_fn_c_try_link "$LINENO"; then :
13879 ac_cv_cflags__Wpointer_arith=yes
13880 else
13881 ac_cv_cflags__Wpointer_arith=no
13883 rm -f core conftest.err conftest.$ac_objext \
13884 conftest$ac_exeext conftest.$ac_ext
13885 CFLAGS=$ac_wine_try_cflags_saved
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13888 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13889 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13890 saved_string_h_CFLAGS=$CFLAGS
13891 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13893 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13894 if ${ac_cv_c_string_h_warnings+:} false; then :
13895 $as_echo_n "(cached) " >&6
13896 else
13897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13899 #include <string.h>
13901 main ()
13905 return 0;
13907 _ACEOF
13908 if ac_fn_c_try_compile "$LINENO"; then :
13909 ac_cv_c_string_h_warnings=no
13910 else
13911 ac_cv_c_string_h_warnings=yes
13913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13916 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13917 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13918 CFLAGS=$saved_string_h_CFLAGS
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13922 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13923 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13924 $as_echo_n "(cached) " >&6
13925 else
13926 ac_wine_try_cflags_saved=$CFLAGS
13927 CFLAGS="$CFLAGS -Wlogical-op"
13928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13929 /* end confdefs.h. */
13930 int main(int argc, char **argv) { return 0; }
13931 _ACEOF
13932 if ac_fn_c_try_link "$LINENO"; then :
13933 ac_cv_cflags__Wlogical_op=yes
13934 else
13935 ac_cv_cflags__Wlogical_op=no
13937 rm -f core conftest.err conftest.$ac_objext \
13938 conftest$ac_exeext conftest.$ac_ext
13939 CFLAGS=$ac_wine_try_cflags_saved
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13942 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13943 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13944 saved_string_h_CFLAGS=$CFLAGS
13945 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13947 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13948 if ${ac_cv_c_logicalop_noisy+:} false; then :
13949 $as_echo_n "(cached) " >&6
13950 else
13951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13953 #include <string.h>
13954 char*f(const char *h,char n) {return strchr(h,n);}
13956 main ()
13960 return 0;
13962 _ACEOF
13963 if ac_fn_c_try_compile "$LINENO"; then :
13964 ac_cv_c_logicalop_noisy=no
13965 else
13966 ac_cv_c_logicalop_noisy=yes
13968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13971 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13972 CFLAGS=$saved_string_h_CFLAGS
13973 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13976 CFLAGS=$saved_CFLAGS
13978 for ac_flag in $CFLAGS; do
13979 case $ac_flag in
13980 -g) case $host_os in
13981 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13982 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13983 if ${ac_cv_cflags__gstabsp+:} false; then :
13984 $as_echo_n "(cached) " >&6
13985 else
13986 ac_wine_try_cflags_saved=$CFLAGS
13987 CFLAGS="$CFLAGS -gstabs+"
13988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13989 /* end confdefs.h. */
13990 int main(int argc, char **argv) { return 0; }
13991 _ACEOF
13992 if ac_fn_c_try_link "$LINENO"; then :
13993 ac_cv_cflags__gstabsp=yes
13994 else
13995 ac_cv_cflags__gstabsp=no
13997 rm -f core conftest.err conftest.$ac_objext \
13998 conftest$ac_exeext conftest.$ac_ext
13999 CFLAGS=$ac_wine_try_cflags_saved
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14002 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14003 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14004 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14005 fi ;;
14006 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14007 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14008 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14009 $as_echo_n "(cached) " >&6
14010 else
14011 ac_wine_try_cflags_saved=$CFLAGS
14012 CFLAGS="$CFLAGS -gdwarf-2"
14013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14014 /* end confdefs.h. */
14015 int main(int argc, char **argv) { return 0; }
14016 _ACEOF
14017 if ac_fn_c_try_link "$LINENO"; then :
14018 ac_cv_cflags__gdwarf_2=yes
14019 else
14020 ac_cv_cflags__gdwarf_2=no
14022 rm -f core conftest.err conftest.$ac_objext \
14023 conftest$ac_exeext conftest.$ac_ext
14024 CFLAGS=$ac_wine_try_cflags_saved
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14027 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14028 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14029 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14032 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14033 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14034 $as_echo_n "(cached) " >&6
14035 else
14036 ac_wine_try_cflags_saved=$CFLAGS
14037 CFLAGS="$CFLAGS -gstrict-dwarf"
14038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14039 /* end confdefs.h. */
14040 int main(int argc, char **argv) { return 0; }
14041 _ACEOF
14042 if ac_fn_c_try_link "$LINENO"; then :
14043 ac_cv_cflags__gstrict_dwarf=yes
14044 else
14045 ac_cv_cflags__gstrict_dwarf=no
14047 rm -f core conftest.err conftest.$ac_objext \
14048 conftest$ac_exeext conftest.$ac_ext
14049 CFLAGS=$ac_wine_try_cflags_saved
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14052 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14053 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14054 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14055 fi ;;
14056 esac ;;
14057 esac
14058 done
14060 case $host_cpu in
14061 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14062 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14063 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14064 $as_echo_n "(cached) " >&6
14065 else
14066 ac_wine_try_cflags_saved=$CFLAGS
14067 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14069 /* end confdefs.h. */
14070 int main(int argc, char **argv) { return 0; }
14071 _ACEOF
14072 if ac_fn_c_try_link "$LINENO"; then :
14073 ac_cv_cflags__fno_omit_frame_pointer=yes
14074 else
14075 ac_cv_cflags__fno_omit_frame_pointer=no
14077 rm -f core conftest.err conftest.$ac_objext \
14078 conftest$ac_exeext conftest.$ac_ext
14079 CFLAGS=$ac_wine_try_cflags_saved
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14082 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14083 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14084 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14085 fi ;;
14086 esac
14088 case $host in
14089 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14090 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14091 if ${ac_cv_cflags__Wno_format+:} false; then :
14092 $as_echo_n "(cached) " >&6
14093 else
14094 ac_wine_try_cflags_saved=$CFLAGS
14095 CFLAGS="$CFLAGS -Wno-format"
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__Wno_format=yes
14102 else
14103 ac_cv_cflags__Wno_format=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__Wno_format" >&5
14110 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14111 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14112 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14113 fi ;;
14114 esac
14116 if test "x$enable_maintainer_mode" = "xyes"
14117 then
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14119 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14120 if ${ac_cv_cflags__Werror+:} false; then :
14121 $as_echo_n "(cached) " >&6
14122 else
14123 ac_wine_try_cflags_saved=$CFLAGS
14124 CFLAGS="$CFLAGS -Werror"
14125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14127 int main(int argc, char **argv) { return 0; }
14128 _ACEOF
14129 if ac_fn_c_try_link "$LINENO"; then :
14130 ac_cv_cflags__Werror=yes
14131 else
14132 ac_cv_cflags__Werror=no
14134 rm -f core conftest.err conftest.$ac_objext \
14135 conftest$ac_exeext conftest.$ac_ext
14136 CFLAGS=$ac_wine_try_cflags_saved
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14139 $as_echo "$ac_cv_cflags__Werror" >&6; }
14140 if test "x$ac_cv_cflags__Werror" = xyes; then :
14141 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14145 saved_CFLAGS="$CFLAGS"
14146 CFLAGS="$CFLAGS -Werror"
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14148 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14149 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14150 $as_echo_n "(cached) " >&6
14151 else
14152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14154 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14156 main ()
14160 return 0;
14162 _ACEOF
14163 if ac_fn_c_try_compile "$LINENO"; then :
14164 ac_cv_have_ms_hook_prologue="yes"
14165 else
14166 ac_cv_have_ms_hook_prologue="no"
14168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14171 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14172 CFLAGS="$saved_CFLAGS"
14173 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14174 then
14176 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14178 else
14179 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14186 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14187 if ${ac_cv_c_fortify_enabled+:} false; then :
14188 $as_echo_n "(cached) " >&6
14189 else
14190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14191 /* end confdefs.h. */
14192 #include <string.h>
14194 main ()
14196 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14197 #error Fortify enabled
14198 #endif
14200 return 0;
14202 _ACEOF
14203 if ac_fn_c_try_compile "$LINENO"; then :
14204 ac_cv_c_fortify_enabled=no
14205 else
14206 ac_cv_c_fortify_enabled=yes
14208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14211 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14212 if test "$ac_cv_c_fortify_enabled" = yes
14213 then
14214 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14219 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14220 if ${ac_cv_c_extern_prefix+:} false; then :
14221 $as_echo_n "(cached) " >&6
14222 else
14223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h. */
14225 extern int ac_test;
14227 main ()
14229 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14231 return 0;
14233 _ACEOF
14234 if ac_fn_c_try_link "$LINENO"; then :
14235 ac_cv_c_extern_prefix="yes"
14236 else
14237 ac_cv_c_extern_prefix="no"
14239 rm -f core conftest.err conftest.$ac_objext \
14240 conftest$ac_exeext conftest.$ac_ext
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14243 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14245 case $host_cpu in
14246 *i[3456789]86*)
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14248 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14249 if ${ac_cv_c_stdcall_suffix+:} false; then :
14250 $as_echo_n "(cached) " >&6
14251 else
14252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14254 #ifndef _MSC_VER
14255 #define __stdcall __attribute__((__stdcall__))
14256 #endif
14257 int __stdcall ac_test(int i) { return i; }
14259 main ()
14261 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14263 return 0;
14265 _ACEOF
14266 if ac_fn_c_try_link "$LINENO"; then :
14267 ac_cv_c_stdcall_suffix="yes"
14268 else
14269 ac_cv_c_stdcall_suffix="no"
14271 rm -f core conftest.err conftest.$ac_objext \
14272 conftest$ac_exeext conftest.$ac_ext
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14275 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14276 *) ac_cv_c_stdcall_suffix="no" ;;
14277 esac
14280 if test "$ac_cv_c_extern_prefix" = "yes"
14281 then
14282 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14284 asm_name_prefix="_"
14285 else
14286 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14288 asm_name_prefix=""
14292 if test "$ac_cv_c_stdcall_suffix" = "yes"
14293 then
14294 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14296 else
14297 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14303 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14304 if ${ac_cv_asm_func_def+:} false; then :
14305 $as_echo_n "(cached) " >&6
14306 else
14307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14311 main ()
14313 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14315 return 0;
14317 _ACEOF
14318 if ac_fn_c_try_link "$LINENO"; then :
14319 ac_cv_asm_func_def=".def"
14320 else
14321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14325 main ()
14327 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14329 return 0;
14331 _ACEOF
14332 if ac_fn_c_try_link "$LINENO"; then :
14333 ac_cv_asm_func_def=".type @function"
14334 else
14335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14336 /* end confdefs.h. */
14339 main ()
14341 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14343 return 0;
14345 _ACEOF
14346 if ac_fn_c_try_link "$LINENO"; then :
14347 ac_cv_asm_func_def=".type 2"
14348 else
14349 ac_cv_asm_func_def="unknown"
14351 rm -f core conftest.err conftest.$ac_objext \
14352 conftest$ac_exeext conftest.$ac_ext
14354 rm -f core conftest.err conftest.$ac_objext \
14355 conftest$ac_exeext conftest.$ac_ext
14357 rm -f core conftest.err conftest.$ac_objext \
14358 conftest$ac_exeext conftest.$ac_ext
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14361 $as_echo "$ac_cv_asm_func_def" >&6; }
14364 case "$ac_cv_asm_func_def" in
14365 ".def")
14366 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14368 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14369 ".type @function")
14370 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14372 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14373 ".type 2")
14374 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14376 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14378 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14380 asm_func_header="" ;;
14381 esac
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14384 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14385 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14386 $as_echo_n "(cached) " >&6
14387 else
14388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14390 asm(".text\n\t.long 0");
14392 main ()
14396 return 0;
14398 _ACEOF
14399 if ac_fn_c_try_compile "$LINENO"; then :
14400 ac_cv_c_asm_outside_funcs="yes"
14401 else
14402 ac_cv_c_asm_outside_funcs="no"
14404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14407 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14410 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14411 if ${ac_cv_c_dot_previous+:} false; then :
14412 $as_echo_n "(cached) " >&6
14413 else
14414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14415 /* end confdefs.h. */
14418 main ()
14420 asm(".text\nac_test:\t.long 0\n\t.previous");
14422 return 0;
14424 _ACEOF
14425 if ac_fn_c_try_link "$LINENO"; then :
14426 ac_cv_c_dot_previous="yes"
14427 else
14428 ac_cv_c_dot_previous="no"
14430 rm -f core conftest.err conftest.$ac_objext \
14431 conftest$ac_exeext conftest.$ac_ext
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14434 $as_echo "$ac_cv_c_dot_previous" >&6; }
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14437 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14438 if ${ac_cv_c_cfi_support+:} false; then :
14439 $as_echo_n "(cached) " >&6
14440 else
14441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14442 /* end confdefs.h. */
14443 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14445 main ()
14449 return 0;
14451 _ACEOF
14452 if ac_fn_c_try_compile "$LINENO"; then :
14453 ac_cv_c_cfi_support="yes"
14454 else
14455 ac_cv_c_cfi_support="no"
14457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14460 $as_echo "$ac_cv_c_cfi_support" >&6; }
14462 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14463 asm_func_trailer=""
14464 if test "$ac_cv_c_dot_previous" = "yes"
14465 then
14466 asm_func_trailer="\\n\\t.previous"
14468 if test "$ac_cv_c_cfi_support" = "yes"
14469 then
14470 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14471 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14473 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14475 UNWINDFLAGS=-fasynchronous-unwind-tables
14477 else
14478 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14482 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14485 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14486 then
14487 cat >>confdefs.h <<_ACEOF
14488 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14489 _ACEOF
14491 else
14492 cat >>confdefs.h <<_ACEOF
14493 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14494 _ACEOF
14498 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14501 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14505 case $build_os in
14506 cygwin*|mingw32*) TOOLSEXT=".exe"
14508 esac
14510 case $host_os in
14511 linux*)
14512 case $host_cpu in
14513 *i[3456789]86*|x86_64*)
14514 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14515 loader_programs="$loader_programs $wine_binary-preloader"
14516 as_fn_append LOADER_RULES "
14517 $wine_binary-preloader: preloader.o
14518 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14520 install install-lib:: $wine_binary-preloader
14521 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14523 uninstall::
14524 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14526 preloader_EXTRADEFS = $BUILTINFLAG
14527 " ;;
14528 esac
14530 esac
14531 as_fn_append LOADER_RULES "
14532 PROGRAMS = $loader_programs
14536 ac_save_CFLAGS="$CFLAGS"
14537 CFLAGS="$CFLAGS $BUILTINFLAG"
14538 for ac_func in \
14539 __res_get_state \
14540 __res_getservers \
14541 _finite \
14542 _isnan \
14543 _pclose \
14544 _popen \
14545 _snprintf \
14546 _spawnvp \
14547 _strdup \
14548 _stricmp \
14549 _strnicmp \
14550 _strtoi64 \
14551 _strtoui64 \
14552 _vsnprintf \
14553 asctime_r \
14554 chsize \
14555 dlopen \
14556 epoll_create \
14557 ffs \
14558 fnmatch \
14559 fork \
14560 fpclass \
14561 fstatfs \
14562 fstatvfs \
14563 ftruncate \
14564 futimens \
14565 futimes \
14566 futimesat \
14567 getattrlist \
14568 getdirentries \
14569 getopt_long_only \
14570 getpwuid \
14571 gettimeofday \
14572 getuid \
14573 if_nameindex \
14574 kqueue \
14575 lstat \
14576 memmove \
14577 mmap \
14578 pclose \
14579 pipe2 \
14580 poll \
14581 popen \
14582 port_create \
14583 prctl \
14584 pread \
14585 proc_pidinfo \
14586 pwrite \
14587 readdir \
14588 readlink \
14589 sched_yield \
14590 select \
14591 setproctitle \
14592 setrlimit \
14593 settimeofday \
14594 sigaltstack \
14595 sigprocmask \
14596 snprintf \
14597 statfs \
14598 statvfs \
14599 strcasecmp \
14600 strdup \
14601 strerror \
14602 strncasecmp \
14603 strtold \
14604 strtoll \
14605 strtoull \
14606 symlink \
14607 tcdrain \
14608 thr_kill2 \
14609 timegm \
14610 usleep \
14611 vsnprintf
14613 do :
14614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14616 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14617 cat >>confdefs.h <<_ACEOF
14618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14619 _ACEOF
14622 done
14624 CFLAGS="$ac_save_CFLAGS"
14626 if test "$ac_cv_func_dlopen" = no
14627 then
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14629 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14630 if ${ac_cv_lib_dl_dlopen+:} false; then :
14631 $as_echo_n "(cached) " >&6
14632 else
14633 ac_check_lib_save_LIBS=$LIBS
14634 LIBS="-ldl $LIBS"
14635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h. */
14638 /* Override any GCC internal prototype to avoid an error.
14639 Use char because int might match the return type of a GCC
14640 builtin and then its argument prototype would still apply. */
14641 #ifdef __cplusplus
14642 extern "C"
14643 #endif
14644 char dlopen ();
14646 main ()
14648 return dlopen ();
14650 return 0;
14652 _ACEOF
14653 if ac_fn_c_try_link "$LINENO"; then :
14654 ac_cv_lib_dl_dlopen=yes
14655 else
14656 ac_cv_lib_dl_dlopen=no
14658 rm -f core conftest.err conftest.$ac_objext \
14659 conftest$ac_exeext conftest.$ac_ext
14660 LIBS=$ac_check_lib_save_LIBS
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14663 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14664 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14665 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14666 DL_LIBS="-ldl"
14671 ac_wine_check_funcs_save_LIBS="$LIBS"
14672 LIBS="$LIBS $DL_LIBS"
14673 for ac_func in dladdr
14674 do :
14675 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14676 if test "x$ac_cv_func_dladdr" = xyes; then :
14677 cat >>confdefs.h <<_ACEOF
14678 #define HAVE_DLADDR 1
14679 _ACEOF
14682 done
14684 LIBS="$ac_wine_check_funcs_save_LIBS"
14686 if test "$ac_cv_func_poll" = no
14687 then
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14689 $as_echo_n "checking for poll in -lpoll... " >&6; }
14690 if ${ac_cv_lib_poll_poll+:} false; then :
14691 $as_echo_n "(cached) " >&6
14692 else
14693 ac_check_lib_save_LIBS=$LIBS
14694 LIBS="-lpoll $LIBS"
14695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14696 /* end confdefs.h. */
14698 /* Override any GCC internal prototype to avoid an error.
14699 Use char because int might match the return type of a GCC
14700 builtin and then its argument prototype would still apply. */
14701 #ifdef __cplusplus
14702 extern "C"
14703 #endif
14704 char poll ();
14706 main ()
14708 return poll ();
14710 return 0;
14712 _ACEOF
14713 if ac_fn_c_try_link "$LINENO"; then :
14714 ac_cv_lib_poll_poll=yes
14715 else
14716 ac_cv_lib_poll_poll=no
14718 rm -f core conftest.err conftest.$ac_objext \
14719 conftest$ac_exeext conftest.$ac_ext
14720 LIBS=$ac_check_lib_save_LIBS
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14723 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14724 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14725 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14726 POLL_LIBS="-lpoll"
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14733 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14734 if ${ac_cv_search_gethostbyname+:} false; then :
14735 $as_echo_n "(cached) " >&6
14736 else
14737 ac_func_search_save_LIBS=$LIBS
14738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14739 /* end confdefs.h. */
14741 /* Override any GCC internal prototype to avoid an error.
14742 Use char because int might match the return type of a GCC
14743 builtin and then its argument prototype would still apply. */
14744 #ifdef __cplusplus
14745 extern "C"
14746 #endif
14747 char gethostbyname ();
14749 main ()
14751 return gethostbyname ();
14753 return 0;
14755 _ACEOF
14756 for ac_lib in '' nsl; do
14757 if test -z "$ac_lib"; then
14758 ac_res="none required"
14759 else
14760 ac_res=-l$ac_lib
14761 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14763 if ac_fn_c_try_link "$LINENO"; then :
14764 ac_cv_search_gethostbyname=$ac_res
14766 rm -f core conftest.err conftest.$ac_objext \
14767 conftest$ac_exeext
14768 if ${ac_cv_search_gethostbyname+:} false; then :
14769 break
14771 done
14772 if ${ac_cv_search_gethostbyname+:} false; then :
14774 else
14775 ac_cv_search_gethostbyname=no
14777 rm conftest.$ac_ext
14778 LIBS=$ac_func_search_save_LIBS
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14781 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14782 ac_res=$ac_cv_search_gethostbyname
14783 if test "$ac_res" != no; then :
14784 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14790 $as_echo_n "checking for library containing connect... " >&6; }
14791 if ${ac_cv_search_connect+:} false; then :
14792 $as_echo_n "(cached) " >&6
14793 else
14794 ac_func_search_save_LIBS=$LIBS
14795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14796 /* end confdefs.h. */
14798 /* Override any GCC internal prototype to avoid an error.
14799 Use char because int might match the return type of a GCC
14800 builtin and then its argument prototype would still apply. */
14801 #ifdef __cplusplus
14802 extern "C"
14803 #endif
14804 char connect ();
14806 main ()
14808 return connect ();
14810 return 0;
14812 _ACEOF
14813 for ac_lib in '' socket; do
14814 if test -z "$ac_lib"; then
14815 ac_res="none required"
14816 else
14817 ac_res=-l$ac_lib
14818 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14820 if ac_fn_c_try_link "$LINENO"; then :
14821 ac_cv_search_connect=$ac_res
14823 rm -f core conftest.err conftest.$ac_objext \
14824 conftest$ac_exeext
14825 if ${ac_cv_search_connect+:} false; then :
14826 break
14828 done
14829 if ${ac_cv_search_connect+:} false; then :
14831 else
14832 ac_cv_search_connect=no
14834 rm conftest.$ac_ext
14835 LIBS=$ac_func_search_save_LIBS
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14838 $as_echo "$ac_cv_search_connect" >&6; }
14839 ac_res=$ac_cv_search_connect
14840 if test "$ac_res" != no; then :
14841 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14847 $as_echo_n "checking for library containing inet_aton... " >&6; }
14848 if ${ac_cv_search_inet_aton+:} false; then :
14849 $as_echo_n "(cached) " >&6
14850 else
14851 ac_func_search_save_LIBS=$LIBS
14852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14855 /* Override any GCC internal prototype to avoid an error.
14856 Use char because int might match the return type of a GCC
14857 builtin and then its argument prototype would still apply. */
14858 #ifdef __cplusplus
14859 extern "C"
14860 #endif
14861 char inet_aton ();
14863 main ()
14865 return inet_aton ();
14867 return 0;
14869 _ACEOF
14870 for ac_lib in '' resolv; do
14871 if test -z "$ac_lib"; then
14872 ac_res="none required"
14873 else
14874 ac_res=-l$ac_lib
14875 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14877 if ac_fn_c_try_link "$LINENO"; then :
14878 ac_cv_search_inet_aton=$ac_res
14880 rm -f core conftest.err conftest.$ac_objext \
14881 conftest$ac_exeext
14882 if ${ac_cv_search_inet_aton+:} false; then :
14883 break
14885 done
14886 if ${ac_cv_search_inet_aton+:} false; then :
14888 else
14889 ac_cv_search_inet_aton=no
14891 rm conftest.$ac_ext
14892 LIBS=$ac_func_search_save_LIBS
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14895 $as_echo "$ac_cv_search_inet_aton" >&6; }
14896 ac_res=$ac_cv_search_inet_aton
14897 if test "$ac_res" != no; then :
14898 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14903 for ac_func in \
14904 getaddrinfo \
14905 getnameinfo \
14906 getnetbyname \
14907 getprotobyname \
14908 getprotobynumber \
14909 getservbyport \
14910 inet_addr \
14911 inet_network \
14912 inet_ntop \
14913 inet_pton \
14914 sendmsg \
14915 socketpair \
14917 do :
14918 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14919 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14920 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14921 cat >>confdefs.h <<_ACEOF
14922 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14923 _ACEOF
14926 done
14929 ac_save_LIBS=$LIBS
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14931 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14932 if ${ac_cv_search_clock_gettime+:} false; then :
14933 $as_echo_n "(cached) " >&6
14934 else
14935 ac_func_search_save_LIBS=$LIBS
14936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14937 /* end confdefs.h. */
14939 /* Override any GCC internal prototype to avoid an error.
14940 Use char because int might match the return type of a GCC
14941 builtin and then its argument prototype would still apply. */
14942 #ifdef __cplusplus
14943 extern "C"
14944 #endif
14945 char clock_gettime ();
14947 main ()
14949 return clock_gettime ();
14951 return 0;
14953 _ACEOF
14954 for ac_lib in '' rt; do
14955 if test -z "$ac_lib"; then
14956 ac_res="none required"
14957 else
14958 ac_res=-l$ac_lib
14959 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14961 if ac_fn_c_try_link "$LINENO"; then :
14962 ac_cv_search_clock_gettime=$ac_res
14964 rm -f core conftest.err conftest.$ac_objext \
14965 conftest$ac_exeext
14966 if ${ac_cv_search_clock_gettime+:} false; then :
14967 break
14969 done
14970 if ${ac_cv_search_clock_gettime+:} false; then :
14972 else
14973 ac_cv_search_clock_gettime=no
14975 rm conftest.$ac_ext
14976 LIBS=$ac_func_search_save_LIBS
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14979 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14980 ac_res=$ac_cv_search_clock_gettime
14981 if test "$ac_res" != no; then :
14982 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14984 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14986 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14990 LIBS=$ac_save_LIBS
14992 LDAP_LIBS=""
14994 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14995 then
14996 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14998 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15000 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15001 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15002 $as_echo_n "(cached) " >&6
15003 else
15004 ac_check_lib_save_LIBS=$LIBS
15005 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15009 /* Override any GCC internal prototype to avoid an error.
15010 Use char because int might match the return type of a GCC
15011 builtin and then its argument prototype would still apply. */
15012 #ifdef __cplusplus
15013 extern "C"
15014 #endif
15015 char ldap_initialize ();
15017 main ()
15019 return ldap_initialize ();
15021 return 0;
15023 _ACEOF
15024 if ac_fn_c_try_link "$LINENO"; then :
15025 ac_cv_lib_ldap_r_ldap_initialize=yes
15026 else
15027 ac_cv_lib_ldap_r_ldap_initialize=no
15029 rm -f core conftest.err conftest.$ac_objext \
15030 conftest$ac_exeext conftest.$ac_ext
15031 LIBS=$ac_check_lib_save_LIBS
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15034 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15035 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15037 $as_echo_n "checking for ber_init in -llber... " >&6; }
15038 if ${ac_cv_lib_lber_ber_init+:} false; then :
15039 $as_echo_n "(cached) " >&6
15040 else
15041 ac_check_lib_save_LIBS=$LIBS
15042 LIBS="-llber $PTHREAD_LIBS $LIBS"
15043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15044 /* end confdefs.h. */
15046 /* Override any GCC internal prototype to avoid an error.
15047 Use char because int might match the return type of a GCC
15048 builtin and then its argument prototype would still apply. */
15049 #ifdef __cplusplus
15050 extern "C"
15051 #endif
15052 char ber_init ();
15054 main ()
15056 return ber_init ();
15058 return 0;
15060 _ACEOF
15061 if ac_fn_c_try_link "$LINENO"; then :
15062 ac_cv_lib_lber_ber_init=yes
15063 else
15064 ac_cv_lib_lber_ber_init=no
15066 rm -f core conftest.err conftest.$ac_objext \
15067 conftest$ac_exeext conftest.$ac_ext
15068 LIBS=$ac_check_lib_save_LIBS
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15071 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15072 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15074 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15076 LDAP_LIBS="-lldap_r -llber"
15083 ac_wine_check_funcs_save_LIBS="$LIBS"
15084 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15085 for ac_func in \
15086 ldap_count_references \
15087 ldap_first_reference \
15088 ldap_next_reference \
15089 ldap_parse_reference \
15090 ldap_parse_sort_control \
15091 ldap_parse_sortresponse_control \
15092 ldap_parse_vlv_control \
15093 ldap_parse_vlvresponse_control
15094 do :
15095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15096 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15097 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15098 cat >>confdefs.h <<_ACEOF
15099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15100 _ACEOF
15103 done
15105 LIBS="$ac_wine_check_funcs_save_LIBS"
15107 if test "x$LDAP_LIBS" = "x"; then :
15108 case "x$with_ldap" in
15109 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15110 xno) ;;
15111 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15112 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15113 esac
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15117 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15118 if ${wine_cv_one_arg_mkdir+:} false; then :
15119 $as_echo_n "(cached) " >&6
15120 else
15121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h. */
15123 #include <sys/stat.h>
15125 main ()
15127 mkdir("foo");
15129 return 0;
15131 _ACEOF
15132 if ac_fn_c_try_compile "$LINENO"; then :
15133 wine_cv_one_arg_mkdir=yes
15134 else
15135 wine_cv_one_arg_mkdir=no
15137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15140 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15141 if test "$wine_cv_one_arg_mkdir" = "yes"
15142 then
15144 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15149 $as_echo_n "checking for sched_setaffinity... " >&6; }
15150 if ${wine_cv_have_sched_setaffinity+:} false; then :
15151 $as_echo_n "(cached) " >&6
15152 else
15153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15154 /* end confdefs.h. */
15155 #define _GNU_SOURCE
15156 #include <sched.h>
15158 main ()
15160 sched_setaffinity(0, 0, 0);
15162 return 0;
15164 _ACEOF
15165 if ac_fn_c_try_link "$LINENO"; then :
15166 wine_cv_have_sched_setaffinity=yes
15167 else
15168 wine_cv_have_sched_setaffinity=no
15170 rm -f core conftest.err conftest.$ac_objext \
15171 conftest$ac_exeext conftest.$ac_ext
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15174 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15175 if test "$wine_cv_have_sched_setaffinity" = "yes"
15176 then
15178 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15183 $as_echo_n "checking for fallocate... " >&6; }
15184 if ${wine_cv_have_fallocate+:} false; then :
15185 $as_echo_n "(cached) " >&6
15186 else
15187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15188 /* end confdefs.h. */
15189 #define _GNU_SOURCE
15190 #include <fcntl.h>
15192 main ()
15194 fallocate(-1, 0, 0, 0);
15196 return 0;
15198 _ACEOF
15199 if ac_fn_c_try_link "$LINENO"; then :
15200 wine_cv_have_fallocate=yes
15201 else
15202 wine_cv_have_fallocate=no
15204 rm -f core conftest.err conftest.$ac_objext \
15205 conftest$ac_exeext conftest.$ac_ext
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15208 $as_echo "$wine_cv_have_fallocate" >&6; }
15209 if test "$wine_cv_have_fallocate" = "yes"
15210 then
15212 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15218 $as_echo_n "checking for inline... " >&6; }
15219 if ${ac_cv_c_inline+:} false; then :
15220 $as_echo_n "(cached) " >&6
15221 else
15222 ac_cv_c_inline=no
15223 for ac_kw in inline __inline__ __inline; do
15224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15225 /* end confdefs.h. */
15226 #ifndef __cplusplus
15227 typedef int foo_t;
15228 static $ac_kw foo_t static_foo () {return 0; }
15229 $ac_kw foo_t foo () {return 0; }
15230 #endif
15232 _ACEOF
15233 if ac_fn_c_try_compile "$LINENO"; then :
15234 ac_cv_c_inline=$ac_kw
15236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15237 test "$ac_cv_c_inline" != no && break
15238 done
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15242 $as_echo "$ac_cv_c_inline" >&6; }
15244 case $ac_cv_c_inline in
15245 inline | yes) ;;
15247 case $ac_cv_c_inline in
15248 no) ac_val=;;
15249 *) ac_val=$ac_cv_c_inline;;
15250 esac
15251 cat >>confdefs.h <<_ACEOF
15252 #ifndef __cplusplus
15253 #define inline $ac_val
15254 #endif
15255 _ACEOF
15257 esac
15259 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15260 if test "x$ac_cv_type_mode_t" = xyes; then :
15262 cat >>confdefs.h <<_ACEOF
15263 #define HAVE_MODE_T 1
15264 _ACEOF
15268 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15269 if test "x$ac_cv_type_off_t" = xyes; then :
15271 cat >>confdefs.h <<_ACEOF
15272 #define HAVE_OFF_T 1
15273 _ACEOF
15277 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15278 if test "x$ac_cv_type_pid_t" = xyes; then :
15280 cat >>confdefs.h <<_ACEOF
15281 #define HAVE_PID_T 1
15282 _ACEOF
15286 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15287 if test "x$ac_cv_type_size_t" = xyes; then :
15289 cat >>confdefs.h <<_ACEOF
15290 #define HAVE_SIZE_T 1
15291 _ACEOF
15295 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15296 if test "x$ac_cv_type_ssize_t" = xyes; then :
15298 cat >>confdefs.h <<_ACEOF
15299 #define HAVE_SSIZE_T 1
15300 _ACEOF
15304 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15305 if test "x$ac_cv_type_long_long" = xyes; then :
15307 cat >>confdefs.h <<_ACEOF
15308 #define HAVE_LONG_LONG 1
15309 _ACEOF
15313 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15314 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15316 cat >>confdefs.h <<_ACEOF
15317 #define HAVE_FSBLKCNT_T 1
15318 _ACEOF
15322 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15323 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15325 cat >>confdefs.h <<_ACEOF
15326 #define HAVE_FSFILCNT_T 1
15327 _ACEOF
15332 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15333 #include <signal.h>
15335 if test "x$ac_cv_type_sigset_t" = xyes; then :
15337 cat >>confdefs.h <<_ACEOF
15338 #define HAVE_SIGSET_T 1
15339 _ACEOF
15344 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15346 if test "x$ac_cv_type_request_sense" = xyes; then :
15348 cat >>confdefs.h <<_ACEOF
15349 #define HAVE_REQUEST_SENSE 1
15350 _ACEOF
15356 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15357 #ifdef HAVE_SYS_SOCKET_H
15358 #include <sys/socket.h>
15359 #endif
15360 #ifdef HAVE_SYS_SOCKETVAR_H
15361 #include <sys/socketvar.h>
15362 #endif
15363 #ifdef HAVE_NET_ROUTE_H
15364 #include <net/route.h>
15365 #endif
15366 #ifdef HAVE_NETINET_IN_H
15367 #include <netinet/in.h>
15368 #endif
15369 #ifdef HAVE_NETINET_IN_SYSTM_H
15370 #include <netinet/in_systm.h>
15371 #endif
15372 #ifdef HAVE_NETINET_IP_H
15373 #include <netinet/ip.h>
15374 #endif
15375 #ifdef HAVE_NETINET_IN_PCB_H
15376 #include <netinet/in_pcb.h>
15377 #endif
15379 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15381 cat >>confdefs.h <<_ACEOF
15382 #define HAVE_STRUCT_XINPGEN 1
15383 _ACEOF
15389 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15390 #include <link.h>
15391 #endif
15392 #ifdef HAVE_SYS_LINK_H
15393 #include <sys/link.h>
15394 #endif
15396 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15398 cat >>confdefs.h <<_ACEOF
15399 #define HAVE_STRUCT_R_DEBUG 1
15400 _ACEOF
15404 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15405 #include <link.h>
15406 #endif
15407 #ifdef HAVE_SYS_LINK_H
15408 #include <sys/link.h>
15409 #endif
15411 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15413 cat >>confdefs.h <<_ACEOF
15414 #define HAVE_STRUCT_LINK_MAP 1
15415 _ACEOF
15421 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15422 #include <linux/input.h>
15423 #endif
15425 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15427 cat >>confdefs.h <<_ACEOF
15428 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15429 _ACEOF
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15436 $as_echo_n "checking for sigaddset... " >&6; }
15437 if ${wine_cv_have_sigaddset+:} false; then :
15438 $as_echo_n "(cached) " >&6
15439 else
15440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15441 /* end confdefs.h. */
15442 #include <signal.h>
15444 main ()
15446 sigset_t set; sigaddset(&set,SIGTERM);
15448 return 0;
15450 _ACEOF
15451 if ac_fn_c_try_link "$LINENO"; then :
15452 wine_cv_have_sigaddset=yes
15453 else
15454 wine_cv_have_sigaddset=no
15456 rm -f core conftest.err conftest.$ac_objext \
15457 conftest$ac_exeext conftest.$ac_ext
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15460 $as_echo "$wine_cv_have_sigaddset" >&6; }
15461 if test "$wine_cv_have_sigaddset" = "yes"
15462 then
15464 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15470 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15471 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15472 $as_echo_n "(cached) " >&6
15473 else
15474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15475 /* end confdefs.h. */
15476 #include <netdb.h>
15478 main ()
15481 char *name=0;
15482 struct hostent he;
15483 struct hostent *result;
15484 char *buf=0;
15485 int bufsize=0;
15486 int errnr;
15487 char *addr=0;
15488 int addrlen=0;
15489 int addrtype=0;
15490 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15491 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15494 return 0;
15496 _ACEOF
15497 if ac_fn_c_try_link "$LINENO"; then :
15498 wine_cv_linux_gethostbyname_r_6=yes
15499 else
15500 wine_cv_linux_gethostbyname_r_6=no
15503 rm -f core conftest.err conftest.$ac_objext \
15504 conftest$ac_exeext conftest.$ac_ext
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15508 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15509 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15510 then
15512 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15516 if test "$ac_cv_header_linux_joystick_h" = "yes"
15517 then
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15519 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15520 if ${wine_cv_linux_joystick_22_api+:} false; then :
15521 $as_echo_n "(cached) " >&6
15522 else
15523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15524 /* end confdefs.h. */
15526 #include <sys/ioctl.h>
15527 #include <sys/types.h>
15528 #include <linux/joystick.h>
15530 struct js_event blub;
15531 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15532 #error "no 2.2 header"
15533 #endif
15536 main ()
15538 /*empty*/
15540 return 0;
15542 _ACEOF
15543 if ac_fn_c_try_compile "$LINENO"; then :
15544 wine_cv_linux_joystick_22_api=yes
15545 else
15546 wine_cv_linux_joystick_22_api=no
15548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15552 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15553 if test "$wine_cv_linux_joystick_22_api" = "yes"
15554 then
15556 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15562 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15563 #ifdef HAVE_SYS_PARAM_H
15564 # include <sys/param.h>
15565 #endif
15566 #ifdef HAVE_SYS_MOUNT_H
15567 # include <sys/mount.h>
15568 #endif
15569 #ifdef HAVE_SYS_VFS_H
15570 # include <sys/vfs.h>
15571 #endif
15572 #ifdef HAVE_SYS_STATFS_H
15573 # include <sys/statfs.h>
15574 #endif
15576 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15578 cat >>confdefs.h <<_ACEOF
15579 #define HAVE_STRUCT_STATFS_F_BFREE 1
15580 _ACEOF
15584 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15585 #ifdef HAVE_SYS_PARAM_H
15586 # include <sys/param.h>
15587 #endif
15588 #ifdef HAVE_SYS_MOUNT_H
15589 # include <sys/mount.h>
15590 #endif
15591 #ifdef HAVE_SYS_VFS_H
15592 # include <sys/vfs.h>
15593 #endif
15594 #ifdef HAVE_SYS_STATFS_H
15595 # include <sys/statfs.h>
15596 #endif
15598 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15600 cat >>confdefs.h <<_ACEOF
15601 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15602 _ACEOF
15606 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15607 #ifdef HAVE_SYS_PARAM_H
15608 # include <sys/param.h>
15609 #endif
15610 #ifdef HAVE_SYS_MOUNT_H
15611 # include <sys/mount.h>
15612 #endif
15613 #ifdef HAVE_SYS_VFS_H
15614 # include <sys/vfs.h>
15615 #endif
15616 #ifdef HAVE_SYS_STATFS_H
15617 # include <sys/statfs.h>
15618 #endif
15620 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15622 cat >>confdefs.h <<_ACEOF
15623 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15624 _ACEOF
15628 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15629 #ifdef HAVE_SYS_PARAM_H
15630 # include <sys/param.h>
15631 #endif
15632 #ifdef HAVE_SYS_MOUNT_H
15633 # include <sys/mount.h>
15634 #endif
15635 #ifdef HAVE_SYS_VFS_H
15636 # include <sys/vfs.h>
15637 #endif
15638 #ifdef HAVE_SYS_STATFS_H
15639 # include <sys/statfs.h>
15640 #endif
15642 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15644 cat >>confdefs.h <<_ACEOF
15645 #define HAVE_STRUCT_STATFS_F_FFREE 1
15646 _ACEOF
15650 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15651 #ifdef HAVE_SYS_PARAM_H
15652 # include <sys/param.h>
15653 #endif
15654 #ifdef HAVE_SYS_MOUNT_H
15655 # include <sys/mount.h>
15656 #endif
15657 #ifdef HAVE_SYS_VFS_H
15658 # include <sys/vfs.h>
15659 #endif
15660 #ifdef HAVE_SYS_STATFS_H
15661 # include <sys/statfs.h>
15662 #endif
15664 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15666 cat >>confdefs.h <<_ACEOF
15667 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15668 _ACEOF
15672 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15673 #ifdef HAVE_SYS_PARAM_H
15674 # include <sys/param.h>
15675 #endif
15676 #ifdef HAVE_SYS_MOUNT_H
15677 # include <sys/mount.h>
15678 #endif
15679 #ifdef HAVE_SYS_VFS_H
15680 # include <sys/vfs.h>
15681 #endif
15682 #ifdef HAVE_SYS_STATFS_H
15683 # include <sys/statfs.h>
15684 #endif
15686 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15688 cat >>confdefs.h <<_ACEOF
15689 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15690 _ACEOF
15696 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15697 #include <sys/statvfs.h>
15698 #endif
15700 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15702 cat >>confdefs.h <<_ACEOF
15703 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15704 _ACEOF
15710 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15711 #include <dirent.h>
15712 #endif
15714 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15716 cat >>confdefs.h <<_ACEOF
15717 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15718 _ACEOF
15724 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15725 #ifdef HAVE_SYS_SOCKET_H
15726 # include <sys/socket.h>
15727 #endif
15728 #ifdef HAVE_SYS_UN_H
15729 # include <sys/un.h>
15730 #endif
15732 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15734 cat >>confdefs.h <<_ACEOF
15735 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15736 _ACEOF
15740 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15741 #ifdef HAVE_SYS_SOCKET_H
15742 # include <sys/socket.h>
15743 #endif
15744 #ifdef HAVE_SYS_UN_H
15745 # include <sys/un.h>
15746 #endif
15748 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15750 cat >>confdefs.h <<_ACEOF
15751 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15752 _ACEOF
15756 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15757 #ifdef HAVE_SYS_SOCKET_H
15758 # include <sys/socket.h>
15759 #endif
15760 #ifdef HAVE_SYS_UN_H
15761 # include <sys/un.h>
15762 #endif
15764 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15766 cat >>confdefs.h <<_ACEOF
15767 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15768 _ACEOF
15774 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15775 #ifdef HAVE_SCSI_SG_H
15776 #include <scsi/sg.h>
15777 #endif
15779 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15781 cat >>confdefs.h <<_ACEOF
15782 #define HAVE_SCSIREQ_T_CMD 1
15783 _ACEOF
15787 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>
15788 #ifdef HAVE_SCSI_SG_H
15789 #include <scsi/sg.h>
15790 #endif
15792 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15794 cat >>confdefs.h <<_ACEOF
15795 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15796 _ACEOF
15802 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15804 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15806 cat >>confdefs.h <<_ACEOF
15807 #define HAVE_SIGINFO_T_SI_FD 1
15808 _ACEOF
15814 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15815 #ifdef HAVE_SYS_MTIO_H
15816 #include <sys/mtio.h>
15817 #endif
15819 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15821 cat >>confdefs.h <<_ACEOF
15822 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15823 _ACEOF
15827 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15828 #ifdef HAVE_SYS_MTIO_H
15829 #include <sys/mtio.h>
15830 #endif
15832 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15834 cat >>confdefs.h <<_ACEOF
15835 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15836 _ACEOF
15840 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15841 #ifdef HAVE_SYS_MTIO_H
15842 #include <sys/mtio.h>
15843 #endif
15845 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15847 cat >>confdefs.h <<_ACEOF
15848 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15849 _ACEOF
15855 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15856 #include <getopt.h>
15857 #endif
15859 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15861 cat >>confdefs.h <<_ACEOF
15862 #define HAVE_STRUCT_OPTION_NAME 1
15863 _ACEOF
15869 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15870 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15872 cat >>confdefs.h <<_ACEOF
15873 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15874 _ACEOF
15878 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15879 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15881 cat >>confdefs.h <<_ACEOF
15882 #define HAVE_STRUCT_STAT_ST_MTIM 1
15883 _ACEOF
15887 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15888 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15890 cat >>confdefs.h <<_ACEOF
15891 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15892 _ACEOF
15896 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15897 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15899 cat >>confdefs.h <<_ACEOF
15900 #define HAVE_STRUCT_STAT_ST_CTIM 1
15901 _ACEOF
15905 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15906 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15908 cat >>confdefs.h <<_ACEOF
15909 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15910 _ACEOF
15914 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15915 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15917 cat >>confdefs.h <<_ACEOF
15918 #define HAVE_STRUCT_STAT_ST_ATIM 1
15919 _ACEOF
15923 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15924 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15926 cat >>confdefs.h <<_ACEOF
15927 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15928 _ACEOF
15932 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15933 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15935 cat >>confdefs.h <<_ACEOF
15936 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15937 _ACEOF
15941 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15942 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15944 cat >>confdefs.h <<_ACEOF
15945 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15946 _ACEOF
15950 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15951 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15953 cat >>confdefs.h <<_ACEOF
15954 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15955 _ACEOF
15959 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15960 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15962 cat >>confdefs.h <<_ACEOF
15963 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15964 _ACEOF
15968 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15969 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15971 cat >>confdefs.h <<_ACEOF
15972 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15973 _ACEOF
15979 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
15980 #include <sys/types.h>
15981 #endif
15982 #ifdef HAVE_NETINET_IN_H
15983 #include <netinet/in.h>
15984 #endif
15986 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15988 cat >>confdefs.h <<_ACEOF
15989 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15990 _ACEOF
15996 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15997 #include <resolv.h>
15998 #endif
16000 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16002 cat >>confdefs.h <<_ACEOF
16003 #define HAVE_STRUCT___RES_STATE 1
16004 _ACEOF
16010 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
16011 #include <resolv.h>
16012 #endif
16014 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16016 cat >>confdefs.h <<_ACEOF
16017 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16018 _ACEOF
16024 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16025 #include <sys/types.h>
16026 #endif
16027 #ifdef HAVE_NETINET_IN_H
16028 # include <netinet/in.h>
16029 #endif
16030 #ifdef HAVE_ARPA_NAMESER_H
16031 # include <arpa/nameser.h>
16032 #endif
16034 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16036 cat >>confdefs.h <<_ACEOF
16037 #define HAVE_NS_MSG__MSG_PTR 1
16038 _ACEOF
16044 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16045 #include <sys/types.h>
16046 #endif
16047 #ifdef HAVE_NETINET_IP_H
16048 #include <netinet/ip.h>
16049 #endif
16050 #ifdef HAVE_NETINET_IP_ICMP_H
16051 #include <netinet/ip_icmp.h>
16052 #endif
16053 #ifdef HAVE_NETINET_ICMP_VAR_H
16054 #include <netinet/icmp_var.h>
16055 #endif
16057 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16059 cat >>confdefs.h <<_ACEOF
16060 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16061 _ACEOF
16067 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16068 #include <sys/types.h>
16069 #endif
16070 #ifdef HAVE_ALIAS_H
16071 #include <alias.h>
16072 #endif
16073 #ifdef HAVE_SYS_SOCKET_H
16074 #include <sys/socket.h>
16075 #endif
16076 #ifdef HAVE_SYS_SOCKETVAR_H
16077 #include <sys/socketvar.h>
16078 #endif
16079 #ifdef HAVE_SYS_TIMEOUT_H
16080 #include <sys/timeout.h>
16081 #endif
16082 #ifdef HAVE_NETINET_IN_H
16083 #include <netinet/in.h>
16084 #endif
16085 #ifdef HAVE_NETINET_IN_SYSTM_H
16086 #include <netinet/in_systm.h>
16087 #endif
16088 #ifdef HAVE_NETINET_IP_H
16089 #include <netinet/ip.h>
16090 #endif
16091 #ifdef HAVE_NETINET_IP_VAR_H
16092 #include <netinet/ip_var.h>
16093 #endif
16094 #ifdef HAVE_NETINET_IP_ICMP_H
16095 #include <netinet/ip_icmp.h>
16096 #endif
16097 #ifdef HAVE_NETINET_ICMP_VAR_H
16098 #include <netinet/icmp_var.h>
16099 #endif
16101 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16103 cat >>confdefs.h <<_ACEOF
16104 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16105 _ACEOF
16111 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16112 #include <sys/types.h>
16113 #endif
16114 #ifdef HAVE_SYS_SOCKETVAR_H
16115 #include <sys/socketvar.h>
16116 #endif
16117 #ifdef HAVE_NETINET_IN_H
16118 #include <netinet/in.h>
16119 #endif
16120 #ifdef HAVE_NETINET_IP_VAR_H
16121 #include <netinet/ip_var.h>
16122 #endif
16124 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16126 cat >>confdefs.h <<_ACEOF
16127 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16128 _ACEOF
16134 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
16135 #include <netinet/ip_var.h>
16136 #endif
16138 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16140 cat >>confdefs.h <<_ACEOF
16141 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16142 _ACEOF
16148 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16149 #include <sys/types.h>
16150 #endif
16151 #ifdef HAVE_SYS_SOCKETVAR_H
16152 #include <sys/socketvar.h>
16153 #endif
16154 #ifdef HAVE_NETINET_IN_H
16155 #include <netinet/in.h>
16156 #endif
16157 #ifdef HAVE_NETINET_TCP_H
16158 #include <netinet/tcp.h>
16159 #endif
16160 #ifdef HAVE_NETINET_TCP_VAR_H
16161 #include <netinet/tcp_var.h>
16162 #endif
16164 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16166 cat >>confdefs.h <<_ACEOF
16167 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16168 _ACEOF
16174 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
16175 #include <netinet/tcp_var.h>
16176 #endif
16178 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16180 cat >>confdefs.h <<_ACEOF
16181 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16182 _ACEOF
16188 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16189 #include <sys/types.h>
16190 #endif
16191 #ifdef HAVE_NETINET_IN_H
16192 #include <netinet/in.h>
16193 #endif
16194 #ifdef HAVE_NETINET_IP_VAR_H
16195 #include <netinet/ip_var.h>
16196 #endif
16197 #ifdef HAVE_NETINET_UDP_H
16198 #include <netinet/udp.h>
16199 #endif
16200 #ifdef HAVE_NETINET_UDP_VAR_H
16201 #include <netinet/udp_var.h>
16202 #endif
16204 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16206 cat >>confdefs.h <<_ACEOF
16207 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16208 _ACEOF
16214 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16215 #include <sys/types.h>
16216 #endif
16217 #ifdef HAVE_NET_IF_H
16218 # include <net/if.h>
16219 #endif
16221 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16223 cat >>confdefs.h <<_ACEOF
16224 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16225 _ACEOF
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16232 $as_echo_n "checking for timezone variable... " >&6; }
16233 if ${ac_cv_have_timezone+:} false; then :
16234 $as_echo_n "(cached) " >&6
16235 else
16236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16237 /* end confdefs.h. */
16238 #include <time.h>
16240 main ()
16242 timezone = 1
16244 return 0;
16246 _ACEOF
16247 if ac_fn_c_try_link "$LINENO"; then :
16248 ac_cv_have_timezone="yes"
16249 else
16250 ac_cv_have_timezone="no"
16252 rm -f core conftest.err conftest.$ac_objext \
16253 conftest$ac_exeext conftest.$ac_ext
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16256 $as_echo "$ac_cv_have_timezone" >&6; }
16257 if test "$ac_cv_have_timezone" = "yes"
16258 then
16260 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16264 $as_echo_n "checking for daylight variable... " >&6; }
16265 if ${ac_cv_have_daylight+:} false; then :
16266 $as_echo_n "(cached) " >&6
16267 else
16268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16269 /* end confdefs.h. */
16270 #include <time.h>
16272 main ()
16274 daylight = 1
16276 return 0;
16278 _ACEOF
16279 if ac_fn_c_try_link "$LINENO"; then :
16280 ac_cv_have_daylight="yes"
16281 else
16282 ac_cv_have_daylight="no"
16284 rm -f core conftest.err conftest.$ac_objext \
16285 conftest$ac_exeext conftest.$ac_ext
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16288 $as_echo "$ac_cv_have_daylight" >&6; }
16289 if test "$ac_cv_have_daylight" = "yes"
16290 then
16292 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16296 ac_save_LIBS="$LIBS"
16297 LIBS="$LIBS -lm"
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16299 $as_echo_n "checking for isfinite... " >&6; }
16300 if ${ac_cv_have_isfinite+:} false; then :
16301 $as_echo_n "(cached) " >&6
16302 else
16303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16304 /* end confdefs.h. */
16305 #define _GNU_SOURCE
16306 #include <math.h>
16308 main ()
16310 float f = 0.0; return isfinite(f)
16312 return 0;
16314 _ACEOF
16315 if ac_fn_c_try_link "$LINENO"; then :
16316 ac_cv_have_isfinite="yes"
16317 else
16318 ac_cv_have_isfinite="no"
16320 rm -f core conftest.err conftest.$ac_objext \
16321 conftest$ac_exeext conftest.$ac_ext
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16324 $as_echo "$ac_cv_have_isfinite" >&6; }
16325 if test "$ac_cv_have_isfinite" = "yes"
16326 then
16328 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16332 ac_save_LIBS="$LIBS"
16333 LIBS="$LIBS -lm"
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16335 $as_echo_n "checking for isinf... " >&6; }
16336 if ${ac_cv_have_isinf+:} false; then :
16337 $as_echo_n "(cached) " >&6
16338 else
16339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16340 /* end confdefs.h. */
16341 #include <math.h>
16343 main ()
16345 float f = 0.0; return isinf(f)
16347 return 0;
16349 _ACEOF
16350 if ac_fn_c_try_link "$LINENO"; then :
16351 ac_cv_have_isinf="yes"
16352 else
16353 ac_cv_have_isinf="no"
16355 rm -f core conftest.err conftest.$ac_objext \
16356 conftest$ac_exeext conftest.$ac_ext
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16359 $as_echo "$ac_cv_have_isinf" >&6; }
16360 if test "$ac_cv_have_isinf" = "yes"
16361 then
16363 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16368 $as_echo_n "checking for isnan... " >&6; }
16369 if ${ac_cv_have_isnan+:} false; then :
16370 $as_echo_n "(cached) " >&6
16371 else
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16374 #include <math.h>
16376 main ()
16378 float f = 0.0; return isnan(f)
16380 return 0;
16382 _ACEOF
16383 if ac_fn_c_try_link "$LINENO"; then :
16384 ac_cv_have_isnan="yes"
16385 else
16386 ac_cv_have_isnan="no"
16388 rm -f core conftest.err conftest.$ac_objext \
16389 conftest$ac_exeext conftest.$ac_ext
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16392 $as_echo "$ac_cv_have_isnan" >&6; }
16393 if test "$ac_cv_have_isnan" = "yes"
16394 then
16396 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16399 LIBS="$ac_save_LIBS"
16402 case $host_cpu in
16403 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16404 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16405 if ${ac_cv_cpp_def___i386__+:} false; then :
16406 $as_echo_n "(cached) " >&6
16407 else
16408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16409 /* end confdefs.h. */
16410 #ifndef __i386__
16412 #endif
16413 _ACEOF
16414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16415 $EGREP "yes" >/dev/null 2>&1; then :
16416 ac_cv_cpp_def___i386__=yes
16417 else
16418 ac_cv_cpp_def___i386__=no
16420 rm -f conftest*
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16424 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16425 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16426 CFLAGS="$CFLAGS -D__i386__"
16427 LINTFLAGS="$LINTFLAGS -D__i386__"
16428 fi ;;
16429 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16430 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16431 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16432 $as_echo_n "(cached) " >&6
16433 else
16434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16435 /* end confdefs.h. */
16436 #ifndef __x86_64__
16438 #endif
16439 _ACEOF
16440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16441 $EGREP "yes" >/dev/null 2>&1; then :
16442 ac_cv_cpp_def___x86_64__=yes
16443 else
16444 ac_cv_cpp_def___x86_64__=no
16446 rm -f conftest*
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16450 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16451 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16452 CFLAGS="$CFLAGS -D__x86_64__"
16453 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16454 fi ;;
16455 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16456 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16457 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16458 $as_echo_n "(cached) " >&6
16459 else
16460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16462 #ifndef __sparc64__
16464 #endif
16465 _ACEOF
16466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16467 $EGREP "yes" >/dev/null 2>&1; then :
16468 ac_cv_cpp_def___sparc64__=yes
16469 else
16470 ac_cv_cpp_def___sparc64__=no
16472 rm -f conftest*
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16476 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16477 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16478 CFLAGS="$CFLAGS -D__sparc64__"
16479 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16480 fi ;;
16481 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16482 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16483 if ${ac_cv_cpp_def___sparc__+:} false; then :
16484 $as_echo_n "(cached) " >&6
16485 else
16486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16487 /* end confdefs.h. */
16488 #ifndef __sparc__
16490 #endif
16491 _ACEOF
16492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16493 $EGREP "yes" >/dev/null 2>&1; then :
16494 ac_cv_cpp_def___sparc__=yes
16495 else
16496 ac_cv_cpp_def___sparc__=no
16498 rm -f conftest*
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16502 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16503 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16504 CFLAGS="$CFLAGS -D__sparc__"
16505 LINTFLAGS="$LINTFLAGS -D__sparc__"
16506 fi ;;
16507 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16508 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16509 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16510 $as_echo_n "(cached) " >&6
16511 else
16512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16513 /* end confdefs.h. */
16514 #ifndef __powerpc64__
16516 #endif
16517 _ACEOF
16518 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16519 $EGREP "yes" >/dev/null 2>&1; then :
16520 ac_cv_cpp_def___powerpc64__=yes
16521 else
16522 ac_cv_cpp_def___powerpc64__=no
16524 rm -f conftest*
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16528 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16529 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16530 CFLAGS="$CFLAGS -D__powerpc64__"
16531 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16532 fi ;;
16533 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16534 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16535 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16536 $as_echo_n "(cached) " >&6
16537 else
16538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16539 /* end confdefs.h. */
16540 #ifndef __powerpc__
16542 #endif
16543 _ACEOF
16544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16545 $EGREP "yes" >/dev/null 2>&1; then :
16546 ac_cv_cpp_def___powerpc__=yes
16547 else
16548 ac_cv_cpp_def___powerpc__=no
16550 rm -f conftest*
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16554 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16555 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16556 CFLAGS="$CFLAGS -D__powerpc__"
16557 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16558 fi ;;
16559 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16560 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16561 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16562 $as_echo_n "(cached) " >&6
16563 else
16564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16565 /* end confdefs.h. */
16566 #ifndef __aarch64__
16568 #endif
16569 _ACEOF
16570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16571 $EGREP "yes" >/dev/null 2>&1; then :
16572 ac_cv_cpp_def___aarch64__=yes
16573 else
16574 ac_cv_cpp_def___aarch64__=no
16576 rm -f conftest*
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16580 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16581 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16582 CFLAGS="$CFLAGS -D__aarch64__"
16583 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16584 fi ;;
16585 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16586 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16587 if ${ac_cv_cpp_def___arm__+:} false; then :
16588 $as_echo_n "(cached) " >&6
16589 else
16590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16591 /* end confdefs.h. */
16592 #ifndef __arm__
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___arm__=yes
16599 else
16600 ac_cv_cpp_def___arm__=no
16602 rm -f conftest*
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16606 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16607 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16608 CFLAGS="$CFLAGS -D__arm__"
16609 LINTFLAGS="$LINTFLAGS -D__arm__"
16610 fi ;;
16611 esac
16613 case $host_vendor in
16614 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16615 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16616 if ${ac_cv_cpp_def___sun__+:} false; then :
16617 $as_echo_n "(cached) " >&6
16618 else
16619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16620 /* end confdefs.h. */
16621 #ifndef __sun__
16623 #endif
16624 _ACEOF
16625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16626 $EGREP "yes" >/dev/null 2>&1; then :
16627 ac_cv_cpp_def___sun__=yes
16628 else
16629 ac_cv_cpp_def___sun__=no
16631 rm -f conftest*
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16635 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16636 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16637 CFLAGS="$CFLAGS -D__sun__"
16638 LINTFLAGS="$LINTFLAGS -D__sun__"
16639 fi ;;
16640 esac
16646 ac_config_commands="$ac_config_commands include/stamp-h"
16648 $as_echo_n "creating Makefile rules..." >&6
16650 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16651 SOCKET_LIBS = $SOCKET_LIBS
16652 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16653 IOKIT_LIBS = $IOKIT_LIBS
16654 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16655 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16656 CORESERVICES_LIBS = $CORESERVICES_LIBS
16657 APPKIT_LIBS = $APPKIT_LIBS
16658 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16659 SECURITY_LIBS = $SECURITY_LIBS
16660 COREAUDIO_LIBS = $COREAUDIO_LIBS
16661 OPENAL_LIBS = $OPENAL_LIBS
16662 OPENCL_LIBS = $OPENCL_LIBS
16663 QUICKTIME_LIBS = $QUICKTIME_LIBS
16664 CARBON_LIBS = $CARBON_LIBS
16665 PTHREAD_LIBS = $PTHREAD_LIBS
16666 X_CFLAGS = $X_CFLAGS
16667 X_PRE_LIBS = $X_PRE_LIBS
16668 X_LIBS = $X_LIBS
16669 X_EXTRA_LIBS = $X_EXTRA_LIBS
16670 XML2_CFLAGS = $XML2_CFLAGS
16671 XML2_LIBS = $XML2_LIBS
16672 XSLT_CFLAGS = $XSLT_CFLAGS
16673 XSLT_LIBS = $XSLT_LIBS
16674 DBUS_CFLAGS = $DBUS_CFLAGS
16675 DBUS_LIBS = $DBUS_LIBS
16676 HAL_CFLAGS = $HAL_CFLAGS
16677 HAL_LIBS = $HAL_LIBS
16678 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16679 GNUTLS_LIBS = $GNUTLS_LIBS
16680 SANE_CFLAGS = $SANE_CFLAGS
16681 SANE_LIBS = $SANE_LIBS
16682 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16683 GPHOTO2_LIBS = $GPHOTO2_LIBS
16684 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16685 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16686 RESOLV_LIBS = $RESOLV_LIBS
16687 LCMS2_CFLAGS = $LCMS2_CFLAGS
16688 LCMS2_LIBS = $LCMS2_LIBS
16689 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16690 FREETYPE_LIBS = $FREETYPE_LIBS
16691 Z_LIBS = $Z_LIBS
16692 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16693 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16694 GSTREAMER_LIBS = $GSTREAMER_LIBS
16695 ALSA_LIBS = $ALSA_LIBS
16696 OSS4_CFLAGS = $OSS4_CFLAGS
16697 CAPI20_CFLAGS = $CAPI20_CFLAGS
16698 CAPI20_LIBS = $CAPI20_LIBS
16699 CUPS_CFLAGS = $CUPS_CFLAGS
16700 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16701 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16702 JPEG_CFLAGS = $JPEG_CFLAGS
16703 JPEG_LIBS = $JPEG_LIBS
16704 PNG_CFLAGS = $PNG_CFLAGS
16705 PNG_LIBS = $PNG_LIBS
16706 TIFF_CFLAGS = $TIFF_CFLAGS
16707 TIFF_LIBS = $TIFF_LIBS
16708 MPG123_CFLAGS = $MPG123_CFLAGS
16709 MPG123_LIBS = $MPG123_LIBS
16710 KSTAT_LIBS = $KSTAT_LIBS
16711 PROCSTAT_LIBS = $PROCSTAT_LIBS
16712 DL_LIBS = $DL_LIBS
16713 POLL_LIBS = $POLL_LIBS
16714 RT_LIBS = $RT_LIBS
16715 LDAP_LIBS = $LDAP_LIBS
16720 wine_fn_append_rule "
16721 # Rules automatically generated by configure
16723 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16725 .INIT: Makefile
16726 .MAKEFILEDEPS:
16727 all: Makefile
16728 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16729 @./config.status Make.tmp Makefile"
16731 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16732 .gitignore: config.status
16733 @./config.status .gitignore"
16735 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16736 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16738 if test "x$enable_fonts" != xno; then
16739 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16740 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16741 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16742 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16743 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16745 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16746 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16747 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16748 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16749 ac_config_links="$ac_config_links wine:tools/winewrapper"
16750 wine_fn_config_symlink wine
16751 if test "x$enable_win64" != xno; then
16752 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16753 wine_fn_config_symlink wine64
16756 wine_fn_config_dll acledit enable_acledit
16757 wine_fn_config_dll aclui enable_aclui implib
16758 wine_fn_config_dll activeds enable_activeds implib
16759 wine_fn_config_dll actxprxy enable_actxprxy clean
16760 wine_fn_config_lib adsiid
16761 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16762 wine_fn_config_test dlls/advapi32/tests advapi32_test
16763 wine_fn_config_dll advpack enable_advpack implib
16764 wine_fn_config_test dlls/advpack/tests advpack_test
16765 wine_fn_config_dll amstream enable_amstream clean
16766 wine_fn_config_test dlls/amstream/tests amstream_test
16767 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16768 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16769 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16770 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16771 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16772 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16773 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16774 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16775 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16776 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16777 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16778 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16779 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16780 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16781 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16782 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16783 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16784 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16785 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16786 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16787 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16788 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16789 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16790 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16791 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16792 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16793 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16794 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16795 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16796 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16797 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16798 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16799 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16800 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16801 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16802 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16803 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16804 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16805 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16806 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16807 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16808 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16809 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16810 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16811 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16812 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16813 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16814 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16815 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16816 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16817 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16818 wine_fn_config_dll apphelp enable_apphelp
16819 wine_fn_config_test dlls/apphelp/tests apphelp_test
16820 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16821 wine_fn_config_dll atl enable_atl clean,implib
16822 wine_fn_config_test dlls/atl/tests atl_test
16823 wine_fn_config_dll atl100 enable_atl100 clean,implib
16824 wine_fn_config_test dlls/atl100/tests atl100_test
16825 wine_fn_config_dll atl110 enable_atl110 clean
16826 wine_fn_config_dll atl80 enable_atl80 clean,implib
16827 wine_fn_config_test dlls/atl80/tests atl80_test
16828 wine_fn_config_dll atl90 enable_atl90 clean
16829 wine_fn_config_dll authz enable_authz
16830 wine_fn_config_dll avicap32 enable_avicap32 implib
16831 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16832 wine_fn_config_test dlls/avifil32/tests avifil32_test
16833 wine_fn_config_dll avifile.dll16 enable_win16
16834 wine_fn_config_dll avrt enable_avrt implib
16835 wine_fn_config_dll bcrypt enable_bcrypt
16836 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16837 wine_fn_config_dll browseui enable_browseui clean,po
16838 wine_fn_config_test dlls/browseui/tests browseui_test
16839 wine_fn_config_dll cabinet enable_cabinet implib
16840 wine_fn_config_test dlls/cabinet/tests cabinet_test
16841 wine_fn_config_dll capi2032 enable_capi2032 implib
16842 wine_fn_config_dll cards enable_cards implib
16843 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16844 wine_fn_config_dll clusapi enable_clusapi implib
16845 wine_fn_config_dll comcat enable_comcat
16846 wine_fn_config_test dlls/comcat/tests comcat_test
16847 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16848 wine_fn_config_test dlls/comctl32/tests comctl32_test
16849 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16850 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16851 wine_fn_config_dll comm.drv16 enable_win16
16852 wine_fn_config_dll commdlg.dll16 enable_win16
16853 wine_fn_config_dll compobj.dll16 enable_win16
16854 wine_fn_config_dll compstui enable_compstui implib
16855 wine_fn_config_dll comsvcs enable_comsvcs implib
16856 wine_fn_config_dll credui enable_credui implib,po
16857 wine_fn_config_test dlls/credui/tests credui_test
16858 wine_fn_config_dll crtdll enable_crtdll implib
16859 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16860 wine_fn_config_test dlls/crypt32/tests crypt32_test
16861 wine_fn_config_dll cryptdlg enable_cryptdlg po
16862 wine_fn_config_dll cryptdll enable_cryptdll implib
16863 wine_fn_config_dll cryptnet enable_cryptnet implib
16864 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16865 wine_fn_config_dll cryptui enable_cryptui implib,po
16866 wine_fn_config_test dlls/cryptui/tests cryptui_test
16867 wine_fn_config_dll ctapi32 enable_ctapi32
16868 wine_fn_config_dll ctl3d.dll16 enable_win16
16869 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16870 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16871 wine_fn_config_dll d2d1 enable_d2d1 implib
16872 wine_fn_config_test dlls/d2d1/tests d2d1_test
16873 wine_fn_config_dll d3d10 enable_d3d10 implib
16874 wine_fn_config_test dlls/d3d10/tests d3d10_test
16875 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16876 wine_fn_config_dll d3d10core enable_d3d10core implib
16877 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16878 wine_fn_config_dll d3d11 enable_d3d11
16879 wine_fn_config_dll d3d8 enable_d3d8 implib
16880 wine_fn_config_test dlls/d3d8/tests d3d8_test
16881 wine_fn_config_dll d3d9 enable_d3d9 implib
16882 wine_fn_config_test dlls/d3d9/tests d3d9_test
16883 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16884 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16885 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16886 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16887 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16888 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16889 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16890 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16891 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16892 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16893 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16894 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16895 wine_fn_config_dll d3dim enable_d3dim implib
16896 wine_fn_config_dll d3drm enable_d3drm implib
16897 wine_fn_config_test dlls/d3drm/tests d3drm_test
16898 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16899 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16900 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16901 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16902 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16903 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16904 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16905 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16906 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16907 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16908 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16909 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16910 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16911 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16912 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16913 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16914 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16915 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16916 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16917 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16918 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16919 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16920 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16921 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16922 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16923 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16924 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16925 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16926 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16927 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16928 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16929 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16930 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16931 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16932 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16933 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16934 wine_fn_config_dll dbgeng enable_dbgeng implib
16935 wine_fn_config_dll dbghelp enable_dbghelp implib
16936 wine_fn_config_dll dciman32 enable_dciman32 implib
16937 wine_fn_config_dll ddeml.dll16 enable_win16
16938 wine_fn_config_dll ddraw enable_ddraw clean,implib
16939 wine_fn_config_test dlls/ddraw/tests ddraw_test
16940 wine_fn_config_dll ddrawex enable_ddrawex clean
16941 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16942 wine_fn_config_dll devenum enable_devenum clean,po
16943 wine_fn_config_test dlls/devenum/tests devenum_test
16944 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16945 wine_fn_config_dll difxapi enable_difxapi
16946 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16947 wine_fn_config_test dlls/dinput/tests dinput_test
16948 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16949 wine_fn_config_test dlls/dinput8/tests dinput8_test
16950 wine_fn_config_dll dispdib.dll16 enable_win16
16951 wine_fn_config_dll dispex enable_dispex clean
16952 wine_fn_config_test dlls/dispex/tests dispex_test
16953 wine_fn_config_dll display.drv16 enable_win16
16954 wine_fn_config_dll dmband enable_dmband clean
16955 wine_fn_config_test dlls/dmband/tests dmband_test
16956 wine_fn_config_dll dmcompos enable_dmcompos clean
16957 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16958 wine_fn_config_dll dmime enable_dmime clean
16959 wine_fn_config_test dlls/dmime/tests dmime_test
16960 wine_fn_config_dll dmloader enable_dmloader clean
16961 wine_fn_config_test dlls/dmloader/tests dmloader_test
16962 wine_fn_config_dll dmscript enable_dmscript clean
16963 wine_fn_config_test dlls/dmscript/tests dmscript_test
16964 wine_fn_config_dll dmstyle enable_dmstyle clean
16965 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16966 wine_fn_config_dll dmsynth enable_dmsynth clean
16967 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16968 wine_fn_config_dll dmusic enable_dmusic clean
16969 wine_fn_config_test dlls/dmusic/tests dmusic_test
16970 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16971 wine_fn_config_dll dnsapi enable_dnsapi implib
16972 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16973 wine_fn_config_dll dplay enable_dplay implib
16974 wine_fn_config_dll dplayx enable_dplayx clean,implib
16975 wine_fn_config_test dlls/dplayx/tests dplayx_test
16976 wine_fn_config_dll dpnaddr enable_dpnaddr
16977 wine_fn_config_dll dpnet enable_dpnet clean,implib
16978 wine_fn_config_test dlls/dpnet/tests dpnet_test
16979 wine_fn_config_dll dpnhpast enable_dpnhpast
16980 wine_fn_config_dll dpnlobby enable_dpnlobby
16981 wine_fn_config_dll dpvoice enable_dpvoice clean
16982 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
16983 wine_fn_config_dll dpwsockx enable_dpwsockx
16984 wine_fn_config_dll drmclien enable_drmclien
16985 wine_fn_config_dll dsound enable_dsound clean,implib
16986 wine_fn_config_test dlls/dsound/tests dsound_test
16987 wine_fn_config_dll dssenh enable_dssenh
16988 wine_fn_config_test dlls/dssenh/tests dssenh_test
16989 wine_fn_config_dll dswave enable_dswave clean
16990 wine_fn_config_test dlls/dswave/tests dswave_test
16991 wine_fn_config_dll dwmapi enable_dwmapi implib
16992 wine_fn_config_dll dwrite enable_dwrite implib
16993 wine_fn_config_test dlls/dwrite/tests dwrite_test
16994 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16995 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16996 wine_fn_config_lib dxerr8
16997 wine_fn_config_lib dxerr9
16998 wine_fn_config_dll dxgi enable_dxgi implib
16999 wine_fn_config_test dlls/dxgi/tests dxgi_test
17000 wine_fn_config_lib dxguid
17001 wine_fn_config_dll dxva2 enable_dxva2
17002 wine_fn_config_dll explorerframe enable_explorerframe clean
17003 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17004 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17005 wine_fn_config_dll faultrep enable_faultrep implib
17006 wine_fn_config_test dlls/faultrep/tests faultrep_test
17007 wine_fn_config_dll fltlib enable_fltlib
17008 wine_fn_config_dll fntcache enable_fntcache
17009 wine_fn_config_dll fontsub enable_fontsub
17010 wine_fn_config_dll fusion enable_fusion
17011 wine_fn_config_test dlls/fusion/tests fusion_test
17012 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17013 wine_fn_config_dll gameux enable_gameux clean
17014 wine_fn_config_test dlls/gameux/tests gameux_test
17015 wine_fn_config_dll gdi.exe16 enable_win16
17016 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17017 wine_fn_config_test dlls/gdi32/tests gdi32_test
17018 wine_fn_config_dll gdiplus enable_gdiplus implib
17019 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17020 wine_fn_config_dll glu32 enable_glu32 implib
17021 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17022 wine_fn_config_dll gpkcsp enable_gpkcsp
17023 wine_fn_config_dll hal enable_hal
17024 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17025 wine_fn_config_dll hid enable_hid implib
17026 wine_fn_config_dll hlink enable_hlink clean,implib
17027 wine_fn_config_test dlls/hlink/tests hlink_test
17028 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17029 wine_fn_config_dll httpapi enable_httpapi
17030 wine_fn_config_dll iccvid enable_iccvid po
17031 wine_fn_config_dll icmp enable_icmp
17032 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17033 wine_fn_config_test dlls/ieframe/tests ieframe_test
17034 wine_fn_config_dll ifsmgr.vxd enable_win16
17035 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17036 wine_fn_config_dll imagehlp enable_imagehlp implib
17037 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17038 wine_fn_config_dll imm.dll16 enable_win16
17039 wine_fn_config_dll imm32 enable_imm32 implib
17040 wine_fn_config_test dlls/imm32/tests imm32_test
17041 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17042 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17043 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17044 wine_fn_config_dll inetmib1 enable_inetmib1
17045 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17046 wine_fn_config_dll infosoft enable_infosoft clean
17047 wine_fn_config_test dlls/infosoft/tests infosoft_test
17048 wine_fn_config_dll initpki enable_initpki
17049 wine_fn_config_dll inkobj enable_inkobj
17050 wine_fn_config_dll inseng enable_inseng clean
17051 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17052 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17053 wine_fn_config_dll itircl enable_itircl
17054 wine_fn_config_dll itss enable_itss clean
17055 wine_fn_config_test dlls/itss/tests itss_test
17056 wine_fn_config_dll joy.cpl enable_joy_cpl po
17057 wine_fn_config_dll jscript enable_jscript clean,po
17058 wine_fn_config_test dlls/jscript/tests jscript_test
17059 wine_fn_config_dll jsproxy enable_jsproxy implib
17060 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17061 wine_fn_config_test dlls/kernel32/tests kernel32_test
17062 wine_fn_config_dll keyboard.drv16 enable_win16
17063 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17064 wine_fn_config_dll ksuser enable_ksuser
17065 wine_fn_config_dll ktmw32 enable_ktmw32
17066 wine_fn_config_dll loadperf enable_loadperf implib
17067 wine_fn_config_dll localspl enable_localspl po
17068 wine_fn_config_test dlls/localspl/tests localspl_test
17069 wine_fn_config_dll localui enable_localui po
17070 wine_fn_config_test dlls/localui/tests localui_test
17071 wine_fn_config_dll lz32 enable_lz32 implib
17072 wine_fn_config_test dlls/lz32/tests lz32_test
17073 wine_fn_config_dll lzexpand.dll16 enable_win16
17074 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17075 wine_fn_config_test dlls/mapi32/tests mapi32_test
17076 wine_fn_config_dll mapistub enable_mapistub
17077 wine_fn_config_dll mciavi32 enable_mciavi32
17078 wine_fn_config_dll mcicda enable_mcicda
17079 wine_fn_config_dll mciqtz32 enable_mciqtz32
17080 wine_fn_config_dll mciseq enable_mciseq
17081 wine_fn_config_dll mciwave enable_mciwave
17082 wine_fn_config_dll mgmtapi enable_mgmtapi
17083 wine_fn_config_dll midimap enable_midimap
17084 wine_fn_config_dll mlang enable_mlang clean,implib
17085 wine_fn_config_test dlls/mlang/tests mlang_test
17086 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17087 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17088 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17089 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17090 wine_fn_config_dll mmdevldr.vxd enable_win16
17091 wine_fn_config_dll mmsystem.dll16 enable_win16
17092 wine_fn_config_dll monodebg.vxd enable_win16
17093 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17094 wine_fn_config_dll mouse.drv16 enable_win16
17095 wine_fn_config_dll mpr enable_mpr implib,po
17096 wine_fn_config_test dlls/mpr/tests mpr_test
17097 wine_fn_config_dll mprapi enable_mprapi implib
17098 wine_fn_config_dll msacm.dll16 enable_win16
17099 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17100 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17101 wine_fn_config_test dlls/msacm32/tests msacm32_test
17102 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17103 wine_fn_config_dll msasn1 enable_msasn1 implib
17104 wine_fn_config_dll mscat32 enable_mscat32
17105 wine_fn_config_dll mscms enable_mscms implib
17106 wine_fn_config_test dlls/mscms/tests mscms_test
17107 wine_fn_config_dll mscoree enable_mscoree clean
17108 wine_fn_config_test dlls/mscoree/tests mscoree_test
17109 wine_fn_config_dll msctf enable_msctf clean
17110 wine_fn_config_test dlls/msctf/tests msctf_test
17111 wine_fn_config_dll msdaps enable_msdaps clean
17112 wine_fn_config_dll msdmo enable_msdmo implib
17113 wine_fn_config_dll msftedit enable_msftedit
17114 wine_fn_config_dll msg711.acm enable_msg711_acm
17115 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17116 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17117 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17118 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17119 wine_fn_config_dll msi enable_msi clean,implib,po
17120 wine_fn_config_test dlls/msi/tests msi_test
17121 wine_fn_config_dll msident enable_msident clean
17122 wine_fn_config_dll msimg32 enable_msimg32 implib
17123 wine_fn_config_dll msimsg enable_msimsg
17124 wine_fn_config_dll msimtf enable_msimtf clean
17125 wine_fn_config_dll msisip enable_msisip
17126 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17127 wine_fn_config_dll msls31 enable_msls31
17128 wine_fn_config_dll msnet32 enable_msnet32
17129 wine_fn_config_dll mspatcha enable_mspatcha
17130 wine_fn_config_dll msrle32 enable_msrle32 po
17131 wine_fn_config_test dlls/msrle32/tests msrle32_test
17132 wine_fn_config_dll mssign32 enable_mssign32
17133 wine_fn_config_dll mssip32 enable_mssip32
17134 wine_fn_config_dll mstask enable_mstask clean
17135 wine_fn_config_test dlls/mstask/tests mstask_test
17136 wine_fn_config_dll msvcirt enable_msvcirt
17137 wine_fn_config_dll msvcm80 enable_msvcm80
17138 wine_fn_config_dll msvcm90 enable_msvcm90
17139 wine_fn_config_dll msvcp100 enable_msvcp100
17140 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17141 wine_fn_config_dll msvcp110 enable_msvcp110
17142 wine_fn_config_dll msvcp60 enable_msvcp60
17143 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17144 wine_fn_config_dll msvcp70 enable_msvcp70
17145 wine_fn_config_dll msvcp71 enable_msvcp71
17146 wine_fn_config_dll msvcp80 enable_msvcp80
17147 wine_fn_config_dll msvcp90 enable_msvcp90
17148 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17149 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17150 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17151 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17152 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17153 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17154 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17155 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17156 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17157 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17158 wine_fn_config_dll msvcrt enable_msvcrt implib
17159 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17160 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17161 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17162 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17163 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17164 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17165 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17166 wine_fn_config_dll msvidc32 enable_msvidc32 po
17167 wine_fn_config_dll msvideo.dll16 enable_win16
17168 wine_fn_config_dll mswsock enable_mswsock implib
17169 wine_fn_config_dll msxml enable_msxml clean
17170 wine_fn_config_dll msxml2 enable_msxml2 clean
17171 wine_fn_config_dll msxml3 enable_msxml3 clean
17172 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17173 wine_fn_config_dll msxml4 enable_msxml4 clean
17174 wine_fn_config_dll msxml6 enable_msxml6 clean
17175 wine_fn_config_dll nddeapi enable_nddeapi implib
17176 wine_fn_config_dll ndis.sys enable_ndis_sys
17177 wine_fn_config_dll netapi32 enable_netapi32 implib
17178 wine_fn_config_test dlls/netapi32/tests netapi32_test
17179 wine_fn_config_dll netcfgx enable_netcfgx clean
17180 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17181 wine_fn_config_dll netprofm enable_netprofm clean
17182 wine_fn_config_test dlls/netprofm/tests netprofm_test
17183 wine_fn_config_dll newdev enable_newdev implib
17184 wine_fn_config_dll normaliz enable_normaliz implib
17185 wine_fn_config_dll npmshtml enable_npmshtml
17186 wine_fn_config_dll npptools enable_npptools
17187 wine_fn_config_dll ntdll enable_ntdll implib
17188 wine_fn_config_test dlls/ntdll/tests ntdll_test
17189 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17190 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17191 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17192 wine_fn_config_dll ntprint enable_ntprint
17193 wine_fn_config_test dlls/ntprint/tests ntprint_test
17194 wine_fn_config_dll objsel enable_objsel clean
17195 wine_fn_config_dll odbc32 enable_odbc32 implib
17196 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17197 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17198 wine_fn_config_dll odbccu32 enable_odbccu32
17199 wine_fn_config_dll ole2.dll16 enable_win16
17200 wine_fn_config_dll ole2conv.dll16 enable_win16
17201 wine_fn_config_dll ole2disp.dll16 enable_win16
17202 wine_fn_config_dll ole2nls.dll16 enable_win16
17203 wine_fn_config_dll ole2prox.dll16 enable_win16
17204 wine_fn_config_dll ole2thk.dll16 enable_win16
17205 wine_fn_config_dll ole32 enable_ole32 clean,implib
17206 wine_fn_config_test dlls/ole32/tests ole32_test
17207 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17208 wine_fn_config_test dlls/oleacc/tests oleacc_test
17209 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17210 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17211 wine_fn_config_dll olecli.dll16 enable_win16
17212 wine_fn_config_dll olecli32 enable_olecli32 implib
17213 wine_fn_config_dll oledb32 enable_oledb32 clean
17214 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17215 wine_fn_config_dll oledlg enable_oledlg implib,po
17216 wine_fn_config_dll olepro32 enable_olepro32 implib
17217 wine_fn_config_dll olesvr.dll16 enable_win16
17218 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17219 wine_fn_config_dll olethk32 enable_olethk32
17220 wine_fn_config_dll openal32 enable_openal32
17221 wine_fn_config_dll opencl enable_opencl
17222 wine_fn_config_dll opengl32 enable_opengl32 implib
17223 wine_fn_config_test dlls/opengl32/tests opengl32_test
17224 wine_fn_config_dll packager enable_packager clean
17225 wine_fn_config_test dlls/packager/tests packager_test
17226 wine_fn_config_dll pdh enable_pdh implib
17227 wine_fn_config_test dlls/pdh/tests pdh_test
17228 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17229 wine_fn_config_dll pidgen enable_pidgen
17230 wine_fn_config_dll powrprof enable_powrprof implib
17231 wine_fn_config_dll printui enable_printui
17232 wine_fn_config_dll prntvpt enable_prntvpt
17233 wine_fn_config_dll propsys enable_propsys clean,implib
17234 wine_fn_config_test dlls/propsys/tests propsys_test
17235 wine_fn_config_dll psapi enable_psapi implib
17236 wine_fn_config_test dlls/psapi/tests psapi_test
17237 wine_fn_config_dll pstorec enable_pstorec clean
17238 wine_fn_config_dll qcap enable_qcap
17239 wine_fn_config_test dlls/qcap/tests qcap_test
17240 wine_fn_config_dll qedit enable_qedit clean
17241 wine_fn_config_test dlls/qedit/tests qedit_test
17242 wine_fn_config_dll qmgr enable_qmgr clean
17243 wine_fn_config_test dlls/qmgr/tests qmgr_test
17244 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17245 wine_fn_config_dll quartz enable_quartz clean,implib
17246 wine_fn_config_test dlls/quartz/tests quartz_test clean
17247 wine_fn_config_dll query enable_query
17248 wine_fn_config_dll rasapi16.dll16 enable_win16
17249 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17250 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17251 wine_fn_config_dll rasdlg enable_rasdlg implib
17252 wine_fn_config_dll regapi enable_regapi
17253 wine_fn_config_dll resutils enable_resutils implib
17254 wine_fn_config_dll riched20 enable_riched20 implib
17255 wine_fn_config_test dlls/riched20/tests riched20_test
17256 wine_fn_config_dll riched32 enable_riched32
17257 wine_fn_config_test dlls/riched32/tests riched32_test
17258 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17259 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17260 wine_fn_config_dll rsabase enable_rsabase
17261 wine_fn_config_dll rsaenh enable_rsaenh implib
17262 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17263 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17264 wine_fn_config_dll rtutils enable_rtutils implib
17265 wine_fn_config_dll samlib enable_samlib
17266 wine_fn_config_dll sane.ds enable_sane_ds po
17267 wine_fn_config_dll scarddlg enable_scarddlg
17268 wine_fn_config_dll sccbase enable_sccbase
17269 wine_fn_config_dll schannel enable_schannel
17270 wine_fn_config_test dlls/schannel/tests schannel_test
17271 wine_fn_config_dll schedsvc enable_schedsvc clean
17272 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17273 wine_fn_config_dll scrrun enable_scrrun clean
17274 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17275 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17276 wine_fn_config_dll secur32 enable_secur32 implib
17277 wine_fn_config_test dlls/secur32/tests secur32_test
17278 wine_fn_config_dll security enable_security
17279 wine_fn_config_dll sensapi enable_sensapi implib
17280 wine_fn_config_dll serialui enable_serialui implib,po
17281 wine_fn_config_test dlls/serialui/tests serialui_test
17282 wine_fn_config_dll setupapi enable_setupapi implib,po
17283 wine_fn_config_test dlls/setupapi/tests setupapi_test
17284 wine_fn_config_dll setupx.dll16 enable_win16
17285 wine_fn_config_dll sfc enable_sfc implib
17286 wine_fn_config_dll sfc_os enable_sfc_os implib
17287 wine_fn_config_dll shdoclc enable_shdoclc po
17288 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17289 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17290 wine_fn_config_dll shell.dll16 enable_win16
17291 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17292 wine_fn_config_test dlls/shell32/tests shell32_test
17293 wine_fn_config_dll shfolder enable_shfolder implib
17294 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17295 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17296 wine_fn_config_dll slbcsp enable_slbcsp
17297 wine_fn_config_dll slc enable_slc implib
17298 wine_fn_config_dll snmpapi enable_snmpapi implib
17299 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17300 wine_fn_config_dll softpub enable_softpub
17301 wine_fn_config_dll sound.drv16 enable_win16
17302 wine_fn_config_dll spoolss enable_spoolss implib
17303 wine_fn_config_test dlls/spoolss/tests spoolss_test
17304 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17305 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17306 wine_fn_config_dll sti enable_sti clean,implib
17307 wine_fn_config_test dlls/sti/tests sti_test
17308 wine_fn_config_dll storage.dll16 enable_win16
17309 wine_fn_config_dll stress.dll16 enable_win16
17310 wine_fn_config_lib strmbase
17311 wine_fn_config_lib strmiids
17312 wine_fn_config_dll svrapi enable_svrapi
17313 wine_fn_config_dll sxs enable_sxs implib
17314 wine_fn_config_test dlls/sxs/tests sxs_test
17315 wine_fn_config_dll system.drv16 enable_win16
17316 wine_fn_config_dll t2embed enable_t2embed
17317 wine_fn_config_dll tapi32 enable_tapi32 implib
17318 wine_fn_config_dll taskschd enable_taskschd clean
17319 wine_fn_config_test dlls/taskschd/tests taskschd_test
17320 wine_fn_config_dll toolhelp.dll16 enable_win16
17321 wine_fn_config_dll traffic enable_traffic
17322 wine_fn_config_dll twain.dll16 enable_win16
17323 wine_fn_config_dll twain_32 enable_twain_32
17324 wine_fn_config_test dlls/twain_32/tests twain_32_test
17325 wine_fn_config_dll typelib.dll16 enable_win16
17326 wine_fn_config_dll unicows enable_unicows implib
17327 wine_fn_config_dll updspapi enable_updspapi
17328 wine_fn_config_dll url enable_url implib
17329 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17330 wine_fn_config_test dlls/urlmon/tests urlmon_test
17331 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17332 wine_fn_config_dll user.exe16 enable_win16
17333 wine_fn_config_dll user32 enable_user32 clean,implib,po
17334 wine_fn_config_test dlls/user32/tests user32_test
17335 wine_fn_config_dll userenv enable_userenv implib
17336 wine_fn_config_test dlls/userenv/tests userenv_test
17337 wine_fn_config_dll usp10 enable_usp10 implib
17338 wine_fn_config_test dlls/usp10/tests usp10_test
17339 wine_fn_config_lib uuid
17340 wine_fn_config_dll uxtheme enable_uxtheme implib
17341 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17342 wine_fn_config_dll vbscript enable_vbscript clean
17343 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17344 wine_fn_config_dll vcomp enable_vcomp
17345 wine_fn_config_dll vcomp100 enable_vcomp100
17346 wine_fn_config_dll vcomp90 enable_vcomp90
17347 wine_fn_config_dll vdhcp.vxd enable_win16
17348 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17349 wine_fn_config_dll ver.dll16 enable_win16
17350 wine_fn_config_dll version enable_version implib
17351 wine_fn_config_test dlls/version/tests version_test
17352 wine_fn_config_dll vmm.vxd enable_win16
17353 wine_fn_config_dll vnbt.vxd enable_win16
17354 wine_fn_config_dll vnetbios.vxd enable_win16
17355 wine_fn_config_dll vtdapi.vxd enable_win16
17356 wine_fn_config_dll vwin32.vxd enable_win16
17357 wine_fn_config_dll w32skrnl enable_win16
17358 wine_fn_config_dll w32sys.dll16 enable_win16
17359 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17360 wine_fn_config_dll wbemprox enable_wbemprox clean
17361 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17362 wine_fn_config_dll webservices enable_webservices implib
17363 wine_fn_config_dll wer enable_wer implib
17364 wine_fn_config_test dlls/wer/tests wer_test
17365 wine_fn_config_dll wevtapi enable_wevtapi
17366 wine_fn_config_dll wiaservc enable_wiaservc clean
17367 wine_fn_config_dll win32s16.dll16 enable_win16
17368 wine_fn_config_dll win87em.dll16 enable_win16
17369 wine_fn_config_dll winaspi.dll16 enable_win16
17370 wine_fn_config_dll windebug.dll16 enable_win16
17371 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17372 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17373 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17374 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17375 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17376 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17377 wine_fn_config_lib winecrt0
17378 wine_fn_config_dll wined3d enable_wined3d implib
17379 wine_fn_config_dll winegstreamer enable_winegstreamer
17380 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17381 wine_fn_config_dll winemac.drv enable_winemac_drv
17382 wine_fn_config_dll winemapi enable_winemapi
17383 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17384 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17385 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17386 wine_fn_config_dll wineps16.drv16 enable_win16
17387 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17388 wine_fn_config_dll winex11.drv enable_winex11_drv
17389 wine_fn_config_dll wing.dll16 enable_win16
17390 wine_fn_config_dll wing32 enable_wing32
17391 wine_fn_config_dll winhttp enable_winhttp clean,implib
17392 wine_fn_config_test dlls/winhttp/tests winhttp_test
17393 wine_fn_config_dll wininet enable_wininet implib,po
17394 wine_fn_config_test dlls/wininet/tests wininet_test
17395 wine_fn_config_dll winmm enable_winmm implib,po
17396 wine_fn_config_test dlls/winmm/tests winmm_test
17397 wine_fn_config_dll winnls.dll16 enable_win16
17398 wine_fn_config_dll winnls32 enable_winnls32 implib
17399 wine_fn_config_dll winscard enable_winscard implib
17400 wine_fn_config_dll winsock.dll16 enable_win16
17401 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17402 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17403 wine_fn_config_dll winsta enable_winsta
17404 wine_fn_config_dll wintab.dll16 enable_win16
17405 wine_fn_config_dll wintab32 enable_wintab32 implib
17406 wine_fn_config_test dlls/wintab32/tests wintab32_test
17407 wine_fn_config_dll wintrust enable_wintrust implib
17408 wine_fn_config_test dlls/wintrust/tests wintrust_test
17409 wine_fn_config_dll wlanapi enable_wlanapi
17410 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17411 wine_fn_config_test dlls/wldap32/tests wldap32_test
17412 wine_fn_config_dll wmi enable_wmi
17413 wine_fn_config_dll wmiutils enable_wmiutils clean
17414 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17415 wine_fn_config_dll wmp enable_wmp clean
17416 wine_fn_config_test dlls/wmp/tests wmp_test
17417 wine_fn_config_dll wmvcore enable_wmvcore
17418 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17419 wine_fn_config_dll wow32 enable_win16 implib
17420 wine_fn_config_dll wpcap enable_wpcap
17421 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17422 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17423 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17424 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17425 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17426 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17427 wine_fn_config_dll wsock32 enable_wsock32 implib
17428 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17429 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17430 wine_fn_config_dll wuapi enable_wuapi clean
17431 wine_fn_config_dll wuaueng enable_wuaueng
17432 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17433 wine_fn_config_dll xinput1_1 enable_xinput1_1
17434 wine_fn_config_dll xinput1_2 enable_xinput1_2
17435 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17436 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17437 wine_fn_config_dll xinput1_4 enable_xinput1_4
17438 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17439 wine_fn_config_dll xmllite enable_xmllite implib
17440 wine_fn_config_test dlls/xmllite/tests xmllite_test
17441 wine_fn_config_dll xolehlp enable_xolehlp
17442 wine_fn_config_dll xpsprint enable_xpsprint
17443 wine_fn_config_dll xpssvcs enable_xpssvcs
17444 wine_fn_config_makefile documentation enable_documentation clean
17445 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17446 wine_fn_config_makefile include enable_include clean,install-dev
17447 wine_fn_config_makefile libs/port enable_libs_port
17448 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17449 wine_fn_config_makefile libs/wpp enable_libs_wpp
17450 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17451 wine_fn_config_program arp enable_arp install
17452 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17453 wine_fn_config_program attrib enable_attrib install,po
17454 wine_fn_config_program cabarc enable_cabarc install
17455 wine_fn_config_program cacls enable_cacls install
17456 wine_fn_config_program clock enable_clock install,po
17457 wine_fn_config_program cmd enable_cmd install,po
17458 wine_fn_config_test programs/cmd/tests cmd.exe_test
17459 wine_fn_config_program conhost enable_conhost install
17460 wine_fn_config_program control enable_control install
17461 wine_fn_config_program cscript enable_cscript clean,install
17462 wine_fn_config_program dpnsvr enable_dpnsvr install
17463 wine_fn_config_program dxdiag enable_dxdiag install,po
17464 wine_fn_config_program eject enable_eject install
17465 wine_fn_config_program expand enable_expand install
17466 wine_fn_config_program explorer enable_explorer install,po
17467 wine_fn_config_program extrac32 enable_extrac32 install
17468 wine_fn_config_program findstr enable_findstr install
17469 wine_fn_config_program hh enable_hh install
17470 wine_fn_config_program hostname enable_hostname install,po
17471 wine_fn_config_program icinfo enable_icinfo install
17472 wine_fn_config_program iexplore enable_iexplore install
17473 wine_fn_config_program ipconfig enable_ipconfig install,po
17474 wine_fn_config_program lodctr enable_lodctr install
17475 wine_fn_config_program mofcomp enable_mofcomp install
17476 wine_fn_config_program mshta enable_mshta install
17477 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17478 wine_fn_config_program net enable_net install,po
17479 wine_fn_config_program netsh enable_netsh install
17480 wine_fn_config_program netstat enable_netstat install,po
17481 wine_fn_config_program ngen enable_ngen install
17482 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17483 wine_fn_config_program oleview enable_oleview install,po
17484 wine_fn_config_program ping enable_ping install
17485 wine_fn_config_program plugplay enable_plugplay install
17486 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17487 wine_fn_config_program progman enable_progman install,po
17488 wine_fn_config_program reg enable_reg install,po
17489 wine_fn_config_test programs/reg/tests reg.exe_test
17490 wine_fn_config_program regasm enable_regasm install
17491 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17492 wine_fn_config_test programs/regedit/tests regedit.exe_test
17493 wine_fn_config_program regsvcs enable_regsvcs install
17494 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17495 wine_fn_config_program rpcss enable_rpcss clean,install
17496 wine_fn_config_program rundll.exe16 enable_win16 install
17497 wine_fn_config_program rundll32 enable_rundll32 install
17498 wine_fn_config_program sc enable_sc install
17499 wine_fn_config_program schtasks enable_schtasks install
17500 wine_fn_config_program sdbinst enable_sdbinst install
17501 wine_fn_config_program secedit enable_secedit install
17502 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17503 wine_fn_config_program services enable_services clean,install
17504 wine_fn_config_test programs/services/tests services.exe_test
17505 wine_fn_config_program spoolsv enable_spoolsv install
17506 wine_fn_config_program start enable_start install,po
17507 wine_fn_config_program svchost enable_svchost install
17508 wine_fn_config_program systeminfo enable_systeminfo install
17509 wine_fn_config_program taskkill enable_taskkill install,po
17510 wine_fn_config_program tasklist enable_tasklist install
17511 wine_fn_config_program taskmgr enable_taskmgr install,po
17512 wine_fn_config_program termsv enable_termsv install
17513 wine_fn_config_program uninstaller enable_uninstaller install,po
17514 wine_fn_config_program unlodctr enable_unlodctr install
17515 wine_fn_config_program view enable_view install,po
17516 wine_fn_config_program wevtutil enable_wevtutil install
17517 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17518 wine_fn_config_program winebrowser enable_winebrowser install
17519 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17520 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17521 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17522 wine_fn_config_program winedevice enable_winedevice install
17523 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17524 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17525 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17526 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17527 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17528 wine_fn_config_program winetest enable_winetest clean
17529 wine_fn_config_program winevdm enable_win16 install
17530 wine_fn_config_program winhelp.exe16 enable_win16 install
17531 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17532 wine_fn_config_program winoldap.mod16 enable_win16 install
17533 wine_fn_config_program winver enable_winver install
17534 wine_fn_config_program wmic enable_wmic install,po
17535 wine_fn_config_program wordpad enable_wordpad install,po
17536 wine_fn_config_program write enable_write install,po
17537 wine_fn_config_program wscript enable_wscript clean,install
17538 wine_fn_config_test programs/wscript/tests wscript.exe_test
17539 wine_fn_config_program wusa enable_wusa install
17540 wine_fn_config_program xcopy enable_xcopy install,po
17541 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17542 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17543 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17544 wine_fn_config_tool tools/sfnt2fon clean
17545 wine_fn_config_tool tools/widl clean,install-dev,manpage
17546 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17547 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17548 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17549 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17550 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17552 LINGUAS="\
17553 ar \
17554 bg \
17555 ca \
17556 cs \
17557 da \
17558 de \
17559 el \
17560 en \
17561 en_US \
17562 eo \
17563 es \
17564 fa \
17565 fi \
17566 fr \
17567 he \
17568 hi \
17569 hr \
17570 hu \
17571 it \
17572 ja \
17573 ko \
17574 lt \
17575 ml \
17576 nb_NO \
17577 nl \
17578 or \
17579 pa \
17580 pl \
17581 pt_BR \
17582 pt_PT \
17583 rm \
17584 ro \
17585 ru \
17586 sk \
17587 sl \
17588 sr_RS@cyrillic \
17589 sr_RS@latin \
17590 sv \
17591 te \
17592 th \
17593 tr \
17594 uk \
17595 wa \
17596 zh_CN \
17597 zh_TW"
17602 wine_fn_ignore_file ".gitignore"
17603 wine_fn_ignore_file "Makefile"
17604 wine_fn_ignore_file "TAGS"
17605 wine_fn_ignore_file "tags"
17606 wine_fn_ignore_file "autom4te.cache"
17607 wine_fn_ignore_file "config.cache"
17608 wine_fn_ignore_file "config.log"
17609 wine_fn_ignore_file "config.status"
17610 wine_fn_ignore_file "configure.lineno"
17611 wine_fn_ignore_file "include/config.h"
17612 wine_fn_ignore_file "include/stamp-h"
17613 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17615 if test "x$enable_tools" != xno
17616 then
17617 wine_fn_ignore_file "tools/makedep$ac_exeext"
17618 ac_config_commands="$ac_config_commands tools/makedep"
17622 ac_config_commands="$ac_config_commands Makefile"
17625 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17629 if test "x$enable_maintainer_mode" = xyes
17630 then
17631 wine_fn_append_rule "configure: configure.ac aclocal.m4
17632 autoconf --warnings=all
17633 include/config.h.in: include/stamp-h.in
17634 include/stamp-h.in: configure.ac aclocal.m4
17635 autoheader --warnings=all
17636 @echo timestamp > \$@"
17639 if test "x$with_gettextpo" = xyes
17640 then
17641 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17642 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17643 \$(LINGUAS:%=po/%.po): po/wine.pot
17644 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17645 po/wine.pot: \$(ALL_POT_FILES)
17646 msgcat -o \$@ \$(ALL_POT_FILES)"
17649 if test "$MSGFMT" != false
17650 then
17651 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17652 clean::
17653 \$(RM) \$(LINGUAS:%=po/%.mo)"
17655 posrc="po"
17656 test "$srcdir" = . || posrc="$srcdir/po"
17657 for i in $LINGUAS
17659 wine_fn_ignore_file "po/$i.mo"
17660 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17661 \$(MSGFMT) -o \$@ $posrc/$i.po"
17662 done
17663 else
17664 LINGUAS=
17667 if test "x$enable_tools" != xno
17668 then
17669 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17670 @./config.status tools/makedep
17671 Makefile: tools/makedep$ac_exeext
17672 distclean:: clean
17673 \$(RM) tools/makedep$ac_exeext"
17674 else
17675 wine_fn_append_rule "\$(MAKEDEP):
17676 @echo \"You need to run make in $TOOLSDIR first\" && false"
17679 if test -n "$with_wine64"
17680 then
17681 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17682 fonts server tools:
17683 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17684 $with_wine64/loader/wine:
17685 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17686 $with_wine64/loader/wine-preloader:
17687 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17688 clean::
17689 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17690 else
17691 as_fn_append LOADER_RULES "
17692 install install-lib:: wine.inf install-man-pages
17693 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17694 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17696 uninstall::
17697 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17701 if test "$srcdir" = .
17702 then
17703 ac_config_commands="$ac_config_commands .gitignore"
17707 $as_echo " done" >&6
17708 cat >confcache <<\_ACEOF
17709 # This file is a shell script that caches the results of configure
17710 # tests run on this system so they can be shared between configure
17711 # scripts and configure runs, see configure's option --config-cache.
17712 # It is not useful on other systems. If it contains results you don't
17713 # want to keep, you may remove or edit it.
17715 # config.status only pays attention to the cache file if you give it
17716 # the --recheck option to rerun configure.
17718 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17719 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17720 # following values.
17722 _ACEOF
17724 # The following way of writing the cache mishandles newlines in values,
17725 # but we know of no workaround that is simple, portable, and efficient.
17726 # So, we kill variables containing newlines.
17727 # Ultrix sh set writes to stderr and can't be redirected directly,
17728 # and sets the high bit in the cache file unless we assign to the vars.
17730 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17731 eval ac_val=\$$ac_var
17732 case $ac_val in #(
17733 *${as_nl}*)
17734 case $ac_var in #(
17735 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17736 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17737 esac
17738 case $ac_var in #(
17739 _ | IFS | as_nl) ;; #(
17740 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17741 *) { eval $ac_var=; unset $ac_var;} ;;
17742 esac ;;
17743 esac
17744 done
17746 (set) 2>&1 |
17747 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17748 *${as_nl}ac_space=\ *)
17749 # `set' does not quote correctly, so add quotes: double-quote
17750 # substitution turns \\\\ into \\, and sed turns \\ into \.
17751 sed -n \
17752 "s/'/'\\\\''/g;
17753 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17754 ;; #(
17756 # `set' quotes correctly as required by POSIX, so do not add quotes.
17757 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17759 esac |
17760 sort
17762 sed '
17763 /^ac_cv_env_/b end
17764 t clear
17765 :clear
17766 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17767 t end
17768 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17769 :end' >>confcache
17770 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17771 if test -w "$cache_file"; then
17772 if test "x$cache_file" != "x/dev/null"; then
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17774 $as_echo "$as_me: updating cache $cache_file" >&6;}
17775 if test ! -f "$cache_file" || test -h "$cache_file"; then
17776 cat confcache >"$cache_file"
17777 else
17778 case $cache_file in #(
17779 */* | ?:*)
17780 mv -f confcache "$cache_file"$$ &&
17781 mv -f "$cache_file"$$ "$cache_file" ;; #(
17783 mv -f confcache "$cache_file" ;;
17784 esac
17787 else
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17789 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17792 rm -f confcache
17794 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17795 # Let make expand exec_prefix.
17796 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17798 DEFS=-DHAVE_CONFIG_H
17800 ac_libobjs=
17801 ac_ltlibobjs=
17803 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17804 # 1. Remove the extension, and $U if already installed.
17805 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17806 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17807 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17808 # will be set to the directory where LIBOBJS objects are built.
17809 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17810 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17811 done
17812 LIBOBJS=$ac_libobjs
17814 LTLIBOBJS=$ac_ltlibobjs
17818 : "${CONFIG_STATUS=./config.status}"
17819 ac_write_fail=0
17820 ac_clean_files_save=$ac_clean_files
17821 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17823 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17824 as_write_fail=0
17825 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17826 #! $SHELL
17827 # Generated by $as_me.
17828 # Run this file to recreate the current configuration.
17829 # Compiler output produced by configure, useful for debugging
17830 # configure, is in config.log if it exists.
17832 debug=false
17833 ac_cs_recheck=false
17834 ac_cs_silent=false
17836 SHELL=\${CONFIG_SHELL-$SHELL}
17837 export SHELL
17838 _ASEOF
17839 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17840 ## -------------------- ##
17841 ## M4sh Initialization. ##
17842 ## -------------------- ##
17844 # Be more Bourne compatible
17845 DUALCASE=1; export DUALCASE # for MKS sh
17846 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17847 emulate sh
17848 NULLCMD=:
17849 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17850 # is contrary to our usage. Disable this feature.
17851 alias -g '${1+"$@"}'='"$@"'
17852 setopt NO_GLOB_SUBST
17853 else
17854 case `(set -o) 2>/dev/null` in #(
17855 *posix*) :
17856 set -o posix ;; #(
17857 *) :
17859 esac
17863 as_nl='
17865 export as_nl
17866 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17867 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17868 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17869 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17870 # Prefer a ksh shell builtin over an external printf program on Solaris,
17871 # but without wasting forks for bash or zsh.
17872 if test -z "$BASH_VERSION$ZSH_VERSION" \
17873 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17874 as_echo='print -r --'
17875 as_echo_n='print -rn --'
17876 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17877 as_echo='printf %s\n'
17878 as_echo_n='printf %s'
17879 else
17880 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17881 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17882 as_echo_n='/usr/ucb/echo -n'
17883 else
17884 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17885 as_echo_n_body='eval
17886 arg=$1;
17887 case $arg in #(
17888 *"$as_nl"*)
17889 expr "X$arg" : "X\\(.*\\)$as_nl";
17890 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17891 esac;
17892 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17894 export as_echo_n_body
17895 as_echo_n='sh -c $as_echo_n_body as_echo'
17897 export as_echo_body
17898 as_echo='sh -c $as_echo_body as_echo'
17901 # The user is always right.
17902 if test "${PATH_SEPARATOR+set}" != set; then
17903 PATH_SEPARATOR=:
17904 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17905 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17906 PATH_SEPARATOR=';'
17911 # IFS
17912 # We need space, tab and new line, in precisely that order. Quoting is
17913 # there to prevent editors from complaining about space-tab.
17914 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17915 # splitting by setting IFS to empty value.)
17916 IFS=" "" $as_nl"
17918 # Find who we are. Look in the path if we contain no directory separator.
17919 as_myself=
17920 case $0 in #((
17921 *[\\/]* ) as_myself=$0 ;;
17922 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17923 for as_dir in $PATH
17925 IFS=$as_save_IFS
17926 test -z "$as_dir" && as_dir=.
17927 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17928 done
17929 IFS=$as_save_IFS
17932 esac
17933 # We did not find ourselves, most probably we were run as `sh COMMAND'
17934 # in which case we are not to be found in the path.
17935 if test "x$as_myself" = x; then
17936 as_myself=$0
17938 if test ! -f "$as_myself"; then
17939 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17940 exit 1
17943 # Unset variables that we do not need and which cause bugs (e.g. in
17944 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17945 # suppresses any "Segmentation fault" message there. '((' could
17946 # trigger a bug in pdksh 5.2.14.
17947 for as_var in BASH_ENV ENV MAIL MAILPATH
17948 do eval test x\${$as_var+set} = xset \
17949 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17950 done
17951 PS1='$ '
17952 PS2='> '
17953 PS4='+ '
17955 # NLS nuisances.
17956 LC_ALL=C
17957 export LC_ALL
17958 LANGUAGE=C
17959 export LANGUAGE
17961 # CDPATH.
17962 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17965 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17966 # ----------------------------------------
17967 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17968 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17969 # script with STATUS, using 1 if that was 0.
17970 as_fn_error ()
17972 as_status=$1; test $as_status -eq 0 && as_status=1
17973 if test "$4"; then
17974 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17975 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17977 $as_echo "$as_me: error: $2" >&2
17978 as_fn_exit $as_status
17979 } # as_fn_error
17982 # as_fn_set_status STATUS
17983 # -----------------------
17984 # Set $? to STATUS, without forking.
17985 as_fn_set_status ()
17987 return $1
17988 } # as_fn_set_status
17990 # as_fn_exit STATUS
17991 # -----------------
17992 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17993 as_fn_exit ()
17995 set +e
17996 as_fn_set_status $1
17997 exit $1
17998 } # as_fn_exit
18000 # as_fn_unset VAR
18001 # ---------------
18002 # Portably unset VAR.
18003 as_fn_unset ()
18005 { eval $1=; unset $1;}
18007 as_unset=as_fn_unset
18008 # as_fn_append VAR VALUE
18009 # ----------------------
18010 # Append the text in VALUE to the end of the definition contained in VAR. Take
18011 # advantage of any shell optimizations that allow amortized linear growth over
18012 # repeated appends, instead of the typical quadratic growth present in naive
18013 # implementations.
18014 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18015 eval 'as_fn_append ()
18017 eval $1+=\$2
18019 else
18020 as_fn_append ()
18022 eval $1=\$$1\$2
18024 fi # as_fn_append
18026 # as_fn_arith ARG...
18027 # ------------------
18028 # Perform arithmetic evaluation on the ARGs, and store the result in the
18029 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18030 # must be portable across $(()) and expr.
18031 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18032 eval 'as_fn_arith ()
18034 as_val=$(( $* ))
18036 else
18037 as_fn_arith ()
18039 as_val=`expr "$@" || test $? -eq 1`
18041 fi # as_fn_arith
18044 if expr a : '\(a\)' >/dev/null 2>&1 &&
18045 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18046 as_expr=expr
18047 else
18048 as_expr=false
18051 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18052 as_basename=basename
18053 else
18054 as_basename=false
18057 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18058 as_dirname=dirname
18059 else
18060 as_dirname=false
18063 as_me=`$as_basename -- "$0" ||
18064 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18065 X"$0" : 'X\(//\)$' \| \
18066 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18067 $as_echo X/"$0" |
18068 sed '/^.*\/\([^/][^/]*\)\/*$/{
18069 s//\1/
18072 /^X\/\(\/\/\)$/{
18073 s//\1/
18076 /^X\/\(\/\).*/{
18077 s//\1/
18080 s/.*/./; q'`
18082 # Avoid depending upon Character Ranges.
18083 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18084 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18085 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18086 as_cr_digits='0123456789'
18087 as_cr_alnum=$as_cr_Letters$as_cr_digits
18089 ECHO_C= ECHO_N= ECHO_T=
18090 case `echo -n x` in #(((((
18091 -n*)
18092 case `echo 'xy\c'` in
18093 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18094 xy) ECHO_C='\c';;
18095 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18096 ECHO_T=' ';;
18097 esac;;
18099 ECHO_N='-n';;
18100 esac
18102 rm -f conf$$ conf$$.exe conf$$.file
18103 if test -d conf$$.dir; then
18104 rm -f conf$$.dir/conf$$.file
18105 else
18106 rm -f conf$$.dir
18107 mkdir conf$$.dir 2>/dev/null
18109 if (echo >conf$$.file) 2>/dev/null; then
18110 if ln -s conf$$.file conf$$ 2>/dev/null; then
18111 as_ln_s='ln -s'
18112 # ... but there are two gotchas:
18113 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18114 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18115 # In both cases, we have to default to `cp -pR'.
18116 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18117 as_ln_s='cp -pR'
18118 elif ln conf$$.file conf$$ 2>/dev/null; then
18119 as_ln_s=ln
18120 else
18121 as_ln_s='cp -pR'
18123 else
18124 as_ln_s='cp -pR'
18126 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18127 rmdir conf$$.dir 2>/dev/null
18130 # as_fn_mkdir_p
18131 # -------------
18132 # Create "$as_dir" as a directory, including parents if necessary.
18133 as_fn_mkdir_p ()
18136 case $as_dir in #(
18137 -*) as_dir=./$as_dir;;
18138 esac
18139 test -d "$as_dir" || eval $as_mkdir_p || {
18140 as_dirs=
18141 while :; do
18142 case $as_dir in #(
18143 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18144 *) as_qdir=$as_dir;;
18145 esac
18146 as_dirs="'$as_qdir' $as_dirs"
18147 as_dir=`$as_dirname -- "$as_dir" ||
18148 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18149 X"$as_dir" : 'X\(//\)[^/]' \| \
18150 X"$as_dir" : 'X\(//\)$' \| \
18151 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18152 $as_echo X"$as_dir" |
18153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18154 s//\1/
18157 /^X\(\/\/\)[^/].*/{
18158 s//\1/
18161 /^X\(\/\/\)$/{
18162 s//\1/
18165 /^X\(\/\).*/{
18166 s//\1/
18169 s/.*/./; q'`
18170 test -d "$as_dir" && break
18171 done
18172 test -z "$as_dirs" || eval "mkdir $as_dirs"
18173 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18176 } # as_fn_mkdir_p
18177 if mkdir -p . 2>/dev/null; then
18178 as_mkdir_p='mkdir -p "$as_dir"'
18179 else
18180 test -d ./-p && rmdir ./-p
18181 as_mkdir_p=false
18185 # as_fn_executable_p FILE
18186 # -----------------------
18187 # Test if FILE is an executable regular file.
18188 as_fn_executable_p ()
18190 test -f "$1" && test -x "$1"
18191 } # as_fn_executable_p
18192 as_test_x='test -x'
18193 as_executable_p=as_fn_executable_p
18195 # Sed expression to map a string onto a valid CPP name.
18196 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18198 # Sed expression to map a string onto a valid variable name.
18199 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18202 exec 6>&1
18203 ## ----------------------------------- ##
18204 ## Main body of $CONFIG_STATUS script. ##
18205 ## ----------------------------------- ##
18206 _ASEOF
18207 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18210 # Save the log message, to keep $0 and so on meaningful, and to
18211 # report actual input values of CONFIG_FILES etc. instead of their
18212 # values after options handling.
18213 ac_log="
18214 This file was extended by Wine $as_me 1.7.30, which was
18215 generated by GNU Autoconf 2.69. Invocation command line was
18217 CONFIG_FILES = $CONFIG_FILES
18218 CONFIG_HEADERS = $CONFIG_HEADERS
18219 CONFIG_LINKS = $CONFIG_LINKS
18220 CONFIG_COMMANDS = $CONFIG_COMMANDS
18221 $ $0 $@
18223 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18226 _ACEOF
18228 case $ac_config_files in *"
18229 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18230 esac
18232 case $ac_config_headers in *"
18233 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18234 esac
18237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18238 # Files that config.status was made for.
18239 config_files="$ac_config_files"
18240 config_headers="$ac_config_headers"
18241 config_links="$ac_config_links"
18242 config_commands="$ac_config_commands"
18244 _ACEOF
18246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18247 ac_cs_usage="\
18248 \`$as_me' instantiates files and other configuration actions
18249 from templates according to the current configuration. Unless the files
18250 and actions are specified as TAGs, all are instantiated by default.
18252 Usage: $0 [OPTION]... [TAG]...
18254 -h, --help print this help, then exit
18255 -V, --version print version number and configuration settings, then exit
18256 --config print configuration, then exit
18257 -q, --quiet, --silent
18258 do not print progress messages
18259 -d, --debug don't remove temporary files
18260 --recheck update $as_me by reconfiguring in the same conditions
18261 --file=FILE[:TEMPLATE]
18262 instantiate the configuration file FILE
18263 --header=FILE[:TEMPLATE]
18264 instantiate the configuration header FILE
18266 Configuration files:
18267 $config_files
18269 Configuration headers:
18270 $config_headers
18272 Configuration links:
18273 $config_links
18275 Configuration commands:
18276 $config_commands
18278 Report bugs to <wine-devel@winehq.org>.
18279 Wine home page: <http://www.winehq.org>."
18281 _ACEOF
18282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18283 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18284 ac_cs_version="\\
18285 Wine config.status 1.7.30
18286 configured by $0, generated by GNU Autoconf 2.69,
18287 with options \\"\$ac_cs_config\\"
18289 Copyright (C) 2012 Free Software Foundation, Inc.
18290 This config.status script is free software; the Free Software Foundation
18291 gives unlimited permission to copy, distribute and modify it."
18293 ac_pwd='$ac_pwd'
18294 srcdir='$srcdir'
18295 test -n "\$AWK" || AWK=awk
18296 _ACEOF
18298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18299 # The default lists apply if the user does not specify any file.
18300 ac_need_defaults=:
18301 while test $# != 0
18303 case $1 in
18304 --*=?*)
18305 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18306 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18307 ac_shift=:
18309 --*=)
18310 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18311 ac_optarg=
18312 ac_shift=:
18315 ac_option=$1
18316 ac_optarg=$2
18317 ac_shift=shift
18319 esac
18321 case $ac_option in
18322 # Handling of the options.
18323 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18324 ac_cs_recheck=: ;;
18325 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18326 $as_echo "$ac_cs_version"; exit ;;
18327 --config | --confi | --conf | --con | --co | --c )
18328 $as_echo "$ac_cs_config"; exit ;;
18329 --debug | --debu | --deb | --de | --d | -d )
18330 debug=: ;;
18331 --file | --fil | --fi | --f )
18332 $ac_shift
18333 case $ac_optarg in
18334 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18335 '') as_fn_error $? "missing file argument" ;;
18336 esac
18337 as_fn_append CONFIG_FILES " '$ac_optarg'"
18338 ac_need_defaults=false;;
18339 --header | --heade | --head | --hea )
18340 $ac_shift
18341 case $ac_optarg in
18342 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18343 esac
18344 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18345 ac_need_defaults=false;;
18346 --he | --h)
18347 # Conflict between --help and --header
18348 as_fn_error $? "ambiguous option: \`$1'
18349 Try \`$0 --help' for more information.";;
18350 --help | --hel | -h )
18351 $as_echo "$ac_cs_usage"; exit ;;
18352 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18353 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18354 ac_cs_silent=: ;;
18356 # This is an error.
18357 -*) as_fn_error $? "unrecognized option: \`$1'
18358 Try \`$0 --help' for more information." ;;
18360 *) as_fn_append ac_config_targets " $1"
18361 ac_need_defaults=false ;;
18363 esac
18364 shift
18365 done
18367 ac_configure_extra_args=
18369 if $ac_cs_silent; then
18370 exec 6>/dev/null
18371 ac_configure_extra_args="$ac_configure_extra_args --silent"
18374 _ACEOF
18375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18376 if \$ac_cs_recheck; then
18377 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18378 shift
18379 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18380 CONFIG_SHELL='$SHELL'
18381 export CONFIG_SHELL
18382 exec "\$@"
18385 _ACEOF
18386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18387 exec 5>>config.log
18389 echo
18390 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18391 ## Running $as_me. ##
18392 _ASBOX
18393 $as_echo "$ac_log"
18394 } >&5
18396 _ACEOF
18397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18399 # INIT-COMMANDS
18401 wine_fn_output_makedep ()
18403 as_dir=tools; as_fn_mkdir_p
18404 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18406 wine_fn_output_makefile ()
18408 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18409 `cat $wine_rules_file`
18410 _WINE_EOF
18411 as_fn_error $? "could not create Makefile" "$LINENO" 5
18413 wine_fn_output_gitignore ()
18415 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18416 $GITIGNORE
18417 _WINE_EOF
18418 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18421 _ACEOF
18423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18425 # Handling of arguments.
18426 for ac_config_target in $ac_config_targets
18428 case $ac_config_target in
18429 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18430 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18431 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18432 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18433 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18434 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18435 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18436 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18437 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18438 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18439 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18440 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18441 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18442 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18444 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18445 esac
18446 done
18449 # If the user did not use the arguments to specify the items to instantiate,
18450 # then the envvar interface is used. Set only those that are not.
18451 # We use the long form for the default assignment because of an extremely
18452 # bizarre bug on SunOS 4.1.3.
18453 if $ac_need_defaults; then
18454 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18455 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18456 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18457 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18460 # Have a temporary directory for convenience. Make it in the build tree
18461 # simply because there is no reason against having it here, and in addition,
18462 # creating and moving files from /tmp can sometimes cause problems.
18463 # Hook for its removal unless debugging.
18464 # Note that there is a small window in which the directory will not be cleaned:
18465 # after its creation but before its name has been assigned to `$tmp'.
18466 $debug ||
18468 tmp= ac_tmp=
18469 trap 'exit_status=$?
18470 : "${ac_tmp:=$tmp}"
18471 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18473 trap 'as_fn_exit 1' 1 2 13 15
18475 # Create a (secure) tmp directory for tmp files.
18478 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18479 test -d "$tmp"
18480 } ||
18482 tmp=./conf$$-$RANDOM
18483 (umask 077 && mkdir "$tmp")
18484 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18485 ac_tmp=$tmp
18487 # Set up the scripts for CONFIG_FILES section.
18488 # No need to generate them if there are no CONFIG_FILES.
18489 # This happens for instance with `./config.status config.h'.
18490 if test -n "$CONFIG_FILES"; then
18493 ac_cr=`echo X | tr X '\015'`
18494 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18495 # But we know of no other shell where ac_cr would be empty at this
18496 # point, so we can use a bashism as a fallback.
18497 if test "x$ac_cr" = x; then
18498 eval ac_cr=\$\'\\r\'
18500 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18501 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18502 ac_cs_awk_cr='\\r'
18503 else
18504 ac_cs_awk_cr=$ac_cr
18507 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18508 _ACEOF
18512 echo "cat >conf$$subs.awk <<_ACEOF" &&
18513 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18514 echo "_ACEOF"
18515 } >conf$$subs.sh ||
18516 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18517 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18518 ac_delim='%!_!# '
18519 for ac_last_try in false false false false false :; do
18520 . ./conf$$subs.sh ||
18521 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18523 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18524 if test $ac_delim_n = $ac_delim_num; then
18525 break
18526 elif $ac_last_try; then
18527 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18528 else
18529 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18531 done
18532 rm -f conf$$subs.sh
18534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18535 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18536 _ACEOF
18537 sed -n '
18539 s/^/S["/; s/!.*/"]=/
18542 s/^[^!]*!//
18543 :repl
18544 t repl
18545 s/'"$ac_delim"'$//
18546 t delim
18549 s/\(.\{148\}\)..*/\1/
18550 t more1
18551 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18554 b repl
18555 :more1
18556 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18559 s/.\{148\}//
18560 t nl
18561 :delim
18563 s/\(.\{148\}\)..*/\1/
18564 t more2
18565 s/["\\]/\\&/g; s/^/"/; s/$/"/
18568 :more2
18569 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18572 s/.\{148\}//
18573 t delim
18574 ' <conf$$subs.awk | sed '
18575 /^[^""]/{
18577 s/\n//
18579 ' >>$CONFIG_STATUS || ac_write_fail=1
18580 rm -f conf$$subs.awk
18581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18582 _ACAWK
18583 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18584 for (key in S) S_is_set[key] = 1
18585 FS = "\a"
18589 line = $ 0
18590 nfields = split(line, field, "@")
18591 substed = 0
18592 len = length(field[1])
18593 for (i = 2; i < nfields; i++) {
18594 key = field[i]
18595 keylen = length(key)
18596 if (S_is_set[key]) {
18597 value = S[key]
18598 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18599 len += length(value) + length(field[++i])
18600 substed = 1
18601 } else
18602 len += 1 + keylen
18605 print line
18608 _ACAWK
18609 _ACEOF
18610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18611 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18612 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18613 else
18615 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18616 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18617 _ACEOF
18619 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18620 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18621 # trailing colons and then remove the whole line if VPATH becomes empty
18622 # (actually we leave an empty line to preserve line numbers).
18623 if test "x$srcdir" = x.; then
18624 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18626 s///
18627 s/^/:/
18628 s/[ ]*$/:/
18629 s/:\$(srcdir):/:/g
18630 s/:\${srcdir}:/:/g
18631 s/:@srcdir@:/:/g
18632 s/^:*//
18633 s/:*$//
18635 s/\(=[ ]*\).*/\1/
18637 s/\n//
18638 s/^[^=]*=[ ]*$//
18642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18643 fi # test -n "$CONFIG_FILES"
18645 # Set up the scripts for CONFIG_HEADERS section.
18646 # No need to generate them if there are no CONFIG_HEADERS.
18647 # This happens for instance with `./config.status Makefile'.
18648 if test -n "$CONFIG_HEADERS"; then
18649 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18650 BEGIN {
18651 _ACEOF
18653 # Transform confdefs.h into an awk script `defines.awk', embedded as
18654 # here-document in config.status, that substitutes the proper values into
18655 # config.h.in to produce config.h.
18657 # Create a delimiter string that does not exist in confdefs.h, to ease
18658 # handling of long lines.
18659 ac_delim='%!_!# '
18660 for ac_last_try in false false :; do
18661 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18662 if test -z "$ac_tt"; then
18663 break
18664 elif $ac_last_try; then
18665 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18666 else
18667 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18669 done
18671 # For the awk script, D is an array of macro values keyed by name,
18672 # likewise P contains macro parameters if any. Preserve backslash
18673 # newline sequences.
18675 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18676 sed -n '
18677 s/.\{148\}/&'"$ac_delim"'/g
18678 t rset
18679 :rset
18680 s/^[ ]*#[ ]*define[ ][ ]*/ /
18681 t def
18683 :def
18684 s/\\$//
18685 t bsnl
18686 s/["\\]/\\&/g
18687 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18688 D["\1"]=" \3"/p
18689 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18691 :bsnl
18692 s/["\\]/\\&/g
18693 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18694 D["\1"]=" \3\\\\\\n"\\/p
18695 t cont
18696 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18697 t cont
18699 :cont
18701 s/.\{148\}/&'"$ac_delim"'/g
18702 t clear
18703 :clear
18704 s/\\$//
18705 t bsnlc
18706 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18708 :bsnlc
18709 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18710 b cont
18711 ' <confdefs.h | sed '
18712 s/'"$ac_delim"'/"\\\
18713 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18716 for (key in D) D_is_set[key] = 1
18717 FS = "\a"
18719 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18720 line = \$ 0
18721 split(line, arg, " ")
18722 if (arg[1] == "#") {
18723 defundef = arg[2]
18724 mac1 = arg[3]
18725 } else {
18726 defundef = substr(arg[1], 2)
18727 mac1 = arg[2]
18729 split(mac1, mac2, "(") #)
18730 macro = mac2[1]
18731 prefix = substr(line, 1, index(line, defundef) - 1)
18732 if (D_is_set[macro]) {
18733 # Preserve the white space surrounding the "#".
18734 print prefix "define", macro P[macro] D[macro]
18735 next
18736 } else {
18737 # Replace #undef with comments. This is necessary, for example,
18738 # in the case of _POSIX_SOURCE, which is predefined and required
18739 # on some systems where configure will not decide to define it.
18740 if (defundef == "undef") {
18741 print "/*", prefix defundef, macro, "*/"
18742 next
18746 { print }
18747 _ACAWK
18748 _ACEOF
18749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18750 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18751 fi # test -n "$CONFIG_HEADERS"
18754 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18755 shift
18756 for ac_tag
18758 case $ac_tag in
18759 :[FHLC]) ac_mode=$ac_tag; continue;;
18760 esac
18761 case $ac_mode$ac_tag in
18762 :[FHL]*:*);;
18763 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18764 :[FH]-) ac_tag=-:-;;
18765 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18766 esac
18767 ac_save_IFS=$IFS
18768 IFS=:
18769 set x $ac_tag
18770 IFS=$ac_save_IFS
18771 shift
18772 ac_file=$1
18773 shift
18775 case $ac_mode in
18776 :L) ac_source=$1;;
18777 :[FH])
18778 ac_file_inputs=
18779 for ac_f
18781 case $ac_f in
18782 -) ac_f="$ac_tmp/stdin";;
18783 *) # Look for the file first in the build tree, then in the source tree
18784 # (if the path is not absolute). The absolute path cannot be DOS-style,
18785 # because $ac_f cannot contain `:'.
18786 test -f "$ac_f" ||
18787 case $ac_f in
18788 [\\/$]*) false;;
18789 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18790 esac ||
18791 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18792 esac
18793 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18794 as_fn_append ac_file_inputs " '$ac_f'"
18795 done
18797 # Let's still pretend it is `configure' which instantiates (i.e., don't
18798 # use $as_me), people would be surprised to read:
18799 # /* config.h. Generated by config.status. */
18800 configure_input='Generated from '`
18801 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18802 `' by configure.'
18803 if test x"$ac_file" != x-; then
18804 configure_input="$ac_file. $configure_input"
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18806 $as_echo "$as_me: creating $ac_file" >&6;}
18808 # Neutralize special characters interpreted by sed in replacement strings.
18809 case $configure_input in #(
18810 *\&* | *\|* | *\\* )
18811 ac_sed_conf_input=`$as_echo "$configure_input" |
18812 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18813 *) ac_sed_conf_input=$configure_input;;
18814 esac
18816 case $ac_tag in
18817 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18818 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18819 esac
18821 esac
18823 ac_dir=`$as_dirname -- "$ac_file" ||
18824 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18825 X"$ac_file" : 'X\(//\)[^/]' \| \
18826 X"$ac_file" : 'X\(//\)$' \| \
18827 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18828 $as_echo X"$ac_file" |
18829 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18830 s//\1/
18833 /^X\(\/\/\)[^/].*/{
18834 s//\1/
18837 /^X\(\/\/\)$/{
18838 s//\1/
18841 /^X\(\/\).*/{
18842 s//\1/
18845 s/.*/./; q'`
18846 as_dir="$ac_dir"; as_fn_mkdir_p
18847 ac_builddir=.
18849 case "$ac_dir" in
18850 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18852 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18853 # A ".." for each directory in $ac_dir_suffix.
18854 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18855 case $ac_top_builddir_sub in
18856 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18857 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18858 esac ;;
18859 esac
18860 ac_abs_top_builddir=$ac_pwd
18861 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18862 # for backward compatibility:
18863 ac_top_builddir=$ac_top_build_prefix
18865 case $srcdir in
18866 .) # We are building in place.
18867 ac_srcdir=.
18868 ac_top_srcdir=$ac_top_builddir_sub
18869 ac_abs_top_srcdir=$ac_pwd ;;
18870 [\\/]* | ?:[\\/]* ) # Absolute name.
18871 ac_srcdir=$srcdir$ac_dir_suffix;
18872 ac_top_srcdir=$srcdir
18873 ac_abs_top_srcdir=$srcdir ;;
18874 *) # Relative name.
18875 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18876 ac_top_srcdir=$ac_top_build_prefix$srcdir
18877 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18878 esac
18879 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18882 case $ac_mode in
18885 # CONFIG_FILE
18888 _ACEOF
18890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18891 # If the template does not know about datarootdir, expand it.
18892 # FIXME: This hack should be removed a few years after 2.60.
18893 ac_datarootdir_hack=; ac_datarootdir_seen=
18894 ac_sed_dataroot='
18895 /datarootdir/ {
18899 /@datadir@/p
18900 /@docdir@/p
18901 /@infodir@/p
18902 /@localedir@/p
18903 /@mandir@/p'
18904 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18905 *datarootdir*) ac_datarootdir_seen=yes;;
18906 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18908 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18909 _ACEOF
18910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18911 ac_datarootdir_hack='
18912 s&@datadir@&$datadir&g
18913 s&@docdir@&$docdir&g
18914 s&@infodir@&$infodir&g
18915 s&@localedir@&$localedir&g
18916 s&@mandir@&$mandir&g
18917 s&\\\${datarootdir}&$datarootdir&g' ;;
18918 esac
18919 _ACEOF
18921 # Neutralize VPATH when `$srcdir' = `.'.
18922 # Shell code in configure.ac might set extrasub.
18923 # FIXME: do we really want to maintain this feature?
18924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18925 ac_sed_extra="$ac_vpsub
18926 $extrasub
18927 _ACEOF
18928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18930 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18931 s|@configure_input@|$ac_sed_conf_input|;t t
18932 s&@top_builddir@&$ac_top_builddir_sub&;t t
18933 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18934 s&@srcdir@&$ac_srcdir&;t t
18935 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18936 s&@top_srcdir@&$ac_top_srcdir&;t t
18937 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18938 s&@builddir@&$ac_builddir&;t t
18939 s&@abs_builddir@&$ac_abs_builddir&;t t
18940 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18941 $ac_datarootdir_hack
18943 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18944 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18946 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18947 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18948 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18949 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18951 which seems to be undefined. Please make sure it is defined" >&5
18952 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18953 which seems to be undefined. Please make sure it is defined" >&2;}
18955 rm -f "$ac_tmp/stdin"
18956 case $ac_file in
18957 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18958 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18959 esac \
18960 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18964 # CONFIG_HEADER
18966 if test x"$ac_file" != x-; then
18968 $as_echo "/* $configure_input */" \
18969 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18970 } >"$ac_tmp/config.h" \
18971 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18972 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18974 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18975 else
18976 rm -f "$ac_file"
18977 mv "$ac_tmp/config.h" "$ac_file" \
18978 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18980 else
18981 $as_echo "/* $configure_input */" \
18982 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18983 || as_fn_error $? "could not create -" "$LINENO" 5
18988 # CONFIG_LINK
18991 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18993 else
18994 # Prefer the file from the source tree if names are identical.
18995 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18996 ac_source=$srcdir/$ac_source
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19000 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19002 if test ! -r "$ac_source"; then
19003 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19005 rm -f "$ac_file"
19007 # Try a relative symlink, then a hard link, then a copy.
19008 case $ac_source in
19009 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19010 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19011 esac
19012 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19013 ln "$ac_source" "$ac_file" 2>/dev/null ||
19014 cp -p "$ac_source" "$ac_file" ||
19015 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19018 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19019 $as_echo "$as_me: executing $ac_file commands" >&6;}
19021 esac
19024 case $ac_file$ac_mode in
19025 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19026 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19027 "Makefile":C) wine_fn_output_makefile Makefile ;;
19028 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19030 esac
19031 done # for ac_tag
19034 as_fn_exit 0
19035 _ACEOF
19036 ac_clean_files=$ac_clean_files_save
19038 test $ac_write_fail = 0 ||
19039 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19042 # configure is writing to config.log, and then calls config.status.
19043 # config.status does its own redirection, appending to config.log.
19044 # Unfortunately, on DOS this fails, as config.log is still kept open
19045 # by configure, so config.status won't be able to write to it; its
19046 # output is simply discarded. So we exec the FD to /dev/null,
19047 # effectively closing config.log, so it can be properly (re)opened and
19048 # appended to by config.status. When coming back to configure, we
19049 # need to make the FD available again.
19050 if test "$no_create" != yes; then
19051 ac_cs_success=:
19052 ac_config_status_args=
19053 test "$silent" = yes &&
19054 ac_config_status_args="$ac_config_status_args --quiet"
19055 exec 5>/dev/null
19056 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19057 exec 5>>config.log
19058 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19059 # would make configure fail if this is the last instruction.
19060 $ac_cs_success || as_fn_exit 1
19062 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19064 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19068 if test "$no_create" = "yes"
19069 then
19070 exit 0
19073 ac_save_IFS="$IFS"
19074 if test "x$wine_notices != "x; then
19075 echo >&6
19076 IFS="|"
19077 for msg in $wine_notices; do
19078 IFS="$ac_save_IFS"
19079 if ${msg:+false} :; then :
19081 else
19082 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19083 $as_echo "$as_me: $msg" >&6;}
19085 done
19087 IFS="|"
19088 for msg in $wine_warnings; do
19089 IFS="$ac_save_IFS"
19090 if ${msg:+false} :; then :
19092 else
19093 echo >&2
19094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19095 $as_echo "$as_me: WARNING: $msg" >&2;}
19097 done
19098 IFS="$ac_save_IFS"
19100 $as_echo "
19101 $as_me: Finished. Do '${ac_make}' to compile Wine.
19102 " >&6