combase: Add stub dll.
[wine.git] / configure
blobf57aa42173d1051a8ae96157fef5ce3bb665a9eb
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.32.
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.32'
584 PACKAGE_STRING='Wine 1.7.32'
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_datetime_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_1
860 enable_api_ms_win_core_debug_l1_1_1
861 enable_api_ms_win_core_errorhandling_l1_1_1
862 enable_api_ms_win_core_errorhandling_l1_1_2
863 enable_api_ms_win_core_fibers_l1_1_0
864 enable_api_ms_win_core_fibers_l1_1_1
865 enable_api_ms_win_core_file_l1_2_0
866 enable_api_ms_win_core_file_l2_1_0
867 enable_api_ms_win_core_file_l2_1_1
868 enable_api_ms_win_core_handle_l1_1_0
869 enable_api_ms_win_core_heap_l1_2_0
870 enable_api_ms_win_core_heap_obsolete_l1_1_0
871 enable_api_ms_win_core_interlocked_l1_2_0
872 enable_api_ms_win_core_io_l1_1_1
873 enable_api_ms_win_core_kernel32_legacy_l1_1_0
874 enable_api_ms_win_core_libraryloader_l1_1_1
875 enable_api_ms_win_core_localization_l1_2_0
876 enable_api_ms_win_core_localization_l1_2_1
877 enable_api_ms_win_core_localization_obsolete_l1_1_0
878 enable_api_ms_win_core_localregistry_l1_1_0
879 enable_api_ms_win_core_memory_l1_1_1
880 enable_api_ms_win_core_namedpipe_l1_2_0
881 enable_api_ms_win_core_processenvironment_l1_2_0
882 enable_api_ms_win_core_processthreads_l1_1_0
883 enable_api_ms_win_core_processthreads_l1_1_1
884 enable_api_ms_win_core_processthreads_l1_1_2
885 enable_api_ms_win_core_profile_l1_1_0
886 enable_api_ms_win_core_psapi_l1_1_0
887 enable_api_ms_win_core_registry_l1_1_0
888 enable_api_ms_win_core_rtlsupport_l1_2_0
889 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
890 enable_api_ms_win_core_string_l1_1_0
891 enable_api_ms_win_core_synch_l1_2_0
892 enable_api_ms_win_core_sysinfo_l1_2_0
893 enable_api_ms_win_core_sysinfo_l1_2_1
894 enable_api_ms_win_core_threadpool_legacy_l1_1_0
895 enable_api_ms_win_core_timezone_l1_1_0
896 enable_api_ms_win_core_url_l1_1_0
897 enable_api_ms_win_core_util_l1_1_0
898 enable_api_ms_win_core_winrt_error_l1_1_0
899 enable_api_ms_win_core_winrt_error_l1_1_1
900 enable_api_ms_win_core_winrt_l1_1_0
901 enable_api_ms_win_core_winrt_string_l1_1_0
902 enable_api_ms_win_core_xstate_l2_1_0
903 enable_api_ms_win_downlevel_advapi32_l1_1_0
904 enable_api_ms_win_downlevel_advapi32_l2_1_0
905 enable_api_ms_win_downlevel_normaliz_l1_1_0
906 enable_api_ms_win_downlevel_ole32_l1_1_0
907 enable_api_ms_win_downlevel_shell32_l1_1_0
908 enable_api_ms_win_downlevel_shlwapi_l1_1_0
909 enable_api_ms_win_downlevel_shlwapi_l2_1_0
910 enable_api_ms_win_downlevel_user32_l1_1_0
911 enable_api_ms_win_downlevel_version_l1_1_0
912 enable_api_ms_win_eventing_provider_l1_1_0
913 enable_api_ms_win_ntuser_dc_access_l1_1_0
914 enable_api_ms_win_security_base_l1_1_0
915 enable_api_ms_win_security_base_l1_2_0
916 enable_api_ms_win_security_sddl_l1_1_0
917 enable_api_ms_win_service_core_l1_1_1
918 enable_api_ms_win_service_management_l1_1_0
919 enable_api_ms_win_service_winsvc_l1_2_0
920 enable_apphelp
921 enable_appwiz_cpl
922 enable_atl
923 enable_atl100
924 enable_atl110
925 enable_atl80
926 enable_atl90
927 enable_authz
928 enable_avicap32
929 enable_avifil32
930 enable_avrt
931 enable_bcrypt
932 enable_browseui
933 enable_cabinet
934 enable_capi2032
935 enable_cards
936 enable_cfgmgr32
937 enable_clusapi
938 enable_combase
939 enable_comcat
940 enable_comctl32
941 enable_comdlg32
942 enable_compstui
943 enable_comsvcs
944 enable_credui
945 enable_crtdll
946 enable_crypt32
947 enable_cryptdlg
948 enable_cryptdll
949 enable_cryptext
950 enable_cryptnet
951 enable_cryptui
952 enable_ctapi32
953 enable_ctl3d32
954 enable_d2d1
955 enable_d3d10
956 enable_d3d10_1
957 enable_d3d10core
958 enable_d3d11
959 enable_d3d8
960 enable_d3d9
961 enable_d3dcompiler_33
962 enable_d3dcompiler_34
963 enable_d3dcompiler_35
964 enable_d3dcompiler_36
965 enable_d3dcompiler_37
966 enable_d3dcompiler_38
967 enable_d3dcompiler_39
968 enable_d3dcompiler_40
969 enable_d3dcompiler_41
970 enable_d3dcompiler_42
971 enable_d3dcompiler_43
972 enable_d3dim
973 enable_d3drm
974 enable_d3dx10_33
975 enable_d3dx10_34
976 enable_d3dx10_35
977 enable_d3dx10_36
978 enable_d3dx10_37
979 enable_d3dx10_38
980 enable_d3dx10_39
981 enable_d3dx10_40
982 enable_d3dx10_41
983 enable_d3dx10_42
984 enable_d3dx10_43
985 enable_d3dx11_42
986 enable_d3dx11_43
987 enable_d3dx9_24
988 enable_d3dx9_25
989 enable_d3dx9_26
990 enable_d3dx9_27
991 enable_d3dx9_28
992 enable_d3dx9_29
993 enable_d3dx9_30
994 enable_d3dx9_31
995 enable_d3dx9_32
996 enable_d3dx9_33
997 enable_d3dx9_34
998 enable_d3dx9_35
999 enable_d3dx9_36
1000 enable_d3dx9_37
1001 enable_d3dx9_38
1002 enable_d3dx9_39
1003 enable_d3dx9_40
1004 enable_d3dx9_41
1005 enable_d3dx9_42
1006 enable_d3dx9_43
1007 enable_d3dxof
1008 enable_dbgeng
1009 enable_dbghelp
1010 enable_dciman32
1011 enable_ddraw
1012 enable_ddrawex
1013 enable_devenum
1014 enable_dhcpcsvc
1015 enable_difxapi
1016 enable_dinput
1017 enable_dinput8
1018 enable_dispex
1019 enable_dmband
1020 enable_dmcompos
1021 enable_dmime
1022 enable_dmloader
1023 enable_dmscript
1024 enable_dmstyle
1025 enable_dmsynth
1026 enable_dmusic
1027 enable_dmusic32
1028 enable_dnsapi
1029 enable_dplay
1030 enable_dplayx
1031 enable_dpnaddr
1032 enable_dpnet
1033 enable_dpnhpast
1034 enable_dpnlobby
1035 enable_dpvoice
1036 enable_dpwsockx
1037 enable_drmclien
1038 enable_dsound
1039 enable_dssenh
1040 enable_dswave
1041 enable_dwmapi
1042 enable_dwrite
1043 enable_dxdiagn
1044 enable_dxgi
1045 enable_dxva2
1046 enable_explorerframe
1047 enable_ext_ms_win_gdi_devcaps_l1_1_0
1048 enable_faultrep
1049 enable_fltlib
1050 enable_fntcache
1051 enable_fontsub
1052 enable_fusion
1053 enable_fwpuclnt
1054 enable_gameux
1055 enable_gdi32
1056 enable_gdiplus
1057 enable_glu32
1058 enable_gphoto2_ds
1059 enable_gpkcsp
1060 enable_hal
1061 enable_hhctrl_ocx
1062 enable_hid
1063 enable_hlink
1064 enable_hnetcfg
1065 enable_httpapi
1066 enable_iccvid
1067 enable_icmp
1068 enable_ieframe
1069 enable_imaadp32_acm
1070 enable_imagehlp
1071 enable_imm32
1072 enable_inetcomm
1073 enable_inetcpl_cpl
1074 enable_inetmib1
1075 enable_infosoft
1076 enable_initpki
1077 enable_inkobj
1078 enable_inseng
1079 enable_iphlpapi
1080 enable_itircl
1081 enable_itss
1082 enable_joy_cpl
1083 enable_jscript
1084 enable_jsproxy
1085 enable_kernel32
1086 enable_ksuser
1087 enable_ktmw32
1088 enable_loadperf
1089 enable_localspl
1090 enable_localui
1091 enable_lz32
1092 enable_mapi32
1093 enable_mapistub
1094 enable_mciavi32
1095 enable_mcicda
1096 enable_mciqtz32
1097 enable_mciseq
1098 enable_mciwave
1099 enable_mgmtapi
1100 enable_midimap
1101 enable_mlang
1102 enable_mmcndmgr
1103 enable_mmdevapi
1104 enable_mountmgr_sys
1105 enable_mpr
1106 enable_mprapi
1107 enable_msacm32_drv
1108 enable_msacm32
1109 enable_msadp32_acm
1110 enable_msasn1
1111 enable_mscat32
1112 enable_mscms
1113 enable_mscoree
1114 enable_msctf
1115 enable_msdaps
1116 enable_msdmo
1117 enable_msftedit
1118 enable_msg711_acm
1119 enable_msgsm32_acm
1120 enable_mshtml_tlb
1121 enable_mshtml
1122 enable_msi
1123 enable_msident
1124 enable_msimg32
1125 enable_msimsg
1126 enable_msimtf
1127 enable_msisip
1128 enable_msisys_ocx
1129 enable_msls31
1130 enable_msnet32
1131 enable_mspatcha
1132 enable_msrle32
1133 enable_mssign32
1134 enable_mssip32
1135 enable_mstask
1136 enable_msvcirt
1137 enable_msvcm80
1138 enable_msvcm90
1139 enable_msvcp100
1140 enable_msvcp110
1141 enable_msvcp120
1142 enable_msvcp60
1143 enable_msvcp70
1144 enable_msvcp71
1145 enable_msvcp80
1146 enable_msvcp90
1147 enable_msvcr100
1148 enable_msvcr110
1149 enable_msvcr120
1150 enable_msvcr70
1151 enable_msvcr71
1152 enable_msvcr80
1153 enable_msvcr90
1154 enable_msvcrt
1155 enable_msvcrt20
1156 enable_msvcrt40
1157 enable_msvcrtd
1158 enable_msvfw32
1159 enable_msvidc32
1160 enable_mswsock
1161 enable_msxml
1162 enable_msxml2
1163 enable_msxml3
1164 enable_msxml4
1165 enable_msxml6
1166 enable_nddeapi
1167 enable_ndis_sys
1168 enable_netapi32
1169 enable_netcfgx
1170 enable_netprofm
1171 enable_newdev
1172 enable_normaliz
1173 enable_npmshtml
1174 enable_npptools
1175 enable_ntdll
1176 enable_ntdsapi
1177 enable_ntoskrnl_exe
1178 enable_ntprint
1179 enable_objsel
1180 enable_odbc32
1181 enable_odbccp32
1182 enable_odbccu32
1183 enable_ole32
1184 enable_oleacc
1185 enable_oleaut32
1186 enable_olecli32
1187 enable_oledb32
1188 enable_oledlg
1189 enable_olepro32
1190 enable_olesvr32
1191 enable_olethk32
1192 enable_openal32
1193 enable_opencl
1194 enable_opengl32
1195 enable_packager
1196 enable_pdh
1197 enable_photometadatahandler
1198 enable_pidgen
1199 enable_powrprof
1200 enable_printui
1201 enable_prntvpt
1202 enable_propsys
1203 enable_psapi
1204 enable_pstorec
1205 enable_qcap
1206 enable_qedit
1207 enable_qmgr
1208 enable_qmgrprxy
1209 enable_quartz
1210 enable_query
1211 enable_rasapi32
1212 enable_rasdlg
1213 enable_regapi
1214 enable_resutils
1215 enable_riched20
1216 enable_riched32
1217 enable_rpcrt4
1218 enable_rsabase
1219 enable_rsaenh
1220 enable_rstrtmgr
1221 enable_rtutils
1222 enable_samlib
1223 enable_sane_ds
1224 enable_scarddlg
1225 enable_sccbase
1226 enable_schannel
1227 enable_schedsvc
1228 enable_scrrun
1229 enable_scsiport_sys
1230 enable_secur32
1231 enable_security
1232 enable_sensapi
1233 enable_serialui
1234 enable_setupapi
1235 enable_sfc
1236 enable_sfc_os
1237 enable_shdoclc
1238 enable_shdocvw
1239 enable_shell32
1240 enable_shfolder
1241 enable_shlwapi
1242 enable_slbcsp
1243 enable_slc
1244 enable_snmpapi
1245 enable_softpub
1246 enable_spoolss
1247 enable_stdole2_tlb
1248 enable_stdole32_tlb
1249 enable_sti
1250 enable_svrapi
1251 enable_sxs
1252 enable_t2embed
1253 enable_tapi32
1254 enable_taskschd
1255 enable_traffic
1256 enable_twain_32
1257 enable_unicows
1258 enable_updspapi
1259 enable_url
1260 enable_urlmon
1261 enable_usbd_sys
1262 enable_user32
1263 enable_userenv
1264 enable_usp10
1265 enable_uxtheme
1266 enable_vbscript
1267 enable_vcomp
1268 enable_vcomp100
1269 enable_vcomp90
1270 enable_vdmdbg
1271 enable_version
1272 enable_vssapi
1273 enable_wbemdisp
1274 enable_wbemprox
1275 enable_webservices
1276 enable_wer
1277 enable_wevtapi
1278 enable_wiaservc
1279 enable_windowscodecs
1280 enable_windowscodecsext
1281 enable_winealsa_drv
1282 enable_winecoreaudio_drv
1283 enable_wined3d
1284 enable_winegstreamer
1285 enable_winejoystick_drv
1286 enable_winemac_drv
1287 enable_winemapi
1288 enable_winemp3_acm
1289 enable_wineoss_drv
1290 enable_wineps_drv
1291 enable_wineqtdecoder
1292 enable_winex11_drv
1293 enable_wing32
1294 enable_winhttp
1295 enable_wininet
1296 enable_winmm
1297 enable_winnls32
1298 enable_winscard
1299 enable_winspool_drv
1300 enable_winsta
1301 enable_wintab32
1302 enable_wintrust
1303 enable_wlanapi
1304 enable_wldap32
1305 enable_wmi
1306 enable_wmiutils
1307 enable_wmp
1308 enable_wmvcore
1309 enable_wnaspi32
1310 enable_wpcap
1311 enable_ws2_32
1312 enable_wshom_ocx
1313 enable_wsnmp32
1314 enable_wsock32
1315 enable_wtsapi32
1316 enable_wuapi
1317 enable_wuaueng
1318 enable_xapofx1_1
1319 enable_xinput1_1
1320 enable_xinput1_2
1321 enable_xinput1_3
1322 enable_xinput1_4
1323 enable_xinput9_1_0
1324 enable_xmllite
1325 enable_xolehlp
1326 enable_xpsprint
1327 enable_xpssvcs
1328 enable_documentation
1329 enable_fonts
1330 enable_include
1331 enable_libs_port
1332 enable_libs_wine
1333 enable_libs_wpp
1334 enable_loader
1335 enable_arp
1336 enable_aspnet_regiis
1337 enable_attrib
1338 enable_cabarc
1339 enable_cacls
1340 enable_clock
1341 enable_cmd
1342 enable_conhost
1343 enable_control
1344 enable_cscript
1345 enable_dpnsvr
1346 enable_dxdiag
1347 enable_eject
1348 enable_expand
1349 enable_explorer
1350 enable_extrac32
1351 enable_findstr
1352 enable_hh
1353 enable_hostname
1354 enable_icinfo
1355 enable_iexplore
1356 enable_ipconfig
1357 enable_lodctr
1358 enable_mofcomp
1359 enable_mshta
1360 enable_msiexec
1361 enable_net
1362 enable_netsh
1363 enable_netstat
1364 enable_ngen
1365 enable_notepad
1366 enable_oleview
1367 enable_ping
1368 enable_plugplay
1369 enable_presentationfontcache
1370 enable_progman
1371 enable_reg
1372 enable_regasm
1373 enable_regedit
1374 enable_regsvcs
1375 enable_regsvr32
1376 enable_rpcss
1377 enable_rundll32
1378 enable_sc
1379 enable_schtasks
1380 enable_sdbinst
1381 enable_secedit
1382 enable_servicemodelreg
1383 enable_services
1384 enable_spoolsv
1385 enable_start
1386 enable_svchost
1387 enable_systeminfo
1388 enable_taskkill
1389 enable_tasklist
1390 enable_taskmgr
1391 enable_termsv
1392 enable_uninstaller
1393 enable_unlodctr
1394 enable_view
1395 enable_wevtutil
1396 enable_wineboot
1397 enable_winebrowser
1398 enable_winecfg
1399 enable_wineconsole
1400 enable_winedbg
1401 enable_winedevice
1402 enable_winefile
1403 enable_winemenubuilder
1404 enable_winemine
1405 enable_winemsibuilder
1406 enable_winepath
1407 enable_winetest
1408 enable_winhlp32
1409 enable_winver
1410 enable_wmic
1411 enable_wordpad
1412 enable_write
1413 enable_wscript
1414 enable_wusa
1415 enable_xcopy
1416 enable_server
1417 enable_tools
1419 ac_precious_vars='build_alias
1420 host_alias
1421 target_alias
1423 CFLAGS
1424 LDFLAGS
1425 LIBS
1426 CPPFLAGS
1428 CXXFLAGS
1431 XMKMF
1432 XML2_CFLAGS
1433 XML2_LIBS
1434 XSLT_CFLAGS
1435 XSLT_LIBS
1436 DBUS_CFLAGS
1437 DBUS_LIBS
1438 HAL_CFLAGS
1439 HAL_LIBS
1440 GNUTLS_CFLAGS
1441 GNUTLS_LIBS
1442 SANE_CFLAGS
1443 SANE_LIBS
1444 GPHOTO2_CFLAGS
1445 GPHOTO2_LIBS
1446 GPHOTO2_PORT_CFLAGS
1447 GPHOTO2_PORT_LIBS
1448 LCMS2_CFLAGS
1449 LCMS2_LIBS
1450 FREETYPE_CFLAGS
1451 FREETYPE_LIBS
1452 GSTREAMER_CFLAGS
1453 GSTREAMER_LIBS
1454 CAPI20_CFLAGS
1455 CAPI20_LIBS
1456 FONTCONFIG_CFLAGS
1457 FONTCONFIG_LIBS
1458 JPEG_CFLAGS
1459 JPEG_LIBS
1460 PNG_CFLAGS
1461 PNG_LIBS
1462 TIFF_CFLAGS
1463 TIFF_LIBS
1464 MPG123_CFLAGS
1465 MPG123_LIBS'
1468 # Initialize some variables set by options.
1469 ac_init_help=
1470 ac_init_version=false
1471 ac_unrecognized_opts=
1472 ac_unrecognized_sep=
1473 # The variables have the same names as the options, with
1474 # dashes changed to underlines.
1475 cache_file=/dev/null
1476 exec_prefix=NONE
1477 no_create=
1478 no_recursion=
1479 prefix=NONE
1480 program_prefix=NONE
1481 program_suffix=NONE
1482 program_transform_name=s,x,x,
1483 silent=
1484 site=
1485 srcdir=
1486 verbose=
1487 x_includes=NONE
1488 x_libraries=NONE
1490 # Installation directory options.
1491 # These are left unexpanded so users can "make install exec_prefix=/foo"
1492 # and all the variables that are supposed to be based on exec_prefix
1493 # by default will actually change.
1494 # Use braces instead of parens because sh, perl, etc. also accept them.
1495 # (The list follows the same order as the GNU Coding Standards.)
1496 bindir='${exec_prefix}/bin'
1497 sbindir='${exec_prefix}/sbin'
1498 libexecdir='${exec_prefix}/libexec'
1499 datarootdir='${prefix}/share'
1500 datadir='${datarootdir}'
1501 sysconfdir='${prefix}/etc'
1502 sharedstatedir='${prefix}/com'
1503 localstatedir='${prefix}/var'
1504 includedir='${prefix}/include'
1505 oldincludedir='/usr/include'
1506 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1507 infodir='${datarootdir}/info'
1508 htmldir='${docdir}'
1509 dvidir='${docdir}'
1510 pdfdir='${docdir}'
1511 psdir='${docdir}'
1512 libdir='${exec_prefix}/lib'
1513 localedir='${datarootdir}/locale'
1514 mandir='${datarootdir}/man'
1516 ac_prev=
1517 ac_dashdash=
1518 for ac_option
1520 # If the previous option needs an argument, assign it.
1521 if test -n "$ac_prev"; then
1522 eval $ac_prev=\$ac_option
1523 ac_prev=
1524 continue
1527 case $ac_option in
1528 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1529 *=) ac_optarg= ;;
1530 *) ac_optarg=yes ;;
1531 esac
1533 # Accept the important Cygnus configure options, so we can diagnose typos.
1535 case $ac_dashdash$ac_option in
1537 ac_dashdash=yes ;;
1539 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1540 ac_prev=bindir ;;
1541 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1542 bindir=$ac_optarg ;;
1544 -build | --build | --buil | --bui | --bu)
1545 ac_prev=build_alias ;;
1546 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1547 build_alias=$ac_optarg ;;
1549 -cache-file | --cache-file | --cache-fil | --cache-fi \
1550 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1551 ac_prev=cache_file ;;
1552 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1553 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1554 cache_file=$ac_optarg ;;
1556 --config-cache | -C)
1557 cache_file=config.cache ;;
1559 -datadir | --datadir | --datadi | --datad)
1560 ac_prev=datadir ;;
1561 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1562 datadir=$ac_optarg ;;
1564 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1565 | --dataroo | --dataro | --datar)
1566 ac_prev=datarootdir ;;
1567 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1568 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1569 datarootdir=$ac_optarg ;;
1571 -disable-* | --disable-*)
1572 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1573 # Reject names that are not valid shell variable names.
1574 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1575 as_fn_error $? "invalid feature name: $ac_useropt"
1576 ac_useropt_orig=$ac_useropt
1577 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1578 case $ac_user_opts in
1580 "enable_$ac_useropt"
1581 "*) ;;
1582 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1583 ac_unrecognized_sep=', ';;
1584 esac
1585 eval enable_$ac_useropt=no ;;
1587 -docdir | --docdir | --docdi | --doc | --do)
1588 ac_prev=docdir ;;
1589 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1590 docdir=$ac_optarg ;;
1592 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1593 ac_prev=dvidir ;;
1594 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1595 dvidir=$ac_optarg ;;
1597 -enable-* | --enable-*)
1598 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1599 # Reject names that are not valid shell variable names.
1600 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1601 as_fn_error $? "invalid feature name: $ac_useropt"
1602 ac_useropt_orig=$ac_useropt
1603 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1604 case $ac_user_opts in
1606 "enable_$ac_useropt"
1607 "*) ;;
1608 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1609 ac_unrecognized_sep=', ';;
1610 esac
1611 eval enable_$ac_useropt=\$ac_optarg ;;
1613 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1614 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1615 | --exec | --exe | --ex)
1616 ac_prev=exec_prefix ;;
1617 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1618 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1619 | --exec=* | --exe=* | --ex=*)
1620 exec_prefix=$ac_optarg ;;
1622 -gas | --gas | --ga | --g)
1623 # Obsolete; use --with-gas.
1624 with_gas=yes ;;
1626 -help | --help | --hel | --he | -h)
1627 ac_init_help=long ;;
1628 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1629 ac_init_help=recursive ;;
1630 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1631 ac_init_help=short ;;
1633 -host | --host | --hos | --ho)
1634 ac_prev=host_alias ;;
1635 -host=* | --host=* | --hos=* | --ho=*)
1636 host_alias=$ac_optarg ;;
1638 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1639 ac_prev=htmldir ;;
1640 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1641 | --ht=*)
1642 htmldir=$ac_optarg ;;
1644 -includedir | --includedir | --includedi | --included | --include \
1645 | --includ | --inclu | --incl | --inc)
1646 ac_prev=includedir ;;
1647 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1648 | --includ=* | --inclu=* | --incl=* | --inc=*)
1649 includedir=$ac_optarg ;;
1651 -infodir | --infodir | --infodi | --infod | --info | --inf)
1652 ac_prev=infodir ;;
1653 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1654 infodir=$ac_optarg ;;
1656 -libdir | --libdir | --libdi | --libd)
1657 ac_prev=libdir ;;
1658 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1659 libdir=$ac_optarg ;;
1661 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1662 | --libexe | --libex | --libe)
1663 ac_prev=libexecdir ;;
1664 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1665 | --libexe=* | --libex=* | --libe=*)
1666 libexecdir=$ac_optarg ;;
1668 -localedir | --localedir | --localedi | --localed | --locale)
1669 ac_prev=localedir ;;
1670 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1671 localedir=$ac_optarg ;;
1673 -localstatedir | --localstatedir | --localstatedi | --localstated \
1674 | --localstate | --localstat | --localsta | --localst | --locals)
1675 ac_prev=localstatedir ;;
1676 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1677 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1678 localstatedir=$ac_optarg ;;
1680 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1681 ac_prev=mandir ;;
1682 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1683 mandir=$ac_optarg ;;
1685 -nfp | --nfp | --nf)
1686 # Obsolete; use --without-fp.
1687 with_fp=no ;;
1689 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1690 | --no-cr | --no-c | -n)
1691 no_create=yes ;;
1693 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1694 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1695 no_recursion=yes ;;
1697 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1698 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1699 | --oldin | --oldi | --old | --ol | --o)
1700 ac_prev=oldincludedir ;;
1701 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1702 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1703 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1704 oldincludedir=$ac_optarg ;;
1706 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1707 ac_prev=prefix ;;
1708 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1709 prefix=$ac_optarg ;;
1711 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1712 | --program-pre | --program-pr | --program-p)
1713 ac_prev=program_prefix ;;
1714 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1715 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1716 program_prefix=$ac_optarg ;;
1718 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1719 | --program-suf | --program-su | --program-s)
1720 ac_prev=program_suffix ;;
1721 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1722 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1723 program_suffix=$ac_optarg ;;
1725 -program-transform-name | --program-transform-name \
1726 | --program-transform-nam | --program-transform-na \
1727 | --program-transform-n | --program-transform- \
1728 | --program-transform | --program-transfor \
1729 | --program-transfo | --program-transf \
1730 | --program-trans | --program-tran \
1731 | --progr-tra | --program-tr | --program-t)
1732 ac_prev=program_transform_name ;;
1733 -program-transform-name=* | --program-transform-name=* \
1734 | --program-transform-nam=* | --program-transform-na=* \
1735 | --program-transform-n=* | --program-transform-=* \
1736 | --program-transform=* | --program-transfor=* \
1737 | --program-transfo=* | --program-transf=* \
1738 | --program-trans=* | --program-tran=* \
1739 | --progr-tra=* | --program-tr=* | --program-t=*)
1740 program_transform_name=$ac_optarg ;;
1742 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1743 ac_prev=pdfdir ;;
1744 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1745 pdfdir=$ac_optarg ;;
1747 -psdir | --psdir | --psdi | --psd | --ps)
1748 ac_prev=psdir ;;
1749 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1750 psdir=$ac_optarg ;;
1752 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1753 | -silent | --silent | --silen | --sile | --sil)
1754 silent=yes ;;
1756 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1757 ac_prev=sbindir ;;
1758 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1759 | --sbi=* | --sb=*)
1760 sbindir=$ac_optarg ;;
1762 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1763 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1764 | --sharedst | --shareds | --shared | --share | --shar \
1765 | --sha | --sh)
1766 ac_prev=sharedstatedir ;;
1767 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1768 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1769 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1770 | --sha=* | --sh=*)
1771 sharedstatedir=$ac_optarg ;;
1773 -site | --site | --sit)
1774 ac_prev=site ;;
1775 -site=* | --site=* | --sit=*)
1776 site=$ac_optarg ;;
1778 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1779 ac_prev=srcdir ;;
1780 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1781 srcdir=$ac_optarg ;;
1783 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1784 | --syscon | --sysco | --sysc | --sys | --sy)
1785 ac_prev=sysconfdir ;;
1786 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1787 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1788 sysconfdir=$ac_optarg ;;
1790 -target | --target | --targe | --targ | --tar | --ta | --t)
1791 ac_prev=target_alias ;;
1792 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1793 target_alias=$ac_optarg ;;
1795 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1796 verbose=yes ;;
1798 -version | --version | --versio | --versi | --vers | -V)
1799 ac_init_version=: ;;
1801 -with-* | --with-*)
1802 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1803 # Reject names that are not valid shell variable names.
1804 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1805 as_fn_error $? "invalid package name: $ac_useropt"
1806 ac_useropt_orig=$ac_useropt
1807 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1808 case $ac_user_opts in
1810 "with_$ac_useropt"
1811 "*) ;;
1812 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1813 ac_unrecognized_sep=', ';;
1814 esac
1815 eval with_$ac_useropt=\$ac_optarg ;;
1817 -without-* | --without-*)
1818 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1819 # Reject names that are not valid shell variable names.
1820 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1821 as_fn_error $? "invalid package name: $ac_useropt"
1822 ac_useropt_orig=$ac_useropt
1823 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1824 case $ac_user_opts in
1826 "with_$ac_useropt"
1827 "*) ;;
1828 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1829 ac_unrecognized_sep=', ';;
1830 esac
1831 eval with_$ac_useropt=no ;;
1833 --x)
1834 # Obsolete; use --with-x.
1835 with_x=yes ;;
1837 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1838 | --x-incl | --x-inc | --x-in | --x-i)
1839 ac_prev=x_includes ;;
1840 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1841 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1842 x_includes=$ac_optarg ;;
1844 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1845 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1846 ac_prev=x_libraries ;;
1847 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1848 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1849 x_libraries=$ac_optarg ;;
1851 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1852 Try \`$0 --help' for more information"
1855 *=*)
1856 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1857 # Reject names that are not valid shell variable names.
1858 case $ac_envvar in #(
1859 '' | [0-9]* | *[!_$as_cr_alnum]* )
1860 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1861 esac
1862 eval $ac_envvar=\$ac_optarg
1863 export $ac_envvar ;;
1866 # FIXME: should be removed in autoconf 3.0.
1867 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1868 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1869 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1870 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1873 esac
1874 done
1876 if test -n "$ac_prev"; then
1877 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1878 as_fn_error $? "missing argument to $ac_option"
1881 if test -n "$ac_unrecognized_opts"; then
1882 case $enable_option_checking in
1883 no) ;;
1884 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1885 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1886 esac
1889 # Check all directory arguments for consistency.
1890 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1891 datadir sysconfdir sharedstatedir localstatedir includedir \
1892 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1893 libdir localedir mandir
1895 eval ac_val=\$$ac_var
1896 # Remove trailing slashes.
1897 case $ac_val in
1898 */ )
1899 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1900 eval $ac_var=\$ac_val;;
1901 esac
1902 # Be sure to have absolute directory names.
1903 case $ac_val in
1904 [\\/$]* | ?:[\\/]* ) continue;;
1905 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1906 esac
1907 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1908 done
1910 # There might be people who depend on the old broken behavior: `$host'
1911 # used to hold the argument of --host etc.
1912 # FIXME: To remove some day.
1913 build=$build_alias
1914 host=$host_alias
1915 target=$target_alias
1917 # FIXME: To remove some day.
1918 if test "x$host_alias" != x; then
1919 if test "x$build_alias" = x; then
1920 cross_compiling=maybe
1921 elif test "x$build_alias" != "x$host_alias"; then
1922 cross_compiling=yes
1926 ac_tool_prefix=
1927 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1929 test "$silent" = yes && exec 6>/dev/null
1932 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1933 ac_ls_di=`ls -di .` &&
1934 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1935 as_fn_error $? "working directory cannot be determined"
1936 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1937 as_fn_error $? "pwd does not report name of working directory"
1940 # Find the source files, if location was not specified.
1941 if test -z "$srcdir"; then
1942 ac_srcdir_defaulted=yes
1943 # Try the directory containing this script, then the parent directory.
1944 ac_confdir=`$as_dirname -- "$as_myself" ||
1945 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1946 X"$as_myself" : 'X\(//\)[^/]' \| \
1947 X"$as_myself" : 'X\(//\)$' \| \
1948 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1949 $as_echo X"$as_myself" |
1950 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1951 s//\1/
1954 /^X\(\/\/\)[^/].*/{
1955 s//\1/
1958 /^X\(\/\/\)$/{
1959 s//\1/
1962 /^X\(\/\).*/{
1963 s//\1/
1966 s/.*/./; q'`
1967 srcdir=$ac_confdir
1968 if test ! -r "$srcdir/$ac_unique_file"; then
1969 srcdir=..
1971 else
1972 ac_srcdir_defaulted=no
1974 if test ! -r "$srcdir/$ac_unique_file"; then
1975 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1976 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1978 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1979 ac_abs_confdir=`(
1980 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1981 pwd)`
1982 # When building in place, set srcdir=.
1983 if test "$ac_abs_confdir" = "$ac_pwd"; then
1984 srcdir=.
1986 # Remove unnecessary trailing slashes from srcdir.
1987 # Double slashes in file names in object file debugging info
1988 # mess up M-x gdb in Emacs.
1989 case $srcdir in
1990 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1991 esac
1992 for ac_var in $ac_precious_vars; do
1993 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1994 eval ac_env_${ac_var}_value=\$${ac_var}
1995 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1996 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1997 done
2000 # Report the --help message.
2002 if test "$ac_init_help" = "long"; then
2003 # Omit some internal or obsolete options to make the list less imposing.
2004 # This message is too long to be a string in the A/UX 3.1 sh.
2005 cat <<_ACEOF
2006 \`configure' configures Wine 1.7.32 to adapt to many kinds of systems.
2008 Usage: $0 [OPTION]... [VAR=VALUE]...
2010 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2011 VAR=VALUE. See below for descriptions of some of the useful variables.
2013 Defaults for the options are specified in brackets.
2015 Configuration:
2016 -h, --help display this help and exit
2017 --help=short display options specific to this package
2018 --help=recursive display the short help of all the included packages
2019 -V, --version display version information and exit
2020 -q, --quiet, --silent do not print \`checking ...' messages
2021 --cache-file=FILE cache test results in FILE [disabled]
2022 -C, --config-cache alias for \`--cache-file=config.cache'
2023 -n, --no-create do not create output files
2024 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2026 Installation directories:
2027 --prefix=PREFIX install architecture-independent files in PREFIX
2028 [$ac_default_prefix]
2029 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2030 [PREFIX]
2032 By default, \`make install' will install all the files in
2033 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2034 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2035 for instance \`--prefix=\$HOME'.
2037 For better control, use the options below.
2039 Fine tuning of the installation directories:
2040 --bindir=DIR user executables [EPREFIX/bin]
2041 --sbindir=DIR system admin executables [EPREFIX/sbin]
2042 --libexecdir=DIR program executables [EPREFIX/libexec]
2043 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2044 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2045 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2046 --libdir=DIR object code libraries [EPREFIX/lib]
2047 --includedir=DIR C header files [PREFIX/include]
2048 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2049 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2050 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2051 --infodir=DIR info documentation [DATAROOTDIR/info]
2052 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2053 --mandir=DIR man documentation [DATAROOTDIR/man]
2054 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2055 --htmldir=DIR html documentation [DOCDIR]
2056 --dvidir=DIR dvi documentation [DOCDIR]
2057 --pdfdir=DIR pdf documentation [DOCDIR]
2058 --psdir=DIR ps documentation [DOCDIR]
2059 _ACEOF
2061 cat <<\_ACEOF
2063 X features:
2064 --x-includes=DIR X include files are in DIR
2065 --x-libraries=DIR X library files are in DIR
2067 System types:
2068 --build=BUILD configure for building on BUILD [guessed]
2069 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2070 _ACEOF
2073 if test -n "$ac_init_help"; then
2074 case $ac_init_help in
2075 short | recursive ) echo "Configuration of Wine 1.7.32:";;
2076 esac
2077 cat <<\_ACEOF
2079 Optional Features:
2080 --disable-option-checking ignore unrecognized --enable/--with options
2081 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2082 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2083 --disable-win16 do not include Win16 support
2084 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2085 binaries)
2086 --disable-tests do not build the regression tests
2087 --enable-maintainer-mode
2088 enable maintainer-specific build rules
2089 --disable-largefile omit support for large files
2091 Optional Packages:
2092 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2093 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2094 --without-alsa do not use the Alsa sound support
2095 --without-capi do not use CAPI (ISDN support)
2096 --without-cms do not use CMS (color management support)
2097 --without-coreaudio do not use the CoreAudio sound support
2098 --without-cups do not use CUPS
2099 --without-curses do not use (n)curses
2100 --without-dbus do not use DBus (dynamic device support)
2101 --without-fontconfig do not use fontconfig
2102 --without-freetype do not use the FreeType library
2103 --without-gettext do not use gettext
2104 --with-gettextpo use the GetTextPO library to rebuild po files
2105 --without-gphoto do not use gphoto (Digital Camera support)
2106 --without-glu do not use the GLU library
2107 --without-gnutls do not use GnuTLS (schannel support)
2108 --without-gsm do not use libgsm (GSM 06.10 codec support)
2109 --without-gstreamer do not use GStreamer (codecs support)
2110 --without-hal do not use HAL (dynamic device support)
2111 --without-jpeg do not use JPEG
2112 --without-ldap do not use LDAP
2113 --without-mpg123 do not use the mpg123 library
2114 --without-netapi do not use the Samba NetAPI library
2115 --without-openal do not use OpenAL
2116 --without-opencl do not use OpenCL
2117 --without-opengl do not use OpenGL
2118 --without-osmesa do not use the OSMesa library
2119 --without-oss do not use the OSS sound support
2120 --without-pcap do not use the Packet Capture library
2121 --without-png do not use PNG
2122 --without-pthread do not use the pthread library
2123 --without-sane do not use SANE (scanner support)
2124 --without-tiff do not use TIFF
2125 --without-v4l do not use v4l1 (v4l support)
2126 --without-xcomposite do not use the Xcomposite extension
2127 --without-xcursor do not use the Xcursor extension
2128 --without-xinerama do not use Xinerama (multi-monitor support)
2129 --without-xinput do not use the Xinput extension
2130 --without-xinput2 do not use the Xinput 2 extension
2131 --without-xml do not use XML
2132 --without-xrandr do not use Xrandr (resolution changes)
2133 --without-xrender do not use the Xrender extension
2134 --without-xshape do not use the Xshape extension
2135 --without-xshm do not use XShm (shared memory extension)
2136 --without-xslt do not use XSLT
2137 --without-xxf86vm do not use XFree video mode extension
2138 --without-zlib do not use Zlib (data compression)
2139 --with-wine-tools=DIR use Wine tools from directory DIR
2140 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2141 --with-x use the X Window System
2143 Some influential environment variables:
2144 CC C compiler command
2145 CFLAGS C compiler flags
2146 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2147 nonstandard directory <lib dir>
2148 LIBS libraries to pass to the linker, e.g. -l<library>
2149 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2150 you have headers in a nonstandard directory <include dir>
2151 CXX C++ compiler command
2152 CXXFLAGS C++ compiler flags
2153 CPP C preprocessor
2154 XMKMF Path to xmkmf, Makefile generator for X Window System
2155 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2156 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2157 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2158 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2159 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2160 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2161 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2162 HAL_LIBS Linker flags for hal, overriding pkg-config
2163 GNUTLS_CFLAGS
2164 C compiler flags for gnutls, overriding pkg-config
2165 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2166 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2167 SANE_LIBS Linker flags for libsane, overriding pkg-config
2168 GPHOTO2_CFLAGS
2169 C compiler flags for libgphoto2, overriding pkg-config
2170 GPHOTO2_LIBS
2171 Linker flags for libgphoto2, overriding pkg-config
2172 GPHOTO2_PORT_CFLAGS
2173 C compiler flags for libgphoto2_port, overriding pkg-config
2174 GPHOTO2_PORT_LIBS
2175 Linker flags for libgphoto2_port, overriding pkg-config
2176 LCMS2_CFLAGS
2177 C compiler flags for lcms2, overriding pkg-config
2178 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2179 FREETYPE_CFLAGS
2180 C compiler flags for freetype2, overriding pkg-config
2181 FREETYPE_LIBS
2182 Linker flags for freetype2, overriding pkg-config
2183 GSTREAMER_CFLAGS
2184 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2185 GSTREAMER_LIBS
2186 Linker flags for gstreamer-app-0.10, overriding pkg-config
2187 CAPI20_CFLAGS
2188 C compiler flags for capi20, overriding pkg-config
2189 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2190 FONTCONFIG_CFLAGS
2191 C compiler flags for fontconfig, overriding pkg-config
2192 FONTCONFIG_LIBS
2193 Linker flags for fontconfig, overriding pkg-config
2194 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2195 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2196 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2197 PNG_LIBS Linker flags for libpng, overriding pkg-config
2198 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2199 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2200 MPG123_CFLAGS
2201 C compiler flags for libmpg123, overriding pkg-config
2202 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2204 Use these variables to override the choices made by `configure' or to help
2205 it to find libraries and programs with nonstandard names/locations.
2207 Report bugs to <wine-devel@winehq.org>.
2208 Wine home page: <http://www.winehq.org>.
2209 _ACEOF
2210 ac_status=$?
2213 if test "$ac_init_help" = "recursive"; then
2214 # If there are subdirs, report their specific --help.
2215 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2216 test -d "$ac_dir" ||
2217 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2218 continue
2219 ac_builddir=.
2221 case "$ac_dir" in
2222 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2224 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2225 # A ".." for each directory in $ac_dir_suffix.
2226 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2227 case $ac_top_builddir_sub in
2228 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2229 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2230 esac ;;
2231 esac
2232 ac_abs_top_builddir=$ac_pwd
2233 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2234 # for backward compatibility:
2235 ac_top_builddir=$ac_top_build_prefix
2237 case $srcdir in
2238 .) # We are building in place.
2239 ac_srcdir=.
2240 ac_top_srcdir=$ac_top_builddir_sub
2241 ac_abs_top_srcdir=$ac_pwd ;;
2242 [\\/]* | ?:[\\/]* ) # Absolute name.
2243 ac_srcdir=$srcdir$ac_dir_suffix;
2244 ac_top_srcdir=$srcdir
2245 ac_abs_top_srcdir=$srcdir ;;
2246 *) # Relative name.
2247 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2248 ac_top_srcdir=$ac_top_build_prefix$srcdir
2249 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2250 esac
2251 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2253 cd "$ac_dir" || { ac_status=$?; continue; }
2254 # Check for guested configure.
2255 if test -f "$ac_srcdir/configure.gnu"; then
2256 echo &&
2257 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2258 elif test -f "$ac_srcdir/configure"; then
2259 echo &&
2260 $SHELL "$ac_srcdir/configure" --help=recursive
2261 else
2262 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2263 fi || ac_status=$?
2264 cd "$ac_pwd" || { ac_status=$?; break; }
2265 done
2268 test -n "$ac_init_help" && exit $ac_status
2269 if $ac_init_version; then
2270 cat <<\_ACEOF
2271 Wine configure 1.7.32
2272 generated by GNU Autoconf 2.69
2274 Copyright (C) 2012 Free Software Foundation, Inc.
2275 This configure script is free software; the Free Software Foundation
2276 gives unlimited permission to copy, distribute and modify it.
2277 _ACEOF
2278 exit
2281 ## ------------------------ ##
2282 ## Autoconf initialization. ##
2283 ## ------------------------ ##
2285 # ac_fn_c_try_compile LINENO
2286 # --------------------------
2287 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2288 ac_fn_c_try_compile ()
2290 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2291 rm -f conftest.$ac_objext
2292 if { { ac_try="$ac_compile"
2293 case "(($ac_try" in
2294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2295 *) ac_try_echo=$ac_try;;
2296 esac
2297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2298 $as_echo "$ac_try_echo"; } >&5
2299 (eval "$ac_compile") 2>conftest.err
2300 ac_status=$?
2301 if test -s conftest.err; then
2302 grep -v '^ *+' conftest.err >conftest.er1
2303 cat conftest.er1 >&5
2304 mv -f conftest.er1 conftest.err
2306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2307 test $ac_status = 0; } && {
2308 test -z "$ac_c_werror_flag" ||
2309 test ! -s conftest.err
2310 } && test -s conftest.$ac_objext; then :
2311 ac_retval=0
2312 else
2313 $as_echo "$as_me: failed program was:" >&5
2314 sed 's/^/| /' conftest.$ac_ext >&5
2316 ac_retval=1
2318 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2319 as_fn_set_status $ac_retval
2321 } # ac_fn_c_try_compile
2323 # ac_fn_cxx_try_compile LINENO
2324 # ----------------------------
2325 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2326 ac_fn_cxx_try_compile ()
2328 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2329 rm -f conftest.$ac_objext
2330 if { { ac_try="$ac_compile"
2331 case "(($ac_try" in
2332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2333 *) ac_try_echo=$ac_try;;
2334 esac
2335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2336 $as_echo "$ac_try_echo"; } >&5
2337 (eval "$ac_compile") 2>conftest.err
2338 ac_status=$?
2339 if test -s conftest.err; then
2340 grep -v '^ *+' conftest.err >conftest.er1
2341 cat conftest.er1 >&5
2342 mv -f conftest.er1 conftest.err
2344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2345 test $ac_status = 0; } && {
2346 test -z "$ac_cxx_werror_flag" ||
2347 test ! -s conftest.err
2348 } && test -s conftest.$ac_objext; then :
2349 ac_retval=0
2350 else
2351 $as_echo "$as_me: failed program was:" >&5
2352 sed 's/^/| /' conftest.$ac_ext >&5
2354 ac_retval=1
2356 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2357 as_fn_set_status $ac_retval
2359 } # ac_fn_cxx_try_compile
2361 # ac_fn_c_try_link LINENO
2362 # -----------------------
2363 # Try to link conftest.$ac_ext, and return whether this succeeded.
2364 ac_fn_c_try_link ()
2366 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2367 rm -f conftest.$ac_objext conftest$ac_exeext
2368 if { { ac_try="$ac_link"
2369 case "(($ac_try" in
2370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2371 *) ac_try_echo=$ac_try;;
2372 esac
2373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2374 $as_echo "$ac_try_echo"; } >&5
2375 (eval "$ac_link") 2>conftest.err
2376 ac_status=$?
2377 if test -s conftest.err; then
2378 grep -v '^ *+' conftest.err >conftest.er1
2379 cat conftest.er1 >&5
2380 mv -f conftest.er1 conftest.err
2382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2383 test $ac_status = 0; } && {
2384 test -z "$ac_c_werror_flag" ||
2385 test ! -s conftest.err
2386 } && test -s conftest$ac_exeext && {
2387 test "$cross_compiling" = yes ||
2388 test -x conftest$ac_exeext
2389 }; then :
2390 ac_retval=0
2391 else
2392 $as_echo "$as_me: failed program was:" >&5
2393 sed 's/^/| /' conftest.$ac_ext >&5
2395 ac_retval=1
2397 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2398 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2399 # interfere with the next link command; also delete a directory that is
2400 # left behind by Apple's compiler. We do this before executing the actions.
2401 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2402 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2403 as_fn_set_status $ac_retval
2405 } # ac_fn_c_try_link
2407 # ac_fn_c_try_cpp LINENO
2408 # ----------------------
2409 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2410 ac_fn_c_try_cpp ()
2412 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2413 if { { ac_try="$ac_cpp conftest.$ac_ext"
2414 case "(($ac_try" in
2415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2416 *) ac_try_echo=$ac_try;;
2417 esac
2418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2419 $as_echo "$ac_try_echo"; } >&5
2420 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2421 ac_status=$?
2422 if test -s conftest.err; then
2423 grep -v '^ *+' conftest.err >conftest.er1
2424 cat conftest.er1 >&5
2425 mv -f conftest.er1 conftest.err
2427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2428 test $ac_status = 0; } > conftest.i && {
2429 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2430 test ! -s conftest.err
2431 }; then :
2432 ac_retval=0
2433 else
2434 $as_echo "$as_me: failed program was:" >&5
2435 sed 's/^/| /' conftest.$ac_ext >&5
2437 ac_retval=1
2439 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2440 as_fn_set_status $ac_retval
2442 } # ac_fn_c_try_cpp
2444 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2445 # -------------------------------------------------------
2446 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2447 # the include files in INCLUDES and setting the cache variable VAR
2448 # accordingly.
2449 ac_fn_c_check_header_mongrel ()
2451 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2452 if eval \${$3+:} false; then :
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2454 $as_echo_n "checking for $2... " >&6; }
2455 if eval \${$3+:} false; then :
2456 $as_echo_n "(cached) " >&6
2458 eval ac_res=\$$3
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2460 $as_echo "$ac_res" >&6; }
2461 else
2462 # Is the header compilable?
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2464 $as_echo_n "checking $2 usability... " >&6; }
2465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2466 /* end confdefs.h. */
2468 #include <$2>
2469 _ACEOF
2470 if ac_fn_c_try_compile "$LINENO"; then :
2471 ac_header_compiler=yes
2472 else
2473 ac_header_compiler=no
2475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2477 $as_echo "$ac_header_compiler" >&6; }
2479 # Is the header present?
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2481 $as_echo_n "checking $2 presence... " >&6; }
2482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2483 /* end confdefs.h. */
2484 #include <$2>
2485 _ACEOF
2486 if ac_fn_c_try_cpp "$LINENO"; then :
2487 ac_header_preproc=yes
2488 else
2489 ac_header_preproc=no
2491 rm -f conftest.err conftest.i conftest.$ac_ext
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2493 $as_echo "$ac_header_preproc" >&6; }
2495 # So? What about this header?
2496 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2497 yes:no: )
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2499 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2501 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2503 no:yes:* )
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2505 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2507 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2509 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2511 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2513 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2514 ( $as_echo "## ------------------------------------ ##
2515 ## Report this to wine-devel@winehq.org ##
2516 ## ------------------------------------ ##"
2517 ) | sed "s/^/$as_me: WARNING: /" >&2
2519 esac
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2521 $as_echo_n "checking for $2... " >&6; }
2522 if eval \${$3+:} false; then :
2523 $as_echo_n "(cached) " >&6
2524 else
2525 eval "$3=\$ac_header_compiler"
2527 eval ac_res=\$$3
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2529 $as_echo "$ac_res" >&6; }
2531 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2533 } # ac_fn_c_check_header_mongrel
2535 # ac_fn_c_try_run LINENO
2536 # ----------------------
2537 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2538 # that executables *can* be run.
2539 ac_fn_c_try_run ()
2541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2542 if { { ac_try="$ac_link"
2543 case "(($ac_try" in
2544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2545 *) ac_try_echo=$ac_try;;
2546 esac
2547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2548 $as_echo "$ac_try_echo"; } >&5
2549 (eval "$ac_link") 2>&5
2550 ac_status=$?
2551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2552 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2553 { { case "(($ac_try" in
2554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2555 *) ac_try_echo=$ac_try;;
2556 esac
2557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2558 $as_echo "$ac_try_echo"; } >&5
2559 (eval "$ac_try") 2>&5
2560 ac_status=$?
2561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2562 test $ac_status = 0; }; }; then :
2563 ac_retval=0
2564 else
2565 $as_echo "$as_me: program exited with status $ac_status" >&5
2566 $as_echo "$as_me: failed program was:" >&5
2567 sed 's/^/| /' conftest.$ac_ext >&5
2569 ac_retval=$ac_status
2571 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2573 as_fn_set_status $ac_retval
2575 } # ac_fn_c_try_run
2577 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2578 # -------------------------------------------------------
2579 # Tests whether HEADER exists and can be compiled using the include files in
2580 # INCLUDES, setting the cache variable VAR accordingly.
2581 ac_fn_c_check_header_compile ()
2583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2585 $as_echo_n "checking for $2... " >&6; }
2586 if eval \${$3+:} false; then :
2587 $as_echo_n "(cached) " >&6
2588 else
2589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2590 /* end confdefs.h. */
2592 #include <$2>
2593 _ACEOF
2594 if ac_fn_c_try_compile "$LINENO"; then :
2595 eval "$3=yes"
2596 else
2597 eval "$3=no"
2599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2601 eval ac_res=\$$3
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2603 $as_echo "$ac_res" >&6; }
2604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2606 } # ac_fn_c_check_header_compile
2608 # ac_fn_c_check_func LINENO FUNC VAR
2609 # ----------------------------------
2610 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2611 ac_fn_c_check_func ()
2613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2615 $as_echo_n "checking for $2... " >&6; }
2616 if eval \${$3+:} false; then :
2617 $as_echo_n "(cached) " >&6
2618 else
2619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2620 /* end confdefs.h. */
2621 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2623 #define $2 innocuous_$2
2625 /* System header to define __stub macros and hopefully few prototypes,
2626 which can conflict with char $2 (); below.
2627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2628 <limits.h> exists even on freestanding compilers. */
2630 #ifdef __STDC__
2631 # include <limits.h>
2632 #else
2633 # include <assert.h>
2634 #endif
2636 #undef $2
2638 /* Override any GCC internal prototype to avoid an error.
2639 Use char because int might match the return type of a GCC
2640 builtin and then its argument prototype would still apply. */
2641 #ifdef __cplusplus
2642 extern "C"
2643 #endif
2644 char $2 ();
2645 /* The GNU C library defines this for functions which it implements
2646 to always fail with ENOSYS. Some functions are actually named
2647 something starting with __ and the normal name is an alias. */
2648 #if defined __stub_$2 || defined __stub___$2
2649 choke me
2650 #endif
2653 main ()
2655 return $2 ();
2657 return 0;
2659 _ACEOF
2660 if ac_fn_c_try_link "$LINENO"; then :
2661 eval "$3=yes"
2662 else
2663 eval "$3=no"
2665 rm -f core conftest.err conftest.$ac_objext \
2666 conftest$ac_exeext conftest.$ac_ext
2668 eval ac_res=\$$3
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2670 $as_echo "$ac_res" >&6; }
2671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2673 } # ac_fn_c_check_func
2675 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2676 # ----------------------------------------------------
2677 # Tries to find if the field MEMBER exists in type AGGR, after including
2678 # INCLUDES, setting cache variable VAR accordingly.
2679 ac_fn_c_check_member ()
2681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2683 $as_echo_n "checking for $2.$3... " >&6; }
2684 if eval \${$4+:} false; then :
2685 $as_echo_n "(cached) " >&6
2686 else
2687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2688 /* end confdefs.h. */
2691 main ()
2693 static $2 ac_aggr;
2694 if (ac_aggr.$3)
2695 return 0;
2697 return 0;
2699 _ACEOF
2700 if ac_fn_c_try_compile "$LINENO"; then :
2701 eval "$4=yes"
2702 else
2703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2704 /* end confdefs.h. */
2707 main ()
2709 static $2 ac_aggr;
2710 if (sizeof ac_aggr.$3)
2711 return 0;
2713 return 0;
2715 _ACEOF
2716 if ac_fn_c_try_compile "$LINENO"; then :
2717 eval "$4=yes"
2718 else
2719 eval "$4=no"
2721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2725 eval ac_res=\$$4
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2727 $as_echo "$ac_res" >&6; }
2728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2730 } # ac_fn_c_check_member
2732 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2733 # -------------------------------------------
2734 # Tests whether TYPE exists after having included INCLUDES, setting cache
2735 # variable VAR accordingly.
2736 ac_fn_c_check_type ()
2738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2740 $as_echo_n "checking for $2... " >&6; }
2741 if eval \${$3+:} false; then :
2742 $as_echo_n "(cached) " >&6
2743 else
2744 eval "$3=no"
2745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2746 /* end confdefs.h. */
2749 main ()
2751 if (sizeof ($2))
2752 return 0;
2754 return 0;
2756 _ACEOF
2757 if ac_fn_c_try_compile "$LINENO"; then :
2758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2759 /* end confdefs.h. */
2762 main ()
2764 if (sizeof (($2)))
2765 return 0;
2767 return 0;
2769 _ACEOF
2770 if ac_fn_c_try_compile "$LINENO"; then :
2772 else
2773 eval "$3=yes"
2775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2779 eval ac_res=\$$3
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2781 $as_echo "$ac_res" >&6; }
2782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2784 } # ac_fn_c_check_type
2785 cat >config.log <<_ACEOF
2786 This file contains any messages produced by compilers while
2787 running configure, to aid debugging if configure makes a mistake.
2789 It was created by Wine $as_me 1.7.32, which was
2790 generated by GNU Autoconf 2.69. Invocation command line was
2792 $ $0 $@
2794 _ACEOF
2795 exec 5>>config.log
2797 cat <<_ASUNAME
2798 ## --------- ##
2799 ## Platform. ##
2800 ## --------- ##
2802 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2803 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2804 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2805 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2806 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2808 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2809 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2811 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2812 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2813 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2814 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2815 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2816 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2817 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2819 _ASUNAME
2821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2822 for as_dir in $PATH
2824 IFS=$as_save_IFS
2825 test -z "$as_dir" && as_dir=.
2826 $as_echo "PATH: $as_dir"
2827 done
2828 IFS=$as_save_IFS
2830 } >&5
2832 cat >&5 <<_ACEOF
2835 ## ----------- ##
2836 ## Core tests. ##
2837 ## ----------- ##
2839 _ACEOF
2842 # Keep a trace of the command line.
2843 # Strip out --no-create and --no-recursion so they do not pile up.
2844 # Strip out --silent because we don't want to record it for future runs.
2845 # Also quote any args containing shell meta-characters.
2846 # Make two passes to allow for proper duplicate-argument suppression.
2847 ac_configure_args=
2848 ac_configure_args0=
2849 ac_configure_args1=
2850 ac_must_keep_next=false
2851 for ac_pass in 1 2
2853 for ac_arg
2855 case $ac_arg in
2856 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2857 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2858 | -silent | --silent | --silen | --sile | --sil)
2859 continue ;;
2860 *\'*)
2861 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2862 esac
2863 case $ac_pass in
2864 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2866 as_fn_append ac_configure_args1 " '$ac_arg'"
2867 if test $ac_must_keep_next = true; then
2868 ac_must_keep_next=false # Got value, back to normal.
2869 else
2870 case $ac_arg in
2871 *=* | --config-cache | -C | -disable-* | --disable-* \
2872 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2873 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2874 | -with-* | --with-* | -without-* | --without-* | --x)
2875 case "$ac_configure_args0 " in
2876 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2877 esac
2879 -* ) ac_must_keep_next=true ;;
2880 esac
2882 as_fn_append ac_configure_args " '$ac_arg'"
2884 esac
2885 done
2886 done
2887 { ac_configure_args0=; unset ac_configure_args0;}
2888 { ac_configure_args1=; unset ac_configure_args1;}
2890 # When interrupted or exit'd, cleanup temporary files, and complete
2891 # config.log. We remove comments because anyway the quotes in there
2892 # would cause problems or look ugly.
2893 # WARNING: Use '\'' to represent an apostrophe within the trap.
2894 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2895 trap 'exit_status=$?
2896 # Save into config.log some information that might help in debugging.
2898 echo
2900 $as_echo "## ---------------- ##
2901 ## Cache variables. ##
2902 ## ---------------- ##"
2903 echo
2904 # The following way of writing the cache mishandles newlines in values,
2906 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2907 eval ac_val=\$$ac_var
2908 case $ac_val in #(
2909 *${as_nl}*)
2910 case $ac_var in #(
2911 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2912 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2913 esac
2914 case $ac_var in #(
2915 _ | IFS | as_nl) ;; #(
2916 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2917 *) { eval $ac_var=; unset $ac_var;} ;;
2918 esac ;;
2919 esac
2920 done
2921 (set) 2>&1 |
2922 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2923 *${as_nl}ac_space=\ *)
2924 sed -n \
2925 "s/'\''/'\''\\\\'\'''\''/g;
2926 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2927 ;; #(
2929 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2931 esac |
2932 sort
2934 echo
2936 $as_echo "## ----------------- ##
2937 ## Output variables. ##
2938 ## ----------------- ##"
2939 echo
2940 for ac_var in $ac_subst_vars
2942 eval ac_val=\$$ac_var
2943 case $ac_val in
2944 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2945 esac
2946 $as_echo "$ac_var='\''$ac_val'\''"
2947 done | sort
2948 echo
2950 if test -n "$ac_subst_files"; then
2951 $as_echo "## ------------------- ##
2952 ## File substitutions. ##
2953 ## ------------------- ##"
2954 echo
2955 for ac_var in $ac_subst_files
2957 eval ac_val=\$$ac_var
2958 case $ac_val in
2959 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2960 esac
2961 $as_echo "$ac_var='\''$ac_val'\''"
2962 done | sort
2963 echo
2966 if test -s confdefs.h; then
2967 $as_echo "## ----------- ##
2968 ## confdefs.h. ##
2969 ## ----------- ##"
2970 echo
2971 cat confdefs.h
2972 echo
2974 test "$ac_signal" != 0 &&
2975 $as_echo "$as_me: caught signal $ac_signal"
2976 $as_echo "$as_me: exit $exit_status"
2977 } >&5
2978 rm -f core *.core core.conftest.* &&
2979 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2980 exit $exit_status
2982 for ac_signal in 1 2 13 15; do
2983 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2984 done
2985 ac_signal=0
2987 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2988 rm -f -r conftest* confdefs.h
2990 $as_echo "/* confdefs.h */" > confdefs.h
2992 # Predefined preprocessor variables.
2994 cat >>confdefs.h <<_ACEOF
2995 #define PACKAGE_NAME "$PACKAGE_NAME"
2996 _ACEOF
2998 cat >>confdefs.h <<_ACEOF
2999 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3000 _ACEOF
3002 cat >>confdefs.h <<_ACEOF
3003 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3004 _ACEOF
3006 cat >>confdefs.h <<_ACEOF
3007 #define PACKAGE_STRING "$PACKAGE_STRING"
3008 _ACEOF
3010 cat >>confdefs.h <<_ACEOF
3011 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3012 _ACEOF
3014 cat >>confdefs.h <<_ACEOF
3015 #define PACKAGE_URL "$PACKAGE_URL"
3016 _ACEOF
3019 # Let the site file select an alternate cache file if it wants to.
3020 # Prefer an explicitly selected file to automatically selected ones.
3021 ac_site_file1=NONE
3022 ac_site_file2=NONE
3023 if test -n "$CONFIG_SITE"; then
3024 # We do not want a PATH search for config.site.
3025 case $CONFIG_SITE in #((
3026 -*) ac_site_file1=./$CONFIG_SITE;;
3027 */*) ac_site_file1=$CONFIG_SITE;;
3028 *) ac_site_file1=./$CONFIG_SITE;;
3029 esac
3030 elif test "x$prefix" != xNONE; then
3031 ac_site_file1=$prefix/share/config.site
3032 ac_site_file2=$prefix/etc/config.site
3033 else
3034 ac_site_file1=$ac_default_prefix/share/config.site
3035 ac_site_file2=$ac_default_prefix/etc/config.site
3037 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3039 test "x$ac_site_file" = xNONE && continue
3040 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3042 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3043 sed 's/^/| /' "$ac_site_file" >&5
3044 . "$ac_site_file" \
3045 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3047 as_fn_error $? "failed to load site script $ac_site_file
3048 See \`config.log' for more details" "$LINENO" 5; }
3050 done
3052 if test -r "$cache_file"; then
3053 # Some versions of bash will fail to source /dev/null (special files
3054 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3055 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3057 $as_echo "$as_me: loading cache $cache_file" >&6;}
3058 case $cache_file in
3059 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3060 *) . "./$cache_file";;
3061 esac
3063 else
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3065 $as_echo "$as_me: creating cache $cache_file" >&6;}
3066 >$cache_file
3069 # Check that the precious variables saved in the cache have kept the same
3070 # value.
3071 ac_cache_corrupted=false
3072 for ac_var in $ac_precious_vars; do
3073 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3074 eval ac_new_set=\$ac_env_${ac_var}_set
3075 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3076 eval ac_new_val=\$ac_env_${ac_var}_value
3077 case $ac_old_set,$ac_new_set in
3078 set,)
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3080 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3081 ac_cache_corrupted=: ;;
3082 ,set)
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3084 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3085 ac_cache_corrupted=: ;;
3086 ,);;
3088 if test "x$ac_old_val" != "x$ac_new_val"; then
3089 # differences in whitespace do not lead to failure.
3090 ac_old_val_w=`echo x $ac_old_val`
3091 ac_new_val_w=`echo x $ac_new_val`
3092 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3094 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3095 ac_cache_corrupted=:
3096 else
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3098 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3099 eval $ac_var=\$ac_old_val
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3102 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3104 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3105 fi;;
3106 esac
3107 # Pass precious variables to config.status.
3108 if test "$ac_new_set" = set; then
3109 case $ac_new_val in
3110 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3111 *) ac_arg=$ac_var=$ac_new_val ;;
3112 esac
3113 case " $ac_configure_args " in
3114 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3115 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3116 esac
3118 done
3119 if $ac_cache_corrupted; then
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3123 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3124 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3126 ## -------------------- ##
3127 ## Main body of script. ##
3128 ## -------------------- ##
3130 ac_ext=c
3131 ac_cpp='$CPP $CPPFLAGS'
3132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3138 ac_config_headers="$ac_config_headers include/config.h"
3140 ac_aux_dir=
3141 for ac_dir in tools "$srcdir"/tools; do
3142 if test -f "$ac_dir/install-sh"; then
3143 ac_aux_dir=$ac_dir
3144 ac_install_sh="$ac_aux_dir/install-sh -c"
3145 break
3146 elif test -f "$ac_dir/install.sh"; then
3147 ac_aux_dir=$ac_dir
3148 ac_install_sh="$ac_aux_dir/install.sh -c"
3149 break
3150 elif test -f "$ac_dir/shtool"; then
3151 ac_aux_dir=$ac_dir
3152 ac_install_sh="$ac_aux_dir/shtool install -c"
3153 break
3155 done
3156 if test -z "$ac_aux_dir"; then
3157 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3160 # These three variables are undocumented and unsupported,
3161 # and are intended to be withdrawn in a future Autoconf release.
3162 # They can cause serious problems if a builder's source tree is in a directory
3163 # whose full name contains unusual characters.
3164 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3165 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3166 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3170 libwine_version="1.0"
3174 # Check whether --enable-win16 was given.
3175 if test "${enable_win16+set}" = set; then :
3176 enableval=$enable_win16;
3179 # Check whether --enable-win64 was given.
3180 if test "${enable_win64+set}" = set; then :
3181 enableval=$enable_win64;
3184 # Check whether --enable-tests was given.
3185 if test "${enable_tests+set}" = set; then :
3186 enableval=$enable_tests;
3189 # Check whether --enable-maintainer-mode was given.
3190 if test "${enable_maintainer_mode+set}" = set; then :
3191 enableval=$enable_maintainer_mode;
3196 # Check whether --with-alsa was given.
3197 if test "${with_alsa+set}" = set; then :
3198 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3202 # Check whether --with-capi was given.
3203 if test "${with_capi+set}" = set; then :
3204 withval=$with_capi;
3208 # Check whether --with-cms was given.
3209 if test "${with_cms+set}" = set; then :
3210 withval=$with_cms;
3214 # Check whether --with-coreaudio was given.
3215 if test "${with_coreaudio+set}" = set; then :
3216 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3220 # Check whether --with-cups was given.
3221 if test "${with_cups+set}" = set; then :
3222 withval=$with_cups;
3226 # Check whether --with-curses was given.
3227 if test "${with_curses+set}" = set; then :
3228 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3232 # Check whether --with-dbus was given.
3233 if test "${with_dbus+set}" = set; then :
3234 withval=$with_dbus;
3238 # Check whether --with-fontconfig was given.
3239 if test "${with_fontconfig+set}" = set; then :
3240 withval=$with_fontconfig;
3244 # Check whether --with-freetype was given.
3245 if test "${with_freetype+set}" = set; then :
3246 withval=$with_freetype;
3250 # Check whether --with-gettext was given.
3251 if test "${with_gettext+set}" = set; then :
3252 withval=$with_gettext;
3256 # Check whether --with-gettextpo was given.
3257 if test "${with_gettextpo+set}" = set; then :
3258 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3262 # Check whether --with-gphoto was given.
3263 if test "${with_gphoto+set}" = set; then :
3264 withval=$with_gphoto;
3268 # Check whether --with-glu was given.
3269 if test "${with_glu+set}" = set; then :
3270 withval=$with_glu;
3274 # Check whether --with-gnutls was given.
3275 if test "${with_gnutls+set}" = set; then :
3276 withval=$with_gnutls;
3280 # Check whether --with-gsm was given.
3281 if test "${with_gsm+set}" = set; then :
3282 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3286 # Check whether --with-gstreamer was given.
3287 if test "${with_gstreamer+set}" = set; then :
3288 withval=$with_gstreamer;
3292 # Check whether --with-hal was given.
3293 if test "${with_hal+set}" = set; then :
3294 withval=$with_hal;
3298 # Check whether --with-jpeg was given.
3299 if test "${with_jpeg+set}" = set; then :
3300 withval=$with_jpeg;
3304 # Check whether --with-ldap was given.
3305 if test "${with_ldap+set}" = set; then :
3306 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3310 # Check whether --with-mpg123 was given.
3311 if test "${with_mpg123+set}" = set; then :
3312 withval=$with_mpg123;
3316 # Check whether --with-netapi was given.
3317 if test "${with_netapi+set}" = set; then :
3318 withval=$with_netapi;
3322 # Check whether --with-openal was given.
3323 if test "${with_openal+set}" = set; then :
3324 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3328 # Check whether --with-opencl was given.
3329 if test "${with_opencl+set}" = set; then :
3330 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3334 # Check whether --with-opengl was given.
3335 if test "${with_opengl+set}" = set; then :
3336 withval=$with_opengl;
3340 # Check whether --with-osmesa was given.
3341 if test "${with_osmesa+set}" = set; then :
3342 withval=$with_osmesa;
3346 # Check whether --with-oss was given.
3347 if test "${with_oss+set}" = set; then :
3348 withval=$with_oss;
3352 # Check whether --with-pcap was given.
3353 if test "${with_pcap+set}" = set; then :
3354 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3358 # Check whether --with-png was given.
3359 if test "${with_png+set}" = set; then :
3360 withval=$with_png;
3364 # Check whether --with-pthread was given.
3365 if test "${with_pthread+set}" = set; then :
3366 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3370 # Check whether --with-sane was given.
3371 if test "${with_sane+set}" = set; then :
3372 withval=$with_sane;
3376 # Check whether --with-tiff was given.
3377 if test "${with_tiff+set}" = set; then :
3378 withval=$with_tiff;
3382 # Check whether --with-v4l was given.
3383 if test "${with_v4l+set}" = set; then :
3384 withval=$with_v4l;
3388 # Check whether --with-xcomposite was given.
3389 if test "${with_xcomposite+set}" = set; then :
3390 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3394 # Check whether --with-xcursor was given.
3395 if test "${with_xcursor+set}" = set; then :
3396 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3400 # Check whether --with-xinerama was given.
3401 if test "${with_xinerama+set}" = set; then :
3402 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3406 # Check whether --with-xinput was given.
3407 if test "${with_xinput+set}" = set; then :
3408 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3412 # Check whether --with-xinput2 was given.
3413 if test "${with_xinput2+set}" = set; then :
3414 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3418 # Check whether --with-xml was given.
3419 if test "${with_xml+set}" = set; then :
3420 withval=$with_xml;
3424 # Check whether --with-xrandr was given.
3425 if test "${with_xrandr+set}" = set; then :
3426 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3430 # Check whether --with-xrender was given.
3431 if test "${with_xrender+set}" = set; then :
3432 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3436 # Check whether --with-xshape was given.
3437 if test "${with_xshape+set}" = set; then :
3438 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3442 # Check whether --with-xshm was given.
3443 if test "${with_xshm+set}" = set; then :
3444 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3448 # Check whether --with-xslt was given.
3449 if test "${with_xslt+set}" = set; then :
3450 withval=$with_xslt;
3454 # Check whether --with-xxf86vm was given.
3455 if test "${with_xxf86vm+set}" = set; then :
3456 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
3460 # Check whether --with-zlib was given.
3461 if test "${with_zlib+set}" = set; then :
3462 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3467 # Check whether --with-wine-tools was given.
3468 if test "${with_wine_tools+set}" = set; then :
3469 withval=$with_wine_tools;
3473 # Check whether --with-wine64 was given.
3474 if test "${with_wine64+set}" = set; then :
3475 withval=$with_wine64;
3479 # Make sure we can run config.sub.
3480 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3481 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3484 $as_echo_n "checking build system type... " >&6; }
3485 if ${ac_cv_build+:} false; then :
3486 $as_echo_n "(cached) " >&6
3487 else
3488 ac_build_alias=$build_alias
3489 test "x$ac_build_alias" = x &&
3490 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3491 test "x$ac_build_alias" = x &&
3492 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3493 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3494 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3498 $as_echo "$ac_cv_build" >&6; }
3499 case $ac_cv_build in
3500 *-*-*) ;;
3501 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3502 esac
3503 build=$ac_cv_build
3504 ac_save_IFS=$IFS; IFS='-'
3505 set x $ac_cv_build
3506 shift
3507 build_cpu=$1
3508 build_vendor=$2
3509 shift; shift
3510 # Remember, the first character of IFS is used to create $*,
3511 # except with old shells:
3512 build_os=$*
3513 IFS=$ac_save_IFS
3514 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3518 $as_echo_n "checking host system type... " >&6; }
3519 if ${ac_cv_host+:} false; then :
3520 $as_echo_n "(cached) " >&6
3521 else
3522 if test "x$host_alias" = x; then
3523 ac_cv_host=$ac_cv_build
3524 else
3525 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3526 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3531 $as_echo "$ac_cv_host" >&6; }
3532 case $ac_cv_host in
3533 *-*-*) ;;
3534 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3535 esac
3536 host=$ac_cv_host
3537 ac_save_IFS=$IFS; IFS='-'
3538 set x $ac_cv_host
3539 shift
3540 host_cpu=$1
3541 host_vendor=$2
3542 shift; shift
3543 # Remember, the first character of IFS is used to create $*,
3544 # except with old shells:
3545 host_os=$*
3546 IFS=$ac_save_IFS
3547 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3551 case "$srcdir" in
3552 .) ;;
3553 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3554 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3555 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3556 fi ;;
3557 esac
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3561 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3562 set x ${MAKE-make}
3563 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3564 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3565 $as_echo_n "(cached) " >&6
3566 else
3567 cat >conftest.make <<\_ACEOF
3568 SHELL = /bin/sh
3569 all:
3570 @echo '@@@%%%=$(MAKE)=@@@%%%'
3571 _ACEOF
3572 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3573 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3574 *@@@%%%=?*=@@@%%%*)
3575 eval ac_cv_prog_make_${ac_make}_set=yes;;
3577 eval ac_cv_prog_make_${ac_make}_set=no;;
3578 esac
3579 rm -f conftest.make
3581 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3583 $as_echo "yes" >&6; }
3584 SET_MAKE=
3585 else
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3587 $as_echo "no" >&6; }
3588 SET_MAKE="MAKE=${MAKE-make}"
3591 ac_ext=c
3592 ac_cpp='$CPP $CPPFLAGS'
3593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3596 if test -n "$ac_tool_prefix"; then
3597 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3598 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if ${ac_cv_prog_CC+:} false; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 if test -n "$CC"; then
3605 ac_cv_prog_CC="$CC" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3614 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3618 done
3619 done
3620 IFS=$as_save_IFS
3624 CC=$ac_cv_prog_CC
3625 if test -n "$CC"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3627 $as_echo "$CC" >&6; }
3628 else
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3635 if test -z "$ac_cv_prog_CC"; then
3636 ac_ct_CC=$CC
3637 # Extract the first word of "gcc", so it can be a program name with args.
3638 set dummy gcc; ac_word=$2
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3640 $as_echo_n "checking for $ac_word... " >&6; }
3641 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3642 $as_echo_n "(cached) " >&6
3643 else
3644 if test -n "$ac_ct_CC"; then
3645 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3646 else
3647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3648 for as_dir in $PATH
3650 IFS=$as_save_IFS
3651 test -z "$as_dir" && as_dir=.
3652 for ac_exec_ext in '' $ac_executable_extensions; do
3653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3654 ac_cv_prog_ac_ct_CC="gcc"
3655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3656 break 2
3658 done
3659 done
3660 IFS=$as_save_IFS
3664 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3665 if test -n "$ac_ct_CC"; then
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3667 $as_echo "$ac_ct_CC" >&6; }
3668 else
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670 $as_echo "no" >&6; }
3673 if test "x$ac_ct_CC" = x; then
3674 CC=""
3675 else
3676 case $cross_compiling:$ac_tool_warned in
3677 yes:)
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3680 ac_tool_warned=yes ;;
3681 esac
3682 CC=$ac_ct_CC
3684 else
3685 CC="$ac_cv_prog_CC"
3688 if test -z "$CC"; then
3689 if test -n "$ac_tool_prefix"; then
3690 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3691 set dummy ${ac_tool_prefix}cc; ac_word=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if ${ac_cv_prog_CC+:} false; then :
3695 $as_echo_n "(cached) " >&6
3696 else
3697 if test -n "$CC"; then
3698 ac_cv_prog_CC="$CC" # Let the user override the test.
3699 else
3700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3701 for as_dir in $PATH
3703 IFS=$as_save_IFS
3704 test -z "$as_dir" && as_dir=.
3705 for ac_exec_ext in '' $ac_executable_extensions; do
3706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3707 ac_cv_prog_CC="${ac_tool_prefix}cc"
3708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3709 break 2
3711 done
3712 done
3713 IFS=$as_save_IFS
3717 CC=$ac_cv_prog_CC
3718 if test -n "$CC"; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3720 $as_echo "$CC" >&6; }
3721 else
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3723 $as_echo "no" >&6; }
3729 if test -z "$CC"; then
3730 # Extract the first word of "cc", so it can be a program name with args.
3731 set dummy cc; ac_word=$2
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3733 $as_echo_n "checking for $ac_word... " >&6; }
3734 if ${ac_cv_prog_CC+:} false; then :
3735 $as_echo_n "(cached) " >&6
3736 else
3737 if test -n "$CC"; then
3738 ac_cv_prog_CC="$CC" # Let the user override the test.
3739 else
3740 ac_prog_rejected=no
3741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3742 for as_dir in $PATH
3744 IFS=$as_save_IFS
3745 test -z "$as_dir" && as_dir=.
3746 for ac_exec_ext in '' $ac_executable_extensions; do
3747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3748 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3749 ac_prog_rejected=yes
3750 continue
3752 ac_cv_prog_CC="cc"
3753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 break 2
3756 done
3757 done
3758 IFS=$as_save_IFS
3760 if test $ac_prog_rejected = yes; then
3761 # We found a bogon in the path, so make sure we never use it.
3762 set dummy $ac_cv_prog_CC
3763 shift
3764 if test $# != 0; then
3765 # We chose a different compiler from the bogus one.
3766 # However, it has the same basename, so the bogon will be chosen
3767 # first if we set CC to just the basename; use the full file name.
3768 shift
3769 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3774 CC=$ac_cv_prog_CC
3775 if test -n "$CC"; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3777 $as_echo "$CC" >&6; }
3778 else
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3780 $as_echo "no" >&6; }
3785 if test -z "$CC"; then
3786 if test -n "$ac_tool_prefix"; then
3787 for ac_prog in cl.exe
3789 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3790 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3792 $as_echo_n "checking for $ac_word... " >&6; }
3793 if ${ac_cv_prog_CC+:} false; then :
3794 $as_echo_n "(cached) " >&6
3795 else
3796 if test -n "$CC"; then
3797 ac_cv_prog_CC="$CC" # Let the user override the test.
3798 else
3799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3800 for as_dir in $PATH
3802 IFS=$as_save_IFS
3803 test -z "$as_dir" && as_dir=.
3804 for ac_exec_ext in '' $ac_executable_extensions; do
3805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3806 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3808 break 2
3810 done
3811 done
3812 IFS=$as_save_IFS
3816 CC=$ac_cv_prog_CC
3817 if test -n "$CC"; then
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3819 $as_echo "$CC" >&6; }
3820 else
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3822 $as_echo "no" >&6; }
3826 test -n "$CC" && break
3827 done
3829 if test -z "$CC"; then
3830 ac_ct_CC=$CC
3831 for ac_prog in cl.exe
3833 # Extract the first word of "$ac_prog", so it can be a program name with args.
3834 set dummy $ac_prog; ac_word=$2
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3836 $as_echo_n "checking for $ac_word... " >&6; }
3837 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3838 $as_echo_n "(cached) " >&6
3839 else
3840 if test -n "$ac_ct_CC"; then
3841 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3842 else
3843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3844 for as_dir in $PATH
3846 IFS=$as_save_IFS
3847 test -z "$as_dir" && as_dir=.
3848 for ac_exec_ext in '' $ac_executable_extensions; do
3849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3850 ac_cv_prog_ac_ct_CC="$ac_prog"
3851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3852 break 2
3854 done
3855 done
3856 IFS=$as_save_IFS
3860 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3861 if test -n "$ac_ct_CC"; then
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3863 $as_echo "$ac_ct_CC" >&6; }
3864 else
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3866 $as_echo "no" >&6; }
3870 test -n "$ac_ct_CC" && break
3871 done
3873 if test "x$ac_ct_CC" = x; then
3874 CC=""
3875 else
3876 case $cross_compiling:$ac_tool_warned in
3877 yes:)
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3880 ac_tool_warned=yes ;;
3881 esac
3882 CC=$ac_ct_CC
3889 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3891 as_fn_error $? "no acceptable C compiler found in \$PATH
3892 See \`config.log' for more details" "$LINENO" 5; }
3894 # Provide some information about the compiler.
3895 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3896 set X $ac_compile
3897 ac_compiler=$2
3898 for ac_option in --version -v -V -qversion; do
3899 { { ac_try="$ac_compiler $ac_option >&5"
3900 case "(($ac_try" in
3901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3902 *) ac_try_echo=$ac_try;;
3903 esac
3904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3905 $as_echo "$ac_try_echo"; } >&5
3906 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3907 ac_status=$?
3908 if test -s conftest.err; then
3909 sed '10a\
3910 ... rest of stderr output deleted ...
3911 10q' conftest.err >conftest.er1
3912 cat conftest.er1 >&5
3914 rm -f conftest.er1 conftest.err
3915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3916 test $ac_status = 0; }
3917 done
3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3923 main ()
3927 return 0;
3929 _ACEOF
3930 ac_clean_files_save=$ac_clean_files
3931 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3932 # Try to create an executable without -o first, disregard a.out.
3933 # It will help us diagnose broken compilers, and finding out an intuition
3934 # of exeext.
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3936 $as_echo_n "checking whether the C compiler works... " >&6; }
3937 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3939 # The possible output files:
3940 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3942 ac_rmfiles=
3943 for ac_file in $ac_files
3945 case $ac_file in
3946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3947 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3948 esac
3949 done
3950 rm -f $ac_rmfiles
3952 if { { ac_try="$ac_link_default"
3953 case "(($ac_try" in
3954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3955 *) ac_try_echo=$ac_try;;
3956 esac
3957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3958 $as_echo "$ac_try_echo"; } >&5
3959 (eval "$ac_link_default") 2>&5
3960 ac_status=$?
3961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3962 test $ac_status = 0; }; then :
3963 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3964 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3965 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3966 # so that the user can short-circuit this test for compilers unknown to
3967 # Autoconf.
3968 for ac_file in $ac_files ''
3970 test -f "$ac_file" || continue
3971 case $ac_file in
3972 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3974 [ab].out )
3975 # We found the default executable, but exeext='' is most
3976 # certainly right.
3977 break;;
3978 *.* )
3979 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3980 then :; else
3981 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3983 # We set ac_cv_exeext here because the later test for it is not
3984 # safe: cross compilers may not add the suffix if given an `-o'
3985 # argument, so we may need to know it at that point already.
3986 # Even if this section looks crufty: it has the advantage of
3987 # actually working.
3988 break;;
3990 break;;
3991 esac
3992 done
3993 test "$ac_cv_exeext" = no && ac_cv_exeext=
3995 else
3996 ac_file=''
3998 if test -z "$ac_file"; then :
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4000 $as_echo "no" >&6; }
4001 $as_echo "$as_me: failed program was:" >&5
4002 sed 's/^/| /' conftest.$ac_ext >&5
4004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4006 as_fn_error 77 "C compiler cannot create executables
4007 See \`config.log' for more details" "$LINENO" 5; }
4008 else
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4010 $as_echo "yes" >&6; }
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4013 $as_echo_n "checking for C compiler default output file name... " >&6; }
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4015 $as_echo "$ac_file" >&6; }
4016 ac_exeext=$ac_cv_exeext
4018 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4019 ac_clean_files=$ac_clean_files_save
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4021 $as_echo_n "checking for suffix of executables... " >&6; }
4022 if { { ac_try="$ac_link"
4023 case "(($ac_try" in
4024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4025 *) ac_try_echo=$ac_try;;
4026 esac
4027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4028 $as_echo "$ac_try_echo"; } >&5
4029 (eval "$ac_link") 2>&5
4030 ac_status=$?
4031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4032 test $ac_status = 0; }; then :
4033 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4034 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4035 # work properly (i.e., refer to `conftest.exe'), while it won't with
4036 # `rm'.
4037 for ac_file in conftest.exe conftest conftest.*; do
4038 test -f "$ac_file" || continue
4039 case $ac_file in
4040 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4041 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4042 break;;
4043 * ) break;;
4044 esac
4045 done
4046 else
4047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4049 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4050 See \`config.log' for more details" "$LINENO" 5; }
4052 rm -f conftest conftest$ac_cv_exeext
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4054 $as_echo "$ac_cv_exeext" >&6; }
4056 rm -f conftest.$ac_ext
4057 EXEEXT=$ac_cv_exeext
4058 ac_exeext=$EXEEXT
4059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4060 /* end confdefs.h. */
4061 #include <stdio.h>
4063 main ()
4065 FILE *f = fopen ("conftest.out", "w");
4066 return ferror (f) || fclose (f) != 0;
4069 return 0;
4071 _ACEOF
4072 ac_clean_files="$ac_clean_files conftest.out"
4073 # Check that the compiler produces executables we can run. If not, either
4074 # the compiler is broken, or we cross compile.
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4076 $as_echo_n "checking whether we are cross compiling... " >&6; }
4077 if test "$cross_compiling" != yes; then
4078 { { ac_try="$ac_link"
4079 case "(($ac_try" in
4080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081 *) ac_try_echo=$ac_try;;
4082 esac
4083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4084 $as_echo "$ac_try_echo"; } >&5
4085 (eval "$ac_link") 2>&5
4086 ac_status=$?
4087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4088 test $ac_status = 0; }
4089 if { ac_try='./conftest$ac_cv_exeext'
4090 { { case "(($ac_try" in
4091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4092 *) ac_try_echo=$ac_try;;
4093 esac
4094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4095 $as_echo "$ac_try_echo"; } >&5
4096 (eval "$ac_try") 2>&5
4097 ac_status=$?
4098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4099 test $ac_status = 0; }; }; then
4100 cross_compiling=no
4101 else
4102 if test "$cross_compiling" = maybe; then
4103 cross_compiling=yes
4104 else
4105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4107 as_fn_error $? "cannot run C compiled programs.
4108 If you meant to cross compile, use \`--host'.
4109 See \`config.log' for more details" "$LINENO" 5; }
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4114 $as_echo "$cross_compiling" >&6; }
4116 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4117 ac_clean_files=$ac_clean_files_save
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4119 $as_echo_n "checking for suffix of object files... " >&6; }
4120 if ${ac_cv_objext+:} false; then :
4121 $as_echo_n "(cached) " >&6
4122 else
4123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4124 /* end confdefs.h. */
4127 main ()
4131 return 0;
4133 _ACEOF
4134 rm -f conftest.o conftest.obj
4135 if { { ac_try="$ac_compile"
4136 case "(($ac_try" in
4137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4138 *) ac_try_echo=$ac_try;;
4139 esac
4140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4141 $as_echo "$ac_try_echo"; } >&5
4142 (eval "$ac_compile") 2>&5
4143 ac_status=$?
4144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4145 test $ac_status = 0; }; then :
4146 for ac_file in conftest.o conftest.obj conftest.*; do
4147 test -f "$ac_file" || continue;
4148 case $ac_file in
4149 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4150 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4151 break;;
4152 esac
4153 done
4154 else
4155 $as_echo "$as_me: failed program was:" >&5
4156 sed 's/^/| /' conftest.$ac_ext >&5
4158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4160 as_fn_error $? "cannot compute suffix of object files: cannot compile
4161 See \`config.log' for more details" "$LINENO" 5; }
4163 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4166 $as_echo "$ac_cv_objext" >&6; }
4167 OBJEXT=$ac_cv_objext
4168 ac_objext=$OBJEXT
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4170 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4171 if ${ac_cv_c_compiler_gnu+:} false; then :
4172 $as_echo_n "(cached) " >&6
4173 else
4174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h. */
4178 main ()
4180 #ifndef __GNUC__
4181 choke me
4182 #endif
4185 return 0;
4187 _ACEOF
4188 if ac_fn_c_try_compile "$LINENO"; then :
4189 ac_compiler_gnu=yes
4190 else
4191 ac_compiler_gnu=no
4193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4194 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4198 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4199 if test $ac_compiler_gnu = yes; then
4200 GCC=yes
4201 else
4202 GCC=
4204 ac_test_CFLAGS=${CFLAGS+set}
4205 ac_save_CFLAGS=$CFLAGS
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4207 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4208 if ${ac_cv_prog_cc_g+:} false; then :
4209 $as_echo_n "(cached) " >&6
4210 else
4211 ac_save_c_werror_flag=$ac_c_werror_flag
4212 ac_c_werror_flag=yes
4213 ac_cv_prog_cc_g=no
4214 CFLAGS="-g"
4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4219 main ()
4223 return 0;
4225 _ACEOF
4226 if ac_fn_c_try_compile "$LINENO"; then :
4227 ac_cv_prog_cc_g=yes
4228 else
4229 CFLAGS=""
4230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4231 /* end confdefs.h. */
4234 main ()
4238 return 0;
4240 _ACEOF
4241 if ac_fn_c_try_compile "$LINENO"; then :
4243 else
4244 ac_c_werror_flag=$ac_save_c_werror_flag
4245 CFLAGS="-g"
4246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4247 /* end confdefs.h. */
4250 main ()
4254 return 0;
4256 _ACEOF
4257 if ac_fn_c_try_compile "$LINENO"; then :
4258 ac_cv_prog_cc_g=yes
4260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4265 ac_c_werror_flag=$ac_save_c_werror_flag
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4268 $as_echo "$ac_cv_prog_cc_g" >&6; }
4269 if test "$ac_test_CFLAGS" = set; then
4270 CFLAGS=$ac_save_CFLAGS
4271 elif test $ac_cv_prog_cc_g = yes; then
4272 if test "$GCC" = yes; then
4273 CFLAGS="-g -O2"
4274 else
4275 CFLAGS="-g"
4277 else
4278 if test "$GCC" = yes; then
4279 CFLAGS="-O2"
4280 else
4281 CFLAGS=
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4285 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4286 if ${ac_cv_prog_cc_c89+:} false; then :
4287 $as_echo_n "(cached) " >&6
4288 else
4289 ac_cv_prog_cc_c89=no
4290 ac_save_CC=$CC
4291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4292 /* end confdefs.h. */
4293 #include <stdarg.h>
4294 #include <stdio.h>
4295 struct stat;
4296 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4297 struct buf { int x; };
4298 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4299 static char *e (p, i)
4300 char **p;
4301 int i;
4303 return p[i];
4305 static char *f (char * (*g) (char **, int), char **p, ...)
4307 char *s;
4308 va_list v;
4309 va_start (v,p);
4310 s = g (p, va_arg (v,int));
4311 va_end (v);
4312 return s;
4315 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4316 function prototypes and stuff, but not '\xHH' hex character constants.
4317 These don't provoke an error unfortunately, instead are silently treated
4318 as 'x'. The following induces an error, until -std is added to get
4319 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4320 array size at least. It's necessary to write '\x00'==0 to get something
4321 that's true only with -std. */
4322 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4324 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4325 inside strings and character constants. */
4326 #define FOO(x) 'x'
4327 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4329 int test (int i, double x);
4330 struct s1 {int (*f) (int a);};
4331 struct s2 {int (*f) (double a);};
4332 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4333 int argc;
4334 char **argv;
4336 main ()
4338 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4340 return 0;
4342 _ACEOF
4343 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4344 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4346 CC="$ac_save_CC $ac_arg"
4347 if ac_fn_c_try_compile "$LINENO"; then :
4348 ac_cv_prog_cc_c89=$ac_arg
4350 rm -f core conftest.err conftest.$ac_objext
4351 test "x$ac_cv_prog_cc_c89" != "xno" && break
4352 done
4353 rm -f conftest.$ac_ext
4354 CC=$ac_save_CC
4357 # AC_CACHE_VAL
4358 case "x$ac_cv_prog_cc_c89" in
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4361 $as_echo "none needed" >&6; } ;;
4362 xno)
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4364 $as_echo "unsupported" >&6; } ;;
4366 CC="$CC $ac_cv_prog_cc_c89"
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4368 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4369 esac
4370 if test "x$ac_cv_prog_cc_c89" != xno; then :
4374 ac_ext=c
4375 ac_cpp='$CPP $CPPFLAGS'
4376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4380 ac_ext=cpp
4381 ac_cpp='$CXXCPP $CPPFLAGS'
4382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4385 if test -z "$CXX"; then
4386 if test -n "$CCC"; then
4387 CXX=$CCC
4388 else
4389 if test -n "$ac_tool_prefix"; then
4390 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4392 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4393 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4395 $as_echo_n "checking for $ac_word... " >&6; }
4396 if ${ac_cv_prog_CXX+:} false; then :
4397 $as_echo_n "(cached) " >&6
4398 else
4399 if test -n "$CXX"; then
4400 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4401 else
4402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403 for as_dir in $PATH
4405 IFS=$as_save_IFS
4406 test -z "$as_dir" && as_dir=.
4407 for ac_exec_ext in '' $ac_executable_extensions; do
4408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4409 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4411 break 2
4413 done
4414 done
4415 IFS=$as_save_IFS
4419 CXX=$ac_cv_prog_CXX
4420 if test -n "$CXX"; then
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4422 $as_echo "$CXX" >&6; }
4423 else
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4429 test -n "$CXX" && break
4430 done
4432 if test -z "$CXX"; then
4433 ac_ct_CXX=$CXX
4434 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4436 # Extract the first word of "$ac_prog", so it can be a program name with args.
4437 set dummy $ac_prog; ac_word=$2
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4439 $as_echo_n "checking for $ac_word... " >&6; }
4440 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4441 $as_echo_n "(cached) " >&6
4442 else
4443 if test -n "$ac_ct_CXX"; then
4444 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4445 else
4446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4447 for as_dir in $PATH
4449 IFS=$as_save_IFS
4450 test -z "$as_dir" && as_dir=.
4451 for ac_exec_ext in '' $ac_executable_extensions; do
4452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4453 ac_cv_prog_ac_ct_CXX="$ac_prog"
4454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4455 break 2
4457 done
4458 done
4459 IFS=$as_save_IFS
4463 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4464 if test -n "$ac_ct_CXX"; then
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4466 $as_echo "$ac_ct_CXX" >&6; }
4467 else
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4469 $as_echo "no" >&6; }
4473 test -n "$ac_ct_CXX" && break
4474 done
4476 if test "x$ac_ct_CXX" = x; then
4477 CXX="g++"
4478 else
4479 case $cross_compiling:$ac_tool_warned in
4480 yes:)
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4483 ac_tool_warned=yes ;;
4484 esac
4485 CXX=$ac_ct_CXX
4491 # Provide some information about the compiler.
4492 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4493 set X $ac_compile
4494 ac_compiler=$2
4495 for ac_option in --version -v -V -qversion; do
4496 { { ac_try="$ac_compiler $ac_option >&5"
4497 case "(($ac_try" in
4498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4499 *) ac_try_echo=$ac_try;;
4500 esac
4501 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4502 $as_echo "$ac_try_echo"; } >&5
4503 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4504 ac_status=$?
4505 if test -s conftest.err; then
4506 sed '10a\
4507 ... rest of stderr output deleted ...
4508 10q' conftest.err >conftest.er1
4509 cat conftest.er1 >&5
4511 rm -f conftest.er1 conftest.err
4512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4513 test $ac_status = 0; }
4514 done
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4517 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4518 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4519 $as_echo_n "(cached) " >&6
4520 else
4521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4522 /* end confdefs.h. */
4525 main ()
4527 #ifndef __GNUC__
4528 choke me
4529 #endif
4532 return 0;
4534 _ACEOF
4535 if ac_fn_cxx_try_compile "$LINENO"; then :
4536 ac_compiler_gnu=yes
4537 else
4538 ac_compiler_gnu=no
4540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4541 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4545 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4546 if test $ac_compiler_gnu = yes; then
4547 GXX=yes
4548 else
4549 GXX=
4551 ac_test_CXXFLAGS=${CXXFLAGS+set}
4552 ac_save_CXXFLAGS=$CXXFLAGS
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4554 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4555 if ${ac_cv_prog_cxx_g+:} false; then :
4556 $as_echo_n "(cached) " >&6
4557 else
4558 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4559 ac_cxx_werror_flag=yes
4560 ac_cv_prog_cxx_g=no
4561 CXXFLAGS="-g"
4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4566 main ()
4570 return 0;
4572 _ACEOF
4573 if ac_fn_cxx_try_compile "$LINENO"; then :
4574 ac_cv_prog_cxx_g=yes
4575 else
4576 CXXFLAGS=""
4577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4578 /* end confdefs.h. */
4581 main ()
4585 return 0;
4587 _ACEOF
4588 if ac_fn_cxx_try_compile "$LINENO"; then :
4590 else
4591 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4592 CXXFLAGS="-g"
4593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4594 /* end confdefs.h. */
4597 main ()
4601 return 0;
4603 _ACEOF
4604 if ac_fn_cxx_try_compile "$LINENO"; then :
4605 ac_cv_prog_cxx_g=yes
4607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4612 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4615 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4616 if test "$ac_test_CXXFLAGS" = set; then
4617 CXXFLAGS=$ac_save_CXXFLAGS
4618 elif test $ac_cv_prog_cxx_g = yes; then
4619 if test "$GXX" = yes; then
4620 CXXFLAGS="-g -O2"
4621 else
4622 CXXFLAGS="-g"
4624 else
4625 if test "$GXX" = yes; then
4626 CXXFLAGS="-O2"
4627 else
4628 CXXFLAGS=
4631 ac_ext=c
4632 ac_cpp='$CPP $CPPFLAGS'
4633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4637 if test -n "$ac_tool_prefix"; then
4638 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4639 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641 $as_echo_n "checking for $ac_word... " >&6; }
4642 if ${ac_cv_prog_CPPBIN+:} false; then :
4643 $as_echo_n "(cached) " >&6
4644 else
4645 if test -n "$CPPBIN"; then
4646 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4647 else
4648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4649 for as_dir in $PATH
4651 IFS=$as_save_IFS
4652 test -z "$as_dir" && as_dir=.
4653 for ac_exec_ext in '' $ac_executable_extensions; do
4654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4655 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4657 break 2
4659 done
4660 done
4661 IFS=$as_save_IFS
4665 CPPBIN=$ac_cv_prog_CPPBIN
4666 if test -n "$CPPBIN"; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4668 $as_echo "$CPPBIN" >&6; }
4669 else
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671 $as_echo "no" >&6; }
4676 if test -z "$ac_cv_prog_CPPBIN"; then
4677 ac_ct_CPPBIN=$CPPBIN
4678 # Extract the first word of "cpp", so it can be a program name with args.
4679 set dummy cpp; ac_word=$2
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4681 $as_echo_n "checking for $ac_word... " >&6; }
4682 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4683 $as_echo_n "(cached) " >&6
4684 else
4685 if test -n "$ac_ct_CPPBIN"; then
4686 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4687 else
4688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4689 for as_dir in $PATH
4691 IFS=$as_save_IFS
4692 test -z "$as_dir" && as_dir=.
4693 for ac_exec_ext in '' $ac_executable_extensions; do
4694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4695 ac_cv_prog_ac_ct_CPPBIN="cpp"
4696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4697 break 2
4699 done
4700 done
4701 IFS=$as_save_IFS
4705 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4706 if test -n "$ac_ct_CPPBIN"; then
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4708 $as_echo "$ac_ct_CPPBIN" >&6; }
4709 else
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4711 $as_echo "no" >&6; }
4714 if test "x$ac_ct_CPPBIN" = x; then
4715 CPPBIN="cpp"
4716 else
4717 case $cross_compiling:$ac_tool_warned in
4718 yes:)
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4721 ac_tool_warned=yes ;;
4722 esac
4723 CPPBIN=$ac_ct_CPPBIN
4725 else
4726 CPPBIN="$ac_cv_prog_CPPBIN"
4730 cat >>confdefs.h <<_ACEOF
4731 #define EXEEXT "$ac_exeext"
4732 _ACEOF
4735 case $host in
4736 *-darwin*)
4737 if test "x$enable_win64" = "xyes"
4738 then
4739 CC="$CC -m64"
4740 CXX="$CXX -m64"
4741 host_cpu="x86_64"
4742 notice_platform="64-bit "
4743 TARGETFLAGS="-m64"
4745 else
4746 CC="$CC -m32"
4747 CXX="$CXX -m32"
4748 host_cpu="i386"
4749 notice_platform="32-bit "
4750 TARGETFLAGS="-m32"
4752 enable_win16=${enable_win16:-yes}
4754 with_fontconfig=${with_fontconfig:-no}
4756 x86_64*)
4757 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4758 then
4759 CC="$CC -m32"
4760 CXX="$CXX -m32"
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4762 $as_echo_n "checking whether $CC works... " >&6; }
4764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4765 /* end confdefs.h. */
4768 main ()
4772 return 0;
4774 _ACEOF
4775 if ac_fn_c_try_link "$LINENO"; then :
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4777 $as_echo "yes" >&6; }
4778 else
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4780 $as_echo "no" >&6; }
4781 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4783 rm -f core conftest.err conftest.$ac_objext \
4784 conftest$ac_exeext conftest.$ac_ext
4785 host_cpu="i386"
4786 notice_platform="32-bit "
4787 TARGETFLAGS="-m32"
4789 enable_win16=${enable_win16:-yes}
4790 else
4791 if test "x${GCC}" = "xyes"
4792 then
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4794 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h. */
4797 #include <stdarg.h>
4799 main ()
4801 void func(__builtin_ms_va_list *args);
4803 return 0;
4805 _ACEOF
4806 if ac_fn_c_try_compile "$LINENO"; then :
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4808 $as_echo "yes" >&6; }
4809 else
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4812 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4816 TARGETFLAGS="-m64"
4820 arm*)
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4822 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4824 /* end confdefs.h. */
4825 int ac_test(int i) { return i; }
4827 main ()
4829 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4831 return 0;
4833 _ACEOF
4834 if ac_fn_c_try_link "$LINENO"; then :
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4836 $as_echo "yes" >&6; }
4837 else
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839 $as_echo "no" >&6; }
4840 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4842 rm -f core conftest.err conftest.$ac_objext \
4843 conftest$ac_exeext conftest.$ac_ext
4844 CFLAGS="$CFLAGS -marm"
4845 TARGETFLAGS="-marm"
4848 *-mingw32*|*-cygwin*)
4849 enable_win16=${enable_win16:-no}
4850 CFLAGS="$CFLAGS -D_WIN32"
4852 i[3456789]86*)
4853 enable_win16=${enable_win16:-yes}
4855 esac
4857 enable_win16=${enable_win16:-no}
4858 enable_win64=${enable_win64:-no}
4860 enable_winetest=${enable_winetest:-$enable_tests}
4862 if test -n "$with_wine64"
4863 then
4864 if test "x$enable_win64" = "xyes"
4865 then
4866 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4867 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4869 enable_fonts=${enable_fonts:-no}
4870 enable_server=${enable_server:-no}
4871 elif test "x$enable_win64" = "xyes"
4872 then
4873 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4877 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4878 if ${wine_cv_toolsdir+:} false; then :
4879 $as_echo_n "(cached) " >&6
4880 else
4881 wine_cv_toolsdir="$with_wine_tools"
4882 if test -z "$with_wine_tools"; then
4883 if test "$cross_compiling" = "yes"; then
4884 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4885 elif test -n "$with_wine64"; then
4886 wine_cv_toolsdir="$with_wine64"
4889 if test -z "$wine_cv_toolsdir"; then
4890 wine_makedep=tools/makedep
4891 wine_cv_toolsdir="\$(top_builddir)"
4892 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4893 wine_makedep=$wine_cv_toolsdir/tools/makedep
4894 case "$wine_cv_toolsdir" in
4895 /*) ;;
4896 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4897 esac
4898 enable_tools=${enable_tools:-no}
4899 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4900 else
4901 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4905 $as_echo "$wine_cv_toolsdir" >&6; }
4906 TOOLSDIR=$wine_cv_toolsdir
4908 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4909 then
4910 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4914 for ac_prog in flex
4916 # Extract the first word of "$ac_prog", so it can be a program name with args.
4917 set dummy $ac_prog; ac_word=$2
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4919 $as_echo_n "checking for $ac_word... " >&6; }
4920 if ${ac_cv_prog_FLEX+:} false; then :
4921 $as_echo_n "(cached) " >&6
4922 else
4923 if test -n "$FLEX"; then
4924 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4925 else
4926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4927 for as_dir in $PATH
4929 IFS=$as_save_IFS
4930 test -z "$as_dir" && as_dir=.
4931 for ac_exec_ext in '' $ac_executable_extensions; do
4932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4933 ac_cv_prog_FLEX="$ac_prog"
4934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4935 break 2
4937 done
4938 done
4939 IFS=$as_save_IFS
4943 FLEX=$ac_cv_prog_FLEX
4944 if test -n "$FLEX"; then
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4946 $as_echo "$FLEX" >&6; }
4947 else
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4949 $as_echo "no" >&6; }
4953 test -n "$FLEX" && break
4954 done
4955 test -n "$FLEX" || FLEX="none"
4957 if test "$FLEX" = "none"
4958 then
4959 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4962 $as_echo_n "checking whether flex is recent enough... " >&6; }
4963 cat >conftest.l <<EOF
4964 %top{
4965 #include "prediluvian.h"
4969 if $FLEX -t conftest.l >/dev/null 2>&5
4970 then
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4972 $as_echo "yes" >&6; }
4973 else
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4975 $as_echo "no" >&6; }
4976 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4979 for ac_prog in bison
4981 # Extract the first word of "$ac_prog", so it can be a program name with args.
4982 set dummy $ac_prog; ac_word=$2
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4984 $as_echo_n "checking for $ac_word... " >&6; }
4985 if ${ac_cv_prog_BISON+:} false; then :
4986 $as_echo_n "(cached) " >&6
4987 else
4988 if test -n "$BISON"; then
4989 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4990 else
4991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4992 for as_dir in $PATH
4994 IFS=$as_save_IFS
4995 test -z "$as_dir" && as_dir=.
4996 for ac_exec_ext in '' $ac_executable_extensions; do
4997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4998 ac_cv_prog_BISON="$ac_prog"
4999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5000 break 2
5002 done
5003 done
5004 IFS=$as_save_IFS
5008 BISON=$ac_cv_prog_BISON
5009 if test -n "$BISON"; then
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5011 $as_echo "$BISON" >&6; }
5012 else
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 $as_echo "no" >&6; }
5018 test -n "$BISON" && break
5019 done
5020 test -n "$BISON" || BISON="none"
5022 if test "$BISON" = "none"
5023 then
5024 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5027 if test -n "$ac_tool_prefix"; then
5028 for ac_prog in ar gar
5030 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5031 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5033 $as_echo_n "checking for $ac_word... " >&6; }
5034 if ${ac_cv_prog_AR+:} false; then :
5035 $as_echo_n "(cached) " >&6
5036 else
5037 if test -n "$AR"; then
5038 ac_cv_prog_AR="$AR" # Let the user override the test.
5039 else
5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041 for as_dir in $PATH
5043 IFS=$as_save_IFS
5044 test -z "$as_dir" && as_dir=.
5045 for ac_exec_ext in '' $ac_executable_extensions; do
5046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5047 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 break 2
5051 done
5052 done
5053 IFS=$as_save_IFS
5057 AR=$ac_cv_prog_AR
5058 if test -n "$AR"; then
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5060 $as_echo "$AR" >&6; }
5061 else
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5063 $as_echo "no" >&6; }
5067 test -n "$AR" && break
5068 done
5070 if test -z "$AR"; then
5071 ac_ct_AR=$AR
5072 for ac_prog in ar gar
5074 # Extract the first word of "$ac_prog", so it can be a program name with args.
5075 set dummy $ac_prog; ac_word=$2
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5077 $as_echo_n "checking for $ac_word... " >&6; }
5078 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5079 $as_echo_n "(cached) " >&6
5080 else
5081 if test -n "$ac_ct_AR"; then
5082 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5083 else
5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5085 for as_dir in $PATH
5087 IFS=$as_save_IFS
5088 test -z "$as_dir" && as_dir=.
5089 for ac_exec_ext in '' $ac_executable_extensions; do
5090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5091 ac_cv_prog_ac_ct_AR="$ac_prog"
5092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5093 break 2
5095 done
5096 done
5097 IFS=$as_save_IFS
5101 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5102 if test -n "$ac_ct_AR"; then
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5104 $as_echo "$ac_ct_AR" >&6; }
5105 else
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5111 test -n "$ac_ct_AR" && break
5112 done
5114 if test "x$ac_ct_AR" = x; then
5115 AR="ar"
5116 else
5117 case $cross_compiling:$ac_tool_warned in
5118 yes:)
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5121 ac_tool_warned=yes ;;
5122 esac
5123 AR=$ac_ct_AR
5127 if test -n "$ac_tool_prefix"; then
5128 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5129 set dummy ${ac_tool_prefix}strip; ac_word=$2
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5131 $as_echo_n "checking for $ac_word... " >&6; }
5132 if ${ac_cv_prog_STRIP+:} false; then :
5133 $as_echo_n "(cached) " >&6
5134 else
5135 if test -n "$STRIP"; then
5136 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5137 else
5138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5139 for as_dir in $PATH
5141 IFS=$as_save_IFS
5142 test -z "$as_dir" && as_dir=.
5143 for ac_exec_ext in '' $ac_executable_extensions; do
5144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5145 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 break 2
5149 done
5150 done
5151 IFS=$as_save_IFS
5155 STRIP=$ac_cv_prog_STRIP
5156 if test -n "$STRIP"; then
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5158 $as_echo "$STRIP" >&6; }
5159 else
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5161 $as_echo "no" >&6; }
5166 if test -z "$ac_cv_prog_STRIP"; then
5167 ac_ct_STRIP=$STRIP
5168 # Extract the first word of "strip", so it can be a program name with args.
5169 set dummy strip; ac_word=$2
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5171 $as_echo_n "checking for $ac_word... " >&6; }
5172 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5173 $as_echo_n "(cached) " >&6
5174 else
5175 if test -n "$ac_ct_STRIP"; then
5176 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5177 else
5178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5179 for as_dir in $PATH
5181 IFS=$as_save_IFS
5182 test -z "$as_dir" && as_dir=.
5183 for ac_exec_ext in '' $ac_executable_extensions; do
5184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5185 ac_cv_prog_ac_ct_STRIP="strip"
5186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5187 break 2
5189 done
5190 done
5191 IFS=$as_save_IFS
5195 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5196 if test -n "$ac_ct_STRIP"; then
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5198 $as_echo "$ac_ct_STRIP" >&6; }
5199 else
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 $as_echo "no" >&6; }
5204 if test "x$ac_ct_STRIP" = x; then
5205 STRIP="strip"
5206 else
5207 case $cross_compiling:$ac_tool_warned in
5208 yes:)
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5211 ac_tool_warned=yes ;;
5212 esac
5213 STRIP=$ac_ct_STRIP
5215 else
5216 STRIP="$ac_cv_prog_STRIP"
5219 ARFLAGS=rc
5221 if test -n "$ac_tool_prefix"; then
5222 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5223 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5225 $as_echo_n "checking for $ac_word... " >&6; }
5226 if ${ac_cv_prog_RANLIB+:} false; then :
5227 $as_echo_n "(cached) " >&6
5228 else
5229 if test -n "$RANLIB"; then
5230 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5231 else
5232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5233 for as_dir in $PATH
5235 IFS=$as_save_IFS
5236 test -z "$as_dir" && as_dir=.
5237 for ac_exec_ext in '' $ac_executable_extensions; do
5238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5239 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5241 break 2
5243 done
5244 done
5245 IFS=$as_save_IFS
5249 RANLIB=$ac_cv_prog_RANLIB
5250 if test -n "$RANLIB"; then
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5252 $as_echo "$RANLIB" >&6; }
5253 else
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5255 $as_echo "no" >&6; }
5260 if test -z "$ac_cv_prog_RANLIB"; then
5261 ac_ct_RANLIB=$RANLIB
5262 # Extract the first word of "ranlib", so it can be a program name with args.
5263 set dummy ranlib; ac_word=$2
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5265 $as_echo_n "checking for $ac_word... " >&6; }
5266 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5267 $as_echo_n "(cached) " >&6
5268 else
5269 if test -n "$ac_ct_RANLIB"; then
5270 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5271 else
5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5273 for as_dir in $PATH
5275 IFS=$as_save_IFS
5276 test -z "$as_dir" && as_dir=.
5277 for ac_exec_ext in '' $ac_executable_extensions; do
5278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5279 ac_cv_prog_ac_ct_RANLIB="ranlib"
5280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 break 2
5283 done
5284 done
5285 IFS=$as_save_IFS
5289 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5290 if test -n "$ac_ct_RANLIB"; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5292 $as_echo "$ac_ct_RANLIB" >&6; }
5293 else
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5295 $as_echo "no" >&6; }
5298 if test "x$ac_ct_RANLIB" = x; then
5299 RANLIB=":"
5300 else
5301 case $cross_compiling:$ac_tool_warned in
5302 yes:)
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5305 ac_tool_warned=yes ;;
5306 esac
5307 RANLIB=$ac_ct_RANLIB
5309 else
5310 RANLIB="$ac_cv_prog_RANLIB"
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5314 $as_echo_n "checking whether ln -s works... " >&6; }
5315 LN_S=$as_ln_s
5316 if test "$LN_S" = "ln -s"; then
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5318 $as_echo "yes" >&6; }
5319 else
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5321 $as_echo "no, using $LN_S" >&6; }
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5325 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5326 if ${ac_cv_path_GREP+:} false; then :
5327 $as_echo_n "(cached) " >&6
5328 else
5329 if test -z "$GREP"; then
5330 ac_path_GREP_found=false
5331 # Loop through the user's path and test for each of PROGNAME-LIST
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5335 IFS=$as_save_IFS
5336 test -z "$as_dir" && as_dir=.
5337 for ac_prog in grep ggrep; do
5338 for ac_exec_ext in '' $ac_executable_extensions; do
5339 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5340 as_fn_executable_p "$ac_path_GREP" || continue
5341 # Check for GNU ac_path_GREP and select it if it is found.
5342 # Check for GNU $ac_path_GREP
5343 case `"$ac_path_GREP" --version 2>&1` in
5344 *GNU*)
5345 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5347 ac_count=0
5348 $as_echo_n 0123456789 >"conftest.in"
5349 while :
5351 cat "conftest.in" "conftest.in" >"conftest.tmp"
5352 mv "conftest.tmp" "conftest.in"
5353 cp "conftest.in" "conftest.nl"
5354 $as_echo 'GREP' >> "conftest.nl"
5355 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5356 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5357 as_fn_arith $ac_count + 1 && ac_count=$as_val
5358 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5359 # Best one so far, save it but keep looking for a better one
5360 ac_cv_path_GREP="$ac_path_GREP"
5361 ac_path_GREP_max=$ac_count
5363 # 10*(2^10) chars as input seems more than enough
5364 test $ac_count -gt 10 && break
5365 done
5366 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5367 esac
5369 $ac_path_GREP_found && break 3
5370 done
5371 done
5372 done
5373 IFS=$as_save_IFS
5374 if test -z "$ac_cv_path_GREP"; then
5375 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5377 else
5378 ac_cv_path_GREP=$GREP
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5383 $as_echo "$ac_cv_path_GREP" >&6; }
5384 GREP="$ac_cv_path_GREP"
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5388 $as_echo_n "checking for egrep... " >&6; }
5389 if ${ac_cv_path_EGREP+:} false; then :
5390 $as_echo_n "(cached) " >&6
5391 else
5392 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5393 then ac_cv_path_EGREP="$GREP -E"
5394 else
5395 if test -z "$EGREP"; then
5396 ac_path_EGREP_found=false
5397 # Loop through the user's path and test for each of PROGNAME-LIST
5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5399 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5401 IFS=$as_save_IFS
5402 test -z "$as_dir" && as_dir=.
5403 for ac_prog in egrep; do
5404 for ac_exec_ext in '' $ac_executable_extensions; do
5405 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5406 as_fn_executable_p "$ac_path_EGREP" || continue
5407 # Check for GNU ac_path_EGREP and select it if it is found.
5408 # Check for GNU $ac_path_EGREP
5409 case `"$ac_path_EGREP" --version 2>&1` in
5410 *GNU*)
5411 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5413 ac_count=0
5414 $as_echo_n 0123456789 >"conftest.in"
5415 while :
5417 cat "conftest.in" "conftest.in" >"conftest.tmp"
5418 mv "conftest.tmp" "conftest.in"
5419 cp "conftest.in" "conftest.nl"
5420 $as_echo 'EGREP' >> "conftest.nl"
5421 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5422 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5423 as_fn_arith $ac_count + 1 && ac_count=$as_val
5424 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5425 # Best one so far, save it but keep looking for a better one
5426 ac_cv_path_EGREP="$ac_path_EGREP"
5427 ac_path_EGREP_max=$ac_count
5429 # 10*(2^10) chars as input seems more than enough
5430 test $ac_count -gt 10 && break
5431 done
5432 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5433 esac
5435 $ac_path_EGREP_found && break 3
5436 done
5437 done
5438 done
5439 IFS=$as_save_IFS
5440 if test -z "$ac_cv_path_EGREP"; then
5441 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5443 else
5444 ac_cv_path_EGREP=$EGREP
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5450 $as_echo "$ac_cv_path_EGREP" >&6; }
5451 EGREP="$ac_cv_path_EGREP"
5454 # Extract the first word of "ldconfig", so it can be a program name with args.
5455 set dummy ldconfig; ac_word=$2
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457 $as_echo_n "checking for $ac_word... " >&6; }
5458 if ${ac_cv_path_LDCONFIG+:} false; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 case $LDCONFIG in
5462 [\\/]* | ?:[\\/]*)
5463 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5467 for as_dir in /sbin /usr/sbin $PATH
5469 IFS=$as_save_IFS
5470 test -z "$as_dir" && as_dir=.
5471 for ac_exec_ext in '' $ac_executable_extensions; do
5472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5473 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5475 break 2
5477 done
5478 done
5479 IFS=$as_save_IFS
5481 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5483 esac
5485 LDCONFIG=$ac_cv_path_LDCONFIG
5486 if test -n "$LDCONFIG"; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5488 $as_echo "$LDCONFIG" >&6; }
5489 else
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5495 for ac_prog in msgfmt
5497 # Extract the first word of "$ac_prog", so it can be a program name with args.
5498 set dummy $ac_prog; ac_word=$2
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5500 $as_echo_n "checking for $ac_word... " >&6; }
5501 if ${ac_cv_prog_MSGFMT+:} false; then :
5502 $as_echo_n "(cached) " >&6
5503 else
5504 if test -n "$MSGFMT"; then
5505 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5506 else
5507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508 for as_dir in $PATH
5510 IFS=$as_save_IFS
5511 test -z "$as_dir" && as_dir=.
5512 for ac_exec_ext in '' $ac_executable_extensions; do
5513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5514 ac_cv_prog_MSGFMT="$ac_prog"
5515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5516 break 2
5518 done
5519 done
5520 IFS=$as_save_IFS
5524 MSGFMT=$ac_cv_prog_MSGFMT
5525 if test -n "$MSGFMT"; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5527 $as_echo "$MSGFMT" >&6; }
5528 else
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530 $as_echo "no" >&6; }
5534 test -n "$MSGFMT" && break
5535 done
5536 test -n "$MSGFMT" || MSGFMT="false"
5538 if ${ac_tool_prefix+:} false; then :
5539 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5540 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5542 $as_echo_n "checking for $ac_word... " >&6; }
5543 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5544 $as_echo_n "(cached) " >&6
5545 else
5546 if test -n "$PKG_CONFIG"; then
5547 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5548 else
5549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5550 for as_dir in $PATH
5552 IFS=$as_save_IFS
5553 test -z "$as_dir" && as_dir=.
5554 for ac_exec_ext in '' $ac_executable_extensions; do
5555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5556 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5558 break 2
5560 done
5561 done
5562 IFS=$as_save_IFS
5566 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5567 if test -n "$PKG_CONFIG"; then
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5569 $as_echo "$PKG_CONFIG" >&6; }
5570 else
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5572 $as_echo "no" >&6; }
5577 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5578 if test "x$cross_compiling" = xyes; then :
5580 else
5581 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5582 # Extract the first word of "pkg-config", so it can be a program name with args.
5583 set dummy pkg-config; ac_word=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 if test -n "$PKG_CONFIG"; then
5590 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5591 else
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 for as_dir in $PATH
5595 IFS=$as_save_IFS
5596 test -z "$as_dir" && as_dir=.
5597 for ac_exec_ext in '' $ac_executable_extensions; do
5598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5599 ac_cv_prog_PKG_CONFIG="pkg-config"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 break 2
5603 done
5604 done
5605 IFS=$as_save_IFS
5609 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5610 if test -n "$PKG_CONFIG"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5612 $as_echo "$PKG_CONFIG" >&6; }
5613 else
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5620 else
5621 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5624 if test "x$enable_maintainer_mode" != "xyes"
5625 then
5626 FONTFORGE=""
5627 RSVG=""
5628 CONVERT=""
5629 ICOTOOL=""
5630 else
5631 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5632 for ac_prog in fontforge
5634 # Extract the first word of "$ac_prog", so it can be a program name with args.
5635 set dummy $ac_prog; ac_word=$2
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5637 $as_echo_n "checking for $ac_word... " >&6; }
5638 if ${ac_cv_prog_FONTFORGE+:} false; then :
5639 $as_echo_n "(cached) " >&6
5640 else
5641 if test -n "$FONTFORGE"; then
5642 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5643 else
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 for as_dir in $PATH
5647 IFS=$as_save_IFS
5648 test -z "$as_dir" && as_dir=.
5649 for ac_exec_ext in '' $ac_executable_extensions; do
5650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5651 ac_cv_prog_FONTFORGE="$ac_prog"
5652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5653 break 2
5655 done
5656 done
5657 IFS=$as_save_IFS
5661 FONTFORGE=$ac_cv_prog_FONTFORGE
5662 if test -n "$FONTFORGE"; then
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5664 $as_echo "$FONTFORGE" >&6; }
5665 else
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5667 $as_echo "no" >&6; }
5671 test -n "$FONTFORGE" && break
5672 done
5673 test -n "$FONTFORGE" || FONTFORGE="false"
5675 for ac_prog in rsvg
5677 # Extract the first word of "$ac_prog", so it can be a program name with args.
5678 set dummy $ac_prog; ac_word=$2
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5680 $as_echo_n "checking for $ac_word... " >&6; }
5681 if ${ac_cv_prog_RSVG+:} false; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 if test -n "$RSVG"; then
5685 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5686 else
5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5688 for as_dir in $PATH
5690 IFS=$as_save_IFS
5691 test -z "$as_dir" && as_dir=.
5692 for ac_exec_ext in '' $ac_executable_extensions; do
5693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5694 ac_cv_prog_RSVG="$ac_prog"
5695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5696 break 2
5698 done
5699 done
5700 IFS=$as_save_IFS
5704 RSVG=$ac_cv_prog_RSVG
5705 if test -n "$RSVG"; then
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5707 $as_echo "$RSVG" >&6; }
5708 else
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5710 $as_echo "no" >&6; }
5714 test -n "$RSVG" && break
5715 done
5716 test -n "$RSVG" || RSVG="false"
5718 for ac_prog in convert
5720 # Extract the first word of "$ac_prog", so it can be a program name with args.
5721 set dummy $ac_prog; ac_word=$2
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5723 $as_echo_n "checking for $ac_word... " >&6; }
5724 if ${ac_cv_prog_CONVERT+:} false; then :
5725 $as_echo_n "(cached) " >&6
5726 else
5727 if test -n "$CONVERT"; then
5728 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5729 else
5730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 for as_dir in $PATH
5733 IFS=$as_save_IFS
5734 test -z "$as_dir" && as_dir=.
5735 for ac_exec_ext in '' $ac_executable_extensions; do
5736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5737 ac_cv_prog_CONVERT="$ac_prog"
5738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5739 break 2
5741 done
5742 done
5743 IFS=$as_save_IFS
5747 CONVERT=$ac_cv_prog_CONVERT
5748 if test -n "$CONVERT"; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5750 $as_echo "$CONVERT" >&6; }
5751 else
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 $as_echo "no" >&6; }
5757 test -n "$CONVERT" && break
5758 done
5759 test -n "$CONVERT" || CONVERT="false"
5761 for ac_prog in icotool
5763 # Extract the first word of "$ac_prog", so it can be a program name with args.
5764 set dummy $ac_prog; ac_word=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_ICOTOOL+:} false; then :
5768 $as_echo_n "(cached) " >&6
5769 else
5770 if test -n "$ICOTOOL"; then
5771 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5772 else
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 for as_dir in $PATH
5776 IFS=$as_save_IFS
5777 test -z "$as_dir" && as_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5780 ac_cv_prog_ICOTOOL="$ac_prog"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 break 2
5784 done
5785 done
5786 IFS=$as_save_IFS
5790 ICOTOOL=$ac_cv_prog_ICOTOOL
5791 if test -n "$ICOTOOL"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5793 $as_echo "$ICOTOOL" >&6; }
5794 else
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5800 test -n "$ICOTOOL" && break
5801 done
5802 test -n "$ICOTOOL" || ICOTOOL="false"
5804 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5805 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5807 if test "$CONVERT" = false
5808 then
5809 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5810 else
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5812 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5813 convert_version=`convert --version | head -n1`
5814 if test "x$convert_version" != "x"
5815 then
5816 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5817 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5818 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5819 then
5820 CONVERT=false
5823 if test "$CONVERT" = false
5824 then
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5826 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5827 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5828 else
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5830 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5834 if test "$ICOTOOL" = false
5835 then
5836 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5837 else
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5839 $as_echo_n "checking for recent enough icotool... " >&6; }
5840 icotool_version=`icotool --version | head -n1`
5841 if test "x$icotool_version" != "x"
5842 then
5843 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5844 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5845 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5846 then
5847 ICOTOOL=false
5848 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5851 if test "$ICOTOOL" = false
5852 then
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5854 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5855 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5856 else
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5858 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5862 with_gettext=yes
5863 with_gettextpo=yes
5864 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5867 test "x$with_gettext" != xno || MSGFMT=false
5868 if test "$MSGFMT" != "false"
5869 then
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5871 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5872 cat >conftest.po <<EOF
5873 # comment
5874 msgctxt "ctxt"
5875 msgid "id"
5876 msgstr "str"
5878 if $MSGFMT -o /dev/null conftest.po 2>&5
5879 then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5881 $as_echo "yes" >&6; }
5882 else
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5885 MSGFMT=false
5888 if test "$MSGFMT" = false; then :
5889 case "x$with_gettext" in
5890 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5891 xno) ;;
5892 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5893 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5894 esac
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5899 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5900 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5901 $as_echo_n "(cached) " >&6
5902 else
5903 ac_check_lib_save_LIBS=$LIBS
5904 LIBS="-li386 $LIBS"
5905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5906 /* end confdefs.h. */
5908 /* Override any GCC internal prototype to avoid an error.
5909 Use char because int might match the return type of a GCC
5910 builtin and then its argument prototype would still apply. */
5911 #ifdef __cplusplus
5912 extern "C"
5913 #endif
5914 char i386_set_ldt ();
5916 main ()
5918 return i386_set_ldt ();
5920 return 0;
5922 _ACEOF
5923 if ac_fn_c_try_link "$LINENO"; then :
5924 ac_cv_lib_i386_i386_set_ldt=yes
5925 else
5926 ac_cv_lib_i386_i386_set_ldt=no
5928 rm -f core conftest.err conftest.$ac_objext \
5929 conftest$ac_exeext conftest.$ac_ext
5930 LIBS=$ac_check_lib_save_LIBS
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5933 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5934 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5935 cat >>confdefs.h <<_ACEOF
5936 #define HAVE_LIBI386 1
5937 _ACEOF
5939 LIBS="-li386 $LIBS"
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5944 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5945 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5946 $as_echo_n "(cached) " >&6
5947 else
5948 ac_check_lib_save_LIBS=$LIBS
5949 LIBS="-lossaudio $LIBS"
5950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5951 /* end confdefs.h. */
5953 /* Override any GCC internal prototype to avoid an error.
5954 Use char because int might match the return type of a GCC
5955 builtin and then its argument prototype would still apply. */
5956 #ifdef __cplusplus
5957 extern "C"
5958 #endif
5959 char _oss_ioctl ();
5961 main ()
5963 return _oss_ioctl ();
5965 return 0;
5967 _ACEOF
5968 if ac_fn_c_try_link "$LINENO"; then :
5969 ac_cv_lib_ossaudio__oss_ioctl=yes
5970 else
5971 ac_cv_lib_ossaudio__oss_ioctl=no
5973 rm -f core conftest.err conftest.$ac_objext \
5974 conftest$ac_exeext conftest.$ac_ext
5975 LIBS=$ac_check_lib_save_LIBS
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5978 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5979 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5980 cat >>confdefs.h <<_ACEOF
5981 #define HAVE_LIBOSSAUDIO 1
5982 _ACEOF
5984 LIBS="-lossaudio $LIBS"
5989 OPENGL_LIBS=""
5993 # Check whether --enable-largefile was given.
5994 if test "${enable_largefile+set}" = set; then :
5995 enableval=$enable_largefile;
5998 if test "$enable_largefile" != no; then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6001 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6002 if ${ac_cv_sys_largefile_CC+:} false; then :
6003 $as_echo_n "(cached) " >&6
6004 else
6005 ac_cv_sys_largefile_CC=no
6006 if test "$GCC" != yes; then
6007 ac_save_CC=$CC
6008 while :; do
6009 # IRIX 6.2 and later do not support large files by default,
6010 # so use the C compiler's -n32 option if that helps.
6011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6012 /* end confdefs.h. */
6013 #include <sys/types.h>
6014 /* Check that off_t can represent 2**63 - 1 correctly.
6015 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6016 since some C++ compilers masquerading as C compilers
6017 incorrectly reject 9223372036854775807. */
6018 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6019 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6020 && LARGE_OFF_T % 2147483647 == 1)
6021 ? 1 : -1];
6023 main ()
6027 return 0;
6029 _ACEOF
6030 if ac_fn_c_try_compile "$LINENO"; then :
6031 break
6033 rm -f core conftest.err conftest.$ac_objext
6034 CC="$CC -n32"
6035 if ac_fn_c_try_compile "$LINENO"; then :
6036 ac_cv_sys_largefile_CC=' -n32'; break
6038 rm -f core conftest.err conftest.$ac_objext
6039 break
6040 done
6041 CC=$ac_save_CC
6042 rm -f conftest.$ac_ext
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6046 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6047 if test "$ac_cv_sys_largefile_CC" != no; then
6048 CC=$CC$ac_cv_sys_largefile_CC
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6052 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6053 if ${ac_cv_sys_file_offset_bits+:} false; then :
6054 $as_echo_n "(cached) " >&6
6055 else
6056 while :; do
6057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6058 /* end confdefs.h. */
6059 #include <sys/types.h>
6060 /* Check that off_t can represent 2**63 - 1 correctly.
6061 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6062 since some C++ compilers masquerading as C compilers
6063 incorrectly reject 9223372036854775807. */
6064 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6065 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6066 && LARGE_OFF_T % 2147483647 == 1)
6067 ? 1 : -1];
6069 main ()
6073 return 0;
6075 _ACEOF
6076 if ac_fn_c_try_compile "$LINENO"; then :
6077 ac_cv_sys_file_offset_bits=no; break
6079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6081 /* end confdefs.h. */
6082 #define _FILE_OFFSET_BITS 64
6083 #include <sys/types.h>
6084 /* Check that off_t can represent 2**63 - 1 correctly.
6085 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6086 since some C++ compilers masquerading as C compilers
6087 incorrectly reject 9223372036854775807. */
6088 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6089 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6090 && LARGE_OFF_T % 2147483647 == 1)
6091 ? 1 : -1];
6093 main ()
6097 return 0;
6099 _ACEOF
6100 if ac_fn_c_try_compile "$LINENO"; then :
6101 ac_cv_sys_file_offset_bits=64; break
6103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6104 ac_cv_sys_file_offset_bits=unknown
6105 break
6106 done
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6109 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6110 case $ac_cv_sys_file_offset_bits in #(
6111 no | unknown) ;;
6113 cat >>confdefs.h <<_ACEOF
6114 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6115 _ACEOF
6117 esac
6118 rm -rf conftest*
6119 if test $ac_cv_sys_file_offset_bits = unknown; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6121 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6122 if ${ac_cv_sys_large_files+:} false; then :
6123 $as_echo_n "(cached) " >&6
6124 else
6125 while :; do
6126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6127 /* end confdefs.h. */
6128 #include <sys/types.h>
6129 /* Check that off_t can represent 2**63 - 1 correctly.
6130 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6131 since some C++ compilers masquerading as C compilers
6132 incorrectly reject 9223372036854775807. */
6133 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6134 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6135 && LARGE_OFF_T % 2147483647 == 1)
6136 ? 1 : -1];
6138 main ()
6142 return 0;
6144 _ACEOF
6145 if ac_fn_c_try_compile "$LINENO"; then :
6146 ac_cv_sys_large_files=no; break
6148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6150 /* end confdefs.h. */
6151 #define _LARGE_FILES 1
6152 #include <sys/types.h>
6153 /* Check that off_t can represent 2**63 - 1 correctly.
6154 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6155 since some C++ compilers masquerading as C compilers
6156 incorrectly reject 9223372036854775807. */
6157 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6158 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6159 && LARGE_OFF_T % 2147483647 == 1)
6160 ? 1 : -1];
6162 main ()
6166 return 0;
6168 _ACEOF
6169 if ac_fn_c_try_compile "$LINENO"; then :
6170 ac_cv_sys_large_files=1; break
6172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6173 ac_cv_sys_large_files=unknown
6174 break
6175 done
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6178 $as_echo "$ac_cv_sys_large_files" >&6; }
6179 case $ac_cv_sys_large_files in #(
6180 no | unknown) ;;
6182 cat >>confdefs.h <<_ACEOF
6183 #define _LARGE_FILES $ac_cv_sys_large_files
6184 _ACEOF
6186 esac
6187 rm -rf conftest*
6194 ac_ext=c
6195 ac_cpp='$CPP $CPPFLAGS'
6196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6200 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6201 # On Suns, sometimes $CPP names a directory.
6202 if test -n "$CPP" && test -d "$CPP"; then
6203 CPP=
6205 if test -z "$CPP"; then
6206 if ${ac_cv_prog_CPP+:} false; then :
6207 $as_echo_n "(cached) " >&6
6208 else
6209 # Double quotes because CPP needs to be expanded
6210 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6212 ac_preproc_ok=false
6213 for ac_c_preproc_warn_flag in '' yes
6215 # Use a header file that comes with gcc, so configuring glibc
6216 # with a fresh cross-compiler works.
6217 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6218 # <limits.h> exists even on freestanding compilers.
6219 # On the NeXT, cc -E runs the code through the compiler's parser,
6220 # not just through cpp. "Syntax error" is here to catch this case.
6221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6222 /* end confdefs.h. */
6223 #ifdef __STDC__
6224 # include <limits.h>
6225 #else
6226 # include <assert.h>
6227 #endif
6228 Syntax error
6229 _ACEOF
6230 if ac_fn_c_try_cpp "$LINENO"; then :
6232 else
6233 # Broken: fails on valid input.
6234 continue
6236 rm -f conftest.err conftest.i conftest.$ac_ext
6238 # OK, works on sane cases. Now check whether nonexistent headers
6239 # can be detected and how.
6240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6241 /* end confdefs.h. */
6242 #include <ac_nonexistent.h>
6243 _ACEOF
6244 if ac_fn_c_try_cpp "$LINENO"; then :
6245 # Broken: success on invalid input.
6246 continue
6247 else
6248 # Passes both tests.
6249 ac_preproc_ok=:
6250 break
6252 rm -f conftest.err conftest.i conftest.$ac_ext
6254 done
6255 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6256 rm -f conftest.i conftest.err conftest.$ac_ext
6257 if $ac_preproc_ok; then :
6258 break
6261 done
6262 ac_cv_prog_CPP=$CPP
6265 CPP=$ac_cv_prog_CPP
6266 else
6267 ac_cv_prog_CPP=$CPP
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6270 $as_echo "$CPP" >&6; }
6271 ac_preproc_ok=false
6272 for ac_c_preproc_warn_flag in '' yes
6274 # Use a header file that comes with gcc, so configuring glibc
6275 # with a fresh cross-compiler works.
6276 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6277 # <limits.h> exists even on freestanding compilers.
6278 # On the NeXT, cc -E runs the code through the compiler's parser,
6279 # not just through cpp. "Syntax error" is here to catch this case.
6280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6281 /* end confdefs.h. */
6282 #ifdef __STDC__
6283 # include <limits.h>
6284 #else
6285 # include <assert.h>
6286 #endif
6287 Syntax error
6288 _ACEOF
6289 if ac_fn_c_try_cpp "$LINENO"; then :
6291 else
6292 # Broken: fails on valid input.
6293 continue
6295 rm -f conftest.err conftest.i conftest.$ac_ext
6297 # OK, works on sane cases. Now check whether nonexistent headers
6298 # can be detected and how.
6299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6300 /* end confdefs.h. */
6301 #include <ac_nonexistent.h>
6302 _ACEOF
6303 if ac_fn_c_try_cpp "$LINENO"; then :
6304 # Broken: success on invalid input.
6305 continue
6306 else
6307 # Passes both tests.
6308 ac_preproc_ok=:
6309 break
6311 rm -f conftest.err conftest.i conftest.$ac_ext
6313 done
6314 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6315 rm -f conftest.i conftest.err conftest.$ac_ext
6316 if $ac_preproc_ok; then :
6318 else
6319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6321 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6322 See \`config.log' for more details" "$LINENO" 5; }
6325 ac_ext=c
6326 ac_cpp='$CPP $CPPFLAGS'
6327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6333 $as_echo_n "checking for ANSI C header files... " >&6; }
6334 if ${ac_cv_header_stdc+:} false; then :
6335 $as_echo_n "(cached) " >&6
6336 else
6337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6338 /* end confdefs.h. */
6339 #include <stdlib.h>
6340 #include <stdarg.h>
6341 #include <string.h>
6342 #include <float.h>
6345 main ()
6349 return 0;
6351 _ACEOF
6352 if ac_fn_c_try_compile "$LINENO"; then :
6353 ac_cv_header_stdc=yes
6354 else
6355 ac_cv_header_stdc=no
6357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6359 if test $ac_cv_header_stdc = yes; then
6360 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6362 /* end confdefs.h. */
6363 #include <string.h>
6365 _ACEOF
6366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6367 $EGREP "memchr" >/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 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6379 /* end confdefs.h. */
6380 #include <stdlib.h>
6382 _ACEOF
6383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6384 $EGREP "free" >/dev/null 2>&1; then :
6386 else
6387 ac_cv_header_stdc=no
6389 rm -f conftest*
6393 if test $ac_cv_header_stdc = yes; then
6394 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6395 if test "$cross_compiling" = yes; then :
6397 else
6398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6399 /* end confdefs.h. */
6400 #include <ctype.h>
6401 #include <stdlib.h>
6402 #if ((' ' & 0x0FF) == 0x020)
6403 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6404 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6405 #else
6406 # define ISLOWER(c) \
6407 (('a' <= (c) && (c) <= 'i') \
6408 || ('j' <= (c) && (c) <= 'r') \
6409 || ('s' <= (c) && (c) <= 'z'))
6410 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6411 #endif
6413 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6415 main ()
6417 int i;
6418 for (i = 0; i < 256; i++)
6419 if (XOR (islower (i), ISLOWER (i))
6420 || toupper (i) != TOUPPER (i))
6421 return 2;
6422 return 0;
6424 _ACEOF
6425 if ac_fn_c_try_run "$LINENO"; then :
6427 else
6428 ac_cv_header_stdc=no
6430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6431 conftest.$ac_objext conftest.beam conftest.$ac_ext
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6437 $as_echo "$ac_cv_header_stdc" >&6; }
6438 if test $ac_cv_header_stdc = yes; then
6440 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6444 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6445 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6446 inttypes.h stdint.h unistd.h
6447 do :
6448 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6449 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6451 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6452 cat >>confdefs.h <<_ACEOF
6453 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6454 _ACEOF
6458 done
6461 for ac_header in \
6462 AL/al.h \
6463 ApplicationServices/ApplicationServices.h \
6464 AudioToolbox/AudioConverter.h \
6465 AudioUnit/AudioUnit.h \
6466 AudioUnit/AudioComponent.h \
6467 CL/cl.h \
6468 Carbon/Carbon.h \
6469 CoreAudio/CoreAudio.h \
6470 CoreServices/CoreServices.h \
6471 DiskArbitration/DiskArbitration.h \
6472 IOKit/IOKitLib.h \
6473 IOKit/hid/IOHIDLib.h \
6474 OpenAL/al.h \
6475 OpenCL/opencl.h \
6476 QuickTime/ImageCompression.h \
6477 Security/Security.h \
6478 alias.h \
6479 alsa/asoundlib.h \
6480 arpa/inet.h \
6481 arpa/nameser.h \
6482 asm/types.h \
6483 asm/user.h \
6484 curses.h \
6485 direct.h \
6486 dirent.h \
6487 dlfcn.h \
6488 elf.h \
6489 float.h \
6490 fnmatch.h \
6491 getopt.h \
6492 gettext-po.h \
6493 grp.h \
6494 gsm.h \
6495 gsm/gsm.h \
6496 ieeefp.h \
6497 inet/mib2.h \
6498 io.h \
6499 kstat.h \
6500 lber.h \
6501 ldap.h \
6502 libproc.h \
6503 link.h \
6504 linux/cdrom.h \
6505 linux/compiler.h \
6506 linux/filter.h \
6507 linux/hdreg.h \
6508 linux/input.h \
6509 linux/ioctl.h \
6510 linux/joystick.h \
6511 linux/major.h \
6512 linux/param.h \
6513 linux/serial.h \
6514 linux/types.h \
6515 linux/ucdrom.h \
6516 lwp.h \
6517 mach-o/nlist.h \
6518 mach-o/loader.h \
6519 mach/mach.h \
6520 mach/machine.h \
6521 machine/cpu.h \
6522 machine/limits.h \
6523 machine/sysarch.h \
6524 mntent.h \
6525 ncurses.h \
6526 netdb.h \
6527 netinet/in.h \
6528 netinet/in_systm.h \
6529 netinet/tcp.h \
6530 netinet/tcp_fsm.h \
6531 pcap/pcap.h \
6532 poll.h \
6533 port.h \
6534 process.h \
6535 pthread.h \
6536 pwd.h \
6537 sched.h \
6538 scsi/scsi.h \
6539 scsi/scsi_ioctl.h \
6540 scsi/sg.h \
6541 stdbool.h \
6542 stdint.h \
6543 stropts.h \
6544 sys/asoundlib.h \
6545 sys/attr.h \
6546 sys/cdio.h \
6547 sys/elf32.h \
6548 sys/epoll.h \
6549 sys/event.h \
6550 sys/exec_elf.h \
6551 sys/filio.h \
6552 sys/inotify.h \
6553 sys/ioctl.h \
6554 sys/ipc.h \
6555 sys/limits.h \
6556 sys/link.h \
6557 sys/mman.h \
6558 sys/modem.h \
6559 sys/msg.h \
6560 sys/mtio.h \
6561 sys/param.h \
6562 sys/poll.h \
6563 sys/prctl.h \
6564 sys/protosw.h \
6565 sys/ptrace.h \
6566 sys/queue.h \
6567 sys/resource.h \
6568 sys/scsiio.h \
6569 sys/shm.h \
6570 sys/signal.h \
6571 sys/socket.h \
6572 sys/socketvar.h \
6573 sys/sockio.h \
6574 sys/statvfs.h \
6575 sys/strtio.h \
6576 sys/syscall.h \
6577 sys/tihdr.h \
6578 sys/time.h \
6579 sys/timeout.h \
6580 sys/times.h \
6581 sys/uio.h \
6582 sys/user.h \
6583 sys/utsname.h \
6584 sys/vm86.h \
6585 sys/wait.h \
6586 syscall.h \
6587 termios.h \
6588 unistd.h \
6589 utime.h \
6590 valgrind/memcheck.h \
6591 valgrind/valgrind.h \
6592 zlib.h
6594 do :
6595 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6596 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6597 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6598 cat >>confdefs.h <<_ACEOF
6599 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6600 _ACEOF
6604 done
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6607 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6608 if ${ac_cv_header_stat_broken+:} false; then :
6609 $as_echo_n "(cached) " >&6
6610 else
6611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6612 /* end confdefs.h. */
6613 #include <sys/types.h>
6614 #include <sys/stat.h>
6616 #if defined S_ISBLK && defined S_IFDIR
6617 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6618 #endif
6620 #if defined S_ISBLK && defined S_IFCHR
6621 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6622 #endif
6624 #if defined S_ISLNK && defined S_IFREG
6625 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6626 #endif
6628 #if defined S_ISSOCK && defined S_IFREG
6629 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6630 #endif
6632 _ACEOF
6633 if ac_fn_c_try_compile "$LINENO"; then :
6634 ac_cv_header_stat_broken=no
6635 else
6636 ac_cv_header_stat_broken=yes
6638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6641 $as_echo "$ac_cv_header_stat_broken" >&6; }
6642 if test $ac_cv_header_stat_broken = yes; then
6644 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6650 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6651 do :
6652 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6653 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6654 #ifdef HAVE_SYS_PARAM_H
6655 # include <sys/param.h>
6656 #endif
6658 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6659 cat >>confdefs.h <<_ACEOF
6660 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6661 _ACEOF
6665 done
6668 for ac_header in \
6669 netinet/ip.h \
6670 net/if.h \
6671 net/if_arp.h \
6672 net/if_dl.h \
6673 net/if_types.h \
6674 net/route.h \
6675 netinet/if_ether.h \
6676 netinet/if_inarp.h \
6677 netinet/in_pcb.h \
6678 netinet/ip_icmp.h \
6679 netinet/ip_var.h \
6680 netinet/udp.h \
6681 netipx/ipx.h \
6682 sys/un.h \
6684 do :
6685 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6686 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6687 #ifdef HAVE_SYS_SOCKET_H
6688 # include <sys/socket.h>
6689 #endif
6690 #ifdef HAVE_SYS_SOCKETVAR_H
6691 # include <sys/socketvar.h>
6692 #endif
6693 #ifdef HAVE_NET_ROUTE_H
6694 # include <net/route.h>
6695 #endif
6696 #ifdef HAVE_NETINET_IN_H
6697 # include <netinet/in.h>
6698 #endif
6699 #ifdef HAVE_NETINET_IN_SYSTM_H
6700 # include <netinet/in_systm.h>
6701 #endif
6702 #ifdef HAVE_NET_IF_H
6703 # include <net/if.h>
6704 #endif
6705 #ifdef HAVE_NETINET_IP_H
6706 # include <netinet/ip.h>
6707 #endif
6709 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6710 cat >>confdefs.h <<_ACEOF
6711 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6712 _ACEOF
6716 done
6719 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6720 do :
6721 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6722 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6723 #ifdef HAVE_ALIAS_H
6724 # include <alias.h>
6725 #endif
6726 #ifdef HAVE_SYS_SOCKET_H
6727 # include <sys/socket.h>
6728 #endif
6729 #ifdef HAVE_SYS_SOCKETVAR_H
6730 # include <sys/socketvar.h>
6731 #endif
6732 #ifdef HAVE_SYS_TIMEOUT_H
6733 # include <sys/timeout.h>
6734 #endif
6735 #ifdef HAVE_NETINET_IN_H
6736 # include <netinet/in.h>
6737 #endif
6738 #ifdef HAVE_NETINET_IN_SYSTM_H
6739 # include <netinet/in_systm.h>
6740 #endif
6741 #ifdef HAVE_NETINET_IP_H
6742 # include <netinet/ip.h>
6743 #endif
6744 #ifdef HAVE_NETINET_IP_VAR_H
6745 # include <netinet/ip_var.h>
6746 #endif
6747 #ifdef HAVE_NETINET_IP_ICMP_H
6748 # include <netinet/ip_icmp.h>
6749 #endif
6750 #ifdef HAVE_NETINET_UDP_H
6751 # include <netinet/udp.h>
6752 #endif
6753 #ifdef HAVE_NETINET_TCP_H
6754 # include <netinet/tcp.h>
6755 #endif
6756 #ifdef HAVE_NETINET_TCP_TIMER_H
6757 #include <netinet/tcp_timer.h>
6758 #endif
6760 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6761 cat >>confdefs.h <<_ACEOF
6762 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6763 _ACEOF
6767 done
6770 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6771 do :
6772 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6773 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6774 #ifdef HAVE_ASM_TYPES_H
6775 # include <asm/types.h>
6776 #endif
6777 #ifdef HAVE_SYS_SOCKET_H
6778 # include <sys/socket.h>
6779 #endif
6780 #ifdef HAVE_LINUX_TYPES_H
6781 # include <linux/types.h>
6782 #endif
6784 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6785 cat >>confdefs.h <<_ACEOF
6786 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6787 _ACEOF
6791 done
6794 for ac_header in mach-o/dyld_images.h
6795 do :
6796 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6797 # include <stdbool.h>
6798 #endif
6799 #ifdef HAVE_STDINT_H
6800 # include <stdint.h>
6801 #endif
6803 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6804 cat >>confdefs.h <<_ACEOF
6805 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6806 _ACEOF
6810 done
6813 for ac_header in resolv.h
6814 do :
6815 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6816 #ifdef HAVE_SYS_SOCKET_H
6817 # include <sys/socket.h>
6818 #endif
6819 #ifdef HAVE_NETINET_IN_H
6820 # include <netinet/in.h>
6821 #endif
6822 #ifdef HAVE_ARPA_NAMESER_H
6823 # include <arpa/nameser.h>
6824 #endif
6826 if test "x$ac_cv_header_resolv_h" = xyes; then :
6827 cat >>confdefs.h <<_ACEOF
6828 #define HAVE_RESOLV_H 1
6829 _ACEOF
6833 done
6836 for ac_header in ifaddrs.h
6837 do :
6838 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6840 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6841 cat >>confdefs.h <<_ACEOF
6842 #define HAVE_IFADDRS_H 1
6843 _ACEOF
6847 done
6850 for ac_header in sys/ucontext.h
6851 do :
6852 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6854 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6855 cat >>confdefs.h <<_ACEOF
6856 #define HAVE_SYS_UCONTEXT_H 1
6857 _ACEOF
6861 done
6864 for ac_header in sys/thr.h
6865 do :
6866 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6867 #ifdef HAVE_SYS_UCONTEXT_H
6868 #include <sys/ucontext.h>
6869 #endif
6871 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6872 cat >>confdefs.h <<_ACEOF
6873 #define HAVE_SYS_THR_H 1
6874 _ACEOF
6878 done
6881 for ac_header in pthread_np.h
6882 do :
6883 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6884 #include <pthread.h>
6885 #endif
6887 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6888 cat >>confdefs.h <<_ACEOF
6889 #define HAVE_PTHREAD_NP_H 1
6890 _ACEOF
6894 done
6897 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6898 do :
6899 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6900 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6901 #include <sys/time.h>
6902 #endif
6903 #include <sys/types.h>
6904 #ifdef HAVE_ASM_TYPES_H
6905 #include <asm/types.h>
6906 #endif
6908 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6909 cat >>confdefs.h <<_ACEOF
6910 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6911 _ACEOF
6915 done
6918 for ac_header in libprocstat.h
6919 do :
6920 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6921 #include <sys/param.h>
6922 #endif
6923 #ifdef HAVE_SYS_QUEUE_H
6924 #include <sys/queue.h>
6925 #endif
6926 #ifdef HAVE_SYS_SOCKET_H
6927 #include <sys/socket.h>
6928 #endif
6930 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6931 cat >>confdefs.h <<_ACEOF
6932 #define HAVE_LIBPROCSTAT_H 1
6933 _ACEOF
6937 done
6941 dlldir="\${libdir}/wine"
6943 DLLPREFIX=""
6945 DLLFLAGS="-D_REENTRANT"
6947 LDRPATH_INSTALL=""
6949 LDRPATH_LOCAL=""
6951 LIBEXT="so"
6952 DLLEXT=".so"
6953 IMPLIBEXT="def"
6954 STATIC_IMPLIBEXT="def.a"
6955 # Extract the first word of "ldd", so it can be a program name with args.
6956 set dummy ldd; ac_word=$2
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6958 $as_echo_n "checking for $ac_word... " >&6; }
6959 if ${ac_cv_path_LDD+:} false; then :
6960 $as_echo_n "(cached) " >&6
6961 else
6962 case $LDD in
6963 [\\/]* | ?:[\\/]*)
6964 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6968 as_dummy="/sbin:/usr/sbin:$PATH"
6969 for as_dir in $as_dummy
6971 IFS=$as_save_IFS
6972 test -z "$as_dir" && as_dir=.
6973 for ac_exec_ext in '' $ac_executable_extensions; do
6974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6975 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6977 break 2
6979 done
6980 done
6981 IFS=$as_save_IFS
6983 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6985 esac
6987 LDD=$ac_cv_path_LDD
6988 if test -n "$LDD"; then
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6990 $as_echo "$LDD" >&6; }
6991 else
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6993 $as_echo "no" >&6; }
6997 if test -n "$ac_tool_prefix"; then
6998 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6999 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7001 $as_echo_n "checking for $ac_word... " >&6; }
7002 if ${ac_cv_prog_READELF+:} false; then :
7003 $as_echo_n "(cached) " >&6
7004 else
7005 if test -n "$READELF"; then
7006 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7007 else
7008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7009 for as_dir in $PATH
7011 IFS=$as_save_IFS
7012 test -z "$as_dir" && as_dir=.
7013 for ac_exec_ext in '' $ac_executable_extensions; do
7014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7015 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7017 break 2
7019 done
7020 done
7021 IFS=$as_save_IFS
7025 READELF=$ac_cv_prog_READELF
7026 if test -n "$READELF"; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7028 $as_echo "$READELF" >&6; }
7029 else
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7031 $as_echo "no" >&6; }
7036 if test -z "$ac_cv_prog_READELF"; then
7037 ac_ct_READELF=$READELF
7038 # Extract the first word of "readelf", so it can be a program name with args.
7039 set dummy readelf; ac_word=$2
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7041 $as_echo_n "checking for $ac_word... " >&6; }
7042 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7043 $as_echo_n "(cached) " >&6
7044 else
7045 if test -n "$ac_ct_READELF"; then
7046 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7047 else
7048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7049 for as_dir in $PATH
7051 IFS=$as_save_IFS
7052 test -z "$as_dir" && as_dir=.
7053 for ac_exec_ext in '' $ac_executable_extensions; do
7054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7055 ac_cv_prog_ac_ct_READELF="readelf"
7056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7057 break 2
7059 done
7060 done
7061 IFS=$as_save_IFS
7065 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7066 if test -n "$ac_ct_READELF"; then
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7068 $as_echo "$ac_ct_READELF" >&6; }
7069 else
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7071 $as_echo "no" >&6; }
7074 if test "x$ac_ct_READELF" = x; then
7075 READELF="true"
7076 else
7077 case $cross_compiling:$ac_tool_warned in
7078 yes:)
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7081 ac_tool_warned=yes ;;
7082 esac
7083 READELF=$ac_ct_READELF
7085 else
7086 READELF="$ac_cv_prog_READELF"
7089 wine_rules_file=conf$$rules.make
7090 rm -f $wine_rules_file
7091 ALL_POT_FILES=""
7092 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7093 ALL_TEST_RESOURCES=""
7096 wine_fn_append_file ()
7098 as_fn_append $1 " \\$as_nl $2"
7101 wine_fn_ignore_file ()
7103 case "$1" in
7104 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7105 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7106 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7107 esac
7110 wine_fn_append_rule ()
7112 $as_echo "$1" >>$wine_rules_file
7115 wine_fn_has_flag ()
7117 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7120 wine_fn_depend_rules ()
7122 wine_fn_append_rule \
7123 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7124 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7125 depend: $ac_dir/depend
7126 .PHONY: $ac_dir/depend
7127 $ac_dir/depend: \$(MAKEDEP) dummy
7128 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7131 wine_fn_pot_rules ()
7133 test "x$with_gettextpo" = xyes || return
7135 if wine_fn_has_flag mc
7136 then
7137 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7138 wine_fn_append_rule \
7139 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7140 @cd $ac_dir && \$(MAKE) msg.pot
7141 $ac_dir/msg.pot: tools/wmc include"
7143 if wine_fn_has_flag po
7144 then
7145 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7146 wine_fn_append_rule \
7147 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7148 @cd $ac_dir && \$(MAKE) rsrc.pot
7149 $ac_dir/rsrc.pot: tools/wrc include"
7153 wine_fn_all_rules ()
7155 wine_fn_depend_rules
7156 wine_fn_append_rule \
7157 "all: $ac_dir
7158 .PHONY: $ac_dir
7159 $ac_dir: $ac_dir/Makefile dummy
7160 @cd $ac_dir && \$(MAKE)"
7163 wine_fn_install_rules ()
7165 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7167 wine_fn_append_rule \
7168 ".PHONY: $ac_dir/install $ac_dir/uninstall
7169 $ac_dir/install:: $ac_dir
7170 @cd $ac_dir && \$(MAKE) install
7171 $ac_dir/uninstall:: $ac_dir/Makefile
7172 @cd $ac_dir && \$(MAKE) uninstall
7173 install:: $ac_dir/install
7174 __uninstall__: $ac_dir/uninstall"
7176 if wine_fn_has_flag install-lib
7177 then
7178 wine_fn_append_rule \
7179 ".PHONY: $ac_dir/install-lib
7180 $ac_dir/install-lib:: $ac_dir
7181 @cd $ac_dir && \$(MAKE) install-lib
7182 install-lib:: $ac_dir/install-lib"
7185 if wine_fn_has_flag install-dev
7186 then
7187 wine_fn_append_rule \
7188 ".PHONY: $ac_dir/install-dev
7189 $ac_dir/install-dev:: $ac_dir
7190 @cd $ac_dir && \$(MAKE) install-dev
7191 install-dev:: $ac_dir/install-dev"
7195 wine_fn_clean_rules ()
7197 ac_clean=$@
7198 ac_extraclean="$ac_dir/Makefile"
7199 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7200 case $ac_dir in
7201 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7202 esac
7204 if wine_fn_has_flag clean
7205 then
7206 wine_fn_append_rule \
7207 "__clean__: $ac_dir/clean
7208 .PHONY: $ac_dir/clean
7209 $ac_dir/clean: $ac_dir/Makefile
7210 @cd $ac_dir && \$(MAKE) clean
7211 \$(RM) $ac_extraclean"
7212 else
7213 wine_fn_append_rule \
7214 "__clean__: $ac_dir/clean
7215 .PHONY: $ac_dir/clean
7216 $ac_dir/clean: dummy
7217 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7221 wine_fn_disabled_rules ()
7223 ac_clean=$@
7224 ac_extraclean="$ac_dir/Makefile"
7225 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7227 wine_fn_append_rule \
7228 "__clean__: $ac_dir/clean
7229 .PHONY: $ac_dir/clean
7230 $ac_dir/clean: dummy
7231 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7234 wine_fn_config_makefile ()
7236 ac_dir=$1
7237 ac_enable=$2
7238 ac_flags=$3
7240 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7241 wine_fn_disabled_rules; return
7243 wine_fn_all_rules
7244 wine_fn_install_rules
7245 wine_fn_clean_rules
7248 wine_fn_config_lib ()
7250 ac_name=$1
7251 ac_flags=$2
7252 ac_dir=dlls/$ac_name
7253 ac_deps="include"
7255 if test "x$enable_tools" = xno; then :
7257 else
7258 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7260 wine_fn_all_rules
7261 wine_fn_clean_rules
7263 wine_fn_append_rule \
7264 ".PHONY: $ac_dir/install $ac_dir/uninstall
7265 $ac_dir/install:: $ac_dir
7266 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7267 $ac_dir/uninstall::
7268 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7269 install install-dev:: $ac_dir/install
7270 __uninstall__: $ac_dir/uninstall
7271 __builddeps__: $ac_dir
7272 $ac_dir: $ac_deps"
7275 wine_fn_config_dll ()
7277 ac_name=$1
7278 ac_dir=dlls/$ac_name
7279 ac_enable=$2
7280 ac_flags=$3
7281 ac_implib=${4:-$ac_name}
7282 ac_file=$ac_dir/lib$ac_implib
7283 ac_dll=$ac_name
7284 ac_deps="include"
7285 ac_implibflags=""
7287 if test "x$enable_tools" = xno; then :
7289 else
7290 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7292 case $ac_name in
7293 *16) ac_implibflags=" -m16" ;;
7294 *.*) ;;
7295 *) ac_dll=$ac_dll.dll ;;
7296 esac
7298 ac_clean=
7299 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7300 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7301 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7302 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7304 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7305 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7306 then
7307 wine_fn_depend_rules
7308 wine_fn_clean_rules $ac_clean
7309 else
7310 wine_fn_disabled_rules $ac_clean
7311 return
7313 else
7314 wine_fn_all_rules
7315 wine_fn_clean_rules $ac_clean
7316 wine_fn_append_rule \
7317 "$ac_dir: __builddeps__
7318 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7319 @cd $ac_dir && \$(MAKE) \$@
7320 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7321 install install-lib:: $ac_dir/install-lib
7322 __uninstall__: $ac_dir/uninstall"
7323 if test -n "$DLLEXT"
7324 then
7325 wine_fn_append_rule \
7326 "$ac_dir/install-lib:: $ac_dir
7327 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7328 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7329 $ac_dir/uninstall::
7330 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7331 else
7332 wine_fn_append_rule \
7333 "$ac_dir/install-lib:: $ac_dir
7334 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7335 $ac_dir/uninstall::
7336 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7339 wine_fn_pot_rules
7342 if wine_fn_has_flag staticimplib
7343 then
7344 wine_fn_append_rule \
7345 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7346 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7347 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7348 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7349 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7350 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7351 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7352 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7353 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7354 $ac_dir/uninstall::
7355 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7356 install install-dev:: $ac_dir/install-dev
7357 __uninstall__: $ac_dir/uninstall"
7359 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7360 then
7361 wine_fn_append_rule \
7362 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7363 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7364 $ac_dir/uninstall::
7365 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7368 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7369 then
7370 wine_fn_append_rule \
7371 "__builddeps__: $ac_file.cross.a
7372 $ac_file.cross.a: $ac_dir/Makefile dummy
7373 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7376 elif wine_fn_has_flag implib
7377 then
7378 wine_fn_append_rule \
7379 "__builddeps__: $ac_file.$IMPLIBEXT
7380 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7381 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7382 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7383 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7384 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7385 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7386 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7387 $ac_dir/uninstall::
7388 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7389 install install-dev:: $ac_dir/install-dev
7390 __uninstall__: $ac_dir/uninstall"
7391 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7392 then
7393 wine_fn_append_rule \
7394 "__builddeps__: $ac_file.cross.a
7395 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7396 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7399 if test "$ac_name" != "$ac_implib"
7400 then
7401 wine_fn_append_rule \
7402 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7403 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7404 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7405 clean::
7406 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7407 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7408 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7409 then
7410 wine_fn_append_rule \
7411 "__builddeps__: dlls/lib$ac_implib.cross.a
7412 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7413 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7414 clean::
7415 \$(RM) dlls/lib$ac_implib.cross.a"
7416 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7422 wine_fn_config_program ()
7424 ac_name=$1
7425 ac_dir=programs/$ac_name
7426 ac_enable=$2
7427 ac_flags=$3
7428 ac_program=$ac_name
7430 case $ac_name in
7431 *.*) ;;
7432 *) ac_program=$ac_program.exe ;;
7433 esac
7435 ac_clean=
7436 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7437 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7438 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7439 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7441 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7442 wine_fn_disabled_rules $ac_clean; return
7445 wine_fn_all_rules
7446 wine_fn_clean_rules $ac_clean
7447 wine_fn_append_rule "$ac_dir: __builddeps__"
7448 wine_fn_pot_rules
7450 wine_fn_has_flag install || return
7451 wine_fn_append_rule \
7452 ".PHONY: $ac_dir/install $ac_dir/uninstall
7453 install install-lib:: $ac_dir/install
7454 __uninstall__: $ac_dir/uninstall"
7456 if test -n "$DLLEXT"
7457 then
7458 wine_fn_append_rule \
7459 "$ac_dir/install:: $ac_dir
7460 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7461 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7462 $ac_dir/uninstall::
7463 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7465 if test -z "$with_wine64" && wine_fn_has_flag installbin
7466 then
7467 wine_fn_append_rule \
7468 "$ac_dir/install:: __tooldeps__
7469 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7470 $ac_dir/uninstall::
7471 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7473 else
7474 wine_fn_append_rule \
7475 "$ac_dir/install:: $ac_dir
7476 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7477 $ac_dir/uninstall::
7478 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7481 if test -z "$with_wine64" && wine_fn_has_flag manpage
7482 then
7483 wine_fn_append_rule \
7484 "$ac_dir/install:: $ac_dir
7485 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7486 $ac_dir/uninstall::
7487 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7491 wine_fn_config_test ()
7493 ac_dir=$1
7494 ac_name=$2
7495 ac_flags=$3
7497 ac_clean=
7498 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7499 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7501 if test "x$enable_tests" = xno; then :
7502 wine_fn_disabled_rules $ac_clean; return
7505 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7506 wine_fn_all_rules
7507 wine_fn_clean_rules $ac_clean
7509 wine_fn_append_rule \
7510 "$ac_dir: programs/winetest/Makefile __builddeps__
7511 programs/winetest: $ac_dir
7512 check test: $ac_dir/test
7513 .PHONY: $ac_dir/test
7514 $ac_dir/test: dummy
7515 @cd $ac_dir && \$(MAKE) test
7516 testclean::
7517 \$(RM) $ac_dir/*.ok"
7519 if test -n "$CROSSTARGET"
7520 then
7521 wine_fn_append_rule \
7522 "crosstest: $ac_dir/crosstest
7523 .PHONY: $ac_dir/crosstest
7524 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7525 @cd $ac_dir && \$(MAKE) crosstest"
7529 wine_fn_config_tool ()
7531 ac_dir=$1
7532 ac_flags=$2
7533 if test "x$enable_tools" = xno; then :
7534 return
7537 wine_fn_all_rules
7538 wine_fn_install_rules
7539 wine_fn_clean_rules
7541 wine_fn_append_rule "__tooldeps__: $ac_dir"
7542 wine_fn_append_rule "$ac_dir: libs/port"
7543 case $ac_dir in
7544 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7545 esac
7548 wine_fn_config_symlink ()
7550 ac_linkdir=
7551 if test "x$1" = "x-d"
7552 then
7553 ac_linkdir=$2
7554 shift; shift
7556 ac_links=$@
7557 wine_fn_append_rule \
7558 "$ac_links:
7559 @./config.status \$@
7560 distclean::
7561 \$(RM) $ac_links"
7562 for f in $ac_links; do wine_fn_ignore_file $f; done
7563 test -n "$ac_linkdir" || return
7564 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7567 wine_binary="wine"
7568 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7569 loader_programs="$wine_binary wine-installed"
7570 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7572 LOADER_RULES="
7573 all: wine.inf
7575 install install-lib:: wine-installed
7576 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7578 uninstall::
7579 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7583 case $host_os in
7584 cygwin*|mingw32*)
7585 if test -n "$ac_tool_prefix"; then
7586 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7587 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7589 $as_echo_n "checking for $ac_word... " >&6; }
7590 if ${ac_cv_prog_DLLTOOL+:} false; then :
7591 $as_echo_n "(cached) " >&6
7592 else
7593 if test -n "$DLLTOOL"; then
7594 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7595 else
7596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7597 for as_dir in $PATH
7599 IFS=$as_save_IFS
7600 test -z "$as_dir" && as_dir=.
7601 for ac_exec_ext in '' $ac_executable_extensions; do
7602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7603 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7605 break 2
7607 done
7608 done
7609 IFS=$as_save_IFS
7613 DLLTOOL=$ac_cv_prog_DLLTOOL
7614 if test -n "$DLLTOOL"; then
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7616 $as_echo "$DLLTOOL" >&6; }
7617 else
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7619 $as_echo "no" >&6; }
7624 if test -z "$ac_cv_prog_DLLTOOL"; then
7625 ac_ct_DLLTOOL=$DLLTOOL
7626 # Extract the first word of "dlltool", so it can be a program name with args.
7627 set dummy dlltool; ac_word=$2
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7629 $as_echo_n "checking for $ac_word... " >&6; }
7630 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7631 $as_echo_n "(cached) " >&6
7632 else
7633 if test -n "$ac_ct_DLLTOOL"; then
7634 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7635 else
7636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7637 for as_dir in $PATH
7639 IFS=$as_save_IFS
7640 test -z "$as_dir" && as_dir=.
7641 for ac_exec_ext in '' $ac_executable_extensions; do
7642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7643 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7645 break 2
7647 done
7648 done
7649 IFS=$as_save_IFS
7653 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7654 if test -n "$ac_ct_DLLTOOL"; then
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7656 $as_echo "$ac_ct_DLLTOOL" >&6; }
7657 else
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7659 $as_echo "no" >&6; }
7662 if test "x$ac_ct_DLLTOOL" = x; then
7663 DLLTOOL="false"
7664 else
7665 case $cross_compiling:$ac_tool_warned in
7666 yes:)
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7669 ac_tool_warned=yes ;;
7670 esac
7671 DLLTOOL=$ac_ct_DLLTOOL
7673 else
7674 DLLTOOL="$ac_cv_prog_DLLTOOL"
7677 LIBEXT="dll"
7678 DLLEXT=""
7679 IMPLIBEXT="a"
7680 STATIC_IMPLIBEXT="a"
7681 enable_iphlpapi=${enable_iphlpapi:-no}
7682 enable_kernel32=${enable_kernel32:-no}
7683 enable_msvcrt=${enable_msvcrt:-no}
7684 enable_ntdll=${enable_ntdll:-no}
7685 enable_ws2_32=${enable_ws2_32:-no}
7686 enable_loader=${enable_loader:-no}
7687 enable_server=${enable_server:-no}
7688 with_x=${with_x:-no}
7689 with_pthread=${with_pthread:-no}
7691 crtlibs=""
7692 case $host_os in
7693 mingw32*)
7694 crtlibs="-lmsvcrt"
7695 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7697 esac
7699 libwine_targets="libwine.dll libwine.a"
7700 LIBWINE_RULES="
7701 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7703 all: libwine.dll libwine.a
7705 libwine.a: \$(srcdir)/wine.def
7706 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7708 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7709 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7711 install install-lib:: libwine.dll
7712 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7714 install install-dev:: libwine.a
7715 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7717 uninstall::
7718 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7723 darwin*|macosx*)
7724 LIBEXT="dylib"
7725 DLLFLAGS="$DLLFLAGS -fPIC"
7726 LIBWINE_LDFLAGS="-multiply_defined suppress"
7727 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7728 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7729 COREFOUNDATION_LIBS="-framework CoreFoundation"
7731 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7733 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7735 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7737 CORESERVICES_LIBS="-framework CoreServices"
7739 APPKIT_LIBS="-framework AppKit"
7741 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7743 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7744 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7745 $as_echo_n "(cached) " >&6
7746 else
7747 ac_wine_try_cflags_saved=$CFLAGS
7748 CFLAGS="$CFLAGS -Wl,-no_pie"
7749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7750 /* end confdefs.h. */
7751 int main(int argc, char **argv) { return 0; }
7752 _ACEOF
7753 if ac_fn_c_try_link "$LINENO"; then :
7754 ac_cv_cflags__Wl__no_pie=yes
7755 else
7756 ac_cv_cflags__Wl__no_pie=no
7758 rm -f core conftest.err conftest.$ac_objext \
7759 conftest$ac_exeext conftest.$ac_ext
7760 CFLAGS=$ac_wine_try_cflags_saved
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7763 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7764 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7765 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7767 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7768 then
7769 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7772 if test "$ac_cv_header_Security_Security_h" = "yes"
7773 then
7774 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7776 ac_save_LIBS="$LIBS"
7777 LIBS="$LIBS $SECURITY_LIBS"
7778 for ac_func in SSLCopyPeerCertificates
7779 do :
7780 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7781 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7782 cat >>confdefs.h <<_ACEOF
7783 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7784 _ACEOF
7787 done
7789 LIBS="$ac_save_LIBS"
7790 with_gnutls=${with_gnutls:-no}
7792 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7793 then
7794 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7795 then
7796 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7798 else
7799 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7802 ac_save_LIBS="$LIBS"
7803 LIBS="$LIBS $COREAUDIO_LIBS"
7804 for ac_func in AUGraphAddNode
7805 do :
7806 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7807 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7808 cat >>confdefs.h <<_ACEOF
7809 #define HAVE_AUGRAPHADDNODE 1
7810 _ACEOF
7813 done
7815 LIBS="$ac_save_LIBS"
7817 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7818 then
7819 OPENAL_LIBS="-framework OpenAL"
7822 cat >>confdefs.h <<_ACEOF
7823 #define HAVE_OPENAL 1
7824 _ACEOF
7826 ac_cv_lib_openal=yes
7828 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7829 then
7830 OPENCL_LIBS="-framework OpenCL"
7832 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7834 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7835 then
7836 ac_save_LIBS="$LIBS"
7837 LIBS="$LIBS $IOKIT_LIBS"
7838 for ac_func in IOHIDManagerCreate
7839 do :
7840 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7841 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7842 cat >>confdefs.h <<_ACEOF
7843 #define HAVE_IOHIDMANAGERCREATE 1
7844 _ACEOF
7847 done
7849 LIBS="$ac_save_LIBS"
7851 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7852 then
7853 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7855 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7856 else
7857 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7859 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7860 then
7861 CARBON_LIBS="-framework Carbon"
7865 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7866 then
7867 ac_save_LIBS="$LIBS"
7868 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7869 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7870 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7871 enable_winemac_drv=${enable_winemac_drv:-yes}
7874 LIBS="$ac_save_LIBS"
7877 if test "x$enable_win16" = "xyes"
7878 then
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7880 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7881 if test "$cross_compiling" = yes; then :
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7883 $as_echo "cross-compiling, assuming yes" >&6; }
7884 else
7885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7886 /* end confdefs.h. */
7887 asm(".text\n"
7888 "bad:\tnop;nop\n"
7889 "good:\tnop;nop\n\t"
7890 ".globl _testfunc\n"
7891 "_testfunc:\tcallw good");
7892 extern void testfunc();
7894 main ()
7896 unsigned short *p = (unsigned short *)testfunc;
7897 return p[0] != 0xe866 || p[1] != 0xfffa
7899 return 0;
7901 _ACEOF
7902 if ac_fn_c_try_run "$LINENO"; then :
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7904 $as_echo "yes" >&6; }
7905 else
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7907 $as_echo "no" >&6; }
7908 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
7910 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7911 conftest.$ac_objext conftest.beam conftest.$ac_ext
7916 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7917 LIBWINE_RULES="
7918 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7920 all: libwine.dylib
7922 libwine.$libwine_version.dylib: \$(OBJS)
7923 \$(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 \$@
7925 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7926 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7928 libwine.dylib: libwine.$libwine_soversion.dylib
7929 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7931 install install-lib:: libwine.$libwine_version.dylib
7932 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7933 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7935 install install-dev::
7936 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7938 uninstall::
7939 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7943 as_fn_append LOADER_RULES "
7944 $wine_binary: main.o wine_info.plist
7945 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7947 wine-installed: main.o wine_info.plist
7948 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7952 linux-android*)
7953 DLLFLAGS="$DLLFLAGS -fPIC"
7954 DLLPREFIX="lib"
7955 LDEXECFLAGS=""
7956 dlldir="\${libdir}"
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7958 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7959 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7960 $as_echo_n "(cached) " >&6
7961 else
7962 ac_wine_try_cflags_saved=$CFLAGS
7963 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7965 /* end confdefs.h. */
7966 int main(int argc, char **argv) { return 0; }
7967 _ACEOF
7968 if ac_fn_c_try_link "$LINENO"; then :
7969 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7970 else
7971 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7973 rm -f core conftest.err conftest.$ac_objext \
7974 conftest$ac_exeext conftest.$ac_ext
7975 CFLAGS=$ac_wine_try_cflags_saved
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7978 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7979 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7980 LDEXECFLAGS="-Wl,--export-dynamic"
7982 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7984 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7985 if eval \${$as_ac_var+:} false; then :
7986 $as_echo_n "(cached) " >&6
7987 else
7988 ac_wine_try_cflags_saved=$CFLAGS
7989 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7991 /* end confdefs.h. */
7992 int main(int argc, char **argv) { return 0; }
7993 _ACEOF
7994 if ac_fn_c_try_link "$LINENO"; then :
7995 eval "$as_ac_var=yes"
7996 else
7997 eval "$as_ac_var=no"
7999 rm -f core conftest.err conftest.$ac_objext \
8000 conftest$ac_exeext conftest.$ac_ext
8001 CFLAGS=$ac_wine_try_cflags_saved
8003 eval ac_res=\$$as_ac_var
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8005 $as_echo "$ac_res" >&6; }
8006 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8007 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8008 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8009 else
8010 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8012 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8013 if eval \${$as_ac_var+:} false; then :
8014 $as_echo_n "(cached) " >&6
8015 else
8016 ac_wine_try_cflags_saved=$CFLAGS
8017 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8019 /* end confdefs.h. */
8020 int main(int argc, char **argv) { return 0; }
8021 _ACEOF
8022 if ac_fn_c_try_link "$LINENO"; then :
8023 eval "$as_ac_var=yes"
8024 else
8025 eval "$as_ac_var=no"
8027 rm -f core conftest.err conftest.$ac_objext \
8028 conftest$ac_exeext conftest.$ac_ext
8029 CFLAGS=$ac_wine_try_cflags_saved
8031 eval ac_res=\$$as_ac_var
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8033 $as_echo "$ac_res" >&6; }
8034 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8035 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8036 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8041 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8042 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8043 $as_echo_n "(cached) " >&6
8044 else
8045 ac_wine_try_cflags_saved=$CFLAGS
8046 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8048 /* end confdefs.h. */
8049 int main(int argc, char **argv) { return 0; }
8050 _ACEOF
8051 if ac_fn_c_try_link "$LINENO"; then :
8052 ac_cv_cflags__Wl___enable_new_dtags=yes
8053 else
8054 ac_cv_cflags__Wl___enable_new_dtags=no
8056 rm -f core conftest.err conftest.$ac_objext \
8057 conftest$ac_exeext conftest.$ac_ext
8058 CFLAGS=$ac_wine_try_cflags_saved
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8061 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8062 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8063 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8066 case $host_cpu in
8067 *i[3456789]86* | x86_64)
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8069 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8070 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8071 $as_echo_n "(cached) " >&6
8072 else
8073 ac_wine_try_cflags_saved=$CFLAGS
8074 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8076 /* end confdefs.h. */
8077 int main(int argc, char **argv) { return 0; }
8078 _ACEOF
8079 if ac_fn_c_try_link "$LINENO"; then :
8080 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8081 else
8082 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8084 rm -f core conftest.err conftest.$ac_objext \
8085 conftest$ac_exeext conftest.$ac_ext
8086 CFLAGS=$ac_wine_try_cflags_saved
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8089 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8090 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8091 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8094 esac
8096 libwine_targets="libwine.so"
8097 LIBWINE_RULES="
8098 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8100 all: libwine.so
8102 libwine.so: \$(OBJS)
8103 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8105 install install-lib:: libwine.so
8106 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8108 uninstall::
8109 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8113 as_fn_append LOADER_RULES "
8114 $wine_binary: main.o
8115 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8117 wine-installed: main.o
8118 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8123 DLLFLAGS="$DLLFLAGS -fPIC"
8124 LDEXECFLAGS=""
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8126 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8127 if ${ac_cv_c_dll_gnuelf+:} false; then :
8128 $as_echo_n "(cached) " >&6
8129 else
8130 ac_wine_try_cflags_saved=$CFLAGS
8131 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8133 /* end confdefs.h. */
8134 void myfunc() {}
8135 _ACEOF
8136 if ac_fn_c_try_link "$LINENO"; then :
8137 ac_cv_c_dll_gnuelf="yes"
8138 else
8139 ac_cv_c_dll_gnuelf="no"
8141 rm -f core conftest.err conftest.$ac_objext \
8142 conftest$ac_exeext conftest.$ac_ext
8143 CFLAGS=$ac_wine_try_cflags_saved
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8146 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8147 if test "$ac_cv_c_dll_gnuelf" = "yes"
8148 then
8149 LDSHARED="\$(CC) -shared"
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8151 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8152 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8153 $as_echo_n "(cached) " >&6
8154 else
8155 ac_wine_try_cflags_saved=$CFLAGS
8156 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8158 /* end confdefs.h. */
8159 int main(int argc, char **argv) { return 0; }
8160 _ACEOF
8161 if ac_fn_c_try_link "$LINENO"; then :
8162 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8163 else
8164 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8166 rm -f core conftest.err conftest.$ac_objext \
8167 conftest$ac_exeext conftest.$ac_ext
8168 CFLAGS=$ac_wine_try_cflags_saved
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8171 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8172 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8173 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8174 else
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8176 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8177 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8178 $as_echo_n "(cached) " >&6
8179 else
8180 ac_wine_try_cflags_saved=$CFLAGS
8181 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8183 /* end confdefs.h. */
8184 int main(int argc, char **argv) { return 0; }
8185 _ACEOF
8186 if ac_fn_c_try_link "$LINENO"; then :
8187 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8188 else
8189 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8191 rm -f core conftest.err conftest.$ac_objext \
8192 conftest$ac_exeext conftest.$ac_ext
8193 CFLAGS=$ac_wine_try_cflags_saved
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8196 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8197 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8198 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8202 echo '{ global: *; };' >conftest.map
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8204 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8205 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8206 $as_echo_n "(cached) " >&6
8207 else
8208 ac_wine_try_cflags_saved=$CFLAGS
8209 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8211 /* end confdefs.h. */
8212 int main(int argc, char **argv) { return 0; }
8213 _ACEOF
8214 if ac_fn_c_try_link "$LINENO"; then :
8215 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8216 else
8217 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8219 rm -f core conftest.err conftest.$ac_objext \
8220 conftest$ac_exeext conftest.$ac_ext
8221 CFLAGS=$ac_wine_try_cflags_saved
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8224 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8225 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8226 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8228 rm -f conftest.map
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8231 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8232 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8233 $as_echo_n "(cached) " >&6
8234 else
8235 ac_wine_try_cflags_saved=$CFLAGS
8236 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8238 /* end confdefs.h. */
8239 int main(int argc, char **argv) { return 0; }
8240 _ACEOF
8241 if ac_fn_c_try_link "$LINENO"; then :
8242 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8243 else
8244 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8246 rm -f core conftest.err conftest.$ac_objext \
8247 conftest$ac_exeext conftest.$ac_ext
8248 CFLAGS=$ac_wine_try_cflags_saved
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8251 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8252 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8253 LDEXECFLAGS="-Wl,--export-dynamic"
8256 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8258 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8259 if eval \${$as_ac_var+:} false; then :
8260 $as_echo_n "(cached) " >&6
8261 else
8262 ac_wine_try_cflags_saved=$CFLAGS
8263 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8265 /* end confdefs.h. */
8266 int main(int argc, char **argv) { return 0; }
8267 _ACEOF
8268 if ac_fn_c_try_link "$LINENO"; then :
8269 eval "$as_ac_var=yes"
8270 else
8271 eval "$as_ac_var=no"
8273 rm -f core conftest.err conftest.$ac_objext \
8274 conftest$ac_exeext conftest.$ac_ext
8275 CFLAGS=$ac_wine_try_cflags_saved
8277 eval ac_res=\$$as_ac_var
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8279 $as_echo "$ac_res" >&6; }
8280 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8281 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8282 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8283 else
8284 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8286 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8287 if eval \${$as_ac_var+:} false; then :
8288 $as_echo_n "(cached) " >&6
8289 else
8290 ac_wine_try_cflags_saved=$CFLAGS
8291 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8293 /* end confdefs.h. */
8294 int main(int argc, char **argv) { return 0; }
8295 _ACEOF
8296 if ac_fn_c_try_link "$LINENO"; then :
8297 eval "$as_ac_var=yes"
8298 else
8299 eval "$as_ac_var=no"
8301 rm -f core conftest.err conftest.$ac_objext \
8302 conftest$ac_exeext conftest.$ac_ext
8303 CFLAGS=$ac_wine_try_cflags_saved
8305 eval ac_res=\$$as_ac_var
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8307 $as_echo "$ac_res" >&6; }
8308 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8309 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8310 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8315 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8316 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8317 $as_echo_n "(cached) " >&6
8318 else
8319 ac_wine_try_cflags_saved=$CFLAGS
8320 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8322 /* end confdefs.h. */
8323 int main(int argc, char **argv) { return 0; }
8324 _ACEOF
8325 if ac_fn_c_try_link "$LINENO"; then :
8326 ac_cv_cflags__Wl___enable_new_dtags=yes
8327 else
8328 ac_cv_cflags__Wl___enable_new_dtags=no
8330 rm -f core conftest.err conftest.$ac_objext \
8331 conftest$ac_exeext conftest.$ac_ext
8332 CFLAGS=$ac_wine_try_cflags_saved
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8335 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8336 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8337 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8340 case $host_cpu in
8341 *i[3456789]86* | x86_64)
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8343 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8344 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8345 $as_echo_n "(cached) " >&6
8346 else
8347 ac_wine_try_cflags_saved=$CFLAGS
8348 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8350 /* end confdefs.h. */
8351 int main(int argc, char **argv) { return 0; }
8352 _ACEOF
8353 if ac_fn_c_try_link "$LINENO"; then :
8354 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8355 else
8356 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8358 rm -f core conftest.err conftest.$ac_objext \
8359 conftest$ac_exeext conftest.$ac_ext
8360 CFLAGS=$ac_wine_try_cflags_saved
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8363 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8364 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8365 case $host_os in
8366 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8367 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8368 esac
8371 # Extract the first word of "prelink", so it can be a program name with args.
8372 set dummy prelink; ac_word=$2
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8374 $as_echo_n "checking for $ac_word... " >&6; }
8375 if ${ac_cv_path_PRELINK+:} false; then :
8376 $as_echo_n "(cached) " >&6
8377 else
8378 case $PRELINK in
8379 [\\/]* | ?:[\\/]*)
8380 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8384 for as_dir in /sbin /usr/sbin $PATH
8386 IFS=$as_save_IFS
8387 test -z "$as_dir" && as_dir=.
8388 for ac_exec_ext in '' $ac_executable_extensions; do
8389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8390 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8392 break 2
8394 done
8395 done
8396 IFS=$as_save_IFS
8398 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8400 esac
8402 PRELINK=$ac_cv_path_PRELINK
8403 if test -n "$PRELINK"; then
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8405 $as_echo "$PRELINK" >&6; }
8406 else
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8408 $as_echo "no" >&6; }
8412 if test "x$PRELINK" = xfalse
8413 then
8414 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8417 esac
8419 else
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8421 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8422 if ${ac_cv_c_dll_unixware+:} false; then :
8423 $as_echo_n "(cached) " >&6
8424 else
8425 ac_wine_try_cflags_saved=$CFLAGS
8426 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8428 /* end confdefs.h. */
8429 void myfunc() {}
8430 _ACEOF
8431 if ac_fn_c_try_link "$LINENO"; then :
8432 ac_cv_c_dll_unixware="yes"
8433 else
8434 ac_cv_c_dll_unixware="no"
8436 rm -f core conftest.err conftest.$ac_objext \
8437 conftest$ac_exeext conftest.$ac_ext
8438 CFLAGS=$ac_wine_try_cflags_saved
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8441 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8442 if test "$ac_cv_c_dll_unixware" = "yes"
8443 then
8444 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8447 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8448 LIBWINE_RULES="
8449 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8451 all: libwine.so
8453 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8454 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8456 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8457 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8459 libwine.so: libwine.so.$libwine_soversion
8460 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8462 install install-lib:: libwine.so.$libwine_version
8463 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8464 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8466 install install-dev::
8467 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8469 uninstall::
8470 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8474 as_fn_append LOADER_RULES "
8475 $wine_binary: main.o
8476 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8478 wine-installed: main.o
8479 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8482 esac
8484 as_fn_append LIBWINE_RULES "
8485 EXTRA_TARGETS = $libwine_targets
8488 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8489 enable_winemac_drv=${enable_winemac_drv:-no}
8491 CROSSTARGET=""
8493 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8494 then
8495 case "$host_cpu" in
8496 i[3456789]86*)
8497 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
8498 mingw32-gcc" ;;
8499 x86_64)
8500 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 " ;;
8502 ac_prefix_list="" ;;
8503 esac
8504 for ac_prog in $ac_prefix_list
8506 # Extract the first word of "$ac_prog", so it can be a program name with args.
8507 set dummy $ac_prog; ac_word=$2
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8509 $as_echo_n "checking for $ac_word... " >&6; }
8510 if ${ac_cv_prog_CROSSCC+:} false; then :
8511 $as_echo_n "(cached) " >&6
8512 else
8513 if test -n "$CROSSCC"; then
8514 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8515 else
8516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8517 for as_dir in $PATH
8519 IFS=$as_save_IFS
8520 test -z "$as_dir" && as_dir=.
8521 for ac_exec_ext in '' $ac_executable_extensions; do
8522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8523 ac_cv_prog_CROSSCC="$ac_prog"
8524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8525 break 2
8527 done
8528 done
8529 IFS=$as_save_IFS
8533 CROSSCC=$ac_cv_prog_CROSSCC
8534 if test -n "$CROSSCC"; then
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8536 $as_echo "$CROSSCC" >&6; }
8537 else
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8539 $as_echo "no" >&6; }
8543 test -n "$CROSSCC" && break
8544 done
8545 test -n "$CROSSCC" || CROSSCC="false"
8547 if test "$CROSSCC" != "false"
8548 then
8549 ac_save_CC="$CC"
8550 CC="$CROSSCC"
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8552 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8557 main ()
8561 return 0;
8563 _ACEOF
8564 if ac_fn_c_try_compile "$LINENO"; then :
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8566 $as_echo "yes" >&6; }
8567 set x $CROSSCC
8568 shift
8569 while test $# -ge 1
8571 case "$1" in
8572 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8573 esac
8574 shift
8575 done
8576 else
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8578 $as_echo "no" >&6; }
8580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8581 CC="$ac_save_CC"
8586 if test "$ac_cv_header_pthread_h" = "yes"
8587 then
8588 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8589 if test "x$ac_cv_func_pthread_create" = xyes; then :
8591 else
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8593 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8594 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8595 $as_echo_n "(cached) " >&6
8596 else
8597 ac_check_lib_save_LIBS=$LIBS
8598 LIBS="-lpthread $LIBS"
8599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8602 /* Override any GCC internal prototype to avoid an error.
8603 Use char because int might match the return type of a GCC
8604 builtin and then its argument prototype would still apply. */
8605 #ifdef __cplusplus
8606 extern "C"
8607 #endif
8608 char pthread_create ();
8610 main ()
8612 return pthread_create ();
8614 return 0;
8616 _ACEOF
8617 if ac_fn_c_try_link "$LINENO"; then :
8618 ac_cv_lib_pthread_pthread_create=yes
8619 else
8620 ac_cv_lib_pthread_pthread_create=no
8622 rm -f core conftest.err conftest.$ac_objext \
8623 conftest$ac_exeext conftest.$ac_ext
8624 LIBS=$ac_check_lib_save_LIBS
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8627 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8628 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8629 PTHREAD_LIBS="-lpthread"
8636 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8637 case "x$with_pthread" in
8638 xno) ;;
8639 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8640 Wine cannot support threads without libpthread.
8641 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8642 esac
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8647 $as_echo_n "checking for X... " >&6; }
8650 # Check whether --with-x was given.
8651 if test "${with_x+set}" = set; then :
8652 withval=$with_x;
8655 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8656 if test "x$with_x" = xno; then
8657 # The user explicitly disabled X.
8658 have_x=disabled
8659 else
8660 case $x_includes,$x_libraries in #(
8661 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8662 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8663 $as_echo_n "(cached) " >&6
8664 else
8665 # One or both of the vars are not set, and there is no cached value.
8666 ac_x_includes=no ac_x_libraries=no
8667 rm -f -r conftest.dir
8668 if mkdir conftest.dir; then
8669 cd conftest.dir
8670 cat >Imakefile <<'_ACEOF'
8671 incroot:
8672 @echo incroot='${INCROOT}'
8673 usrlibdir:
8674 @echo usrlibdir='${USRLIBDIR}'
8675 libdir:
8676 @echo libdir='${LIBDIR}'
8677 _ACEOF
8678 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8679 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8680 for ac_var in incroot usrlibdir libdir; do
8681 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8682 done
8683 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8684 for ac_extension in a so sl dylib la dll; do
8685 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8686 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8687 ac_im_usrlibdir=$ac_im_libdir; break
8689 done
8690 # Screen out bogus values from the imake configuration. They are
8691 # bogus both because they are the default anyway, and because
8692 # using them would break gcc on systems where it needs fixed includes.
8693 case $ac_im_incroot in
8694 /usr/include) ac_x_includes= ;;
8695 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8696 esac
8697 case $ac_im_usrlibdir in
8698 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8699 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8700 esac
8702 cd ..
8703 rm -f -r conftest.dir
8706 # Standard set of common directories for X headers.
8707 # Check X11 before X11Rn because it is often a symlink to the current release.
8708 ac_x_header_dirs='
8709 /usr/X11/include
8710 /usr/X11R7/include
8711 /usr/X11R6/include
8712 /usr/X11R5/include
8713 /usr/X11R4/include
8715 /usr/include/X11
8716 /usr/include/X11R7
8717 /usr/include/X11R6
8718 /usr/include/X11R5
8719 /usr/include/X11R4
8721 /usr/local/X11/include
8722 /usr/local/X11R7/include
8723 /usr/local/X11R6/include
8724 /usr/local/X11R5/include
8725 /usr/local/X11R4/include
8727 /usr/local/include/X11
8728 /usr/local/include/X11R7
8729 /usr/local/include/X11R6
8730 /usr/local/include/X11R5
8731 /usr/local/include/X11R4
8733 /usr/X386/include
8734 /usr/x386/include
8735 /usr/XFree86/include/X11
8737 /usr/include
8738 /usr/local/include
8739 /usr/unsupported/include
8740 /usr/athena/include
8741 /usr/local/x11r5/include
8742 /usr/lpp/Xamples/include
8744 /usr/openwin/include
8745 /usr/openwin/share/include'
8747 if test "$ac_x_includes" = no; then
8748 # Guess where to find include files, by looking for Xlib.h.
8749 # First, try using that file with no special directory specified.
8750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8751 /* end confdefs.h. */
8752 #include <X11/Xlib.h>
8753 _ACEOF
8754 if ac_fn_c_try_cpp "$LINENO"; then :
8755 # We can compile using X headers with no special include directory.
8756 ac_x_includes=
8757 else
8758 for ac_dir in $ac_x_header_dirs; do
8759 if test -r "$ac_dir/X11/Xlib.h"; then
8760 ac_x_includes=$ac_dir
8761 break
8763 done
8765 rm -f conftest.err conftest.i conftest.$ac_ext
8766 fi # $ac_x_includes = no
8768 if test "$ac_x_libraries" = no; then
8769 # Check for the libraries.
8770 # See if we find them without any special options.
8771 # Don't add to $LIBS permanently.
8772 ac_save_LIBS=$LIBS
8773 LIBS="-lX11 $LIBS"
8774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8775 /* end confdefs.h. */
8776 #include <X11/Xlib.h>
8778 main ()
8780 XrmInitialize ()
8782 return 0;
8784 _ACEOF
8785 if ac_fn_c_try_link "$LINENO"; then :
8786 LIBS=$ac_save_LIBS
8787 # We can link X programs with no special library path.
8788 ac_x_libraries=
8789 else
8790 LIBS=$ac_save_LIBS
8791 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8793 # Don't even attempt the hair of trying to link an X program!
8794 for ac_extension in a so sl dylib la dll; do
8795 if test -r "$ac_dir/libX11.$ac_extension"; then
8796 ac_x_libraries=$ac_dir
8797 break 2
8799 done
8800 done
8802 rm -f core conftest.err conftest.$ac_objext \
8803 conftest$ac_exeext conftest.$ac_ext
8804 fi # $ac_x_libraries = no
8806 case $ac_x_includes,$ac_x_libraries in #(
8807 no,* | *,no | *\'*)
8808 # Didn't find X, or a directory has "'" in its name.
8809 ac_cv_have_x="have_x=no";; #(
8811 # Record where we found X for the cache.
8812 ac_cv_have_x="have_x=yes\
8813 ac_x_includes='$ac_x_includes'\
8814 ac_x_libraries='$ac_x_libraries'"
8815 esac
8817 ;; #(
8818 *) have_x=yes;;
8819 esac
8820 eval "$ac_cv_have_x"
8821 fi # $with_x != no
8823 if test "$have_x" != yes; then
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8825 $as_echo "$have_x" >&6; }
8826 no_x=yes
8827 else
8828 # If each of the values was on the command line, it overrides each guess.
8829 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8830 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8831 # Update the cache value to reflect the command line values.
8832 ac_cv_have_x="have_x=yes\
8833 ac_x_includes='$x_includes'\
8834 ac_x_libraries='$x_libraries'"
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8836 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8839 if test "$no_x" = yes; then
8840 # Not all programs may use this symbol, but it does not hurt to define it.
8842 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8844 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8845 else
8846 if test -n "$x_includes"; then
8847 X_CFLAGS="$X_CFLAGS -I$x_includes"
8850 # It would also be nice to do this for all -L options, not just this one.
8851 if test -n "$x_libraries"; then
8852 X_LIBS="$X_LIBS -L$x_libraries"
8853 # For Solaris; some versions of Sun CC require a space after -R and
8854 # others require no space. Words are not sufficient . . . .
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8856 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8857 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8858 ac_xsave_c_werror_flag=$ac_c_werror_flag
8859 ac_c_werror_flag=yes
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: no" >&5
8873 $as_echo "no" >&6; }
8874 X_LIBS="$X_LIBS -R$x_libraries"
8875 else
8876 LIBS="$ac_xsave_LIBS -R $x_libraries"
8877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8878 /* end confdefs.h. */
8881 main ()
8885 return 0;
8887 _ACEOF
8888 if ac_fn_c_try_link "$LINENO"; then :
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8890 $as_echo "yes" >&6; }
8891 X_LIBS="$X_LIBS -R $x_libraries"
8892 else
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8894 $as_echo "neither works" >&6; }
8896 rm -f core conftest.err conftest.$ac_objext \
8897 conftest$ac_exeext conftest.$ac_ext
8899 rm -f core conftest.err conftest.$ac_objext \
8900 conftest$ac_exeext conftest.$ac_ext
8901 ac_c_werror_flag=$ac_xsave_c_werror_flag
8902 LIBS=$ac_xsave_LIBS
8905 # Check for system-dependent libraries X programs must link with.
8906 # Do this before checking for the system-independent R6 libraries
8907 # (-lICE), since we may need -lsocket or whatever for X linking.
8909 if test "$ISC" = yes; then
8910 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8911 else
8912 # Martyn Johnson says this is needed for Ultrix, if the X
8913 # libraries were built with DECnet support. And Karl Berry says
8914 # the Alpha needs dnet_stub (dnet does not exist).
8915 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8917 /* end confdefs.h. */
8919 /* Override any GCC internal prototype to avoid an error.
8920 Use char because int might match the return type of a GCC
8921 builtin and then its argument prototype would still apply. */
8922 #ifdef __cplusplus
8923 extern "C"
8924 #endif
8925 char XOpenDisplay ();
8927 main ()
8929 return XOpenDisplay ();
8931 return 0;
8933 _ACEOF
8934 if ac_fn_c_try_link "$LINENO"; then :
8936 else
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8938 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8939 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8940 $as_echo_n "(cached) " >&6
8941 else
8942 ac_check_lib_save_LIBS=$LIBS
8943 LIBS="-ldnet $LIBS"
8944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8945 /* end confdefs.h. */
8947 /* Override any GCC internal prototype to avoid an error.
8948 Use char because int might match the return type of a GCC
8949 builtin and then its argument prototype would still apply. */
8950 #ifdef __cplusplus
8951 extern "C"
8952 #endif
8953 char dnet_ntoa ();
8955 main ()
8957 return dnet_ntoa ();
8959 return 0;
8961 _ACEOF
8962 if ac_fn_c_try_link "$LINENO"; then :
8963 ac_cv_lib_dnet_dnet_ntoa=yes
8964 else
8965 ac_cv_lib_dnet_dnet_ntoa=no
8967 rm -f core conftest.err conftest.$ac_objext \
8968 conftest$ac_exeext conftest.$ac_ext
8969 LIBS=$ac_check_lib_save_LIBS
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8972 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8973 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8974 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8977 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8979 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8980 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8981 $as_echo_n "(cached) " >&6
8982 else
8983 ac_check_lib_save_LIBS=$LIBS
8984 LIBS="-ldnet_stub $LIBS"
8985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8986 /* end confdefs.h. */
8988 /* Override any GCC internal prototype to avoid an error.
8989 Use char because int might match the return type of a GCC
8990 builtin and then its argument prototype would still apply. */
8991 #ifdef __cplusplus
8992 extern "C"
8993 #endif
8994 char dnet_ntoa ();
8996 main ()
8998 return dnet_ntoa ();
9000 return 0;
9002 _ACEOF
9003 if ac_fn_c_try_link "$LINENO"; then :
9004 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9005 else
9006 ac_cv_lib_dnet_stub_dnet_ntoa=no
9008 rm -f core conftest.err conftest.$ac_objext \
9009 conftest$ac_exeext conftest.$ac_ext
9010 LIBS=$ac_check_lib_save_LIBS
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9013 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9014 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9015 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9020 rm -f core conftest.err conftest.$ac_objext \
9021 conftest$ac_exeext conftest.$ac_ext
9022 LIBS="$ac_xsave_LIBS"
9024 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9025 # to get the SysV transport functions.
9026 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9027 # needs -lnsl.
9028 # The nsl library prevents programs from opening the X display
9029 # on Irix 5.2, according to T.E. Dickey.
9030 # The functions gethostbyname, getservbyname, and inet_addr are
9031 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9032 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9033 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9037 if test $ac_cv_func_gethostbyname = no; then
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9039 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9040 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9041 $as_echo_n "(cached) " >&6
9042 else
9043 ac_check_lib_save_LIBS=$LIBS
9044 LIBS="-lnsl $LIBS"
9045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9046 /* end confdefs.h. */
9048 /* Override any GCC internal prototype to avoid an error.
9049 Use char because int might match the return type of a GCC
9050 builtin and then its argument prototype would still apply. */
9051 #ifdef __cplusplus
9052 extern "C"
9053 #endif
9054 char gethostbyname ();
9056 main ()
9058 return gethostbyname ();
9060 return 0;
9062 _ACEOF
9063 if ac_fn_c_try_link "$LINENO"; then :
9064 ac_cv_lib_nsl_gethostbyname=yes
9065 else
9066 ac_cv_lib_nsl_gethostbyname=no
9068 rm -f core conftest.err conftest.$ac_objext \
9069 conftest$ac_exeext conftest.$ac_ext
9070 LIBS=$ac_check_lib_save_LIBS
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9073 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9074 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9075 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9078 if test $ac_cv_lib_nsl_gethostbyname = no; then
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9080 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9081 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9082 $as_echo_n "(cached) " >&6
9083 else
9084 ac_check_lib_save_LIBS=$LIBS
9085 LIBS="-lbsd $LIBS"
9086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9087 /* end confdefs.h. */
9089 /* Override any GCC internal prototype to avoid an error.
9090 Use char because int might match the return type of a GCC
9091 builtin and then its argument prototype would still apply. */
9092 #ifdef __cplusplus
9093 extern "C"
9094 #endif
9095 char gethostbyname ();
9097 main ()
9099 return gethostbyname ();
9101 return 0;
9103 _ACEOF
9104 if ac_fn_c_try_link "$LINENO"; then :
9105 ac_cv_lib_bsd_gethostbyname=yes
9106 else
9107 ac_cv_lib_bsd_gethostbyname=no
9109 rm -f core conftest.err conftest.$ac_objext \
9110 conftest$ac_exeext conftest.$ac_ext
9111 LIBS=$ac_check_lib_save_LIBS
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9114 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9115 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9116 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9122 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9123 # socket/setsockopt and other routines are undefined under SCO ODT
9124 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9125 # on later versions), says Simon Leinen: it contains gethostby*
9126 # variants that don't use the name server (or something). -lsocket
9127 # must be given before -lnsl if both are needed. We assume that
9128 # if connect needs -lnsl, so does gethostbyname.
9129 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9130 if test "x$ac_cv_func_connect" = xyes; then :
9134 if test $ac_cv_func_connect = no; then
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9136 $as_echo_n "checking for connect in -lsocket... " >&6; }
9137 if ${ac_cv_lib_socket_connect+:} false; then :
9138 $as_echo_n "(cached) " >&6
9139 else
9140 ac_check_lib_save_LIBS=$LIBS
9141 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9143 /* end confdefs.h. */
9145 /* Override any GCC internal prototype to avoid an error.
9146 Use char because int might match the return type of a GCC
9147 builtin and then its argument prototype would still apply. */
9148 #ifdef __cplusplus
9149 extern "C"
9150 #endif
9151 char connect ();
9153 main ()
9155 return connect ();
9157 return 0;
9159 _ACEOF
9160 if ac_fn_c_try_link "$LINENO"; then :
9161 ac_cv_lib_socket_connect=yes
9162 else
9163 ac_cv_lib_socket_connect=no
9165 rm -f core conftest.err conftest.$ac_objext \
9166 conftest$ac_exeext conftest.$ac_ext
9167 LIBS=$ac_check_lib_save_LIBS
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9170 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9171 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9172 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9177 # Guillermo Gomez says -lposix is necessary on A/UX.
9178 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9179 if test "x$ac_cv_func_remove" = xyes; then :
9183 if test $ac_cv_func_remove = no; then
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9185 $as_echo_n "checking for remove in -lposix... " >&6; }
9186 if ${ac_cv_lib_posix_remove+:} false; then :
9187 $as_echo_n "(cached) " >&6
9188 else
9189 ac_check_lib_save_LIBS=$LIBS
9190 LIBS="-lposix $LIBS"
9191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9192 /* end confdefs.h. */
9194 /* Override any GCC internal prototype to avoid an error.
9195 Use char because int might match the return type of a GCC
9196 builtin and then its argument prototype would still apply. */
9197 #ifdef __cplusplus
9198 extern "C"
9199 #endif
9200 char remove ();
9202 main ()
9204 return remove ();
9206 return 0;
9208 _ACEOF
9209 if ac_fn_c_try_link "$LINENO"; then :
9210 ac_cv_lib_posix_remove=yes
9211 else
9212 ac_cv_lib_posix_remove=no
9214 rm -f core conftest.err conftest.$ac_objext \
9215 conftest$ac_exeext conftest.$ac_ext
9216 LIBS=$ac_check_lib_save_LIBS
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9219 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9220 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9221 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9226 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9227 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9228 if test "x$ac_cv_func_shmat" = xyes; then :
9232 if test $ac_cv_func_shmat = no; then
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9234 $as_echo_n "checking for shmat in -lipc... " >&6; }
9235 if ${ac_cv_lib_ipc_shmat+:} false; then :
9236 $as_echo_n "(cached) " >&6
9237 else
9238 ac_check_lib_save_LIBS=$LIBS
9239 LIBS="-lipc $LIBS"
9240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9241 /* end confdefs.h. */
9243 /* Override any GCC internal prototype to avoid an error.
9244 Use char because int might match the return type of a GCC
9245 builtin and then its argument prototype would still apply. */
9246 #ifdef __cplusplus
9247 extern "C"
9248 #endif
9249 char shmat ();
9251 main ()
9253 return shmat ();
9255 return 0;
9257 _ACEOF
9258 if ac_fn_c_try_link "$LINENO"; then :
9259 ac_cv_lib_ipc_shmat=yes
9260 else
9261 ac_cv_lib_ipc_shmat=no
9263 rm -f core conftest.err conftest.$ac_objext \
9264 conftest$ac_exeext conftest.$ac_ext
9265 LIBS=$ac_check_lib_save_LIBS
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9268 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9269 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9270 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9276 # Check for libraries that X11R6 Xt/Xaw programs need.
9277 ac_save_LDFLAGS=$LDFLAGS
9278 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9279 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9280 # check for ICE first), but we must link in the order -lSM -lICE or
9281 # we get undefined symbols. So assume we have SM if we have ICE.
9282 # These have to be linked with before -lX11, unlike the other
9283 # libraries we check for below, so use a different variable.
9284 # John Interrante, Karl Berry
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9286 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9287 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9288 $as_echo_n "(cached) " >&6
9289 else
9290 ac_check_lib_save_LIBS=$LIBS
9291 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9293 /* end confdefs.h. */
9295 /* Override any GCC internal prototype to avoid an error.
9296 Use char because int might match the return type of a GCC
9297 builtin and then its argument prototype would still apply. */
9298 #ifdef __cplusplus
9299 extern "C"
9300 #endif
9301 char IceConnectionNumber ();
9303 main ()
9305 return IceConnectionNumber ();
9307 return 0;
9309 _ACEOF
9310 if ac_fn_c_try_link "$LINENO"; then :
9311 ac_cv_lib_ICE_IceConnectionNumber=yes
9312 else
9313 ac_cv_lib_ICE_IceConnectionNumber=no
9315 rm -f core conftest.err conftest.$ac_objext \
9316 conftest$ac_exeext conftest.$ac_ext
9317 LIBS=$ac_check_lib_save_LIBS
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9320 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9321 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9322 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9325 LDFLAGS=$ac_save_LDFLAGS
9330 if test "$have_x" = "yes"
9331 then
9332 ac_save_CPPFLAGS="$CPPFLAGS"
9333 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9336 $as_echo_n "checking for -lX11... " >&6; }
9337 if ${ac_cv_lib_soname_X11+:} false; then :
9338 $as_echo_n "(cached) " >&6
9339 else
9340 ac_check_soname_save_LIBS=$LIBS
9341 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9343 /* end confdefs.h. */
9345 /* Override any GCC internal prototype to avoid an error.
9346 Use char because int might match the return type of a GCC
9347 builtin and then its argument prototype would still apply. */
9348 #ifdef __cplusplus
9349 extern "C"
9350 #endif
9351 char XCreateWindow ();
9353 main ()
9355 return XCreateWindow ();
9357 return 0;
9359 _ACEOF
9360 if ac_fn_c_try_link "$LINENO"; then :
9361 case "$LIBEXT" in
9362 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9363 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'` ;;
9364 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9365 if ${ac_cv_lib_soname_X11:+false} :; then :
9366 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9367 fi ;;
9368 esac
9370 rm -f core conftest.err conftest.$ac_objext \
9371 conftest$ac_exeext conftest.$ac_ext
9372 LIBS=$ac_check_soname_save_LIBS
9374 if ${ac_cv_lib_soname_X11:+false} :; then :
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9376 $as_echo "not found" >&6; }
9378 else
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9380 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9382 cat >>confdefs.h <<_ACEOF
9383 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9384 _ACEOF
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9389 $as_echo_n "checking for -lXext... " >&6; }
9390 if ${ac_cv_lib_soname_Xext+:} false; then :
9391 $as_echo_n "(cached) " >&6
9392 else
9393 ac_check_soname_save_LIBS=$LIBS
9394 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9396 /* end confdefs.h. */
9398 /* Override any GCC internal prototype to avoid an error.
9399 Use char because int might match the return type of a GCC
9400 builtin and then its argument prototype would still apply. */
9401 #ifdef __cplusplus
9402 extern "C"
9403 #endif
9404 char XextCreateExtension ();
9406 main ()
9408 return XextCreateExtension ();
9410 return 0;
9412 _ACEOF
9413 if ac_fn_c_try_link "$LINENO"; then :
9414 case "$LIBEXT" in
9415 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9416 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'` ;;
9417 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9418 if ${ac_cv_lib_soname_Xext:+false} :; then :
9419 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9420 fi ;;
9421 esac
9423 rm -f core conftest.err conftest.$ac_objext \
9424 conftest$ac_exeext conftest.$ac_ext
9425 LIBS=$ac_check_soname_save_LIBS
9427 if ${ac_cv_lib_soname_Xext:+false} :; then :
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9429 $as_echo "not found" >&6; }
9431 else
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9433 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9435 cat >>confdefs.h <<_ACEOF
9436 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9437 _ACEOF
9439 X_LIBS="$X_LIBS -lXext"
9441 X_LIBS="$X_LIBS -lX11"
9443 for ac_header in X11/Xlib.h \
9444 X11/XKBlib.h \
9445 X11/Xutil.h \
9446 X11/Xcursor/Xcursor.h \
9447 X11/extensions/shape.h \
9448 X11/extensions/XInput.h \
9449 X11/extensions/XInput2.h \
9450 X11/extensions/XShm.h \
9451 X11/extensions/Xcomposite.h \
9452 X11/extensions/Xinerama.h \
9453 X11/extensions/Xrandr.h \
9454 X11/extensions/Xrender.h \
9455 X11/extensions/xf86vmode.h \
9456 X11/extensions/xf86vmproto.h
9457 do :
9458 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9459 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9460 # include <X11/Xlib.h>
9461 #endif
9462 #ifdef HAVE_X11_XUTIL_H
9463 # include <X11/Xutil.h>
9464 #endif
9466 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9467 cat >>confdefs.h <<_ACEOF
9468 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9469 _ACEOF
9473 done
9476 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9477 then
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9479 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9480 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9481 $as_echo_n "(cached) " >&6
9482 else
9483 ac_check_lib_save_LIBS=$LIBS
9484 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9488 /* Override any GCC internal prototype to avoid an error.
9489 Use char because int might match the return type of a GCC
9490 builtin and then its argument prototype would still apply. */
9491 #ifdef __cplusplus
9492 extern "C"
9493 #endif
9494 char XkbQueryExtension ();
9496 main ()
9498 return XkbQueryExtension ();
9500 return 0;
9502 _ACEOF
9503 if ac_fn_c_try_link "$LINENO"; then :
9504 ac_cv_lib_X11_XkbQueryExtension=yes
9505 else
9506 ac_cv_lib_X11_XkbQueryExtension=no
9508 rm -f core conftest.err conftest.$ac_objext \
9509 conftest$ac_exeext conftest.$ac_ext
9510 LIBS=$ac_check_lib_save_LIBS
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9513 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9514 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9516 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9522 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9523 then
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9525 $as_echo_n "checking for -lXcursor... " >&6; }
9526 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9527 $as_echo_n "(cached) " >&6
9528 else
9529 ac_check_soname_save_LIBS=$LIBS
9530 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9534 /* Override any GCC internal prototype to avoid an error.
9535 Use char because int might match the return type of a GCC
9536 builtin and then its argument prototype would still apply. */
9537 #ifdef __cplusplus
9538 extern "C"
9539 #endif
9540 char XcursorImageLoadCursor ();
9542 main ()
9544 return XcursorImageLoadCursor ();
9546 return 0;
9548 _ACEOF
9549 if ac_fn_c_try_link "$LINENO"; then :
9550 case "$LIBEXT" in
9551 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9552 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'` ;;
9553 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9554 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9555 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9556 fi ;;
9557 esac
9559 rm -f core conftest.err conftest.$ac_objext \
9560 conftest$ac_exeext conftest.$ac_ext
9561 LIBS=$ac_check_soname_save_LIBS
9563 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9565 $as_echo "not found" >&6; }
9567 else
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9569 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9571 cat >>confdefs.h <<_ACEOF
9572 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9573 _ACEOF
9578 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9579 case "x$with_xcursor" in
9580 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9581 xno) ;;
9582 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9583 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9584 esac
9587 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9588 then
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9590 $as_echo_n "checking for -lXi... " >&6; }
9591 if ${ac_cv_lib_soname_Xi+:} false; then :
9592 $as_echo_n "(cached) " >&6
9593 else
9594 ac_check_soname_save_LIBS=$LIBS
9595 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9597 /* end confdefs.h. */
9599 /* Override any GCC internal prototype to avoid an error.
9600 Use char because int might match the return type of a GCC
9601 builtin and then its argument prototype would still apply. */
9602 #ifdef __cplusplus
9603 extern "C"
9604 #endif
9605 char XOpenDevice ();
9607 main ()
9609 return XOpenDevice ();
9611 return 0;
9613 _ACEOF
9614 if ac_fn_c_try_link "$LINENO"; then :
9615 case "$LIBEXT" in
9616 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9617 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'` ;;
9618 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9619 if ${ac_cv_lib_soname_Xi:+false} :; then :
9620 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9621 fi ;;
9622 esac
9624 rm -f core conftest.err conftest.$ac_objext \
9625 conftest$ac_exeext conftest.$ac_ext
9626 LIBS=$ac_check_soname_save_LIBS
9628 if ${ac_cv_lib_soname_Xi:+false} :; then :
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9630 $as_echo "not found" >&6; }
9632 else
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9634 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9636 cat >>confdefs.h <<_ACEOF
9637 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9638 _ACEOF
9643 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9644 case "x$with_xinput" in
9645 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9646 xno) ;;
9647 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9648 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9649 esac
9652 if test "x$ac_cv_lib_soname_Xi" != x
9653 then
9654 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9655 case "x$with_xinput2" in
9656 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9657 xno) ;;
9658 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9659 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9660 esac
9664 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9665 then
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9667 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9668 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9669 $as_echo_n "(cached) " >&6
9670 else
9671 ac_check_lib_save_LIBS=$LIBS
9672 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h. */
9676 /* Override any GCC internal prototype to avoid an error.
9677 Use char because int might match the return type of a GCC
9678 builtin and then its argument prototype would still apply. */
9679 #ifdef __cplusplus
9680 extern "C"
9681 #endif
9682 char XShmQueryExtension ();
9684 main ()
9686 return XShmQueryExtension ();
9688 return 0;
9690 _ACEOF
9691 if ac_fn_c_try_link "$LINENO"; then :
9692 ac_cv_lib_Xext_XShmQueryExtension=yes
9693 else
9694 ac_cv_lib_Xext_XShmQueryExtension=no
9696 rm -f core conftest.err conftest.$ac_objext \
9697 conftest$ac_exeext conftest.$ac_ext
9698 LIBS=$ac_check_lib_save_LIBS
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9701 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9702 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9704 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9709 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9710 case "x$with_xshm" in
9711 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9712 xno) ;;
9713 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9714 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9715 esac
9718 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9719 then
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9721 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9722 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9723 $as_echo_n "(cached) " >&6
9724 else
9725 ac_check_lib_save_LIBS=$LIBS
9726 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9728 /* end confdefs.h. */
9730 /* Override any GCC internal prototype to avoid an error.
9731 Use char because int might match the return type of a GCC
9732 builtin and then its argument prototype would still apply. */
9733 #ifdef __cplusplus
9734 extern "C"
9735 #endif
9736 char XShapeQueryExtension ();
9738 main ()
9740 return XShapeQueryExtension ();
9742 return 0;
9744 _ACEOF
9745 if ac_fn_c_try_link "$LINENO"; then :
9746 ac_cv_lib_Xext_XShapeQueryExtension=yes
9747 else
9748 ac_cv_lib_Xext_XShapeQueryExtension=no
9750 rm -f core conftest.err conftest.$ac_objext \
9751 conftest$ac_exeext conftest.$ac_ext
9752 LIBS=$ac_check_lib_save_LIBS
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9755 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9756 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9758 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9763 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9764 case "x$with_xshape" in
9765 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9766 xno) ;;
9767 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9768 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9769 esac
9772 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9773 then
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9775 $as_echo_n "checking for -lXxf86vm... " >&6; }
9776 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9777 $as_echo_n "(cached) " >&6
9778 else
9779 ac_check_soname_save_LIBS=$LIBS
9780 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9782 /* end confdefs.h. */
9784 /* Override any GCC internal prototype to avoid an error.
9785 Use char because int might match the return type of a GCC
9786 builtin and then its argument prototype would still apply. */
9787 #ifdef __cplusplus
9788 extern "C"
9789 #endif
9790 char XF86VidModeQueryExtension ();
9792 main ()
9794 return XF86VidModeQueryExtension ();
9796 return 0;
9798 _ACEOF
9799 if ac_fn_c_try_link "$LINENO"; then :
9800 case "$LIBEXT" in
9801 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9802 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'` ;;
9803 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9804 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9805 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9806 fi ;;
9807 esac
9809 rm -f core conftest.err conftest.$ac_objext \
9810 conftest$ac_exeext conftest.$ac_ext
9811 LIBS=$ac_check_soname_save_LIBS
9813 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9815 $as_echo "not found" >&6; }
9817 else
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9819 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9821 cat >>confdefs.h <<_ACEOF
9822 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9823 _ACEOF
9828 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9829 case "x$with_xxf86vm" in
9830 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9831 xno) ;;
9832 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9833 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9834 esac
9837 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9838 then
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9840 $as_echo_n "checking for -lXrender... " >&6; }
9841 if ${ac_cv_lib_soname_Xrender+:} false; then :
9842 $as_echo_n "(cached) " >&6
9843 else
9844 ac_check_soname_save_LIBS=$LIBS
9845 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9849 /* Override any GCC internal prototype to avoid an error.
9850 Use char because int might match the return type of a GCC
9851 builtin and then its argument prototype would still apply. */
9852 #ifdef __cplusplus
9853 extern "C"
9854 #endif
9855 char XRenderQueryExtension ();
9857 main ()
9859 return XRenderQueryExtension ();
9861 return 0;
9863 _ACEOF
9864 if ac_fn_c_try_link "$LINENO"; then :
9865 case "$LIBEXT" in
9866 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9867 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'` ;;
9868 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9869 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9870 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9871 fi ;;
9872 esac
9874 rm -f core conftest.err conftest.$ac_objext \
9875 conftest$ac_exeext conftest.$ac_ext
9876 LIBS=$ac_check_soname_save_LIBS
9878 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9880 $as_echo "not found" >&6; }
9882 else
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9884 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9886 cat >>confdefs.h <<_ACEOF
9887 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9888 _ACEOF
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9891 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9892 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9893 $as_echo_n "(cached) " >&6
9894 else
9895 ac_check_lib_save_LIBS=$LIBS
9896 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9898 /* end confdefs.h. */
9900 /* Override any GCC internal prototype to avoid an error.
9901 Use char because int might match the return type of a GCC
9902 builtin and then its argument prototype would still apply. */
9903 #ifdef __cplusplus
9904 extern "C"
9905 #endif
9906 char XRenderSetPictureTransform ();
9908 main ()
9910 return XRenderSetPictureTransform ();
9912 return 0;
9914 _ACEOF
9915 if ac_fn_c_try_link "$LINENO"; then :
9916 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9917 else
9918 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9920 rm -f core conftest.err conftest.$ac_objext \
9921 conftest$ac_exeext conftest.$ac_ext
9922 LIBS=$ac_check_lib_save_LIBS
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9925 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9926 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9928 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9933 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9934 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9935 $as_echo_n "(cached) " >&6
9936 else
9937 ac_check_lib_save_LIBS=$LIBS
9938 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9940 /* end confdefs.h. */
9942 /* Override any GCC internal prototype to avoid an error.
9943 Use char because int might match the return type of a GCC
9944 builtin and then its argument prototype would still apply. */
9945 #ifdef __cplusplus
9946 extern "C"
9947 #endif
9948 char XRenderCreateLinearGradient ();
9950 main ()
9952 return XRenderCreateLinearGradient ();
9954 return 0;
9956 _ACEOF
9957 if ac_fn_c_try_link "$LINENO"; then :
9958 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9959 else
9960 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9962 rm -f core conftest.err conftest.$ac_objext \
9963 conftest$ac_exeext conftest.$ac_ext
9964 LIBS=$ac_check_lib_save_LIBS
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9967 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9968 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9970 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9977 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9978 case "x$with_xrender" in
9979 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9980 xno) ;;
9981 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9982 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9983 esac
9986 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9987 then
9988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9989 /* end confdefs.h. */
9990 #include <X11/Xlib.h>
9991 #include <X11/extensions/Xrandr.h>
9993 main ()
9995 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9997 return 0;
9999 _ACEOF
10000 if ac_fn_c_try_compile "$LINENO"; then :
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10002 $as_echo_n "checking for -lXrandr... " >&6; }
10003 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10004 $as_echo_n "(cached) " >&6
10005 else
10006 ac_check_soname_save_LIBS=$LIBS
10007 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10011 /* Override any GCC internal prototype to avoid an error.
10012 Use char because int might match the return type of a GCC
10013 builtin and then its argument prototype would still apply. */
10014 #ifdef __cplusplus
10015 extern "C"
10016 #endif
10017 char XRRQueryExtension ();
10019 main ()
10021 return XRRQueryExtension ();
10023 return 0;
10025 _ACEOF
10026 if ac_fn_c_try_link "$LINENO"; then :
10027 case "$LIBEXT" in
10028 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10029 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'` ;;
10030 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10031 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10032 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10033 fi ;;
10034 esac
10036 rm -f core conftest.err conftest.$ac_objext \
10037 conftest$ac_exeext conftest.$ac_ext
10038 LIBS=$ac_check_soname_save_LIBS
10040 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10042 $as_echo "not found" >&6; }
10044 else
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10046 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10048 cat >>confdefs.h <<_ACEOF
10049 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10050 _ACEOF
10052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10053 /* end confdefs.h. */
10054 #include <X11/Xlib.h>
10055 #include <X11/extensions/Xrandr.h>
10057 main ()
10059 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10061 return 0;
10063 _ACEOF
10064 if ac_fn_c_try_compile "$LINENO"; then :
10066 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10074 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10075 case "x$with_xrandr" in
10076 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10077 xno) ;;
10078 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10079 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10080 esac
10083 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10084 then
10085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10086 /* end confdefs.h. */
10087 #include <X11/Xlib.h>
10088 #include <X11/extensions/Xinerama.h>
10090 main ()
10092 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10094 return 0;
10096 _ACEOF
10097 if ac_fn_c_try_compile "$LINENO"; then :
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10099 $as_echo_n "checking for -lXinerama... " >&6; }
10100 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10101 $as_echo_n "(cached) " >&6
10102 else
10103 ac_check_soname_save_LIBS=$LIBS
10104 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10106 /* end confdefs.h. */
10108 /* Override any GCC internal prototype to avoid an error.
10109 Use char because int might match the return type of a GCC
10110 builtin and then its argument prototype would still apply. */
10111 #ifdef __cplusplus
10112 extern "C"
10113 #endif
10114 char XineramaQueryScreens ();
10116 main ()
10118 return XineramaQueryScreens ();
10120 return 0;
10122 _ACEOF
10123 if ac_fn_c_try_link "$LINENO"; then :
10124 case "$LIBEXT" in
10125 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10126 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'` ;;
10127 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10128 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10129 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10130 fi ;;
10131 esac
10133 rm -f core conftest.err conftest.$ac_objext \
10134 conftest$ac_exeext conftest.$ac_ext
10135 LIBS=$ac_check_soname_save_LIBS
10137 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10139 $as_echo "not found" >&6; }
10141 else
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10143 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10145 cat >>confdefs.h <<_ACEOF
10146 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10147 _ACEOF
10152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10154 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10155 case "x$with_xinerama" in
10156 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10157 xno) ;;
10158 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10159 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10160 esac
10163 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10164 then
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10166 $as_echo_n "checking for -lXcomposite... " >&6; }
10167 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10168 $as_echo_n "(cached) " >&6
10169 else
10170 ac_check_soname_save_LIBS=$LIBS
10171 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10173 /* end confdefs.h. */
10175 /* Override any GCC internal prototype to avoid an error.
10176 Use char because int might match the return type of a GCC
10177 builtin and then its argument prototype would still apply. */
10178 #ifdef __cplusplus
10179 extern "C"
10180 #endif
10181 char XCompositeRedirectWindow ();
10183 main ()
10185 return XCompositeRedirectWindow ();
10187 return 0;
10189 _ACEOF
10190 if ac_fn_c_try_link "$LINENO"; then :
10191 case "$LIBEXT" in
10192 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10193 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'` ;;
10194 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10195 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10196 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10197 fi ;;
10198 esac
10200 rm -f core conftest.err conftest.$ac_objext \
10201 conftest$ac_exeext conftest.$ac_ext
10202 LIBS=$ac_check_soname_save_LIBS
10204 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10206 $as_echo "not found" >&6; }
10208 else
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10210 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10212 cat >>confdefs.h <<_ACEOF
10213 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10214 _ACEOF
10219 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10220 case "x$with_xcomposite" in
10221 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10222 xno) ;;
10223 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10224 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10225 esac
10228 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10229 #include <X11/Xlib.h>
10230 #endif
10232 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10234 cat >>confdefs.h <<_ACEOF
10235 #define HAVE_XICCALLBACK_CALLBACK 1
10236 _ACEOF
10240 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10241 #include <X11/Xlib.h>
10242 #endif
10244 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10246 cat >>confdefs.h <<_ACEOF
10247 #define HAVE_XEVENT_XCOOKIE 1
10248 _ACEOF
10255 opengl_msg=""
10256 if test "x$with_opengl" != "xno"
10257 then
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10259 $as_echo_n "checking for -lGL... " >&6; }
10260 if ${ac_cv_lib_soname_GL+:} false; then :
10261 $as_echo_n "(cached) " >&6
10262 else
10263 ac_check_soname_save_LIBS=$LIBS
10264 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10268 /* Override any GCC internal prototype to avoid an error.
10269 Use char because int might match the return type of a GCC
10270 builtin and then its argument prototype would still apply. */
10271 #ifdef __cplusplus
10272 extern "C"
10273 #endif
10274 char glXCreateContext ();
10276 main ()
10278 return glXCreateContext ();
10280 return 0;
10282 _ACEOF
10283 if ac_fn_c_try_link "$LINENO"; then :
10284 case "$LIBEXT" in
10285 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10286 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'` ;;
10287 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10288 if ${ac_cv_lib_soname_GL:+false} :; then :
10289 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10290 fi ;;
10291 esac
10293 rm -f core conftest.err conftest.$ac_objext \
10294 conftest$ac_exeext conftest.$ac_ext
10295 LIBS=$ac_check_soname_save_LIBS
10297 if ${ac_cv_lib_soname_GL:+false} :; then :
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10299 $as_echo "not found" >&6; }
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10301 $as_echo_n "checking for -lGL... " >&6; }
10302 if ${ac_cv_lib_soname_GL+:} false; then :
10303 $as_echo_n "(cached) " >&6
10304 else
10305 ac_check_soname_save_LIBS=$LIBS
10306 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"
10307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10308 /* end confdefs.h. */
10310 /* Override any GCC internal prototype to avoid an error.
10311 Use char because int might match the return type of a GCC
10312 builtin and then its argument prototype would still apply. */
10313 #ifdef __cplusplus
10314 extern "C"
10315 #endif
10316 char glXCreateContext ();
10318 main ()
10320 return glXCreateContext ();
10322 return 0;
10324 _ACEOF
10325 if ac_fn_c_try_link "$LINENO"; then :
10326 case "$LIBEXT" in
10327 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10328 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'` ;;
10329 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10330 if ${ac_cv_lib_soname_GL:+false} :; then :
10331 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10332 fi ;;
10333 esac
10335 rm -f core conftest.err conftest.$ac_objext \
10336 conftest$ac_exeext conftest.$ac_ext
10337 LIBS=$ac_check_soname_save_LIBS
10339 if ${ac_cv_lib_soname_GL:+false} :; then :
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10341 $as_echo "not found" >&6; }
10342 if test -f /usr/X11R6/lib/libGL.a
10343 then
10344 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10345 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10346 else
10347 opengl_msg="No OpenGL library found on this system."
10349 else
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10351 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10353 cat >>confdefs.h <<_ACEOF
10354 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10355 _ACEOF
10357 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"
10359 else
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10361 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10363 cat >>confdefs.h <<_ACEOF
10364 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10365 _ACEOF
10367 OPENGL_LIBS="-lGL"
10369 if test "x$with_glu" != "xno"
10370 then
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10372 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10373 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10374 $as_echo_n "(cached) " >&6
10375 else
10376 ac_check_lib_save_LIBS=$LIBS
10377 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10379 /* end confdefs.h. */
10381 /* Override any GCC internal prototype to avoid an error.
10382 Use char because int might match the return type of a GCC
10383 builtin and then its argument prototype would still apply. */
10384 #ifdef __cplusplus
10385 extern "C"
10386 #endif
10387 char gluLookAt ();
10389 main ()
10391 return gluLookAt ();
10393 return 0;
10395 _ACEOF
10396 if ac_fn_c_try_link "$LINENO"; then :
10397 ac_cv_lib_GLU_gluLookAt=yes
10398 else
10399 ac_cv_lib_GLU_gluLookAt=no
10401 rm -f core conftest.err conftest.$ac_objext \
10402 conftest$ac_exeext conftest.$ac_ext
10403 LIBS=$ac_check_lib_save_LIBS
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10406 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10407 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10411 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10412 case "x$with_glu" in
10413 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10414 xno) ;;
10415 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10416 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10417 esac
10421 if test "x$with_osmesa" != "xno"
10422 then
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10424 $as_echo_n "checking for -lOSMesa... " >&6; }
10425 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10426 $as_echo_n "(cached) " >&6
10427 else
10428 ac_check_soname_save_LIBS=$LIBS
10429 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10431 /* end confdefs.h. */
10433 /* Override any GCC internal prototype to avoid an error.
10434 Use char because int might match the return type of a GCC
10435 builtin and then its argument prototype would still apply. */
10436 #ifdef __cplusplus
10437 extern "C"
10438 #endif
10439 char glAccum ();
10441 main ()
10443 return glAccum ();
10445 return 0;
10447 _ACEOF
10448 if ac_fn_c_try_link "$LINENO"; then :
10449 case "$LIBEXT" in
10450 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10451 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'` ;;
10452 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10453 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10454 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10455 fi ;;
10456 esac
10458 rm -f core conftest.err conftest.$ac_objext \
10459 conftest$ac_exeext conftest.$ac_ext
10460 LIBS=$ac_check_soname_save_LIBS
10462 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10464 $as_echo "not found" >&6; }
10466 else
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10468 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10470 cat >>confdefs.h <<_ACEOF
10471 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10472 _ACEOF
10476 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10477 case "x$with_osmesa" in
10478 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10479 xno) ;;
10480 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10481 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10482 esac
10486 if test -n "$opengl_msg"; then :
10487 case "x$with_opengl" in
10488 x) as_fn_append wine_warnings "|$opengl_msg
10489 OpenGL and Direct3D won't be supported." ;;
10490 xno) ;;
10491 *) as_fn_error $? "$opengl_msg
10492 OpenGL and Direct3D won't be supported.
10493 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10494 esac
10497 CPPFLAGS="$ac_save_CPPFLAGS"
10498 else
10499 X_CFLAGS=""
10500 X_LIBS=""
10501 enable_winex11_drv=${enable_winex11_drv:-no}
10503 if test "x$X_LIBS" = "x"; then :
10504 case "x$with_x" in
10505 xno) ;;
10506 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10507 without X support, which probably isn't what you want. You will need
10508 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10509 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10510 esac
10513 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10515 if test "$ac_cv_header_CL_cl_h" = "yes"
10516 then
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10518 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10519 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10520 $as_echo_n "(cached) " >&6
10521 else
10522 ac_check_lib_save_LIBS=$LIBS
10523 LIBS="-lOpenCL $LIBS"
10524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10525 /* end confdefs.h. */
10527 /* Override any GCC internal prototype to avoid an error.
10528 Use char because int might match the return type of a GCC
10529 builtin and then its argument prototype would still apply. */
10530 #ifdef __cplusplus
10531 extern "C"
10532 #endif
10533 char clGetPlatformInfo ();
10535 main ()
10537 return clGetPlatformInfo ();
10539 return 0;
10541 _ACEOF
10542 if ac_fn_c_try_link "$LINENO"; then :
10543 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10544 else
10545 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10547 rm -f core conftest.err conftest.$ac_objext \
10548 conftest$ac_exeext conftest.$ac_ext
10549 LIBS=$ac_check_lib_save_LIBS
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10552 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10553 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10554 OPENCL_LIBS="-lOpenCL"
10559 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10560 case "x$with_opencl" in
10561 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10562 xno) ;;
10563 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10564 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10565 esac
10567 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10569 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10570 then
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10572 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10573 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10574 $as_echo_n "(cached) " >&6
10575 else
10576 ac_check_lib_save_LIBS=$LIBS
10577 LIBS="-lpcap $LIBS"
10578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10579 /* end confdefs.h. */
10581 /* Override any GCC internal prototype to avoid an error.
10582 Use char because int might match the return type of a GCC
10583 builtin and then its argument prototype would still apply. */
10584 #ifdef __cplusplus
10585 extern "C"
10586 #endif
10587 char pcap_create ();
10589 main ()
10591 return pcap_create ();
10593 return 0;
10595 _ACEOF
10596 if ac_fn_c_try_link "$LINENO"; then :
10597 ac_cv_lib_pcap_pcap_create=yes
10598 else
10599 ac_cv_lib_pcap_pcap_create=no
10601 rm -f core conftest.err conftest.$ac_objext \
10602 conftest$ac_exeext conftest.$ac_ext
10603 LIBS=$ac_check_lib_save_LIBS
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10606 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10607 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10608 LIBPCAP="-lpcap"
10613 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10614 case "x$with_pcap" in
10615 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10616 xno) ;;
10617 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10618 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10619 esac
10621 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10624 if test "x$with_xml" != "xno"
10625 then
10626 if ${XML2_CFLAGS:+false} :; then :
10627 if ${PKG_CONFIG+:} false; then :
10628 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10631 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10632 if ${XML2_LIBS:+false} :; then :
10633 if ${PKG_CONFIG+:} false; then :
10634 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10637 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10638 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10639 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10640 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10641 ac_save_CPPFLAGS=$CPPFLAGS
10642 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10643 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10644 do :
10645 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10646 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10647 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10648 cat >>confdefs.h <<_ACEOF
10649 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10650 _ACEOF
10654 done
10656 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"
10657 then
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10659 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10660 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10661 $as_echo_n "(cached) " >&6
10662 else
10663 ac_check_lib_save_LIBS=$LIBS
10664 LIBS="-lxml2 $XML2_LIBS $LIBS"
10665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10666 /* end confdefs.h. */
10668 /* Override any GCC internal prototype to avoid an error.
10669 Use char because int might match the return type of a GCC
10670 builtin and then its argument prototype would still apply. */
10671 #ifdef __cplusplus
10672 extern "C"
10673 #endif
10674 char xmlParseMemory ();
10676 main ()
10678 return xmlParseMemory ();
10680 return 0;
10682 _ACEOF
10683 if ac_fn_c_try_link "$LINENO"; then :
10684 ac_cv_lib_xml2_xmlParseMemory=yes
10685 else
10686 ac_cv_lib_xml2_xmlParseMemory=no
10688 rm -f core conftest.err conftest.$ac_objext \
10689 conftest$ac_exeext conftest.$ac_ext
10690 LIBS=$ac_check_lib_save_LIBS
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10693 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10694 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10696 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10698 else
10699 XML2_LIBS=""
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10703 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10704 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10705 $as_echo_n "(cached) " >&6
10706 else
10707 ac_check_lib_save_LIBS=$LIBS
10708 LIBS="-lxml2 $XML2_LIBS $LIBS"
10709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10712 /* Override any GCC internal prototype to avoid an error.
10713 Use char because int might match the return type of a GCC
10714 builtin and then its argument prototype would still apply. */
10715 #ifdef __cplusplus
10716 extern "C"
10717 #endif
10718 char xmlReadMemory ();
10720 main ()
10722 return xmlReadMemory ();
10724 return 0;
10726 _ACEOF
10727 if ac_fn_c_try_link "$LINENO"; then :
10728 ac_cv_lib_xml2_xmlReadMemory=yes
10729 else
10730 ac_cv_lib_xml2_xmlReadMemory=no
10732 rm -f core conftest.err conftest.$ac_objext \
10733 conftest$ac_exeext conftest.$ac_ext
10734 LIBS=$ac_check_lib_save_LIBS
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10737 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10738 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10740 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10745 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10746 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10747 $as_echo_n "(cached) " >&6
10748 else
10749 ac_check_lib_save_LIBS=$LIBS
10750 LIBS="-lxml2 $XML2_LIBS $LIBS"
10751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10754 /* Override any GCC internal prototype to avoid an error.
10755 Use char because int might match the return type of a GCC
10756 builtin and then its argument prototype would still apply. */
10757 #ifdef __cplusplus
10758 extern "C"
10759 #endif
10760 char xmlNewDocPI ();
10762 main ()
10764 return xmlNewDocPI ();
10766 return 0;
10768 _ACEOF
10769 if ac_fn_c_try_link "$LINENO"; then :
10770 ac_cv_lib_xml2_xmlNewDocPI=yes
10771 else
10772 ac_cv_lib_xml2_xmlNewDocPI=no
10774 rm -f core conftest.err conftest.$ac_objext \
10775 conftest$ac_exeext conftest.$ac_ext
10776 LIBS=$ac_check_lib_save_LIBS
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10779 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10780 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10782 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10787 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10788 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10789 $as_echo_n "(cached) " >&6
10790 else
10791 ac_check_lib_save_LIBS=$LIBS
10792 LIBS="-lxml2 $XML2_LIBS $LIBS"
10793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10799 #ifdef __cplusplus
10800 extern "C"
10801 #endif
10802 char xmlSchemaSetParserStructuredErrors ();
10804 main ()
10806 return xmlSchemaSetParserStructuredErrors ();
10808 return 0;
10810 _ACEOF
10811 if ac_fn_c_try_link "$LINENO"; then :
10812 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10813 else
10814 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10816 rm -f core conftest.err conftest.$ac_objext \
10817 conftest$ac_exeext conftest.$ac_ext
10818 LIBS=$ac_check_lib_save_LIBS
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10821 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10822 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10824 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10829 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10830 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10831 $as_echo_n "(cached) " >&6
10832 else
10833 ac_check_lib_save_LIBS=$LIBS
10834 LIBS="-lxml2 $XML2_LIBS $LIBS"
10835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10836 /* end confdefs.h. */
10838 /* Override any GCC internal prototype to avoid an error.
10839 Use char because int might match the return type of a GCC
10840 builtin and then its argument prototype would still apply. */
10841 #ifdef __cplusplus
10842 extern "C"
10843 #endif
10844 char xmlSchemaSetValidStructuredErrors ();
10846 main ()
10848 return xmlSchemaSetValidStructuredErrors ();
10850 return 0;
10852 _ACEOF
10853 if ac_fn_c_try_link "$LINENO"; then :
10854 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10855 else
10856 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10858 rm -f core conftest.err conftest.$ac_objext \
10859 conftest$ac_exeext conftest.$ac_ext
10860 LIBS=$ac_check_lib_save_LIBS
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10863 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10864 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10866 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10871 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10872 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10873 $as_echo_n "(cached) " >&6
10874 else
10875 ac_check_lib_save_LIBS=$LIBS
10876 LIBS="-lxml2 $XML2_LIBS $LIBS"
10877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10878 /* end confdefs.h. */
10880 /* Override any GCC internal prototype to avoid an error.
10881 Use char because int might match the return type of a GCC
10882 builtin and then its argument prototype would still apply. */
10883 #ifdef __cplusplus
10884 extern "C"
10885 #endif
10886 char xmlFirstElementChild ();
10888 main ()
10890 return xmlFirstElementChild ();
10892 return 0;
10894 _ACEOF
10895 if ac_fn_c_try_link "$LINENO"; then :
10896 ac_cv_lib_xml2_xmlFirstElementChild=yes
10897 else
10898 ac_cv_lib_xml2_xmlFirstElementChild=no
10900 rm -f core conftest.err conftest.$ac_objext \
10901 conftest$ac_exeext conftest.$ac_ext
10902 LIBS=$ac_check_lib_save_LIBS
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10905 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10906 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10908 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10912 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10914 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10916 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10920 else
10921 XML2_CFLAGS=""
10922 XML2_LIBS=""
10924 CPPFLAGS=$ac_save_CPPFLAGS
10925 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10926 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10929 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10930 case "x$with_xml" in
10931 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10932 xno) ;;
10933 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10934 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10935 esac
10938 if test "x$with_xslt" != "xno"
10939 then
10940 if ${XSLT_CFLAGS:+false} :; then :
10941 if ${PKG_CONFIG+:} false; then :
10942 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10945 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10946 if ${XSLT_LIBS:+false} :; then :
10947 if ${PKG_CONFIG+:} false; then :
10948 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10951 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10952 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10953 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10954 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10955 ac_save_CPPFLAGS=$CPPFLAGS
10956 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10957 for ac_header in libxslt/pattern.h libxslt/transform.h
10958 do :
10959 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10960 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10961 # include <libxslt/pattern.h>
10962 #endif
10964 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10965 cat >>confdefs.h <<_ACEOF
10966 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10967 _ACEOF
10971 done
10973 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10974 then
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10976 $as_echo_n "checking for -lxslt... " >&6; }
10977 if ${ac_cv_lib_soname_xslt+:} false; then :
10978 $as_echo_n "(cached) " >&6
10979 else
10980 ac_check_soname_save_LIBS=$LIBS
10981 LIBS="-lxslt $XSLT_LIBS $LIBS"
10982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10983 /* end confdefs.h. */
10985 /* Override any GCC internal prototype to avoid an error.
10986 Use char because int might match the return type of a GCC
10987 builtin and then its argument prototype would still apply. */
10988 #ifdef __cplusplus
10989 extern "C"
10990 #endif
10991 char xsltCompilePattern ();
10993 main ()
10995 return xsltCompilePattern ();
10997 return 0;
10999 _ACEOF
11000 if ac_fn_c_try_link "$LINENO"; then :
11001 case "$LIBEXT" in
11002 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11003 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'` ;;
11004 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11005 if ${ac_cv_lib_soname_xslt:+false} :; then :
11006 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11007 fi ;;
11008 esac
11010 rm -f core conftest.err conftest.$ac_objext \
11011 conftest$ac_exeext conftest.$ac_ext
11012 LIBS=$ac_check_soname_save_LIBS
11014 if ${ac_cv_lib_soname_xslt:+false} :; then :
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11016 $as_echo "not found" >&6; }
11018 else
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11020 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11022 cat >>confdefs.h <<_ACEOF
11023 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11024 _ACEOF
11028 else
11029 XSLT_CFLAGS=""
11031 CPPFLAGS=$ac_save_CPPFLAGS
11032 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11033 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11036 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11037 case "x$with_xslt" in
11038 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11039 xno) ;;
11040 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11041 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11042 esac
11045 if test "x$with_dbus" != "xno"
11046 then
11047 if ${DBUS_CFLAGS:+false} :; then :
11048 if ${PKG_CONFIG+:} false; then :
11049 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11053 if ${DBUS_LIBS:+false} :; then :
11054 if ${PKG_CONFIG+:} false; then :
11055 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11060 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11061 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11062 ac_save_CPPFLAGS=$CPPFLAGS
11063 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11064 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11065 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11067 $as_echo_n "checking for -ldbus-1... " >&6; }
11068 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11069 $as_echo_n "(cached) " >&6
11070 else
11071 ac_check_soname_save_LIBS=$LIBS
11072 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11074 /* end confdefs.h. */
11076 /* Override any GCC internal prototype to avoid an error.
11077 Use char because int might match the return type of a GCC
11078 builtin and then its argument prototype would still apply. */
11079 #ifdef __cplusplus
11080 extern "C"
11081 #endif
11082 char dbus_connection_close ();
11084 main ()
11086 return dbus_connection_close ();
11088 return 0;
11090 _ACEOF
11091 if ac_fn_c_try_link "$LINENO"; then :
11092 case "$LIBEXT" in
11093 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11094 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'` ;;
11095 *) 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'`
11096 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11097 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11098 fi ;;
11099 esac
11101 rm -f core conftest.err conftest.$ac_objext \
11102 conftest$ac_exeext conftest.$ac_ext
11103 LIBS=$ac_check_soname_save_LIBS
11105 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11107 $as_echo "not found" >&6; }
11108 DBUS_CFLAGS=""
11109 else
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11111 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11113 cat >>confdefs.h <<_ACEOF
11114 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11115 _ACEOF
11119 else
11120 DBUS_CFLAGS=""
11124 CPPFLAGS=$ac_save_CPPFLAGS
11125 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11126 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11129 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11130 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11131 case "x$with_dbus" in
11132 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11133 xno) ;;
11134 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11135 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11136 esac
11139 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11140 then
11141 if ${HAL_CFLAGS:+false} :; then :
11142 if ${PKG_CONFIG+:} false; then :
11143 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11147 if ${HAL_LIBS:+false} :; then :
11148 if ${PKG_CONFIG+:} false; then :
11149 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11153 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11154 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11155 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11156 ac_save_CPPFLAGS=$CPPFLAGS
11157 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11158 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11159 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11161 $as_echo_n "checking for -lhal... " >&6; }
11162 if ${ac_cv_lib_soname_hal+:} false; then :
11163 $as_echo_n "(cached) " >&6
11164 else
11165 ac_check_soname_save_LIBS=$LIBS
11166 LIBS="-lhal $HAL_LIBS $LIBS"
11167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h. */
11170 /* Override any GCC internal prototype to avoid an error.
11171 Use char because int might match the return type of a GCC
11172 builtin and then its argument prototype would still apply. */
11173 #ifdef __cplusplus
11174 extern "C"
11175 #endif
11176 char libhal_ctx_new ();
11178 main ()
11180 return libhal_ctx_new ();
11182 return 0;
11184 _ACEOF
11185 if ac_fn_c_try_link "$LINENO"; then :
11186 case "$LIBEXT" in
11187 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11188 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'` ;;
11189 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11190 if ${ac_cv_lib_soname_hal:+false} :; then :
11191 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11192 fi ;;
11193 esac
11195 rm -f core conftest.err conftest.$ac_objext \
11196 conftest$ac_exeext conftest.$ac_ext
11197 LIBS=$ac_check_soname_save_LIBS
11199 if ${ac_cv_lib_soname_hal:+false} :; then :
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11201 $as_echo "not found" >&6; }
11202 HAL_CFLAGS=""
11203 else
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11205 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11207 cat >>confdefs.h <<_ACEOF
11208 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11209 _ACEOF
11213 else
11214 HAL_CFLAGS=""
11218 CPPFLAGS=$ac_save_CPPFLAGS
11219 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11220 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11222 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11223 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11224 case "x$with_hal" in
11225 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11226 xno) ;;
11227 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11228 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11229 esac
11233 if test "x$with_gnutls" != "xno"
11234 then
11235 if ${GNUTLS_CFLAGS:+false} :; then :
11236 if ${PKG_CONFIG+:} false; then :
11237 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11241 if ${GNUTLS_LIBS:+false} :; then :
11242 if ${PKG_CONFIG+:} false; then :
11243 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11248 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11249 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11250 ac_save_CPPFLAGS=$CPPFLAGS
11251 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11252 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11253 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11256 #include <gnutls/gnutls.h>
11257 #include <gnutls/crypto.h>
11259 main ()
11261 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11263 return 0;
11265 _ACEOF
11266 if ac_fn_c_try_compile "$LINENO"; then :
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11268 $as_echo_n "checking for -lgnutls... " >&6; }
11269 if ${ac_cv_lib_soname_gnutls+:} false; then :
11270 $as_echo_n "(cached) " >&6
11271 else
11272 ac_check_soname_save_LIBS=$LIBS
11273 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11275 /* end confdefs.h. */
11277 /* Override any GCC internal prototype to avoid an error.
11278 Use char because int might match the return type of a GCC
11279 builtin and then its argument prototype would still apply. */
11280 #ifdef __cplusplus
11281 extern "C"
11282 #endif
11283 char gnutls_global_init ();
11285 main ()
11287 return gnutls_global_init ();
11289 return 0;
11291 _ACEOF
11292 if ac_fn_c_try_link "$LINENO"; then :
11293 case "$LIBEXT" in
11294 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11295 dylib) ac_cv_lib_soname_gnutls=`otool -L conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\\(-deb0\\)\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11296 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11297 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11298 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\\(-deb0\\)\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11299 fi ;;
11300 esac
11302 rm -f core conftest.err conftest.$ac_objext \
11303 conftest$ac_exeext conftest.$ac_ext
11304 LIBS=$ac_check_soname_save_LIBS
11306 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11308 $as_echo "not found" >&6; }
11309 GNUTLS_CFLAGS=""
11310 else
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11312 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11314 cat >>confdefs.h <<_ACEOF
11315 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11316 _ACEOF
11321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11322 else
11323 GNUTLS_CFLAGS=""
11327 CPPFLAGS=$ac_save_CPPFLAGS
11328 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11329 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11332 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11333 case "x$with_gnutls" in
11334 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11335 xno) ;;
11336 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11337 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11338 esac
11341 CURSES_LIBS=""
11342 if test "$ac_cv_header_ncurses_h" = "yes"
11343 then
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11345 $as_echo_n "checking for -lncurses... " >&6; }
11346 if ${ac_cv_lib_soname_ncurses+:} false; then :
11347 $as_echo_n "(cached) " >&6
11348 else
11349 ac_check_soname_save_LIBS=$LIBS
11350 LIBS="-lncurses $LIBS"
11351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h. */
11354 /* Override any GCC internal prototype to avoid an error.
11355 Use char because int might match the return type of a GCC
11356 builtin and then its argument prototype would still apply. */
11357 #ifdef __cplusplus
11358 extern "C"
11359 #endif
11360 char waddch ();
11362 main ()
11364 return waddch ();
11366 return 0;
11368 _ACEOF
11369 if ac_fn_c_try_link "$LINENO"; then :
11370 case "$LIBEXT" in
11371 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11372 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'` ;;
11373 *) 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'`
11374 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11375 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11376 fi ;;
11377 esac
11379 rm -f core conftest.err conftest.$ac_objext \
11380 conftest$ac_exeext conftest.$ac_ext
11381 LIBS=$ac_check_soname_save_LIBS
11383 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11385 $as_echo "not found" >&6; }
11387 else
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11389 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11391 cat >>confdefs.h <<_ACEOF
11392 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11393 _ACEOF
11395 CURSES_LIBS="-lncurses"
11397 elif test "$ac_cv_header_curses_h" = "yes"
11398 then
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11400 $as_echo_n "checking for -lcurses... " >&6; }
11401 if ${ac_cv_lib_soname_curses+:} false; then :
11402 $as_echo_n "(cached) " >&6
11403 else
11404 ac_check_soname_save_LIBS=$LIBS
11405 LIBS="-lcurses $LIBS"
11406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11407 /* end confdefs.h. */
11409 /* Override any GCC internal prototype to avoid an error.
11410 Use char because int might match the return type of a GCC
11411 builtin and then its argument prototype would still apply. */
11412 #ifdef __cplusplus
11413 extern "C"
11414 #endif
11415 char waddch ();
11417 main ()
11419 return waddch ();
11421 return 0;
11423 _ACEOF
11424 if ac_fn_c_try_link "$LINENO"; then :
11425 case "$LIBEXT" in
11426 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11427 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'` ;;
11428 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11429 if ${ac_cv_lib_soname_curses:+false} :; then :
11430 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11431 fi ;;
11432 esac
11434 rm -f core conftest.err conftest.$ac_objext \
11435 conftest$ac_exeext conftest.$ac_ext
11436 LIBS=$ac_check_soname_save_LIBS
11438 if ${ac_cv_lib_soname_curses:+false} :; then :
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11440 $as_echo "not found" >&6; }
11442 else
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11444 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11446 cat >>confdefs.h <<_ACEOF
11447 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11448 _ACEOF
11450 CURSES_LIBS="-lcurses"
11453 ac_save_LIBS="$LIBS"
11454 LIBS="$LIBS $CURSES_LIBS"
11455 for ac_func in mousemask
11456 do :
11457 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11458 if test "x$ac_cv_func_mousemask" = xyes; then :
11459 cat >>confdefs.h <<_ACEOF
11460 #define HAVE_MOUSEMASK 1
11461 _ACEOF
11464 done
11466 LIBS="$ac_save_LIBS"
11467 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11468 case "x$with_curses" in
11469 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11470 xno) ;;
11471 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11472 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11473 esac
11476 if test "x$with_sane" != "xno"
11477 then
11478 if ${SANE_CFLAGS:+false} :; then :
11479 if ${PKG_CONFIG+:} false; then :
11480 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11483 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11484 if ${SANE_LIBS:+false} :; then :
11485 if ${PKG_CONFIG+:} false; then :
11486 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11489 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11491 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11492 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11493 ac_save_CPPFLAGS=$CPPFLAGS
11494 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11495 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11496 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11498 $as_echo_n "checking for -lsane... " >&6; }
11499 if ${ac_cv_lib_soname_sane+:} false; then :
11500 $as_echo_n "(cached) " >&6
11501 else
11502 ac_check_soname_save_LIBS=$LIBS
11503 LIBS="-lsane $SANE_LIBS $LIBS"
11504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11505 /* end confdefs.h. */
11507 /* Override any GCC internal prototype to avoid an error.
11508 Use char because int might match the return type of a GCC
11509 builtin and then its argument prototype would still apply. */
11510 #ifdef __cplusplus
11511 extern "C"
11512 #endif
11513 char sane_init ();
11515 main ()
11517 return sane_init ();
11519 return 0;
11521 _ACEOF
11522 if ac_fn_c_try_link "$LINENO"; then :
11523 case "$LIBEXT" in
11524 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11525 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'` ;;
11526 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11527 if ${ac_cv_lib_soname_sane:+false} :; then :
11528 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11529 fi ;;
11530 esac
11532 rm -f core conftest.err conftest.$ac_objext \
11533 conftest$ac_exeext conftest.$ac_ext
11534 LIBS=$ac_check_soname_save_LIBS
11536 if ${ac_cv_lib_soname_sane:+false} :; then :
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11538 $as_echo "not found" >&6; }
11539 SANE_CFLAGS=""
11540 else
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11542 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11544 cat >>confdefs.h <<_ACEOF
11545 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11546 _ACEOF
11550 else
11551 SANE_CFLAGS=""
11555 CPPFLAGS=$ac_save_CPPFLAGS
11556 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11557 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11560 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11561 case "x$with_sane" in
11562 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11563 xno) ;;
11564 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11565 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11566 esac
11569 if test "x$with_v4l" != "xno"
11570 then
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11572 $as_echo_n "checking for -lv4l1... " >&6; }
11573 if ${ac_cv_lib_soname_v4l1+:} false; then :
11574 $as_echo_n "(cached) " >&6
11575 else
11576 ac_check_soname_save_LIBS=$LIBS
11577 LIBS="-lv4l1 $LIBS"
11578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11579 /* end confdefs.h. */
11581 /* Override any GCC internal prototype to avoid an error.
11582 Use char because int might match the return type of a GCC
11583 builtin and then its argument prototype would still apply. */
11584 #ifdef __cplusplus
11585 extern "C"
11586 #endif
11587 char v4l1_open ();
11589 main ()
11591 return v4l1_open ();
11593 return 0;
11595 _ACEOF
11596 if ac_fn_c_try_link "$LINENO"; then :
11597 case "$LIBEXT" in
11598 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11599 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'` ;;
11600 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11601 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11602 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11603 fi ;;
11604 esac
11606 rm -f core conftest.err conftest.$ac_objext \
11607 conftest$ac_exeext conftest.$ac_ext
11608 LIBS=$ac_check_soname_save_LIBS
11610 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11612 $as_echo "not found" >&6; }
11614 else
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11616 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11618 cat >>confdefs.h <<_ACEOF
11619 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11620 _ACEOF
11625 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11626 case "x$with_v4l" in
11627 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11628 xno) ;;
11629 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11630 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11631 esac
11634 if test "x$with_gphoto" != "xno"
11635 then
11636 if ${GPHOTO2_CFLAGS:+false} :; then :
11637 if ${PKG_CONFIG+:} false; then :
11638 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11641 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11642 if ${GPHOTO2_LIBS:+false} :; then :
11643 if ${PKG_CONFIG+:} false; then :
11644 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11647 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11648 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11649 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11650 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11651 ac_save_CPPFLAGS=$CPPFLAGS
11652 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11653 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11654 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11656 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11657 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11658 $as_echo_n "(cached) " >&6
11659 else
11660 ac_check_lib_save_LIBS=$LIBS
11661 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11663 /* end confdefs.h. */
11665 /* Override any GCC internal prototype to avoid an error.
11666 Use char because int might match the return type of a GCC
11667 builtin and then its argument prototype would still apply. */
11668 #ifdef __cplusplus
11669 extern "C"
11670 #endif
11671 char gp_camera_new ();
11673 main ()
11675 return gp_camera_new ();
11677 return 0;
11679 _ACEOF
11680 if ac_fn_c_try_link "$LINENO"; then :
11681 ac_cv_lib_gphoto2_gp_camera_new=yes
11682 else
11683 ac_cv_lib_gphoto2_gp_camera_new=no
11685 rm -f core conftest.err conftest.$ac_objext \
11686 conftest$ac_exeext conftest.$ac_ext
11687 LIBS=$ac_check_lib_save_LIBS
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11690 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11691 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11693 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11695 else
11696 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11699 else
11700 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11704 CPPFLAGS=$ac_save_CPPFLAGS
11705 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11706 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11708 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11709 if ${PKG_CONFIG+:} false; then :
11710 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11713 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11714 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11715 if ${PKG_CONFIG+:} false; then :
11716 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11719 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11720 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11721 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11722 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11723 ac_save_CPPFLAGS=$CPPFLAGS
11724 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11725 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11726 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11728 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11729 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11730 $as_echo_n "(cached) " >&6
11731 else
11732 ac_check_lib_save_LIBS=$LIBS
11733 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11737 /* Override any GCC internal prototype to avoid an error.
11738 Use char because int might match the return type of a GCC
11739 builtin and then its argument prototype would still apply. */
11740 #ifdef __cplusplus
11741 extern "C"
11742 #endif
11743 char gp_port_info_list_new ();
11745 main ()
11747 return gp_port_info_list_new ();
11749 return 0;
11751 _ACEOF
11752 if ac_fn_c_try_link "$LINENO"; then :
11753 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11754 else
11755 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11757 rm -f core conftest.err conftest.$ac_objext \
11758 conftest$ac_exeext conftest.$ac_ext
11759 LIBS=$ac_check_lib_save_LIBS
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11762 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11763 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11765 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11767 else
11768 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11771 else
11772 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11776 CPPFLAGS=$ac_save_CPPFLAGS
11777 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11778 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11781 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11782 case "x$with_gphoto" in
11783 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11784 xno) ;;
11785 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11786 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11787 esac
11789 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11790 case "x$with_gphoto" in
11791 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11792 xno) ;;
11793 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11794 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11795 esac
11799 if test "$ac_cv_header_resolv_h" = "yes"
11800 then
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11802 $as_echo_n "checking for resolver library... " >&6; }
11803 if ${ac_cv_have_resolv+:} false; then :
11804 $as_echo_n "(cached) " >&6
11805 else
11806 ac_save_LIBS="$LIBS"
11807 for lib in '' -lresolv
11809 LIBS="$lib $ac_save_LIBS"
11810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11811 /* end confdefs.h. */
11812 #ifdef HAVE_NETINET_IN_H
11813 #include <netinet/in.h>
11814 #endif
11815 #include <resolv.h>
11817 main ()
11819 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11821 return 0;
11823 _ACEOF
11824 if ac_fn_c_try_link "$LINENO"; then :
11825 ac_cv_have_resolv=${lib:-"none required"}
11826 else
11827 ac_cv_have_resolv="not found"
11829 rm -f core conftest.err conftest.$ac_objext \
11830 conftest$ac_exeext conftest.$ac_ext
11831 test "x$ac_cv_have_resolv" = "xnot found" || break
11832 done
11833 LIBS="$ac_save_LIBS"
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11836 $as_echo "$ac_cv_have_resolv" >&6; }
11838 case "$ac_cv_have_resolv" in
11839 "not found") ;;
11840 "none required")
11842 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11845 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11847 RESOLV_LIBS=$ac_cv_have_resolv
11849 esac
11852 if test "x$with_lcms2" != "xno"
11853 then
11854 if ${LCMS2_CFLAGS:+false} :; then :
11855 if ${PKG_CONFIG+:} false; then :
11856 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11860 if ${LCMS2_LIBS:+false} :; then :
11861 if ${PKG_CONFIG+:} false; then :
11862 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11866 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11867 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11868 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11869 ac_save_CPPFLAGS=$CPPFLAGS
11870 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11871 for ac_header in lcms2.h
11872 do :
11873 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11874 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11875 cat >>confdefs.h <<_ACEOF
11876 #define HAVE_LCMS2_H 1
11877 _ACEOF
11881 done
11883 if test "$ac_cv_header_lcms2_h" = "yes"
11884 then
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11886 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11887 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11888 $as_echo_n "(cached) " >&6
11889 else
11890 ac_check_lib_save_LIBS=$LIBS
11891 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11893 /* end confdefs.h. */
11895 /* Override any GCC internal prototype to avoid an error.
11896 Use char because int might match the return type of a GCC
11897 builtin and then its argument prototype would still apply. */
11898 #ifdef __cplusplus
11899 extern "C"
11900 #endif
11901 char cmsOpenProfileFromFile ();
11903 main ()
11905 return cmsOpenProfileFromFile ();
11907 return 0;
11909 _ACEOF
11910 if ac_fn_c_try_link "$LINENO"; then :
11911 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11912 else
11913 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11915 rm -f core conftest.err conftest.$ac_objext \
11916 conftest$ac_exeext conftest.$ac_ext
11917 LIBS=$ac_check_lib_save_LIBS
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11920 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11921 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11923 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11925 else
11926 LCMS2_LIBS=""
11929 else
11930 LCMS2_CFLAGS=""
11931 LCMS2_LIBS=""
11933 CPPFLAGS=$ac_save_CPPFLAGS
11934 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11935 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11938 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11939 case "x$with_cms" in
11940 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11941 xno) ;;
11942 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11943 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11944 esac
11947 if test "x$with_freetype" != "xno"
11948 then
11949 if ${FREETYPE_CFLAGS:+false} :; then :
11950 if ${PKG_CONFIG+:} false; then :
11951 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11954 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11955 if ${FREETYPE_LIBS:+false} :; then :
11956 if ${PKG_CONFIG+:} false; then :
11957 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11960 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11961 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11962 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11963 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11964 ac_save_CPPFLAGS=$CPPFLAGS
11965 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11966 for ac_header in ft2build.h
11967 do :
11968 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11969 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11970 cat >>confdefs.h <<_ACEOF
11971 #define HAVE_FT2BUILD_H 1
11972 _ACEOF
11976 done
11978 if test "$ac_cv_header_ft2build_h" = "yes"
11979 then
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11981 $as_echo_n "checking for -lfreetype... " >&6; }
11982 if ${ac_cv_lib_soname_freetype+:} false; then :
11983 $as_echo_n "(cached) " >&6
11984 else
11985 ac_check_soname_save_LIBS=$LIBS
11986 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11988 /* end confdefs.h. */
11990 /* Override any GCC internal prototype to avoid an error.
11991 Use char because int might match the return type of a GCC
11992 builtin and then its argument prototype would still apply. */
11993 #ifdef __cplusplus
11994 extern "C"
11995 #endif
11996 char FT_Init_FreeType ();
11998 main ()
12000 return FT_Init_FreeType ();
12002 return 0;
12004 _ACEOF
12005 if ac_fn_c_try_link "$LINENO"; then :
12006 case "$LIBEXT" in
12007 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12008 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'` ;;
12009 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12010 if ${ac_cv_lib_soname_freetype:+false} :; then :
12011 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12012 fi ;;
12013 esac
12015 rm -f core conftest.err conftest.$ac_objext \
12016 conftest$ac_exeext conftest.$ac_ext
12017 LIBS=$ac_check_soname_save_LIBS
12019 if ${ac_cv_lib_soname_freetype:+false} :; then :
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12021 $as_echo "not found" >&6; }
12022 FREETYPE_LIBS=""
12023 else
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12025 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12027 cat >>confdefs.h <<_ACEOF
12028 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12029 _ACEOF
12032 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12034 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12035 #include FT_MODULE_H
12037 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12039 cat >>confdefs.h <<_ACEOF
12040 #define HAVE_FT_TRUETYPEENGINETYPE 1
12041 _ACEOF
12047 else
12048 FREETYPE_CFLAGS=""
12049 FREETYPE_LIBS=""
12051 CPPFLAGS=$ac_save_CPPFLAGS
12052 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12053 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12056 if test "x$ac_cv_lib_soname_freetype" = x; then :
12057 case "x$with_freetype" in
12058 xno) ;;
12059 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12060 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12061 esac
12063 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12066 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12067 if ${ac_cv_c_ppdev+:} false; then :
12068 $as_echo_n "(cached) " >&6
12069 else
12070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12071 /* end confdefs.h. */
12072 #ifdef HAVE_SYS_IOCTL_H
12073 # include <sys/ioctl.h>
12074 #endif
12075 #include <linux/ppdev.h>
12077 main ()
12079 ioctl (1,PPCLAIM,0)
12081 return 0;
12083 _ACEOF
12084 if ac_fn_c_try_compile "$LINENO"; then :
12085 ac_cv_c_ppdev="yes"
12086 else
12087 ac_cv_c_ppdev="no"
12089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12092 $as_echo "$ac_cv_c_ppdev" >&6; }
12093 if test "$ac_cv_c_ppdev" = "yes"
12094 then
12096 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12100 ac_wine_check_funcs_save_LIBS="$LIBS"
12101 LIBS="$LIBS $PTHREAD_LIBS"
12102 for ac_func in \
12103 pthread_attr_get_np \
12104 pthread_getattr_np \
12105 pthread_getthreadid_np \
12106 pthread_get_stackaddr_np \
12107 pthread_get_stacksize_np
12108 do :
12109 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12110 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12111 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12112 cat >>confdefs.h <<_ACEOF
12113 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12114 _ACEOF
12117 done
12119 LIBS="$ac_wine_check_funcs_save_LIBS"
12121 if test "$ac_cv_header_zlib_h" = "yes"
12122 then
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12124 $as_echo_n "checking for inflate in -lz... " >&6; }
12125 if ${ac_cv_lib_z_inflate+:} false; then :
12126 $as_echo_n "(cached) " >&6
12127 else
12128 ac_check_lib_save_LIBS=$LIBS
12129 LIBS="-lz $LIBS"
12130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12131 /* end confdefs.h. */
12133 /* Override any GCC internal prototype to avoid an error.
12134 Use char because int might match the return type of a GCC
12135 builtin and then its argument prototype would still apply. */
12136 #ifdef __cplusplus
12137 extern "C"
12138 #endif
12139 char inflate ();
12141 main ()
12143 return inflate ();
12145 return 0;
12147 _ACEOF
12148 if ac_fn_c_try_link "$LINENO"; then :
12149 ac_cv_lib_z_inflate=yes
12150 else
12151 ac_cv_lib_z_inflate=no
12153 rm -f core conftest.err conftest.$ac_objext \
12154 conftest$ac_exeext conftest.$ac_ext
12155 LIBS=$ac_check_lib_save_LIBS
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12158 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12159 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12161 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12163 Z_LIBS="-lz"
12168 if test "x$Z_LIBS" = "x"; then :
12169 case "x$with_zlib" in
12170 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12171 xno) ;;
12172 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12173 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12174 esac
12177 if test "x$enable_tools" != xno
12178 then
12179 if test "$ac_cv_header_gettext_po_h" = "yes"
12180 then
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12182 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12183 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12184 $as_echo_n "(cached) " >&6
12185 else
12186 ac_check_lib_save_LIBS=$LIBS
12187 LIBS="-lgettextpo $LIBS"
12188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12191 /* Override any GCC internal prototype to avoid an error.
12192 Use char because int might match the return type of a GCC
12193 builtin and then its argument prototype would still apply. */
12194 #ifdef __cplusplus
12195 extern "C"
12196 #endif
12197 char po_message_msgctxt ();
12199 main ()
12201 return po_message_msgctxt ();
12203 return 0;
12205 _ACEOF
12206 if ac_fn_c_try_link "$LINENO"; then :
12207 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12208 else
12209 ac_cv_lib_gettextpo_po_message_msgctxt=no
12211 rm -f core conftest.err conftest.$ac_objext \
12212 conftest$ac_exeext conftest.$ac_ext
12213 LIBS=$ac_check_lib_save_LIBS
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12216 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12217 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12219 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12221 GETTEXTPO_LIBS="-lgettextpo"
12226 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12227 case "x$with_gettextpo" in
12228 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12229 xno) ;;
12230 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12231 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12232 esac
12236 if test "x$with_gstreamer" != "xno"
12237 then
12238 if ${GSTREAMER_CFLAGS:+false} :; then :
12239 if ${PKG_CONFIG+:} false; then :
12240 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12244 if ${GSTREAMER_LIBS:+false} :; then :
12245 if ${PKG_CONFIG+:} false; then :
12246 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12251 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12252 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12253 ac_save_CPPFLAGS=$CPPFLAGS
12254 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12255 ac_gst_incl=""
12256 for i in $GSTREAMER_CFLAGS
12258 case "$i" in
12259 -I*) ac_gst_incl="$ac_gst_incl $i";;
12260 esac
12261 done
12262 GSTREAMER_CFLAGS=$ac_gst_incl
12263 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12264 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12265 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12266 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12267 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12269 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12272 #include <gst/app/gstappsink.h>
12274 main ()
12276 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12278 return 0;
12280 _ACEOF
12281 if ac_fn_c_try_compile "$LINENO"; then :
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12283 $as_echo "yes" >&6; }
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12285 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12286 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12287 $as_echo_n "(cached) " >&6
12288 else
12289 ac_check_lib_save_LIBS=$LIBS
12290 LIBS="-lgstreamer-0.10 $LIBS"
12291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12294 /* Override any GCC internal prototype to avoid an error.
12295 Use char because int might match the return type of a GCC
12296 builtin and then its argument prototype would still apply. */
12297 #ifdef __cplusplus
12298 extern "C"
12299 #endif
12300 char gst_pad_get_caps_reffed ();
12302 main ()
12304 return gst_pad_get_caps_reffed ();
12306 return 0;
12308 _ACEOF
12309 if ac_fn_c_try_link "$LINENO"; then :
12310 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12311 else
12312 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12314 rm -f core conftest.err conftest.$ac_objext \
12315 conftest$ac_exeext conftest.$ac_ext
12316 LIBS=$ac_check_lib_save_LIBS
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12319 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12320 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12322 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12323 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12324 $as_echo_n "(cached) " >&6
12325 else
12326 ac_check_lib_save_LIBS=$LIBS
12327 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12329 /* end confdefs.h. */
12331 /* Override any GCC internal prototype to avoid an error.
12332 Use char because int might match the return type of a GCC
12333 builtin and then its argument prototype would still apply. */
12334 #ifdef __cplusplus
12335 extern "C"
12336 #endif
12337 char gst_app_buffer_new ();
12339 main ()
12341 return gst_app_buffer_new ();
12343 return 0;
12345 _ACEOF
12346 if ac_fn_c_try_link "$LINENO"; then :
12347 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12348 else
12349 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12351 rm -f core conftest.err conftest.$ac_objext \
12352 conftest$ac_exeext conftest.$ac_ext
12353 LIBS=$ac_check_lib_save_LIBS
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12356 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12357 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12363 else
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12365 $as_echo "no" >&6; }
12367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12371 else
12372 GSTREAMER_CFLAGS=""
12376 CPPFLAGS=$ac_save_CPPFLAGS
12377 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12378 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12381 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12382 case "x$with_gstreamer" in
12383 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12384 xno) ;;
12385 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12386 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12387 esac
12389 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12391 ALSA_LIBS=""
12393 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12394 then
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12396 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12397 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12398 $as_echo_n "(cached) " >&6
12399 else
12400 ac_check_lib_save_LIBS=$LIBS
12401 LIBS="-lasound $LIBS"
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12408 #ifdef __cplusplus
12409 extern "C"
12410 #endif
12411 char snd_pcm_hw_params_get_access_mask ();
12413 main ()
12415 return snd_pcm_hw_params_get_access_mask ();
12417 return 0;
12419 _ACEOF
12420 if ac_fn_c_try_link "$LINENO"; then :
12421 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12422 else
12423 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12425 rm -f core conftest.err conftest.$ac_objext \
12426 conftest$ac_exeext conftest.$ac_ext
12427 LIBS=$ac_check_lib_save_LIBS
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12430 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12431 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12433 /* end confdefs.h. */
12434 #ifdef HAVE_ALSA_ASOUNDLIB_H
12435 #include <alsa/asoundlib.h>
12436 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12437 #include <sys/asoundlib.h>
12438 #endif
12440 main ()
12442 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12444 return 0;
12446 _ACEOF
12447 if ac_fn_c_try_compile "$LINENO"; then :
12448 ALSA_LIBS="-lasound"
12450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12455 if test "x$with_oss" != xno
12456 then
12457 ac_save_CPPFLAGS="$CPPFLAGS"
12458 if test -f /etc/oss.conf
12459 then
12460 . /etc/oss.conf
12462 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12463 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12464 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12465 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12466 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12468 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12470 cat >>confdefs.h <<_ACEOF
12471 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12472 _ACEOF
12474 OSS4_CFLAGS="$ac_oss_incl"
12481 CPPFLAGS="$ac_save_CPPFLAGS"
12482 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12483 then
12484 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12488 if test "x$with_capi" != "xno"
12489 then
12490 if ${CAPI20_CFLAGS:+false} :; then :
12491 if ${PKG_CONFIG+:} false; then :
12492 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12496 if ${CAPI20_LIBS:+false} :; then :
12497 if ${PKG_CONFIG+:} false; then :
12498 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12503 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12504 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12505 ac_save_CPPFLAGS=$CPPFLAGS
12506 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12507 for ac_header in capi20.h linux/capi.h
12508 do :
12509 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12510 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12512 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12513 cat >>confdefs.h <<_ACEOF
12514 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12515 _ACEOF
12519 done
12521 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12522 then
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12524 $as_echo_n "checking for -lcapi20... " >&6; }
12525 if ${ac_cv_lib_soname_capi20+:} false; then :
12526 $as_echo_n "(cached) " >&6
12527 else
12528 ac_check_soname_save_LIBS=$LIBS
12529 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12531 /* end confdefs.h. */
12533 /* Override any GCC internal prototype to avoid an error.
12534 Use char because int might match the return type of a GCC
12535 builtin and then its argument prototype would still apply. */
12536 #ifdef __cplusplus
12537 extern "C"
12538 #endif
12539 char capi20_register ();
12541 main ()
12543 return capi20_register ();
12545 return 0;
12547 _ACEOF
12548 if ac_fn_c_try_link "$LINENO"; then :
12549 case "$LIBEXT" in
12550 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12551 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'` ;;
12552 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12553 if ${ac_cv_lib_soname_capi20:+false} :; then :
12554 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12555 fi ;;
12556 esac
12558 rm -f core conftest.err conftest.$ac_objext \
12559 conftest$ac_exeext conftest.$ac_ext
12560 LIBS=$ac_check_soname_save_LIBS
12562 if ${ac_cv_lib_soname_capi20:+false} :; then :
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12564 $as_echo "not found" >&6; }
12566 else
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12568 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12570 cat >>confdefs.h <<_ACEOF
12571 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12572 _ACEOF
12577 CPPFLAGS=$ac_save_CPPFLAGS
12578 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12579 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12582 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12583 case "x$with_capi" in
12584 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12585 xno) ;;
12586 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12587 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12588 esac
12591 CUPS_CFLAGS=""
12593 if test "x$with_cups" != "xno"
12594 then
12595 ac_save_CPPFLAGS="$CPPFLAGS"
12596 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12597 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12598 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12599 for ac_header in cups/cups.h
12600 do :
12601 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12602 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12603 cat >>confdefs.h <<_ACEOF
12604 #define HAVE_CUPS_CUPS_H 1
12605 _ACEOF
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12607 $as_echo_n "checking for -lcups... " >&6; }
12608 if ${ac_cv_lib_soname_cups+:} false; then :
12609 $as_echo_n "(cached) " >&6
12610 else
12611 ac_check_soname_save_LIBS=$LIBS
12612 LIBS="-lcups $ac_cups_libs $LIBS"
12613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12614 /* end confdefs.h. */
12616 /* Override any GCC internal prototype to avoid an error.
12617 Use char because int might match the return type of a GCC
12618 builtin and then its argument prototype would still apply. */
12619 #ifdef __cplusplus
12620 extern "C"
12621 #endif
12622 char cupsGetDefault ();
12624 main ()
12626 return cupsGetDefault ();
12628 return 0;
12630 _ACEOF
12631 if ac_fn_c_try_link "$LINENO"; then :
12632 case "$LIBEXT" in
12633 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12634 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'` ;;
12635 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12636 if ${ac_cv_lib_soname_cups:+false} :; then :
12637 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12638 fi ;;
12639 esac
12641 rm -f core conftest.err conftest.$ac_objext \
12642 conftest$ac_exeext conftest.$ac_ext
12643 LIBS=$ac_check_soname_save_LIBS
12645 if ${ac_cv_lib_soname_cups:+false} :; then :
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12647 $as_echo "not found" >&6; }
12649 else
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12651 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12653 cat >>confdefs.h <<_ACEOF
12654 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12655 _ACEOF
12657 CUPS_CFLAGS="$ac_cups_cflags"
12661 done
12663 CPPFLAGS="$ac_save_CPPFLAGS"
12665 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12666 case "x$with_cups" in
12667 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12668 xno) ;;
12669 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12670 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12671 esac
12674 if test "x$with_fontconfig" != "xno"
12675 then
12676 if ${FONTCONFIG_CFLAGS:+false} :; then :
12677 if ${PKG_CONFIG+:} false; then :
12678 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12681 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12682 if ${FONTCONFIG_LIBS:+false} :; then :
12683 if ${PKG_CONFIG+:} false; then :
12684 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12687 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12689 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12690 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12691 ac_save_CPPFLAGS=$CPPFLAGS
12692 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12693 for ac_header in fontconfig/fontconfig.h
12694 do :
12695 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12696 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12697 cat >>confdefs.h <<_ACEOF
12698 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12699 _ACEOF
12703 done
12705 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12706 then
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12708 $as_echo_n "checking for -lfontconfig... " >&6; }
12709 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12710 $as_echo_n "(cached) " >&6
12711 else
12712 ac_check_soname_save_LIBS=$LIBS
12713 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12715 /* end confdefs.h. */
12717 /* Override any GCC internal prototype to avoid an error.
12718 Use char because int might match the return type of a GCC
12719 builtin and then its argument prototype would still apply. */
12720 #ifdef __cplusplus
12721 extern "C"
12722 #endif
12723 char FcInit ();
12725 main ()
12727 return FcInit ();
12729 return 0;
12731 _ACEOF
12732 if ac_fn_c_try_link "$LINENO"; then :
12733 case "$LIBEXT" in
12734 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12735 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'` ;;
12736 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12737 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12738 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12739 fi ;;
12740 esac
12742 rm -f core conftest.err conftest.$ac_objext \
12743 conftest$ac_exeext conftest.$ac_ext
12744 LIBS=$ac_check_soname_save_LIBS
12746 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12748 $as_echo "not found" >&6; }
12749 FONTCONFIG_CFLAGS=""
12750 else
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12752 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12754 cat >>confdefs.h <<_ACEOF
12755 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12756 _ACEOF
12760 else
12761 FONTCONFIG_CFLAGS=""
12763 CPPFLAGS=$ac_save_CPPFLAGS
12764 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12765 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12768 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12769 case "x$with_fontconfig" in
12770 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12771 xno) ;;
12772 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12773 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12774 esac
12777 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12778 then
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12780 $as_echo_n "checking for -lgsm... " >&6; }
12781 if ${ac_cv_lib_soname_gsm+:} false; then :
12782 $as_echo_n "(cached) " >&6
12783 else
12784 ac_check_soname_save_LIBS=$LIBS
12785 LIBS="-lgsm $LIBS"
12786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12787 /* end confdefs.h. */
12789 /* Override any GCC internal prototype to avoid an error.
12790 Use char because int might match the return type of a GCC
12791 builtin and then its argument prototype would still apply. */
12792 #ifdef __cplusplus
12793 extern "C"
12794 #endif
12795 char gsm_create ();
12797 main ()
12799 return gsm_create ();
12801 return 0;
12803 _ACEOF
12804 if ac_fn_c_try_link "$LINENO"; then :
12805 case "$LIBEXT" in
12806 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12807 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'` ;;
12808 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12809 if ${ac_cv_lib_soname_gsm:+false} :; then :
12810 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12811 fi ;;
12812 esac
12814 rm -f core conftest.err conftest.$ac_objext \
12815 conftest$ac_exeext conftest.$ac_ext
12816 LIBS=$ac_check_soname_save_LIBS
12818 if ${ac_cv_lib_soname_gsm:+false} :; then :
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12820 $as_echo "not found" >&6; }
12822 else
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12824 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12826 cat >>confdefs.h <<_ACEOF
12827 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12828 _ACEOF
12833 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12834 case "x$with_gsm" in
12835 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12836 xno) ;;
12837 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12838 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12839 esac
12842 if test "x$with_jpeg" != "xno"
12843 then
12844 if ${JPEG_CFLAGS:+false} :; then :
12845 if ${PKG_CONFIG+:} false; then :
12846 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12850 if ${JPEG_LIBS:+false} :; then :
12851 if ${PKG_CONFIG+:} false; then :
12852 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12857 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12858 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12859 ac_save_CPPFLAGS=$CPPFLAGS
12860 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12861 for ac_header in jpeglib.h
12862 do :
12863 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12864 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12865 cat >>confdefs.h <<_ACEOF
12866 #define HAVE_JPEGLIB_H 1
12867 _ACEOF
12871 done
12873 if test "$ac_cv_header_jpeglib_h" = "yes"
12874 then
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12876 $as_echo_n "checking for -ljpeg... " >&6; }
12877 if ${ac_cv_lib_soname_jpeg+:} false; then :
12878 $as_echo_n "(cached) " >&6
12879 else
12880 ac_check_soname_save_LIBS=$LIBS
12881 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12883 /* end confdefs.h. */
12885 /* Override any GCC internal prototype to avoid an error.
12886 Use char because int might match the return type of a GCC
12887 builtin and then its argument prototype would still apply. */
12888 #ifdef __cplusplus
12889 extern "C"
12890 #endif
12891 char jpeg_start_decompress ();
12893 main ()
12895 return jpeg_start_decompress ();
12897 return 0;
12899 _ACEOF
12900 if ac_fn_c_try_link "$LINENO"; then :
12901 case "$LIBEXT" in
12902 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12903 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'` ;;
12904 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12905 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12906 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12907 fi ;;
12908 esac
12910 rm -f core conftest.err conftest.$ac_objext \
12911 conftest$ac_exeext conftest.$ac_ext
12912 LIBS=$ac_check_soname_save_LIBS
12914 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12916 $as_echo "not found" >&6; }
12917 JPEG_CFLAGS=""
12918 else
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12920 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12922 cat >>confdefs.h <<_ACEOF
12923 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12924 _ACEOF
12928 else
12929 JPEG_CFLAGS=""
12931 CPPFLAGS=$ac_save_CPPFLAGS
12932 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12933 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12936 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12937 case "x$with_jpeg" in
12938 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12939 xno) ;;
12940 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12941 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12942 esac
12945 if test "x$with_png" != "xno"
12946 then
12947 if ${PNG_CFLAGS:+false} :; then :
12948 if ${PKG_CONFIG+:} false; then :
12949 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12952 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12953 if ${PNG_LIBS:+false} :; then :
12954 if ${PKG_CONFIG+:} false; then :
12955 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12958 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12960 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12961 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12962 ac_save_CPPFLAGS=$CPPFLAGS
12963 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12964 for ac_header in png.h
12965 do :
12966 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12967 if test "x$ac_cv_header_png_h" = xyes; then :
12968 cat >>confdefs.h <<_ACEOF
12969 #define HAVE_PNG_H 1
12970 _ACEOF
12974 done
12976 if test "$ac_cv_header_png_h" = "yes"
12977 then
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12979 $as_echo_n "checking for -lpng... " >&6; }
12980 if ${ac_cv_lib_soname_png+:} false; then :
12981 $as_echo_n "(cached) " >&6
12982 else
12983 ac_check_soname_save_LIBS=$LIBS
12984 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h. */
12988 /* Override any GCC internal prototype to avoid an error.
12989 Use char because int might match the return type of a GCC
12990 builtin and then its argument prototype would still apply. */
12991 #ifdef __cplusplus
12992 extern "C"
12993 #endif
12994 char png_create_read_struct ();
12996 main ()
12998 return png_create_read_struct ();
13000 return 0;
13002 _ACEOF
13003 if ac_fn_c_try_link "$LINENO"; then :
13004 case "$LIBEXT" in
13005 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13006 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'` ;;
13007 *) 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'`
13008 if ${ac_cv_lib_soname_png:+false} :; then :
13009 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13010 fi ;;
13011 esac
13013 rm -f core conftest.err conftest.$ac_objext \
13014 conftest$ac_exeext conftest.$ac_ext
13015 LIBS=$ac_check_soname_save_LIBS
13017 if ${ac_cv_lib_soname_png:+false} :; then :
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13019 $as_echo "not found" >&6; }
13020 PNG_CFLAGS=""
13021 else
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13023 $as_echo "$ac_cv_lib_soname_png" >&6; }
13025 cat >>confdefs.h <<_ACEOF
13026 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13027 _ACEOF
13029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13030 /* end confdefs.h. */
13031 #include <png.h>
13033 main ()
13035 typeof(png_set_expand_gray_1_2_4_to_8) *p
13037 return 0;
13039 _ACEOF
13040 if ac_fn_c_try_compile "$LINENO"; then :
13042 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13047 else
13048 PNG_CFLAGS=""
13050 CPPFLAGS=$ac_save_CPPFLAGS
13051 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13052 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13055 if test "x$ac_cv_lib_soname_png" = "x"; then :
13056 case "x$with_png" in
13057 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13058 xno) ;;
13059 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13060 This is an error since --with-png was requested." "$LINENO" 5 ;;
13061 esac
13064 if test "x$with_tiff" != "xno"
13065 then
13066 if ${TIFF_CFLAGS:+false} :; then :
13067 if ${PKG_CONFIG+:} false; then :
13068 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13072 if ${TIFF_LIBS:+false} :; then :
13073 if ${PKG_CONFIG+:} false; then :
13074 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13079 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13080 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13081 ac_save_CPPFLAGS=$CPPFLAGS
13082 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13083 for ac_header in tiffio.h
13084 do :
13085 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13086 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13087 cat >>confdefs.h <<_ACEOF
13088 #define HAVE_TIFFIO_H 1
13089 _ACEOF
13093 done
13095 if test "$ac_cv_header_tiffio_h" = "yes"
13096 then
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13098 $as_echo_n "checking for -ltiff... " >&6; }
13099 if ${ac_cv_lib_soname_tiff+:} false; then :
13100 $as_echo_n "(cached) " >&6
13101 else
13102 ac_check_soname_save_LIBS=$LIBS
13103 LIBS="-ltiff $TIFF_LIBS $LIBS"
13104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13105 /* end confdefs.h. */
13107 /* Override any GCC internal prototype to avoid an error.
13108 Use char because int might match the return type of a GCC
13109 builtin and then its argument prototype would still apply. */
13110 #ifdef __cplusplus
13111 extern "C"
13112 #endif
13113 char TIFFClientOpen ();
13115 main ()
13117 return TIFFClientOpen ();
13119 return 0;
13121 _ACEOF
13122 if ac_fn_c_try_link "$LINENO"; then :
13123 case "$LIBEXT" in
13124 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13125 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'` ;;
13126 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13127 if ${ac_cv_lib_soname_tiff:+false} :; then :
13128 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13129 fi ;;
13130 esac
13132 rm -f core conftest.err conftest.$ac_objext \
13133 conftest$ac_exeext conftest.$ac_ext
13134 LIBS=$ac_check_soname_save_LIBS
13136 if ${ac_cv_lib_soname_tiff:+false} :; then :
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13138 $as_echo "not found" >&6; }
13140 else
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13142 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13144 cat >>confdefs.h <<_ACEOF
13145 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13146 _ACEOF
13151 CPPFLAGS=$ac_save_CPPFLAGS
13152 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13153 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13156 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13157 case "x$with_tiff" in
13158 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13159 xno) ;;
13160 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13161 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13162 esac
13165 if test "x$with_mpg123" != "xno"
13166 then
13167 if ${MPG123_CFLAGS:+false} :; then :
13168 if ${PKG_CONFIG+:} false; then :
13169 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13173 if ${MPG123_LIBS:+false} :; then :
13174 if ${PKG_CONFIG+:} false; then :
13175 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13179 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13180 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13181 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13182 ac_save_CPPFLAGS=$CPPFLAGS
13183 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13184 for ac_header in mpg123.h
13185 do :
13186 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13187 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13188 cat >>confdefs.h <<_ACEOF
13189 #define HAVE_MPG123_H 1
13190 _ACEOF
13194 done
13196 if test "$ac_cv_header_mpg123_h" = "yes"
13197 then
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13199 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13200 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13201 $as_echo_n "(cached) " >&6
13202 else
13203 ac_check_lib_save_LIBS=$LIBS
13204 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13206 /* end confdefs.h. */
13208 /* Override any GCC internal prototype to avoid an error.
13209 Use char because int might match the return type of a GCC
13210 builtin and then its argument prototype would still apply. */
13211 #ifdef __cplusplus
13212 extern "C"
13213 #endif
13214 char mpg123_feed ();
13216 main ()
13218 return mpg123_feed ();
13220 return 0;
13222 _ACEOF
13223 if ac_fn_c_try_link "$LINENO"; then :
13224 ac_cv_lib_mpg123_mpg123_feed=yes
13225 else
13226 ac_cv_lib_mpg123_mpg123_feed=no
13228 rm -f core conftest.err conftest.$ac_objext \
13229 conftest$ac_exeext conftest.$ac_ext
13230 LIBS=$ac_check_lib_save_LIBS
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13233 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13234 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13236 else
13237 MPG123_LIBS=""
13240 else
13241 MPG123_CFLAGS=""
13242 MPG123_LIBS=""
13244 CPPFLAGS=$ac_save_CPPFLAGS
13245 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13246 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13249 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13250 case "x$with_mpg123" in
13251 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13252 xno) ;;
13253 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13254 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13255 esac
13257 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}
13259 if test "$ac_cv_header_AL_al_h" = "yes"
13260 then
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13262 $as_echo_n "checking for -lopenal... " >&6; }
13263 if ${ac_cv_lib_soname_openal+:} false; then :
13264 $as_echo_n "(cached) " >&6
13265 else
13266 ac_check_soname_save_LIBS=$LIBS
13267 LIBS="-lopenal $LIBS"
13268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13269 /* end confdefs.h. */
13271 /* Override any GCC internal prototype to avoid an error.
13272 Use char because int might match the return type of a GCC
13273 builtin and then its argument prototype would still apply. */
13274 #ifdef __cplusplus
13275 extern "C"
13276 #endif
13277 char alGetSource3i ();
13279 main ()
13281 return alGetSource3i ();
13283 return 0;
13285 _ACEOF
13286 if ac_fn_c_try_link "$LINENO"; then :
13287 case "$LIBEXT" in
13288 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13289 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'` ;;
13290 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13291 if ${ac_cv_lib_soname_openal:+false} :; then :
13292 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13293 fi ;;
13294 esac
13296 rm -f core conftest.err conftest.$ac_objext \
13297 conftest$ac_exeext conftest.$ac_ext
13298 LIBS=$ac_check_soname_save_LIBS
13300 if ${ac_cv_lib_soname_openal:+false} :; then :
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13302 $as_echo "not found" >&6; }
13304 else
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13306 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13308 cat >>confdefs.h <<_ACEOF
13309 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13310 _ACEOF
13312 OPENAL_LIBS="-lopenal"
13314 ac_cv_lib_openal=yes
13316 cat >>confdefs.h <<_ACEOF
13317 #define HAVE_OPENAL 1
13318 _ACEOF
13322 if test "x$ac_cv_lib_openal" != xyes; then :
13323 case "x$with_openal" in
13324 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13325 xno) ;;
13326 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13327 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13328 esac
13330 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13332 if test "$ac_cv_header_kstat_h" = "yes"
13333 then
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13335 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13336 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13337 $as_echo_n "(cached) " >&6
13338 else
13339 ac_check_lib_save_LIBS=$LIBS
13340 LIBS="-lkstat $LIBS"
13341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13342 /* end confdefs.h. */
13344 /* Override any GCC internal prototype to avoid an error.
13345 Use char because int might match the return type of a GCC
13346 builtin and then its argument prototype would still apply. */
13347 #ifdef __cplusplus
13348 extern "C"
13349 #endif
13350 char kstat_open ();
13352 main ()
13354 return kstat_open ();
13356 return 0;
13358 _ACEOF
13359 if ac_fn_c_try_link "$LINENO"; then :
13360 ac_cv_lib_kstat_kstat_open=yes
13361 else
13362 ac_cv_lib_kstat_kstat_open=no
13364 rm -f core conftest.err conftest.$ac_objext \
13365 conftest$ac_exeext conftest.$ac_ext
13366 LIBS=$ac_check_lib_save_LIBS
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13369 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13370 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13372 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13374 KSTAT_LIBS="-lkstat"
13380 if test "$ac_cv_header_libprocstat_h" = "yes"
13381 then
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13383 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13384 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13385 $as_echo_n "(cached) " >&6
13386 else
13387 ac_check_lib_save_LIBS=$LIBS
13388 LIBS="-lprocstat $LIBS"
13389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13390 /* end confdefs.h. */
13392 /* Override any GCC internal prototype to avoid an error.
13393 Use char because int might match the return type of a GCC
13394 builtin and then its argument prototype would still apply. */
13395 #ifdef __cplusplus
13396 extern "C"
13397 #endif
13398 char procstat_open_sysctl ();
13400 main ()
13402 return procstat_open_sysctl ();
13404 return 0;
13406 _ACEOF
13407 if ac_fn_c_try_link "$LINENO"; then :
13408 ac_cv_lib_procstat_procstat_open_sysctl=yes
13409 else
13410 ac_cv_lib_procstat_procstat_open_sysctl=no
13412 rm -f core conftest.err conftest.$ac_objext \
13413 conftest$ac_exeext conftest.$ac_ext
13414 LIBS=$ac_check_lib_save_LIBS
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13417 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13418 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13420 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13422 PROCSTAT_LIBS="-lprocstat"
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13429 $as_echo_n "checking for -lodbc... " >&6; }
13430 if ${ac_cv_lib_soname_odbc+:} false; then :
13431 $as_echo_n "(cached) " >&6
13432 else
13433 ac_check_soname_save_LIBS=$LIBS
13434 LIBS="-lodbc $LIBS"
13435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13438 /* Override any GCC internal prototype to avoid an error.
13439 Use char because int might match the return type of a GCC
13440 builtin and then its argument prototype would still apply. */
13441 #ifdef __cplusplus
13442 extern "C"
13443 #endif
13444 char SQLConnect ();
13446 main ()
13448 return SQLConnect ();
13450 return 0;
13452 _ACEOF
13453 if ac_fn_c_try_link "$LINENO"; then :
13454 case "$LIBEXT" in
13455 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13456 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'` ;;
13457 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13458 if ${ac_cv_lib_soname_odbc:+false} :; then :
13459 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13460 fi ;;
13461 esac
13463 rm -f core conftest.err conftest.$ac_objext \
13464 conftest$ac_exeext conftest.$ac_ext
13465 LIBS=$ac_check_soname_save_LIBS
13467 if ${ac_cv_lib_soname_odbc:+false} :; then :
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13469 $as_echo "not found" >&6; }
13470 cat >>confdefs.h <<_ACEOF
13471 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13472 _ACEOF
13474 else
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13476 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13478 cat >>confdefs.h <<_ACEOF
13479 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13480 _ACEOF
13485 if test "x$with_netapi" != "xno"
13486 then
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13488 $as_echo_n "checking for -lnetapi... " >&6; }
13489 if ${ac_cv_lib_soname_netapi+:} false; then :
13490 $as_echo_n "(cached) " >&6
13491 else
13492 ac_check_soname_save_LIBS=$LIBS
13493 LIBS="-lnetapi $LIBS"
13494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13495 /* end confdefs.h. */
13497 /* Override any GCC internal prototype to avoid an error.
13498 Use char because int might match the return type of a GCC
13499 builtin and then its argument prototype would still apply. */
13500 #ifdef __cplusplus
13501 extern "C"
13502 #endif
13503 char libnetapi_init ();
13505 main ()
13507 return libnetapi_init ();
13509 return 0;
13511 _ACEOF
13512 if ac_fn_c_try_link "$LINENO"; then :
13513 case "$LIBEXT" in
13514 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13515 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'` ;;
13516 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13517 if ${ac_cv_lib_soname_netapi:+false} :; then :
13518 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13519 fi ;;
13520 esac
13522 rm -f core conftest.err conftest.$ac_objext \
13523 conftest$ac_exeext conftest.$ac_ext
13524 LIBS=$ac_check_soname_save_LIBS
13526 if ${ac_cv_lib_soname_netapi:+false} :; then :
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13528 $as_echo "not found" >&6; }
13529 cat >>confdefs.h <<_ACEOF
13530 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13531 _ACEOF
13533 else
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13535 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13537 cat >>confdefs.h <<_ACEOF
13538 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13539 _ACEOF
13545 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13546 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13547 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13548 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13550 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13551 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13552 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13553 then
13554 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13558 EXTRACFLAGS=""
13560 if test "x${GCC}" = "xyes"
13561 then
13562 EXTRACFLAGS="-Wall -pipe"
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13565 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13566 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13567 $as_echo_n "(cached) " >&6
13568 else
13569 if test "$cross_compiling" = yes; then :
13570 ac_cv_c_gcc_strength_bug="yes"
13571 else
13572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13573 /* end confdefs.h. */
13574 int L[4] = {0,1,2,3};
13576 main ()
13578 static int Array[3];
13579 unsigned int B = 3;
13580 int i;
13581 for(i=0; i<B; i++) Array[i] = i - 3;
13582 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13583 L[i] = 4;
13584 return (Array[1] != -2 || L[2] != 3)
13586 return 0;
13588 _ACEOF
13589 if ac_fn_c_try_run "$LINENO"; then :
13590 ac_cv_c_gcc_strength_bug="no"
13591 else
13592 ac_cv_c_gcc_strength_bug="yes"
13594 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13595 conftest.$ac_objext conftest.beam conftest.$ac_ext
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13600 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13601 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13602 then
13603 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13607 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13608 if ${ac_cv_cflags__fno_builtin+:} false; then :
13609 $as_echo_n "(cached) " >&6
13610 else
13611 ac_wine_try_cflags_saved=$CFLAGS
13612 CFLAGS="$CFLAGS -fno-builtin"
13613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13614 /* end confdefs.h. */
13615 int main(int argc, char **argv) { return 0; }
13616 _ACEOF
13617 if ac_fn_c_try_link "$LINENO"; then :
13618 ac_cv_cflags__fno_builtin=yes
13619 else
13620 ac_cv_cflags__fno_builtin=no
13622 rm -f core conftest.err conftest.$ac_objext \
13623 conftest$ac_exeext conftest.$ac_ext
13624 CFLAGS=$ac_wine_try_cflags_saved
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13627 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13628 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13629 BUILTINFLAG="-fno-builtin"
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13633 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13634 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13635 $as_echo_n "(cached) " >&6
13636 else
13637 ac_wine_try_cflags_saved=$CFLAGS
13638 CFLAGS="$CFLAGS -fno-strict-aliasing"
13639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13640 /* end confdefs.h. */
13641 int main(int argc, char **argv) { return 0; }
13642 _ACEOF
13643 if ac_fn_c_try_link "$LINENO"; then :
13644 ac_cv_cflags__fno_strict_aliasing=yes
13645 else
13646 ac_cv_cflags__fno_strict_aliasing=no
13648 rm -f core conftest.err conftest.$ac_objext \
13649 conftest$ac_exeext conftest.$ac_ext
13650 CFLAGS=$ac_wine_try_cflags_saved
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13653 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13654 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13655 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13657 saved_CFLAGS=$CFLAGS
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13659 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13660 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13661 $as_echo_n "(cached) " >&6
13662 else
13663 ac_wine_try_cflags_saved=$CFLAGS
13664 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13666 /* end confdefs.h. */
13667 int main(int argc, char **argv) { return 0; }
13668 _ACEOF
13669 if ac_fn_c_try_link "$LINENO"; then :
13670 ac_cv_cflags__Werror_unknown_warning_option=yes
13671 else
13672 ac_cv_cflags__Werror_unknown_warning_option=no
13674 rm -f core conftest.err conftest.$ac_objext \
13675 conftest$ac_exeext conftest.$ac_ext
13676 CFLAGS=$ac_wine_try_cflags_saved
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13679 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13680 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13681 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13684 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13685 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13686 $as_echo_n "(cached) " >&6
13687 else
13688 ac_wine_try_cflags_saved=$CFLAGS
13689 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13691 /* end confdefs.h. */
13692 int main(int argc, char **argv) { return 0; }
13693 _ACEOF
13694 if ac_fn_c_try_link "$LINENO"; then :
13695 ac_cv_cflags__Wdeclaration_after_statement=yes
13696 else
13697 ac_cv_cflags__Wdeclaration_after_statement=no
13699 rm -f core conftest.err conftest.$ac_objext \
13700 conftest$ac_exeext conftest.$ac_ext
13701 CFLAGS=$ac_wine_try_cflags_saved
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13704 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13705 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13706 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13709 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13710 if ${ac_cv_cflags__Wempty_body+:} false; then :
13711 $as_echo_n "(cached) " >&6
13712 else
13713 ac_wine_try_cflags_saved=$CFLAGS
13714 CFLAGS="$CFLAGS -Wempty-body"
13715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13716 /* end confdefs.h. */
13717 int main(int argc, char **argv) { return 0; }
13718 _ACEOF
13719 if ac_fn_c_try_link "$LINENO"; then :
13720 ac_cv_cflags__Wempty_body=yes
13721 else
13722 ac_cv_cflags__Wempty_body=no
13724 rm -f core conftest.err conftest.$ac_objext \
13725 conftest$ac_exeext conftest.$ac_ext
13726 CFLAGS=$ac_wine_try_cflags_saved
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13729 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13730 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13731 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13734 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13735 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13736 $as_echo_n "(cached) " >&6
13737 else
13738 ac_wine_try_cflags_saved=$CFLAGS
13739 CFLAGS="$CFLAGS -Wignored-qualifiers"
13740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13741 /* end confdefs.h. */
13742 int main(int argc, char **argv) { return 0; }
13743 _ACEOF
13744 if ac_fn_c_try_link "$LINENO"; then :
13745 ac_cv_cflags__Wignored_qualifiers=yes
13746 else
13747 ac_cv_cflags__Wignored_qualifiers=no
13749 rm -f core conftest.err conftest.$ac_objext \
13750 conftest$ac_exeext conftest.$ac_ext
13751 CFLAGS=$ac_wine_try_cflags_saved
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13754 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13755 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13756 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13759 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13760 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13761 $as_echo_n "(cached) " >&6
13762 else
13763 ac_wine_try_cflags_saved=$CFLAGS
13764 CFLAGS="$CFLAGS -Wstrict-prototypes"
13765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13766 /* end confdefs.h. */
13767 int main(int argc, char **argv) { return 0; }
13768 _ACEOF
13769 if ac_fn_c_try_link "$LINENO"; then :
13770 ac_cv_cflags__Wstrict_prototypes=yes
13771 else
13772 ac_cv_cflags__Wstrict_prototypes=no
13774 rm -f core conftest.err conftest.$ac_objext \
13775 conftest$ac_exeext conftest.$ac_ext
13776 CFLAGS=$ac_wine_try_cflags_saved
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13779 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13780 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13781 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13784 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13785 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13786 $as_echo_n "(cached) " >&6
13787 else
13788 ac_wine_try_cflags_saved=$CFLAGS
13789 CFLAGS="$CFLAGS -Wtype-limits"
13790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13791 /* end confdefs.h. */
13792 int main(int argc, char **argv) { return 0; }
13793 _ACEOF
13794 if ac_fn_c_try_link "$LINENO"; then :
13795 ac_cv_cflags__Wtype_limits=yes
13796 else
13797 ac_cv_cflags__Wtype_limits=no
13799 rm -f core conftest.err conftest.$ac_objext \
13800 conftest$ac_exeext conftest.$ac_ext
13801 CFLAGS=$ac_wine_try_cflags_saved
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13804 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13805 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13806 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13809 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13810 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13811 $as_echo_n "(cached) " >&6
13812 else
13813 ac_wine_try_cflags_saved=$CFLAGS
13814 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13816 /* end confdefs.h. */
13817 int main(int argc, char **argv) { return 0; }
13818 _ACEOF
13819 if ac_fn_c_try_link "$LINENO"; then :
13820 ac_cv_cflags__Wunused_but_set_parameter=yes
13821 else
13822 ac_cv_cflags__Wunused_but_set_parameter=no
13824 rm -f core conftest.err conftest.$ac_objext \
13825 conftest$ac_exeext conftest.$ac_ext
13826 CFLAGS=$ac_wine_try_cflags_saved
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13829 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13830 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13831 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13834 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13835 if ${ac_cv_cflags__Wvla+:} false; then :
13836 $as_echo_n "(cached) " >&6
13837 else
13838 ac_wine_try_cflags_saved=$CFLAGS
13839 CFLAGS="$CFLAGS -Wvla"
13840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13841 /* end confdefs.h. */
13842 int main(int argc, char **argv) { return 0; }
13843 _ACEOF
13844 if ac_fn_c_try_link "$LINENO"; then :
13845 ac_cv_cflags__Wvla=yes
13846 else
13847 ac_cv_cflags__Wvla=no
13849 rm -f core conftest.err conftest.$ac_objext \
13850 conftest$ac_exeext conftest.$ac_ext
13851 CFLAGS=$ac_wine_try_cflags_saved
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13854 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13855 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13856 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13859 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13860 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13861 $as_echo_n "(cached) " >&6
13862 else
13863 ac_wine_try_cflags_saved=$CFLAGS
13864 CFLAGS="$CFLAGS -Wwrite-strings"
13865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13866 /* end confdefs.h. */
13867 int main(int argc, char **argv) { return 0; }
13868 _ACEOF
13869 if ac_fn_c_try_link "$LINENO"; then :
13870 ac_cv_cflags__Wwrite_strings=yes
13871 else
13872 ac_cv_cflags__Wwrite_strings=no
13874 rm -f core conftest.err conftest.$ac_objext \
13875 conftest$ac_exeext conftest.$ac_ext
13876 CFLAGS=$ac_wine_try_cflags_saved
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13879 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13880 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13881 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13885 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13886 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13887 $as_echo_n "(cached) " >&6
13888 else
13889 ac_wine_try_cflags_saved=$CFLAGS
13890 CFLAGS="$CFLAGS -Wpointer-arith"
13891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13892 /* end confdefs.h. */
13893 int main(int argc, char **argv) { return 0; }
13894 _ACEOF
13895 if ac_fn_c_try_link "$LINENO"; then :
13896 ac_cv_cflags__Wpointer_arith=yes
13897 else
13898 ac_cv_cflags__Wpointer_arith=no
13900 rm -f core conftest.err conftest.$ac_objext \
13901 conftest$ac_exeext conftest.$ac_ext
13902 CFLAGS=$ac_wine_try_cflags_saved
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13905 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13906 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13907 saved_string_h_CFLAGS=$CFLAGS
13908 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13910 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13911 if ${ac_cv_c_string_h_warnings+:} false; then :
13912 $as_echo_n "(cached) " >&6
13913 else
13914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13916 #include <string.h>
13918 main ()
13922 return 0;
13924 _ACEOF
13925 if ac_fn_c_try_compile "$LINENO"; then :
13926 ac_cv_c_string_h_warnings=no
13927 else
13928 ac_cv_c_string_h_warnings=yes
13930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13933 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13934 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13935 CFLAGS=$saved_string_h_CFLAGS
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13939 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13940 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13941 $as_echo_n "(cached) " >&6
13942 else
13943 ac_wine_try_cflags_saved=$CFLAGS
13944 CFLAGS="$CFLAGS -Wlogical-op"
13945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13947 int main(int argc, char **argv) { return 0; }
13948 _ACEOF
13949 if ac_fn_c_try_link "$LINENO"; then :
13950 ac_cv_cflags__Wlogical_op=yes
13951 else
13952 ac_cv_cflags__Wlogical_op=no
13954 rm -f core conftest.err conftest.$ac_objext \
13955 conftest$ac_exeext conftest.$ac_ext
13956 CFLAGS=$ac_wine_try_cflags_saved
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13959 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13960 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13961 saved_string_h_CFLAGS=$CFLAGS
13962 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13964 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13965 if ${ac_cv_c_logicalop_noisy+:} false; then :
13966 $as_echo_n "(cached) " >&6
13967 else
13968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13969 /* end confdefs.h. */
13970 #include <string.h>
13971 char*f(const char *h,char n) {return strchr(h,n);}
13973 main ()
13977 return 0;
13979 _ACEOF
13980 if ac_fn_c_try_compile "$LINENO"; then :
13981 ac_cv_c_logicalop_noisy=no
13982 else
13983 ac_cv_c_logicalop_noisy=yes
13985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13988 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13989 CFLAGS=$saved_string_h_CFLAGS
13990 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13993 CFLAGS=$saved_CFLAGS
13995 for ac_flag in $CFLAGS; do
13996 case $ac_flag in
13997 -g) case $host_os in
13998 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13999 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14000 if ${ac_cv_cflags__gstabsp+:} false; then :
14001 $as_echo_n "(cached) " >&6
14002 else
14003 ac_wine_try_cflags_saved=$CFLAGS
14004 CFLAGS="$CFLAGS -gstabs+"
14005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14006 /* end confdefs.h. */
14007 int main(int argc, char **argv) { return 0; }
14008 _ACEOF
14009 if ac_fn_c_try_link "$LINENO"; then :
14010 ac_cv_cflags__gstabsp=yes
14011 else
14012 ac_cv_cflags__gstabsp=no
14014 rm -f core conftest.err conftest.$ac_objext \
14015 conftest$ac_exeext conftest.$ac_ext
14016 CFLAGS=$ac_wine_try_cflags_saved
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14019 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14020 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14021 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14022 fi ;;
14023 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14024 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14025 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14026 $as_echo_n "(cached) " >&6
14027 else
14028 ac_wine_try_cflags_saved=$CFLAGS
14029 CFLAGS="$CFLAGS -gdwarf-2"
14030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14031 /* end confdefs.h. */
14032 int main(int argc, char **argv) { return 0; }
14033 _ACEOF
14034 if ac_fn_c_try_link "$LINENO"; then :
14035 ac_cv_cflags__gdwarf_2=yes
14036 else
14037 ac_cv_cflags__gdwarf_2=no
14039 rm -f core conftest.err conftest.$ac_objext \
14040 conftest$ac_exeext conftest.$ac_ext
14041 CFLAGS=$ac_wine_try_cflags_saved
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14044 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14045 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14046 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14049 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14050 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14051 $as_echo_n "(cached) " >&6
14052 else
14053 ac_wine_try_cflags_saved=$CFLAGS
14054 CFLAGS="$CFLAGS -gstrict-dwarf"
14055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h. */
14057 int main(int argc, char **argv) { return 0; }
14058 _ACEOF
14059 if ac_fn_c_try_link "$LINENO"; then :
14060 ac_cv_cflags__gstrict_dwarf=yes
14061 else
14062 ac_cv_cflags__gstrict_dwarf=no
14064 rm -f core conftest.err conftest.$ac_objext \
14065 conftest$ac_exeext conftest.$ac_ext
14066 CFLAGS=$ac_wine_try_cflags_saved
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14069 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14070 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14071 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14072 fi ;;
14073 esac ;;
14074 esac
14075 done
14077 case $host_cpu in
14078 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14079 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14080 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14081 $as_echo_n "(cached) " >&6
14082 else
14083 ac_wine_try_cflags_saved=$CFLAGS
14084 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14086 /* end confdefs.h. */
14087 int main(int argc, char **argv) { return 0; }
14088 _ACEOF
14089 if ac_fn_c_try_link "$LINENO"; then :
14090 ac_cv_cflags__fno_omit_frame_pointer=yes
14091 else
14092 ac_cv_cflags__fno_omit_frame_pointer=no
14094 rm -f core conftest.err conftest.$ac_objext \
14095 conftest$ac_exeext conftest.$ac_ext
14096 CFLAGS=$ac_wine_try_cflags_saved
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14099 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14100 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14101 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14102 fi ;;
14103 esac
14105 case $host in
14106 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14107 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14108 if ${ac_cv_cflags__Wno_format+:} false; then :
14109 $as_echo_n "(cached) " >&6
14110 else
14111 ac_wine_try_cflags_saved=$CFLAGS
14112 CFLAGS="$CFLAGS -Wno-format"
14113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14114 /* end confdefs.h. */
14115 int main(int argc, char **argv) { return 0; }
14116 _ACEOF
14117 if ac_fn_c_try_link "$LINENO"; then :
14118 ac_cv_cflags__Wno_format=yes
14119 else
14120 ac_cv_cflags__Wno_format=no
14122 rm -f core conftest.err conftest.$ac_objext \
14123 conftest$ac_exeext conftest.$ac_ext
14124 CFLAGS=$ac_wine_try_cflags_saved
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14127 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14128 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14129 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14130 fi ;;
14131 esac
14133 if test "x$enable_maintainer_mode" = "xyes"
14134 then
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14136 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14137 if ${ac_cv_cflags__Werror+:} false; then :
14138 $as_echo_n "(cached) " >&6
14139 else
14140 ac_wine_try_cflags_saved=$CFLAGS
14141 CFLAGS="$CFLAGS -Werror"
14142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14143 /* end confdefs.h. */
14144 int main(int argc, char **argv) { return 0; }
14145 _ACEOF
14146 if ac_fn_c_try_link "$LINENO"; then :
14147 ac_cv_cflags__Werror=yes
14148 else
14149 ac_cv_cflags__Werror=no
14151 rm -f core conftest.err conftest.$ac_objext \
14152 conftest$ac_exeext conftest.$ac_ext
14153 CFLAGS=$ac_wine_try_cflags_saved
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14156 $as_echo "$ac_cv_cflags__Werror" >&6; }
14157 if test "x$ac_cv_cflags__Werror" = xyes; then :
14158 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14162 saved_CFLAGS="$CFLAGS"
14163 CFLAGS="$CFLAGS -Werror"
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14165 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14166 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14167 $as_echo_n "(cached) " >&6
14168 else
14169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14171 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14173 main ()
14177 return 0;
14179 _ACEOF
14180 if ac_fn_c_try_compile "$LINENO"; then :
14181 ac_cv_have_ms_hook_prologue="yes"
14182 else
14183 ac_cv_have_ms_hook_prologue="no"
14185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14188 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14189 CFLAGS="$saved_CFLAGS"
14190 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14191 then
14193 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14195 else
14196 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14203 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14204 if ${ac_cv_c_fortify_enabled+:} false; then :
14205 $as_echo_n "(cached) " >&6
14206 else
14207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14208 /* end confdefs.h. */
14209 #include <string.h>
14211 main ()
14213 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14214 #error Fortify enabled
14215 #endif
14217 return 0;
14219 _ACEOF
14220 if ac_fn_c_try_compile "$LINENO"; then :
14221 ac_cv_c_fortify_enabled=no
14222 else
14223 ac_cv_c_fortify_enabled=yes
14225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14228 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14229 if test "$ac_cv_c_fortify_enabled" = yes
14230 then
14231 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14236 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14237 if ${ac_cv_c_extern_prefix+:} false; then :
14238 $as_echo_n "(cached) " >&6
14239 else
14240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h. */
14242 extern int ac_test;
14244 main ()
14246 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14248 return 0;
14250 _ACEOF
14251 if ac_fn_c_try_link "$LINENO"; then :
14252 ac_cv_c_extern_prefix="yes"
14253 else
14254 ac_cv_c_extern_prefix="no"
14256 rm -f core conftest.err conftest.$ac_objext \
14257 conftest$ac_exeext conftest.$ac_ext
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14260 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14262 case $host_cpu in
14263 *i[3456789]86*)
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14265 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14266 if ${ac_cv_c_stdcall_suffix+:} false; then :
14267 $as_echo_n "(cached) " >&6
14268 else
14269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14271 #ifndef _MSC_VER
14272 #define __stdcall __attribute__((__stdcall__))
14273 #endif
14274 int __stdcall ac_test(int i) { return i; }
14276 main ()
14278 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14280 return 0;
14282 _ACEOF
14283 if ac_fn_c_try_link "$LINENO"; then :
14284 ac_cv_c_stdcall_suffix="yes"
14285 else
14286 ac_cv_c_stdcall_suffix="no"
14288 rm -f core conftest.err conftest.$ac_objext \
14289 conftest$ac_exeext conftest.$ac_ext
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14292 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14293 *) ac_cv_c_stdcall_suffix="no" ;;
14294 esac
14297 if test "$ac_cv_c_extern_prefix" = "yes"
14298 then
14299 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14301 asm_name_prefix="_"
14302 else
14303 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14305 asm_name_prefix=""
14309 if test "$ac_cv_c_stdcall_suffix" = "yes"
14310 then
14311 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14313 else
14314 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14320 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14321 if ${ac_cv_asm_func_def+:} false; then :
14322 $as_echo_n "(cached) " >&6
14323 else
14324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14325 /* end confdefs.h. */
14328 main ()
14330 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14332 return 0;
14334 _ACEOF
14335 if ac_fn_c_try_link "$LINENO"; then :
14336 ac_cv_asm_func_def=".def"
14337 else
14338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14342 main ()
14344 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14346 return 0;
14348 _ACEOF
14349 if ac_fn_c_try_link "$LINENO"; then :
14350 ac_cv_asm_func_def=".type @function"
14351 else
14352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14353 /* end confdefs.h. */
14356 main ()
14358 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14360 return 0;
14362 _ACEOF
14363 if ac_fn_c_try_link "$LINENO"; then :
14364 ac_cv_asm_func_def=".type 2"
14365 else
14366 ac_cv_asm_func_def="unknown"
14368 rm -f core conftest.err conftest.$ac_objext \
14369 conftest$ac_exeext conftest.$ac_ext
14371 rm -f core conftest.err conftest.$ac_objext \
14372 conftest$ac_exeext conftest.$ac_ext
14374 rm -f core conftest.err conftest.$ac_objext \
14375 conftest$ac_exeext conftest.$ac_ext
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14378 $as_echo "$ac_cv_asm_func_def" >&6; }
14381 case "$ac_cv_asm_func_def" in
14382 ".def")
14383 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14385 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14386 ".type @function")
14387 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14389 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14390 ".type 2")
14391 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14393 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14395 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14397 asm_func_header="" ;;
14398 esac
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14401 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14402 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14403 $as_echo_n "(cached) " >&6
14404 else
14405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14406 /* end confdefs.h. */
14407 asm(".text\n\t.long 0");
14409 main ()
14413 return 0;
14415 _ACEOF
14416 if ac_fn_c_try_compile "$LINENO"; then :
14417 ac_cv_c_asm_outside_funcs="yes"
14418 else
14419 ac_cv_c_asm_outside_funcs="no"
14421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14424 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14427 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14428 if ${ac_cv_c_dot_previous+:} false; then :
14429 $as_echo_n "(cached) " >&6
14430 else
14431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14432 /* end confdefs.h. */
14435 main ()
14437 asm(".text\nac_test:\t.long 0\n\t.previous");
14439 return 0;
14441 _ACEOF
14442 if ac_fn_c_try_link "$LINENO"; then :
14443 ac_cv_c_dot_previous="yes"
14444 else
14445 ac_cv_c_dot_previous="no"
14447 rm -f core conftest.err conftest.$ac_objext \
14448 conftest$ac_exeext conftest.$ac_ext
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14451 $as_echo "$ac_cv_c_dot_previous" >&6; }
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14454 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14455 if ${ac_cv_c_cfi_support+:} false; then :
14456 $as_echo_n "(cached) " >&6
14457 else
14458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14459 /* end confdefs.h. */
14460 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14462 main ()
14466 return 0;
14468 _ACEOF
14469 if ac_fn_c_try_compile "$LINENO"; then :
14470 ac_cv_c_cfi_support="yes"
14471 else
14472 ac_cv_c_cfi_support="no"
14474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14477 $as_echo "$ac_cv_c_cfi_support" >&6; }
14479 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14480 asm_func_trailer=""
14481 if test "$ac_cv_c_dot_previous" = "yes"
14482 then
14483 asm_func_trailer="\\n\\t.previous"
14485 if test "$ac_cv_c_cfi_support" = "yes"
14486 then
14487 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14488 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14490 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14492 UNWINDFLAGS=-fasynchronous-unwind-tables
14494 else
14495 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14499 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14502 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14503 then
14504 cat >>confdefs.h <<_ACEOF
14505 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14506 _ACEOF
14508 else
14509 cat >>confdefs.h <<_ACEOF
14510 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14511 _ACEOF
14515 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14518 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14522 case $build_os in
14523 cygwin*|mingw32*) TOOLSEXT=".exe"
14525 esac
14527 case $host_os in
14528 linux*)
14529 case $host_cpu in
14530 *i[3456789]86*|x86_64*)
14531 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14532 loader_programs="$loader_programs $wine_binary-preloader"
14533 as_fn_append LOADER_RULES "
14534 $wine_binary-preloader: preloader.o
14535 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14537 install install-lib:: $wine_binary-preloader
14538 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14540 uninstall::
14541 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14543 preloader_EXTRADEFS = $BUILTINFLAG
14544 " ;;
14545 esac
14547 esac
14548 as_fn_append LOADER_RULES "
14549 PROGRAMS = $loader_programs
14553 ac_save_CFLAGS="$CFLAGS"
14554 CFLAGS="$CFLAGS $BUILTINFLAG"
14555 for ac_func in \
14556 __res_get_state \
14557 __res_getservers \
14558 _finite \
14559 _isnan \
14560 _pclose \
14561 _popen \
14562 _snprintf \
14563 _spawnvp \
14564 _strdup \
14565 _stricmp \
14566 _strnicmp \
14567 _strtoi64 \
14568 _strtoui64 \
14569 _vsnprintf \
14570 asctime_r \
14571 chsize \
14572 dlopen \
14573 epoll_create \
14574 ffs \
14575 fnmatch \
14576 fork \
14577 fpclass \
14578 fstatfs \
14579 fstatvfs \
14580 ftruncate \
14581 futimens \
14582 futimes \
14583 futimesat \
14584 getattrlist \
14585 getdirentries \
14586 getopt_long_only \
14587 getpwuid \
14588 gettimeofday \
14589 getuid \
14590 if_nameindex \
14591 kqueue \
14592 lstat \
14593 memmove \
14594 mmap \
14595 pclose \
14596 pipe2 \
14597 poll \
14598 popen \
14599 port_create \
14600 prctl \
14601 pread \
14602 proc_pidinfo \
14603 pwrite \
14604 readdir \
14605 readlink \
14606 sched_yield \
14607 select \
14608 setproctitle \
14609 setrlimit \
14610 settimeofday \
14611 sigaltstack \
14612 sigprocmask \
14613 snprintf \
14614 statfs \
14615 statvfs \
14616 strcasecmp \
14617 strdup \
14618 strerror \
14619 strncasecmp \
14620 strtold \
14621 strtoll \
14622 strtoull \
14623 symlink \
14624 tcdrain \
14625 thr_kill2 \
14626 timegm \
14627 usleep \
14628 vsnprintf
14630 do :
14631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14633 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14634 cat >>confdefs.h <<_ACEOF
14635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14636 _ACEOF
14639 done
14641 CFLAGS="$ac_save_CFLAGS"
14643 if test "$ac_cv_func_dlopen" = no
14644 then
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14646 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14647 if ${ac_cv_lib_dl_dlopen+:} false; then :
14648 $as_echo_n "(cached) " >&6
14649 else
14650 ac_check_lib_save_LIBS=$LIBS
14651 LIBS="-ldl $LIBS"
14652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14653 /* end confdefs.h. */
14655 /* Override any GCC internal prototype to avoid an error.
14656 Use char because int might match the return type of a GCC
14657 builtin and then its argument prototype would still apply. */
14658 #ifdef __cplusplus
14659 extern "C"
14660 #endif
14661 char dlopen ();
14663 main ()
14665 return dlopen ();
14667 return 0;
14669 _ACEOF
14670 if ac_fn_c_try_link "$LINENO"; then :
14671 ac_cv_lib_dl_dlopen=yes
14672 else
14673 ac_cv_lib_dl_dlopen=no
14675 rm -f core conftest.err conftest.$ac_objext \
14676 conftest$ac_exeext conftest.$ac_ext
14677 LIBS=$ac_check_lib_save_LIBS
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14680 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14681 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14682 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14683 DL_LIBS="-ldl"
14688 ac_wine_check_funcs_save_LIBS="$LIBS"
14689 LIBS="$LIBS $DL_LIBS"
14690 for ac_func in dladdr
14691 do :
14692 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14693 if test "x$ac_cv_func_dladdr" = xyes; then :
14694 cat >>confdefs.h <<_ACEOF
14695 #define HAVE_DLADDR 1
14696 _ACEOF
14699 done
14701 LIBS="$ac_wine_check_funcs_save_LIBS"
14703 if test "$ac_cv_func_poll" = no
14704 then
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14706 $as_echo_n "checking for poll in -lpoll... " >&6; }
14707 if ${ac_cv_lib_poll_poll+:} false; then :
14708 $as_echo_n "(cached) " >&6
14709 else
14710 ac_check_lib_save_LIBS=$LIBS
14711 LIBS="-lpoll $LIBS"
14712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14713 /* end confdefs.h. */
14715 /* Override any GCC internal prototype to avoid an error.
14716 Use char because int might match the return type of a GCC
14717 builtin and then its argument prototype would still apply. */
14718 #ifdef __cplusplus
14719 extern "C"
14720 #endif
14721 char poll ();
14723 main ()
14725 return poll ();
14727 return 0;
14729 _ACEOF
14730 if ac_fn_c_try_link "$LINENO"; then :
14731 ac_cv_lib_poll_poll=yes
14732 else
14733 ac_cv_lib_poll_poll=no
14735 rm -f core conftest.err conftest.$ac_objext \
14736 conftest$ac_exeext conftest.$ac_ext
14737 LIBS=$ac_check_lib_save_LIBS
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14740 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14741 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14742 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14743 POLL_LIBS="-lpoll"
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14750 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14751 if ${ac_cv_search_gethostbyname+:} false; then :
14752 $as_echo_n "(cached) " >&6
14753 else
14754 ac_func_search_save_LIBS=$LIBS
14755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14756 /* end confdefs.h. */
14758 /* Override any GCC internal prototype to avoid an error.
14759 Use char because int might match the return type of a GCC
14760 builtin and then its argument prototype would still apply. */
14761 #ifdef __cplusplus
14762 extern "C"
14763 #endif
14764 char gethostbyname ();
14766 main ()
14768 return gethostbyname ();
14770 return 0;
14772 _ACEOF
14773 for ac_lib in '' nsl; do
14774 if test -z "$ac_lib"; then
14775 ac_res="none required"
14776 else
14777 ac_res=-l$ac_lib
14778 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14780 if ac_fn_c_try_link "$LINENO"; then :
14781 ac_cv_search_gethostbyname=$ac_res
14783 rm -f core conftest.err conftest.$ac_objext \
14784 conftest$ac_exeext
14785 if ${ac_cv_search_gethostbyname+:} false; then :
14786 break
14788 done
14789 if ${ac_cv_search_gethostbyname+:} false; then :
14791 else
14792 ac_cv_search_gethostbyname=no
14794 rm conftest.$ac_ext
14795 LIBS=$ac_func_search_save_LIBS
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14798 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14799 ac_res=$ac_cv_search_gethostbyname
14800 if test "$ac_res" != no; then :
14801 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14807 $as_echo_n "checking for library containing connect... " >&6; }
14808 if ${ac_cv_search_connect+:} false; then :
14809 $as_echo_n "(cached) " >&6
14810 else
14811 ac_func_search_save_LIBS=$LIBS
14812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14813 /* end confdefs.h. */
14815 /* Override any GCC internal prototype to avoid an error.
14816 Use char because int might match the return type of a GCC
14817 builtin and then its argument prototype would still apply. */
14818 #ifdef __cplusplus
14819 extern "C"
14820 #endif
14821 char connect ();
14823 main ()
14825 return connect ();
14827 return 0;
14829 _ACEOF
14830 for ac_lib in '' socket; do
14831 if test -z "$ac_lib"; then
14832 ac_res="none required"
14833 else
14834 ac_res=-l$ac_lib
14835 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14837 if ac_fn_c_try_link "$LINENO"; then :
14838 ac_cv_search_connect=$ac_res
14840 rm -f core conftest.err conftest.$ac_objext \
14841 conftest$ac_exeext
14842 if ${ac_cv_search_connect+:} false; then :
14843 break
14845 done
14846 if ${ac_cv_search_connect+:} false; then :
14848 else
14849 ac_cv_search_connect=no
14851 rm conftest.$ac_ext
14852 LIBS=$ac_func_search_save_LIBS
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14855 $as_echo "$ac_cv_search_connect" >&6; }
14856 ac_res=$ac_cv_search_connect
14857 if test "$ac_res" != no; then :
14858 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14864 $as_echo_n "checking for library containing inet_aton... " >&6; }
14865 if ${ac_cv_search_inet_aton+:} false; then :
14866 $as_echo_n "(cached) " >&6
14867 else
14868 ac_func_search_save_LIBS=$LIBS
14869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14870 /* end confdefs.h. */
14872 /* Override any GCC internal prototype to avoid an error.
14873 Use char because int might match the return type of a GCC
14874 builtin and then its argument prototype would still apply. */
14875 #ifdef __cplusplus
14876 extern "C"
14877 #endif
14878 char inet_aton ();
14880 main ()
14882 return inet_aton ();
14884 return 0;
14886 _ACEOF
14887 for ac_lib in '' resolv; do
14888 if test -z "$ac_lib"; then
14889 ac_res="none required"
14890 else
14891 ac_res=-l$ac_lib
14892 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14894 if ac_fn_c_try_link "$LINENO"; then :
14895 ac_cv_search_inet_aton=$ac_res
14897 rm -f core conftest.err conftest.$ac_objext \
14898 conftest$ac_exeext
14899 if ${ac_cv_search_inet_aton+:} false; then :
14900 break
14902 done
14903 if ${ac_cv_search_inet_aton+:} false; then :
14905 else
14906 ac_cv_search_inet_aton=no
14908 rm conftest.$ac_ext
14909 LIBS=$ac_func_search_save_LIBS
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14912 $as_echo "$ac_cv_search_inet_aton" >&6; }
14913 ac_res=$ac_cv_search_inet_aton
14914 if test "$ac_res" != no; then :
14915 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14920 for ac_func in \
14921 getaddrinfo \
14922 getnameinfo \
14923 getnetbyname \
14924 getprotobyname \
14925 getprotobynumber \
14926 getservbyport \
14927 inet_addr \
14928 inet_network \
14929 inet_ntop \
14930 inet_pton \
14931 sendmsg \
14932 socketpair \
14934 do :
14935 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14936 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14937 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14938 cat >>confdefs.h <<_ACEOF
14939 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14940 _ACEOF
14943 done
14946 ac_save_LIBS=$LIBS
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14948 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14949 if ${ac_cv_search_clock_gettime+:} false; then :
14950 $as_echo_n "(cached) " >&6
14951 else
14952 ac_func_search_save_LIBS=$LIBS
14953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h. */
14956 /* Override any GCC internal prototype to avoid an error.
14957 Use char because int might match the return type of a GCC
14958 builtin and then its argument prototype would still apply. */
14959 #ifdef __cplusplus
14960 extern "C"
14961 #endif
14962 char clock_gettime ();
14964 main ()
14966 return clock_gettime ();
14968 return 0;
14970 _ACEOF
14971 for ac_lib in '' rt; do
14972 if test -z "$ac_lib"; then
14973 ac_res="none required"
14974 else
14975 ac_res=-l$ac_lib
14976 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14978 if ac_fn_c_try_link "$LINENO"; then :
14979 ac_cv_search_clock_gettime=$ac_res
14981 rm -f core conftest.err conftest.$ac_objext \
14982 conftest$ac_exeext
14983 if ${ac_cv_search_clock_gettime+:} false; then :
14984 break
14986 done
14987 if ${ac_cv_search_clock_gettime+:} false; then :
14989 else
14990 ac_cv_search_clock_gettime=no
14992 rm conftest.$ac_ext
14993 LIBS=$ac_func_search_save_LIBS
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14996 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14997 ac_res=$ac_cv_search_clock_gettime
14998 if test "$ac_res" != no; then :
14999 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15001 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15003 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15007 LIBS=$ac_save_LIBS
15009 LDAP_LIBS=""
15011 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15012 then
15013 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15015 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15017 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15018 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15019 $as_echo_n "(cached) " >&6
15020 else
15021 ac_check_lib_save_LIBS=$LIBS
15022 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15024 /* end confdefs.h. */
15026 /* Override any GCC internal prototype to avoid an error.
15027 Use char because int might match the return type of a GCC
15028 builtin and then its argument prototype would still apply. */
15029 #ifdef __cplusplus
15030 extern "C"
15031 #endif
15032 char ldap_initialize ();
15034 main ()
15036 return ldap_initialize ();
15038 return 0;
15040 _ACEOF
15041 if ac_fn_c_try_link "$LINENO"; then :
15042 ac_cv_lib_ldap_r_ldap_initialize=yes
15043 else
15044 ac_cv_lib_ldap_r_ldap_initialize=no
15046 rm -f core conftest.err conftest.$ac_objext \
15047 conftest$ac_exeext conftest.$ac_ext
15048 LIBS=$ac_check_lib_save_LIBS
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15051 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15052 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15054 $as_echo_n "checking for ber_init in -llber... " >&6; }
15055 if ${ac_cv_lib_lber_ber_init+:} false; then :
15056 $as_echo_n "(cached) " >&6
15057 else
15058 ac_check_lib_save_LIBS=$LIBS
15059 LIBS="-llber $PTHREAD_LIBS $LIBS"
15060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15061 /* end confdefs.h. */
15063 /* Override any GCC internal prototype to avoid an error.
15064 Use char because int might match the return type of a GCC
15065 builtin and then its argument prototype would still apply. */
15066 #ifdef __cplusplus
15067 extern "C"
15068 #endif
15069 char ber_init ();
15071 main ()
15073 return ber_init ();
15075 return 0;
15077 _ACEOF
15078 if ac_fn_c_try_link "$LINENO"; then :
15079 ac_cv_lib_lber_ber_init=yes
15080 else
15081 ac_cv_lib_lber_ber_init=no
15083 rm -f core conftest.err conftest.$ac_objext \
15084 conftest$ac_exeext conftest.$ac_ext
15085 LIBS=$ac_check_lib_save_LIBS
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15088 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15089 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15091 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15093 LDAP_LIBS="-lldap_r -llber"
15100 ac_wine_check_funcs_save_LIBS="$LIBS"
15101 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15102 for ac_func in \
15103 ldap_count_references \
15104 ldap_first_reference \
15105 ldap_next_reference \
15106 ldap_parse_reference \
15107 ldap_parse_sort_control \
15108 ldap_parse_sortresponse_control \
15109 ldap_parse_vlv_control \
15110 ldap_parse_vlvresponse_control
15111 do :
15112 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15113 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15114 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15115 cat >>confdefs.h <<_ACEOF
15116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15117 _ACEOF
15120 done
15122 LIBS="$ac_wine_check_funcs_save_LIBS"
15124 if test "x$LDAP_LIBS" = "x"; then :
15125 case "x$with_ldap" in
15126 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15127 xno) ;;
15128 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15129 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15130 esac
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15134 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15135 if ${wine_cv_one_arg_mkdir+:} false; then :
15136 $as_echo_n "(cached) " >&6
15137 else
15138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15140 #include <sys/stat.h>
15142 main ()
15144 mkdir("foo");
15146 return 0;
15148 _ACEOF
15149 if ac_fn_c_try_compile "$LINENO"; then :
15150 wine_cv_one_arg_mkdir=yes
15151 else
15152 wine_cv_one_arg_mkdir=no
15154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15157 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15158 if test "$wine_cv_one_arg_mkdir" = "yes"
15159 then
15161 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15166 $as_echo_n "checking for sched_setaffinity... " >&6; }
15167 if ${wine_cv_have_sched_setaffinity+:} false; then :
15168 $as_echo_n "(cached) " >&6
15169 else
15170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15171 /* end confdefs.h. */
15172 #define _GNU_SOURCE
15173 #include <sched.h>
15175 main ()
15177 sched_setaffinity(0, 0, 0);
15179 return 0;
15181 _ACEOF
15182 if ac_fn_c_try_link "$LINENO"; then :
15183 wine_cv_have_sched_setaffinity=yes
15184 else
15185 wine_cv_have_sched_setaffinity=no
15187 rm -f core conftest.err conftest.$ac_objext \
15188 conftest$ac_exeext conftest.$ac_ext
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15191 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15192 if test "$wine_cv_have_sched_setaffinity" = "yes"
15193 then
15195 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15200 $as_echo_n "checking for fallocate... " >&6; }
15201 if ${wine_cv_have_fallocate+:} false; then :
15202 $as_echo_n "(cached) " >&6
15203 else
15204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15205 /* end confdefs.h. */
15206 #define _GNU_SOURCE
15207 #include <fcntl.h>
15209 main ()
15211 fallocate(-1, 0, 0, 0);
15213 return 0;
15215 _ACEOF
15216 if ac_fn_c_try_link "$LINENO"; then :
15217 wine_cv_have_fallocate=yes
15218 else
15219 wine_cv_have_fallocate=no
15221 rm -f core conftest.err conftest.$ac_objext \
15222 conftest$ac_exeext conftest.$ac_ext
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15225 $as_echo "$wine_cv_have_fallocate" >&6; }
15226 if test "$wine_cv_have_fallocate" = "yes"
15227 then
15229 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15235 $as_echo_n "checking for inline... " >&6; }
15236 if ${ac_cv_c_inline+:} false; then :
15237 $as_echo_n "(cached) " >&6
15238 else
15239 ac_cv_c_inline=no
15240 for ac_kw in inline __inline__ __inline; do
15241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15242 /* end confdefs.h. */
15243 #ifndef __cplusplus
15244 typedef int foo_t;
15245 static $ac_kw foo_t static_foo () {return 0; }
15246 $ac_kw foo_t foo () {return 0; }
15247 #endif
15249 _ACEOF
15250 if ac_fn_c_try_compile "$LINENO"; then :
15251 ac_cv_c_inline=$ac_kw
15253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15254 test "$ac_cv_c_inline" != no && break
15255 done
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15259 $as_echo "$ac_cv_c_inline" >&6; }
15261 case $ac_cv_c_inline in
15262 inline | yes) ;;
15264 case $ac_cv_c_inline in
15265 no) ac_val=;;
15266 *) ac_val=$ac_cv_c_inline;;
15267 esac
15268 cat >>confdefs.h <<_ACEOF
15269 #ifndef __cplusplus
15270 #define inline $ac_val
15271 #endif
15272 _ACEOF
15274 esac
15276 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15277 if test "x$ac_cv_type_mode_t" = xyes; then :
15279 cat >>confdefs.h <<_ACEOF
15280 #define HAVE_MODE_T 1
15281 _ACEOF
15285 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15286 if test "x$ac_cv_type_off_t" = xyes; then :
15288 cat >>confdefs.h <<_ACEOF
15289 #define HAVE_OFF_T 1
15290 _ACEOF
15294 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15295 if test "x$ac_cv_type_pid_t" = xyes; then :
15297 cat >>confdefs.h <<_ACEOF
15298 #define HAVE_PID_T 1
15299 _ACEOF
15303 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15304 if test "x$ac_cv_type_size_t" = xyes; then :
15306 cat >>confdefs.h <<_ACEOF
15307 #define HAVE_SIZE_T 1
15308 _ACEOF
15312 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15313 if test "x$ac_cv_type_ssize_t" = xyes; then :
15315 cat >>confdefs.h <<_ACEOF
15316 #define HAVE_SSIZE_T 1
15317 _ACEOF
15321 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15322 if test "x$ac_cv_type_long_long" = xyes; then :
15324 cat >>confdefs.h <<_ACEOF
15325 #define HAVE_LONG_LONG 1
15326 _ACEOF
15330 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15331 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15333 cat >>confdefs.h <<_ACEOF
15334 #define HAVE_FSBLKCNT_T 1
15335 _ACEOF
15339 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15340 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15342 cat >>confdefs.h <<_ACEOF
15343 #define HAVE_FSFILCNT_T 1
15344 _ACEOF
15349 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15350 #include <signal.h>
15352 if test "x$ac_cv_type_sigset_t" = xyes; then :
15354 cat >>confdefs.h <<_ACEOF
15355 #define HAVE_SIGSET_T 1
15356 _ACEOF
15361 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15363 if test "x$ac_cv_type_request_sense" = xyes; then :
15365 cat >>confdefs.h <<_ACEOF
15366 #define HAVE_REQUEST_SENSE 1
15367 _ACEOF
15373 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15374 #ifdef HAVE_SYS_SOCKET_H
15375 #include <sys/socket.h>
15376 #endif
15377 #ifdef HAVE_SYS_SOCKETVAR_H
15378 #include <sys/socketvar.h>
15379 #endif
15380 #ifdef HAVE_NET_ROUTE_H
15381 #include <net/route.h>
15382 #endif
15383 #ifdef HAVE_NETINET_IN_H
15384 #include <netinet/in.h>
15385 #endif
15386 #ifdef HAVE_NETINET_IN_SYSTM_H
15387 #include <netinet/in_systm.h>
15388 #endif
15389 #ifdef HAVE_NETINET_IP_H
15390 #include <netinet/ip.h>
15391 #endif
15392 #ifdef HAVE_NETINET_IN_PCB_H
15393 #include <netinet/in_pcb.h>
15394 #endif
15396 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15398 cat >>confdefs.h <<_ACEOF
15399 #define HAVE_STRUCT_XINPGEN 1
15400 _ACEOF
15406 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15407 #include <link.h>
15408 #endif
15409 #ifdef HAVE_SYS_LINK_H
15410 #include <sys/link.h>
15411 #endif
15413 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15415 cat >>confdefs.h <<_ACEOF
15416 #define HAVE_STRUCT_R_DEBUG 1
15417 _ACEOF
15421 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15422 #include <link.h>
15423 #endif
15424 #ifdef HAVE_SYS_LINK_H
15425 #include <sys/link.h>
15426 #endif
15428 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15430 cat >>confdefs.h <<_ACEOF
15431 #define HAVE_STRUCT_LINK_MAP 1
15432 _ACEOF
15438 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15439 #include <linux/input.h>
15440 #endif
15442 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15444 cat >>confdefs.h <<_ACEOF
15445 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15446 _ACEOF
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15453 $as_echo_n "checking for sigaddset... " >&6; }
15454 if ${wine_cv_have_sigaddset+:} false; then :
15455 $as_echo_n "(cached) " >&6
15456 else
15457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15458 /* end confdefs.h. */
15459 #include <signal.h>
15461 main ()
15463 sigset_t set; sigaddset(&set,SIGTERM);
15465 return 0;
15467 _ACEOF
15468 if ac_fn_c_try_link "$LINENO"; then :
15469 wine_cv_have_sigaddset=yes
15470 else
15471 wine_cv_have_sigaddset=no
15473 rm -f core conftest.err conftest.$ac_objext \
15474 conftest$ac_exeext conftest.$ac_ext
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15477 $as_echo "$wine_cv_have_sigaddset" >&6; }
15478 if test "$wine_cv_have_sigaddset" = "yes"
15479 then
15481 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15487 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15488 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15489 $as_echo_n "(cached) " >&6
15490 else
15491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15492 /* end confdefs.h. */
15493 #include <netdb.h>
15495 main ()
15498 char *name=0;
15499 struct hostent he;
15500 struct hostent *result;
15501 char *buf=0;
15502 int bufsize=0;
15503 int errnr;
15504 char *addr=0;
15505 int addrlen=0;
15506 int addrtype=0;
15507 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15508 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15511 return 0;
15513 _ACEOF
15514 if ac_fn_c_try_link "$LINENO"; then :
15515 wine_cv_linux_gethostbyname_r_6=yes
15516 else
15517 wine_cv_linux_gethostbyname_r_6=no
15520 rm -f core conftest.err conftest.$ac_objext \
15521 conftest$ac_exeext conftest.$ac_ext
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15525 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15526 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15527 then
15529 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15533 if test "$ac_cv_header_linux_joystick_h" = "yes"
15534 then
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15536 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15537 if ${wine_cv_linux_joystick_22_api+:} false; then :
15538 $as_echo_n "(cached) " >&6
15539 else
15540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15541 /* end confdefs.h. */
15543 #include <sys/ioctl.h>
15544 #include <sys/types.h>
15545 #include <linux/joystick.h>
15547 struct js_event blub;
15548 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15549 #error "no 2.2 header"
15550 #endif
15553 main ()
15555 /*empty*/
15557 return 0;
15559 _ACEOF
15560 if ac_fn_c_try_compile "$LINENO"; then :
15561 wine_cv_linux_joystick_22_api=yes
15562 else
15563 wine_cv_linux_joystick_22_api=no
15565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15569 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15570 if test "$wine_cv_linux_joystick_22_api" = "yes"
15571 then
15573 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15579 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15580 #ifdef HAVE_SYS_PARAM_H
15581 # include <sys/param.h>
15582 #endif
15583 #ifdef HAVE_SYS_MOUNT_H
15584 # include <sys/mount.h>
15585 #endif
15586 #ifdef HAVE_SYS_VFS_H
15587 # include <sys/vfs.h>
15588 #endif
15589 #ifdef HAVE_SYS_STATFS_H
15590 # include <sys/statfs.h>
15591 #endif
15593 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15595 cat >>confdefs.h <<_ACEOF
15596 #define HAVE_STRUCT_STATFS_F_BFREE 1
15597 _ACEOF
15601 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15602 #ifdef HAVE_SYS_PARAM_H
15603 # include <sys/param.h>
15604 #endif
15605 #ifdef HAVE_SYS_MOUNT_H
15606 # include <sys/mount.h>
15607 #endif
15608 #ifdef HAVE_SYS_VFS_H
15609 # include <sys/vfs.h>
15610 #endif
15611 #ifdef HAVE_SYS_STATFS_H
15612 # include <sys/statfs.h>
15613 #endif
15615 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15617 cat >>confdefs.h <<_ACEOF
15618 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15619 _ACEOF
15623 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15624 #ifdef HAVE_SYS_PARAM_H
15625 # include <sys/param.h>
15626 #endif
15627 #ifdef HAVE_SYS_MOUNT_H
15628 # include <sys/mount.h>
15629 #endif
15630 #ifdef HAVE_SYS_VFS_H
15631 # include <sys/vfs.h>
15632 #endif
15633 #ifdef HAVE_SYS_STATFS_H
15634 # include <sys/statfs.h>
15635 #endif
15637 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15639 cat >>confdefs.h <<_ACEOF
15640 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15641 _ACEOF
15645 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15646 #ifdef HAVE_SYS_PARAM_H
15647 # include <sys/param.h>
15648 #endif
15649 #ifdef HAVE_SYS_MOUNT_H
15650 # include <sys/mount.h>
15651 #endif
15652 #ifdef HAVE_SYS_VFS_H
15653 # include <sys/vfs.h>
15654 #endif
15655 #ifdef HAVE_SYS_STATFS_H
15656 # include <sys/statfs.h>
15657 #endif
15659 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15661 cat >>confdefs.h <<_ACEOF
15662 #define HAVE_STRUCT_STATFS_F_FFREE 1
15663 _ACEOF
15667 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15668 #ifdef HAVE_SYS_PARAM_H
15669 # include <sys/param.h>
15670 #endif
15671 #ifdef HAVE_SYS_MOUNT_H
15672 # include <sys/mount.h>
15673 #endif
15674 #ifdef HAVE_SYS_VFS_H
15675 # include <sys/vfs.h>
15676 #endif
15677 #ifdef HAVE_SYS_STATFS_H
15678 # include <sys/statfs.h>
15679 #endif
15681 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15683 cat >>confdefs.h <<_ACEOF
15684 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15685 _ACEOF
15689 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15690 #ifdef HAVE_SYS_PARAM_H
15691 # include <sys/param.h>
15692 #endif
15693 #ifdef HAVE_SYS_MOUNT_H
15694 # include <sys/mount.h>
15695 #endif
15696 #ifdef HAVE_SYS_VFS_H
15697 # include <sys/vfs.h>
15698 #endif
15699 #ifdef HAVE_SYS_STATFS_H
15700 # include <sys/statfs.h>
15701 #endif
15703 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15705 cat >>confdefs.h <<_ACEOF
15706 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15707 _ACEOF
15713 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15714 #include <sys/statvfs.h>
15715 #endif
15717 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15719 cat >>confdefs.h <<_ACEOF
15720 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15721 _ACEOF
15727 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15728 #include <dirent.h>
15729 #endif
15731 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15733 cat >>confdefs.h <<_ACEOF
15734 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15735 _ACEOF
15741 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15742 #ifdef HAVE_SYS_SOCKET_H
15743 # include <sys/socket.h>
15744 #endif
15745 #ifdef HAVE_SYS_UN_H
15746 # include <sys/un.h>
15747 #endif
15749 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15751 cat >>confdefs.h <<_ACEOF
15752 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15753 _ACEOF
15757 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15758 #ifdef HAVE_SYS_SOCKET_H
15759 # include <sys/socket.h>
15760 #endif
15761 #ifdef HAVE_SYS_UN_H
15762 # include <sys/un.h>
15763 #endif
15765 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15767 cat >>confdefs.h <<_ACEOF
15768 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15769 _ACEOF
15773 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15774 #ifdef HAVE_SYS_SOCKET_H
15775 # include <sys/socket.h>
15776 #endif
15777 #ifdef HAVE_SYS_UN_H
15778 # include <sys/un.h>
15779 #endif
15781 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15783 cat >>confdefs.h <<_ACEOF
15784 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15785 _ACEOF
15791 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15792 #ifdef HAVE_SCSI_SG_H
15793 #include <scsi/sg.h>
15794 #endif
15796 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15798 cat >>confdefs.h <<_ACEOF
15799 #define HAVE_SCSIREQ_T_CMD 1
15800 _ACEOF
15804 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>
15805 #ifdef HAVE_SCSI_SG_H
15806 #include <scsi/sg.h>
15807 #endif
15809 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15811 cat >>confdefs.h <<_ACEOF
15812 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15813 _ACEOF
15819 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15821 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15823 cat >>confdefs.h <<_ACEOF
15824 #define HAVE_SIGINFO_T_SI_FD 1
15825 _ACEOF
15831 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15832 #ifdef HAVE_SYS_MTIO_H
15833 #include <sys/mtio.h>
15834 #endif
15836 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15838 cat >>confdefs.h <<_ACEOF
15839 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15840 _ACEOF
15844 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15845 #ifdef HAVE_SYS_MTIO_H
15846 #include <sys/mtio.h>
15847 #endif
15849 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15851 cat >>confdefs.h <<_ACEOF
15852 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15853 _ACEOF
15857 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15858 #ifdef HAVE_SYS_MTIO_H
15859 #include <sys/mtio.h>
15860 #endif
15862 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15864 cat >>confdefs.h <<_ACEOF
15865 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15866 _ACEOF
15872 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15873 #include <getopt.h>
15874 #endif
15876 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15878 cat >>confdefs.h <<_ACEOF
15879 #define HAVE_STRUCT_OPTION_NAME 1
15880 _ACEOF
15886 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15887 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15889 cat >>confdefs.h <<_ACEOF
15890 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15891 _ACEOF
15895 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15896 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15898 cat >>confdefs.h <<_ACEOF
15899 #define HAVE_STRUCT_STAT_ST_MTIM 1
15900 _ACEOF
15904 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15905 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15907 cat >>confdefs.h <<_ACEOF
15908 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15909 _ACEOF
15913 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15914 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15916 cat >>confdefs.h <<_ACEOF
15917 #define HAVE_STRUCT_STAT_ST_CTIM 1
15918 _ACEOF
15922 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15923 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15925 cat >>confdefs.h <<_ACEOF
15926 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15927 _ACEOF
15931 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15932 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15934 cat >>confdefs.h <<_ACEOF
15935 #define HAVE_STRUCT_STAT_ST_ATIM 1
15936 _ACEOF
15940 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15941 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15943 cat >>confdefs.h <<_ACEOF
15944 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15945 _ACEOF
15949 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15950 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15952 cat >>confdefs.h <<_ACEOF
15953 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15954 _ACEOF
15958 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15959 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15961 cat >>confdefs.h <<_ACEOF
15962 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15963 _ACEOF
15967 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15968 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15970 cat >>confdefs.h <<_ACEOF
15971 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15972 _ACEOF
15976 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15977 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15979 cat >>confdefs.h <<_ACEOF
15980 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15981 _ACEOF
15985 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15986 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15988 cat >>confdefs.h <<_ACEOF
15989 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15990 _ACEOF
15996 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
15997 #include <sys/types.h>
15998 #endif
15999 #ifdef HAVE_NETINET_IN_H
16000 #include <netinet/in.h>
16001 #endif
16003 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16005 cat >>confdefs.h <<_ACEOF
16006 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16007 _ACEOF
16013 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16014 #include <resolv.h>
16015 #endif
16017 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16019 cat >>confdefs.h <<_ACEOF
16020 #define HAVE_STRUCT___RES_STATE 1
16021 _ACEOF
16027 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
16028 #include <resolv.h>
16029 #endif
16031 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16033 cat >>confdefs.h <<_ACEOF
16034 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16035 _ACEOF
16041 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16042 #include <sys/types.h>
16043 #endif
16044 #ifdef HAVE_NETINET_IN_H
16045 # include <netinet/in.h>
16046 #endif
16047 #ifdef HAVE_ARPA_NAMESER_H
16048 # include <arpa/nameser.h>
16049 #endif
16051 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16053 cat >>confdefs.h <<_ACEOF
16054 #define HAVE_NS_MSG__MSG_PTR 1
16055 _ACEOF
16061 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16062 #include <sys/types.h>
16063 #endif
16064 #ifdef HAVE_NETINET_IP_H
16065 #include <netinet/ip.h>
16066 #endif
16067 #ifdef HAVE_NETINET_IP_ICMP_H
16068 #include <netinet/ip_icmp.h>
16069 #endif
16070 #ifdef HAVE_NETINET_ICMP_VAR_H
16071 #include <netinet/icmp_var.h>
16072 #endif
16074 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16076 cat >>confdefs.h <<_ACEOF
16077 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16078 _ACEOF
16084 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16085 #include <sys/types.h>
16086 #endif
16087 #ifdef HAVE_ALIAS_H
16088 #include <alias.h>
16089 #endif
16090 #ifdef HAVE_SYS_SOCKET_H
16091 #include <sys/socket.h>
16092 #endif
16093 #ifdef HAVE_SYS_SOCKETVAR_H
16094 #include <sys/socketvar.h>
16095 #endif
16096 #ifdef HAVE_SYS_TIMEOUT_H
16097 #include <sys/timeout.h>
16098 #endif
16099 #ifdef HAVE_NETINET_IN_H
16100 #include <netinet/in.h>
16101 #endif
16102 #ifdef HAVE_NETINET_IN_SYSTM_H
16103 #include <netinet/in_systm.h>
16104 #endif
16105 #ifdef HAVE_NETINET_IP_H
16106 #include <netinet/ip.h>
16107 #endif
16108 #ifdef HAVE_NETINET_IP_VAR_H
16109 #include <netinet/ip_var.h>
16110 #endif
16111 #ifdef HAVE_NETINET_IP_ICMP_H
16112 #include <netinet/ip_icmp.h>
16113 #endif
16114 #ifdef HAVE_NETINET_ICMP_VAR_H
16115 #include <netinet/icmp_var.h>
16116 #endif
16118 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16120 cat >>confdefs.h <<_ACEOF
16121 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16122 _ACEOF
16128 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16129 #include <sys/types.h>
16130 #endif
16131 #ifdef HAVE_SYS_SOCKETVAR_H
16132 #include <sys/socketvar.h>
16133 #endif
16134 #ifdef HAVE_NETINET_IN_H
16135 #include <netinet/in.h>
16136 #endif
16137 #ifdef HAVE_NETINET_IP_VAR_H
16138 #include <netinet/ip_var.h>
16139 #endif
16141 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16143 cat >>confdefs.h <<_ACEOF
16144 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16145 _ACEOF
16151 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
16152 #include <netinet/ip_var.h>
16153 #endif
16155 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16157 cat >>confdefs.h <<_ACEOF
16158 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16159 _ACEOF
16165 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16166 #include <sys/types.h>
16167 #endif
16168 #ifdef HAVE_SYS_SOCKETVAR_H
16169 #include <sys/socketvar.h>
16170 #endif
16171 #ifdef HAVE_NETINET_IN_H
16172 #include <netinet/in.h>
16173 #endif
16174 #ifdef HAVE_NETINET_TCP_H
16175 #include <netinet/tcp.h>
16176 #endif
16177 #ifdef HAVE_NETINET_TCP_VAR_H
16178 #include <netinet/tcp_var.h>
16179 #endif
16181 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16183 cat >>confdefs.h <<_ACEOF
16184 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16185 _ACEOF
16191 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
16192 #include <netinet/tcp_var.h>
16193 #endif
16195 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16197 cat >>confdefs.h <<_ACEOF
16198 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16199 _ACEOF
16205 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16206 #include <sys/types.h>
16207 #endif
16208 #ifdef HAVE_NETINET_IN_H
16209 #include <netinet/in.h>
16210 #endif
16211 #ifdef HAVE_NETINET_IP_VAR_H
16212 #include <netinet/ip_var.h>
16213 #endif
16214 #ifdef HAVE_NETINET_UDP_H
16215 #include <netinet/udp.h>
16216 #endif
16217 #ifdef HAVE_NETINET_UDP_VAR_H
16218 #include <netinet/udp_var.h>
16219 #endif
16221 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16223 cat >>confdefs.h <<_ACEOF
16224 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16225 _ACEOF
16231 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16232 #include <sys/types.h>
16233 #endif
16234 #ifdef HAVE_NET_IF_H
16235 # include <net/if.h>
16236 #endif
16238 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16240 cat >>confdefs.h <<_ACEOF
16241 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16242 _ACEOF
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16249 $as_echo_n "checking for timezone variable... " >&6; }
16250 if ${ac_cv_have_timezone+:} false; then :
16251 $as_echo_n "(cached) " >&6
16252 else
16253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16254 /* end confdefs.h. */
16255 #include <time.h>
16257 main ()
16259 timezone = 1
16261 return 0;
16263 _ACEOF
16264 if ac_fn_c_try_link "$LINENO"; then :
16265 ac_cv_have_timezone="yes"
16266 else
16267 ac_cv_have_timezone="no"
16269 rm -f core conftest.err conftest.$ac_objext \
16270 conftest$ac_exeext conftest.$ac_ext
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16273 $as_echo "$ac_cv_have_timezone" >&6; }
16274 if test "$ac_cv_have_timezone" = "yes"
16275 then
16277 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16281 $as_echo_n "checking for daylight variable... " >&6; }
16282 if ${ac_cv_have_daylight+:} false; then :
16283 $as_echo_n "(cached) " >&6
16284 else
16285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16286 /* end confdefs.h. */
16287 #include <time.h>
16289 main ()
16291 daylight = 1
16293 return 0;
16295 _ACEOF
16296 if ac_fn_c_try_link "$LINENO"; then :
16297 ac_cv_have_daylight="yes"
16298 else
16299 ac_cv_have_daylight="no"
16301 rm -f core conftest.err conftest.$ac_objext \
16302 conftest$ac_exeext conftest.$ac_ext
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16305 $as_echo "$ac_cv_have_daylight" >&6; }
16306 if test "$ac_cv_have_daylight" = "yes"
16307 then
16309 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16313 ac_save_LIBS="$LIBS"
16314 LIBS="$LIBS -lm"
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16316 $as_echo_n "checking for isfinite... " >&6; }
16317 if ${ac_cv_have_isfinite+:} false; then :
16318 $as_echo_n "(cached) " >&6
16319 else
16320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16321 /* end confdefs.h. */
16322 #define _GNU_SOURCE
16323 #include <math.h>
16325 main ()
16327 float f = 0.0; return isfinite(f)
16329 return 0;
16331 _ACEOF
16332 if ac_fn_c_try_link "$LINENO"; then :
16333 ac_cv_have_isfinite="yes"
16334 else
16335 ac_cv_have_isfinite="no"
16337 rm -f core conftest.err conftest.$ac_objext \
16338 conftest$ac_exeext conftest.$ac_ext
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16341 $as_echo "$ac_cv_have_isfinite" >&6; }
16342 if test "$ac_cv_have_isfinite" = "yes"
16343 then
16345 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16350 $as_echo_n "checking for isinf... " >&6; }
16351 if ${ac_cv_have_isinf+:} false; then :
16352 $as_echo_n "(cached) " >&6
16353 else
16354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16355 /* end confdefs.h. */
16356 #include <math.h>
16358 main ()
16360 float f = 0.0; return isinf(f)
16362 return 0;
16364 _ACEOF
16365 if ac_fn_c_try_link "$LINENO"; then :
16366 ac_cv_have_isinf="yes"
16367 else
16368 ac_cv_have_isinf="no"
16370 rm -f core conftest.err conftest.$ac_objext \
16371 conftest$ac_exeext conftest.$ac_ext
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16374 $as_echo "$ac_cv_have_isinf" >&6; }
16375 if test "$ac_cv_have_isinf" = "yes"
16376 then
16378 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16383 $as_echo_n "checking for isnan... " >&6; }
16384 if ${ac_cv_have_isnan+:} false; then :
16385 $as_echo_n "(cached) " >&6
16386 else
16387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16388 /* end confdefs.h. */
16389 #include <math.h>
16391 main ()
16393 float f = 0.0; return isnan(f)
16395 return 0;
16397 _ACEOF
16398 if ac_fn_c_try_link "$LINENO"; then :
16399 ac_cv_have_isnan="yes"
16400 else
16401 ac_cv_have_isnan="no"
16403 rm -f core conftest.err conftest.$ac_objext \
16404 conftest$ac_exeext conftest.$ac_ext
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16407 $as_echo "$ac_cv_have_isnan" >&6; }
16408 if test "$ac_cv_have_isnan" = "yes"
16409 then
16411 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16415 for ac_func in \
16416 cbrt \
16417 cbrtf \
16418 exp2 \
16419 exp2f \
16420 llrint \
16421 llrintf \
16422 llround \
16423 llroundf \
16424 log2 \
16425 log2f \
16426 lrint \
16427 lrintf \
16428 lround \
16429 lroundf \
16430 rint \
16431 rintf \
16432 round \
16433 roundf \
16434 trunc \
16435 truncf
16437 do :
16438 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16439 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16440 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16441 cat >>confdefs.h <<_ACEOF
16442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16443 _ACEOF
16446 done
16448 LIBS="$ac_save_LIBS"
16451 case $host_cpu in
16452 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16453 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16454 if ${ac_cv_cpp_def___i386__+:} false; then :
16455 $as_echo_n "(cached) " >&6
16456 else
16457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16459 #ifndef __i386__
16461 #endif
16462 _ACEOF
16463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16464 $EGREP "yes" >/dev/null 2>&1; then :
16465 ac_cv_cpp_def___i386__=yes
16466 else
16467 ac_cv_cpp_def___i386__=no
16469 rm -f conftest*
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16473 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16474 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16475 CFLAGS="$CFLAGS -D__i386__"
16476 LINTFLAGS="$LINTFLAGS -D__i386__"
16477 fi ;;
16478 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16479 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16480 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16481 $as_echo_n "(cached) " >&6
16482 else
16483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16484 /* end confdefs.h. */
16485 #ifndef __x86_64__
16487 #endif
16488 _ACEOF
16489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16490 $EGREP "yes" >/dev/null 2>&1; then :
16491 ac_cv_cpp_def___x86_64__=yes
16492 else
16493 ac_cv_cpp_def___x86_64__=no
16495 rm -f conftest*
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16499 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16500 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16501 CFLAGS="$CFLAGS -D__x86_64__"
16502 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16503 fi ;;
16504 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16505 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16506 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16507 $as_echo_n "(cached) " >&6
16508 else
16509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16510 /* end confdefs.h. */
16511 #ifndef __sparc64__
16513 #endif
16514 _ACEOF
16515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16516 $EGREP "yes" >/dev/null 2>&1; then :
16517 ac_cv_cpp_def___sparc64__=yes
16518 else
16519 ac_cv_cpp_def___sparc64__=no
16521 rm -f conftest*
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16525 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16526 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16527 CFLAGS="$CFLAGS -D__sparc64__"
16528 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16529 fi ;;
16530 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16531 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16532 if ${ac_cv_cpp_def___sparc__+:} false; then :
16533 $as_echo_n "(cached) " >&6
16534 else
16535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16536 /* end confdefs.h. */
16537 #ifndef __sparc__
16539 #endif
16540 _ACEOF
16541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16542 $EGREP "yes" >/dev/null 2>&1; then :
16543 ac_cv_cpp_def___sparc__=yes
16544 else
16545 ac_cv_cpp_def___sparc__=no
16547 rm -f conftest*
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16551 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16552 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16553 CFLAGS="$CFLAGS -D__sparc__"
16554 LINTFLAGS="$LINTFLAGS -D__sparc__"
16555 fi ;;
16556 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16557 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16558 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16559 $as_echo_n "(cached) " >&6
16560 else
16561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16562 /* end confdefs.h. */
16563 #ifndef __powerpc64__
16565 #endif
16566 _ACEOF
16567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16568 $EGREP "yes" >/dev/null 2>&1; then :
16569 ac_cv_cpp_def___powerpc64__=yes
16570 else
16571 ac_cv_cpp_def___powerpc64__=no
16573 rm -f conftest*
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16577 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16578 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16579 CFLAGS="$CFLAGS -D__powerpc64__"
16580 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16581 fi ;;
16582 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16583 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16584 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16585 $as_echo_n "(cached) " >&6
16586 else
16587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16588 /* end confdefs.h. */
16589 #ifndef __powerpc__
16591 #endif
16592 _ACEOF
16593 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16594 $EGREP "yes" >/dev/null 2>&1; then :
16595 ac_cv_cpp_def___powerpc__=yes
16596 else
16597 ac_cv_cpp_def___powerpc__=no
16599 rm -f conftest*
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16603 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16604 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16605 CFLAGS="$CFLAGS -D__powerpc__"
16606 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16607 fi ;;
16608 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16609 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16610 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16611 $as_echo_n "(cached) " >&6
16612 else
16613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16614 /* end confdefs.h. */
16615 #ifndef __aarch64__
16617 #endif
16618 _ACEOF
16619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16620 $EGREP "yes" >/dev/null 2>&1; then :
16621 ac_cv_cpp_def___aarch64__=yes
16622 else
16623 ac_cv_cpp_def___aarch64__=no
16625 rm -f conftest*
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16629 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16630 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16631 CFLAGS="$CFLAGS -D__aarch64__"
16632 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16633 fi ;;
16634 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16635 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16636 if ${ac_cv_cpp_def___arm__+:} false; then :
16637 $as_echo_n "(cached) " >&6
16638 else
16639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16640 /* end confdefs.h. */
16641 #ifndef __arm__
16643 #endif
16644 _ACEOF
16645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16646 $EGREP "yes" >/dev/null 2>&1; then :
16647 ac_cv_cpp_def___arm__=yes
16648 else
16649 ac_cv_cpp_def___arm__=no
16651 rm -f conftest*
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16655 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16656 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16657 CFLAGS="$CFLAGS -D__arm__"
16658 LINTFLAGS="$LINTFLAGS -D__arm__"
16659 fi ;;
16660 esac
16662 case $host_vendor in
16663 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16664 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16665 if ${ac_cv_cpp_def___sun__+:} false; then :
16666 $as_echo_n "(cached) " >&6
16667 else
16668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16669 /* end confdefs.h. */
16670 #ifndef __sun__
16672 #endif
16673 _ACEOF
16674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16675 $EGREP "yes" >/dev/null 2>&1; then :
16676 ac_cv_cpp_def___sun__=yes
16677 else
16678 ac_cv_cpp_def___sun__=no
16680 rm -f conftest*
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16684 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16685 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16686 CFLAGS="$CFLAGS -D__sun__"
16687 LINTFLAGS="$LINTFLAGS -D__sun__"
16688 fi ;;
16689 esac
16695 ac_config_commands="$ac_config_commands include/stamp-h"
16697 $as_echo_n "creating Makefile rules..." >&6
16699 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16700 SOCKET_LIBS = $SOCKET_LIBS
16701 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16702 IOKIT_LIBS = $IOKIT_LIBS
16703 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16704 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16705 CORESERVICES_LIBS = $CORESERVICES_LIBS
16706 APPKIT_LIBS = $APPKIT_LIBS
16707 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16708 SECURITY_LIBS = $SECURITY_LIBS
16709 COREAUDIO_LIBS = $COREAUDIO_LIBS
16710 OPENAL_LIBS = $OPENAL_LIBS
16711 OPENCL_LIBS = $OPENCL_LIBS
16712 QUICKTIME_LIBS = $QUICKTIME_LIBS
16713 CARBON_LIBS = $CARBON_LIBS
16714 PTHREAD_LIBS = $PTHREAD_LIBS
16715 X_CFLAGS = $X_CFLAGS
16716 X_PRE_LIBS = $X_PRE_LIBS
16717 X_LIBS = $X_LIBS
16718 X_EXTRA_LIBS = $X_EXTRA_LIBS
16719 XML2_CFLAGS = $XML2_CFLAGS
16720 XML2_LIBS = $XML2_LIBS
16721 XSLT_CFLAGS = $XSLT_CFLAGS
16722 XSLT_LIBS = $XSLT_LIBS
16723 DBUS_CFLAGS = $DBUS_CFLAGS
16724 DBUS_LIBS = $DBUS_LIBS
16725 HAL_CFLAGS = $HAL_CFLAGS
16726 HAL_LIBS = $HAL_LIBS
16727 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16728 GNUTLS_LIBS = $GNUTLS_LIBS
16729 SANE_CFLAGS = $SANE_CFLAGS
16730 SANE_LIBS = $SANE_LIBS
16731 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16732 GPHOTO2_LIBS = $GPHOTO2_LIBS
16733 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16734 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16735 RESOLV_LIBS = $RESOLV_LIBS
16736 LCMS2_CFLAGS = $LCMS2_CFLAGS
16737 LCMS2_LIBS = $LCMS2_LIBS
16738 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16739 FREETYPE_LIBS = $FREETYPE_LIBS
16740 Z_LIBS = $Z_LIBS
16741 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16742 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16743 GSTREAMER_LIBS = $GSTREAMER_LIBS
16744 ALSA_LIBS = $ALSA_LIBS
16745 OSS4_CFLAGS = $OSS4_CFLAGS
16746 CAPI20_CFLAGS = $CAPI20_CFLAGS
16747 CAPI20_LIBS = $CAPI20_LIBS
16748 CUPS_CFLAGS = $CUPS_CFLAGS
16749 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16750 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16751 JPEG_CFLAGS = $JPEG_CFLAGS
16752 JPEG_LIBS = $JPEG_LIBS
16753 PNG_CFLAGS = $PNG_CFLAGS
16754 PNG_LIBS = $PNG_LIBS
16755 TIFF_CFLAGS = $TIFF_CFLAGS
16756 TIFF_LIBS = $TIFF_LIBS
16757 MPG123_CFLAGS = $MPG123_CFLAGS
16758 MPG123_LIBS = $MPG123_LIBS
16759 KSTAT_LIBS = $KSTAT_LIBS
16760 PROCSTAT_LIBS = $PROCSTAT_LIBS
16761 DL_LIBS = $DL_LIBS
16762 POLL_LIBS = $POLL_LIBS
16763 RT_LIBS = $RT_LIBS
16764 LDAP_LIBS = $LDAP_LIBS
16769 wine_fn_append_rule "
16770 # Rules automatically generated by configure
16772 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16774 .INIT: Makefile
16775 .MAKEFILEDEPS:
16776 all: Makefile
16777 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16778 @./config.status Make.tmp Makefile"
16780 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16781 .gitignore: config.status
16782 @./config.status .gitignore"
16784 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16785 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16787 if test "x$enable_fonts" != xno; then
16788 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16789 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16790 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16791 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16792 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16794 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16795 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16796 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16797 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16798 ac_config_links="$ac_config_links wine:tools/winewrapper"
16799 wine_fn_config_symlink wine
16800 if test "x$enable_win64" != xno; then
16801 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16802 wine_fn_config_symlink wine64
16805 wine_fn_config_dll acledit enable_acledit
16806 wine_fn_config_dll aclui enable_aclui implib
16807 wine_fn_config_dll activeds enable_activeds implib
16808 wine_fn_config_dll actxprxy enable_actxprxy clean
16809 wine_fn_config_lib adsiid
16810 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16811 wine_fn_config_test dlls/advapi32/tests advapi32_test
16812 wine_fn_config_dll advpack enable_advpack implib
16813 wine_fn_config_test dlls/advpack/tests advpack_test
16814 wine_fn_config_dll amstream enable_amstream clean
16815 wine_fn_config_test dlls/amstream/tests amstream_test
16816 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16817 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16818 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16819 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16820 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16821 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16822 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16823 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16824 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16825 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16826 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16827 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16828 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16829 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16830 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16831 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16832 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16833 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16834 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16835 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16836 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16837 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16838 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16839 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16840 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16841 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16842 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16843 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16844 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16845 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16846 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16847 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16848 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16849 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16850 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16851 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16852 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16853 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16854 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16855 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16856 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16857 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16858 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16859 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
16860 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16861 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16862 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
16863 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16864 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16865 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16866 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16867 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16868 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16869 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16870 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16871 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16872 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16873 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16874 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16875 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16876 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16877 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16878 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16879 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16880 wine_fn_config_dll apphelp enable_apphelp
16881 wine_fn_config_test dlls/apphelp/tests apphelp_test
16882 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16883 wine_fn_config_dll atl enable_atl clean,implib
16884 wine_fn_config_test dlls/atl/tests atl_test
16885 wine_fn_config_dll atl100 enable_atl100 clean,implib
16886 wine_fn_config_test dlls/atl100/tests atl100_test
16887 wine_fn_config_dll atl110 enable_atl110 clean
16888 wine_fn_config_dll atl80 enable_atl80 clean,implib
16889 wine_fn_config_test dlls/atl80/tests atl80_test
16890 wine_fn_config_dll atl90 enable_atl90 clean
16891 wine_fn_config_dll authz enable_authz
16892 wine_fn_config_dll avicap32 enable_avicap32 implib
16893 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16894 wine_fn_config_test dlls/avifil32/tests avifil32_test
16895 wine_fn_config_dll avifile.dll16 enable_win16
16896 wine_fn_config_dll avrt enable_avrt implib
16897 wine_fn_config_dll bcrypt enable_bcrypt
16898 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16899 wine_fn_config_dll browseui enable_browseui clean,po
16900 wine_fn_config_test dlls/browseui/tests browseui_test
16901 wine_fn_config_dll cabinet enable_cabinet implib
16902 wine_fn_config_test dlls/cabinet/tests cabinet_test
16903 wine_fn_config_dll capi2032 enable_capi2032 implib
16904 wine_fn_config_dll cards enable_cards implib
16905 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16906 wine_fn_config_dll clusapi enable_clusapi implib
16907 wine_fn_config_dll combase enable_combase
16908 wine_fn_config_dll comcat enable_comcat
16909 wine_fn_config_test dlls/comcat/tests comcat_test
16910 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16911 wine_fn_config_test dlls/comctl32/tests comctl32_test
16912 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16913 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16914 wine_fn_config_dll comm.drv16 enable_win16
16915 wine_fn_config_dll commdlg.dll16 enable_win16
16916 wine_fn_config_dll compobj.dll16 enable_win16
16917 wine_fn_config_dll compstui enable_compstui implib
16918 wine_fn_config_dll comsvcs enable_comsvcs implib
16919 wine_fn_config_dll credui enable_credui implib,po
16920 wine_fn_config_test dlls/credui/tests credui_test
16921 wine_fn_config_dll crtdll enable_crtdll implib
16922 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16923 wine_fn_config_test dlls/crypt32/tests crypt32_test
16924 wine_fn_config_dll cryptdlg enable_cryptdlg po
16925 wine_fn_config_dll cryptdll enable_cryptdll implib
16926 wine_fn_config_dll cryptext enable_cryptext
16927 wine_fn_config_dll cryptnet enable_cryptnet implib
16928 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16929 wine_fn_config_dll cryptui enable_cryptui implib,po
16930 wine_fn_config_test dlls/cryptui/tests cryptui_test
16931 wine_fn_config_dll ctapi32 enable_ctapi32
16932 wine_fn_config_dll ctl3d.dll16 enable_win16
16933 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16934 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16935 wine_fn_config_dll d2d1 enable_d2d1 implib
16936 wine_fn_config_test dlls/d2d1/tests d2d1_test
16937 wine_fn_config_dll d3d10 enable_d3d10 implib
16938 wine_fn_config_test dlls/d3d10/tests d3d10_test
16939 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16940 wine_fn_config_dll d3d10core enable_d3d10core implib
16941 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16942 wine_fn_config_dll d3d11 enable_d3d11
16943 wine_fn_config_dll d3d8 enable_d3d8 implib
16944 wine_fn_config_test dlls/d3d8/tests d3d8_test
16945 wine_fn_config_dll d3d9 enable_d3d9 implib
16946 wine_fn_config_test dlls/d3d9/tests d3d9_test
16947 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16948 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16949 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16950 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16951 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16952 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16953 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16954 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16955 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16956 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16957 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16958 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16959 wine_fn_config_dll d3dim enable_d3dim implib
16960 wine_fn_config_dll d3drm enable_d3drm implib
16961 wine_fn_config_test dlls/d3drm/tests d3drm_test
16962 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16963 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16964 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16965 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16966 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16967 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16968 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16969 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16970 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16971 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16972 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16973 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16974 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16975 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16976 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16977 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16978 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16979 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16980 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16981 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16982 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16983 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16984 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16985 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16986 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16987 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16988 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16989 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16990 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16991 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16992 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16993 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16994 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16995 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16996 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16997 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16998 wine_fn_config_dll dbgeng enable_dbgeng implib
16999 wine_fn_config_dll dbghelp enable_dbghelp implib
17000 wine_fn_config_dll dciman32 enable_dciman32 implib
17001 wine_fn_config_dll ddeml.dll16 enable_win16
17002 wine_fn_config_dll ddraw enable_ddraw clean,implib
17003 wine_fn_config_test dlls/ddraw/tests ddraw_test
17004 wine_fn_config_dll ddrawex enable_ddrawex clean
17005 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17006 wine_fn_config_dll devenum enable_devenum clean,po
17007 wine_fn_config_test dlls/devenum/tests devenum_test
17008 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17009 wine_fn_config_dll difxapi enable_difxapi
17010 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17011 wine_fn_config_test dlls/dinput/tests dinput_test
17012 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17013 wine_fn_config_test dlls/dinput8/tests dinput8_test
17014 wine_fn_config_dll dispdib.dll16 enable_win16
17015 wine_fn_config_dll dispex enable_dispex clean
17016 wine_fn_config_test dlls/dispex/tests dispex_test
17017 wine_fn_config_dll display.drv16 enable_win16
17018 wine_fn_config_dll dmband enable_dmband clean
17019 wine_fn_config_test dlls/dmband/tests dmband_test
17020 wine_fn_config_dll dmcompos enable_dmcompos clean
17021 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17022 wine_fn_config_dll dmime enable_dmime clean
17023 wine_fn_config_test dlls/dmime/tests dmime_test
17024 wine_fn_config_dll dmloader enable_dmloader clean
17025 wine_fn_config_test dlls/dmloader/tests dmloader_test
17026 wine_fn_config_dll dmscript enable_dmscript clean
17027 wine_fn_config_test dlls/dmscript/tests dmscript_test
17028 wine_fn_config_dll dmstyle enable_dmstyle clean
17029 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17030 wine_fn_config_dll dmsynth enable_dmsynth clean
17031 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17032 wine_fn_config_dll dmusic enable_dmusic clean
17033 wine_fn_config_test dlls/dmusic/tests dmusic_test
17034 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17035 wine_fn_config_dll dnsapi enable_dnsapi implib
17036 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17037 wine_fn_config_dll dplay enable_dplay implib
17038 wine_fn_config_dll dplayx enable_dplayx clean,implib
17039 wine_fn_config_test dlls/dplayx/tests dplayx_test
17040 wine_fn_config_dll dpnaddr enable_dpnaddr
17041 wine_fn_config_dll dpnet enable_dpnet clean,implib
17042 wine_fn_config_test dlls/dpnet/tests dpnet_test
17043 wine_fn_config_dll dpnhpast enable_dpnhpast
17044 wine_fn_config_dll dpnlobby enable_dpnlobby
17045 wine_fn_config_dll dpvoice enable_dpvoice clean
17046 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17047 wine_fn_config_dll dpwsockx enable_dpwsockx
17048 wine_fn_config_dll drmclien enable_drmclien
17049 wine_fn_config_dll dsound enable_dsound clean,implib
17050 wine_fn_config_test dlls/dsound/tests dsound_test
17051 wine_fn_config_dll dssenh enable_dssenh
17052 wine_fn_config_test dlls/dssenh/tests dssenh_test
17053 wine_fn_config_dll dswave enable_dswave clean
17054 wine_fn_config_test dlls/dswave/tests dswave_test
17055 wine_fn_config_dll dwmapi enable_dwmapi implib
17056 wine_fn_config_dll dwrite enable_dwrite implib
17057 wine_fn_config_test dlls/dwrite/tests dwrite_test
17058 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17059 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17060 wine_fn_config_lib dxerr8
17061 wine_fn_config_lib dxerr9
17062 wine_fn_config_dll dxgi enable_dxgi implib
17063 wine_fn_config_test dlls/dxgi/tests dxgi_test
17064 wine_fn_config_lib dxguid
17065 wine_fn_config_dll dxva2 enable_dxva2
17066 wine_fn_config_dll explorerframe enable_explorerframe clean
17067 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17068 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17069 wine_fn_config_dll faultrep enable_faultrep implib
17070 wine_fn_config_test dlls/faultrep/tests faultrep_test
17071 wine_fn_config_dll fltlib enable_fltlib
17072 wine_fn_config_dll fntcache enable_fntcache
17073 wine_fn_config_dll fontsub enable_fontsub
17074 wine_fn_config_dll fusion enable_fusion
17075 wine_fn_config_test dlls/fusion/tests fusion_test
17076 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17077 wine_fn_config_dll gameux enable_gameux clean
17078 wine_fn_config_test dlls/gameux/tests gameux_test
17079 wine_fn_config_dll gdi.exe16 enable_win16
17080 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17081 wine_fn_config_test dlls/gdi32/tests gdi32_test
17082 wine_fn_config_dll gdiplus enable_gdiplus implib
17083 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17084 wine_fn_config_dll glu32 enable_glu32 implib
17085 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17086 wine_fn_config_dll gpkcsp enable_gpkcsp
17087 wine_fn_config_dll hal enable_hal
17088 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17089 wine_fn_config_dll hid enable_hid implib
17090 wine_fn_config_dll hlink enable_hlink clean,implib
17091 wine_fn_config_test dlls/hlink/tests hlink_test
17092 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17093 wine_fn_config_dll httpapi enable_httpapi
17094 wine_fn_config_dll iccvid enable_iccvid po
17095 wine_fn_config_dll icmp enable_icmp
17096 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17097 wine_fn_config_test dlls/ieframe/tests ieframe_test
17098 wine_fn_config_dll ifsmgr.vxd enable_win16
17099 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17100 wine_fn_config_dll imagehlp enable_imagehlp implib
17101 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17102 wine_fn_config_dll imm.dll16 enable_win16
17103 wine_fn_config_dll imm32 enable_imm32 implib
17104 wine_fn_config_test dlls/imm32/tests imm32_test
17105 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17106 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17107 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17108 wine_fn_config_dll inetmib1 enable_inetmib1
17109 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17110 wine_fn_config_dll infosoft enable_infosoft clean
17111 wine_fn_config_test dlls/infosoft/tests infosoft_test
17112 wine_fn_config_dll initpki enable_initpki
17113 wine_fn_config_dll inkobj enable_inkobj
17114 wine_fn_config_dll inseng enable_inseng clean
17115 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17116 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17117 wine_fn_config_dll itircl enable_itircl
17118 wine_fn_config_dll itss enable_itss clean
17119 wine_fn_config_test dlls/itss/tests itss_test
17120 wine_fn_config_dll joy.cpl enable_joy_cpl po
17121 wine_fn_config_dll jscript enable_jscript clean,po
17122 wine_fn_config_test dlls/jscript/tests jscript_test
17123 wine_fn_config_dll jsproxy enable_jsproxy implib
17124 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17125 wine_fn_config_test dlls/kernel32/tests kernel32_test
17126 wine_fn_config_dll keyboard.drv16 enable_win16
17127 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17128 wine_fn_config_dll ksuser enable_ksuser
17129 wine_fn_config_dll ktmw32 enable_ktmw32
17130 wine_fn_config_dll loadperf enable_loadperf implib
17131 wine_fn_config_dll localspl enable_localspl po
17132 wine_fn_config_test dlls/localspl/tests localspl_test
17133 wine_fn_config_dll localui enable_localui po
17134 wine_fn_config_test dlls/localui/tests localui_test
17135 wine_fn_config_dll lz32 enable_lz32 implib
17136 wine_fn_config_test dlls/lz32/tests lz32_test
17137 wine_fn_config_dll lzexpand.dll16 enable_win16
17138 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17139 wine_fn_config_test dlls/mapi32/tests mapi32_test
17140 wine_fn_config_dll mapistub enable_mapistub
17141 wine_fn_config_dll mciavi32 enable_mciavi32
17142 wine_fn_config_dll mcicda enable_mcicda
17143 wine_fn_config_dll mciqtz32 enable_mciqtz32
17144 wine_fn_config_dll mciseq enable_mciseq
17145 wine_fn_config_dll mciwave enable_mciwave
17146 wine_fn_config_dll mgmtapi enable_mgmtapi
17147 wine_fn_config_dll midimap enable_midimap
17148 wine_fn_config_dll mlang enable_mlang clean,implib
17149 wine_fn_config_test dlls/mlang/tests mlang_test
17150 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17151 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17152 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17153 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17154 wine_fn_config_dll mmdevldr.vxd enable_win16
17155 wine_fn_config_dll mmsystem.dll16 enable_win16
17156 wine_fn_config_dll monodebg.vxd enable_win16
17157 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17158 wine_fn_config_dll mouse.drv16 enable_win16
17159 wine_fn_config_dll mpr enable_mpr implib,po
17160 wine_fn_config_test dlls/mpr/tests mpr_test
17161 wine_fn_config_dll mprapi enable_mprapi implib
17162 wine_fn_config_dll msacm.dll16 enable_win16
17163 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17164 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17165 wine_fn_config_test dlls/msacm32/tests msacm32_test
17166 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17167 wine_fn_config_dll msasn1 enable_msasn1 implib
17168 wine_fn_config_dll mscat32 enable_mscat32
17169 wine_fn_config_dll mscms enable_mscms implib
17170 wine_fn_config_test dlls/mscms/tests mscms_test
17171 wine_fn_config_dll mscoree enable_mscoree clean
17172 wine_fn_config_test dlls/mscoree/tests mscoree_test
17173 wine_fn_config_dll msctf enable_msctf clean
17174 wine_fn_config_test dlls/msctf/tests msctf_test
17175 wine_fn_config_dll msdaps enable_msdaps clean
17176 wine_fn_config_dll msdmo enable_msdmo implib
17177 wine_fn_config_dll msftedit enable_msftedit
17178 wine_fn_config_dll msg711.acm enable_msg711_acm
17179 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17180 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17181 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17182 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17183 wine_fn_config_dll msi enable_msi clean,implib,po
17184 wine_fn_config_test dlls/msi/tests msi_test
17185 wine_fn_config_dll msident enable_msident clean
17186 wine_fn_config_dll msimg32 enable_msimg32 implib
17187 wine_fn_config_dll msimsg enable_msimsg
17188 wine_fn_config_dll msimtf enable_msimtf clean
17189 wine_fn_config_dll msisip enable_msisip
17190 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17191 wine_fn_config_dll msls31 enable_msls31
17192 wine_fn_config_dll msnet32 enable_msnet32
17193 wine_fn_config_dll mspatcha enable_mspatcha
17194 wine_fn_config_dll msrle32 enable_msrle32 po
17195 wine_fn_config_test dlls/msrle32/tests msrle32_test
17196 wine_fn_config_dll mssign32 enable_mssign32
17197 wine_fn_config_dll mssip32 enable_mssip32
17198 wine_fn_config_dll mstask enable_mstask clean
17199 wine_fn_config_test dlls/mstask/tests mstask_test
17200 wine_fn_config_dll msvcirt enable_msvcirt
17201 wine_fn_config_dll msvcm80 enable_msvcm80
17202 wine_fn_config_dll msvcm90 enable_msvcm90
17203 wine_fn_config_dll msvcp100 enable_msvcp100
17204 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17205 wine_fn_config_dll msvcp110 enable_msvcp110
17206 wine_fn_config_dll msvcp120 enable_msvcp120
17207 wine_fn_config_dll msvcp60 enable_msvcp60
17208 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17209 wine_fn_config_dll msvcp70 enable_msvcp70
17210 wine_fn_config_dll msvcp71 enable_msvcp71
17211 wine_fn_config_dll msvcp80 enable_msvcp80
17212 wine_fn_config_dll msvcp90 enable_msvcp90
17213 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17214 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17215 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17216 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17217 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17218 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17219 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17220 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17221 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17222 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17223 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17224 wine_fn_config_dll msvcrt enable_msvcrt implib
17225 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17226 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17227 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17228 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17229 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17230 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17231 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17232 wine_fn_config_dll msvidc32 enable_msvidc32 po
17233 wine_fn_config_dll msvideo.dll16 enable_win16
17234 wine_fn_config_dll mswsock enable_mswsock implib
17235 wine_fn_config_dll msxml enable_msxml clean
17236 wine_fn_config_dll msxml2 enable_msxml2 clean
17237 wine_fn_config_dll msxml3 enable_msxml3 clean
17238 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17239 wine_fn_config_dll msxml4 enable_msxml4 clean
17240 wine_fn_config_dll msxml6 enable_msxml6 clean
17241 wine_fn_config_dll nddeapi enable_nddeapi implib
17242 wine_fn_config_dll ndis.sys enable_ndis_sys
17243 wine_fn_config_dll netapi32 enable_netapi32 implib
17244 wine_fn_config_test dlls/netapi32/tests netapi32_test
17245 wine_fn_config_dll netcfgx enable_netcfgx clean
17246 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17247 wine_fn_config_dll netprofm enable_netprofm clean
17248 wine_fn_config_test dlls/netprofm/tests netprofm_test
17249 wine_fn_config_dll newdev enable_newdev implib
17250 wine_fn_config_dll normaliz enable_normaliz implib
17251 wine_fn_config_dll npmshtml enable_npmshtml
17252 wine_fn_config_dll npptools enable_npptools
17253 wine_fn_config_dll ntdll enable_ntdll implib
17254 wine_fn_config_test dlls/ntdll/tests ntdll_test
17255 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17256 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17257 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17258 wine_fn_config_dll ntprint enable_ntprint
17259 wine_fn_config_test dlls/ntprint/tests ntprint_test
17260 wine_fn_config_dll objsel enable_objsel clean
17261 wine_fn_config_dll odbc32 enable_odbc32 implib
17262 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17263 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17264 wine_fn_config_dll odbccu32 enable_odbccu32
17265 wine_fn_config_dll ole2.dll16 enable_win16
17266 wine_fn_config_dll ole2conv.dll16 enable_win16
17267 wine_fn_config_dll ole2disp.dll16 enable_win16
17268 wine_fn_config_dll ole2nls.dll16 enable_win16
17269 wine_fn_config_dll ole2prox.dll16 enable_win16
17270 wine_fn_config_dll ole2thk.dll16 enable_win16
17271 wine_fn_config_dll ole32 enable_ole32 clean,implib
17272 wine_fn_config_test dlls/ole32/tests ole32_test
17273 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17274 wine_fn_config_test dlls/oleacc/tests oleacc_test
17275 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17276 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17277 wine_fn_config_dll olecli.dll16 enable_win16
17278 wine_fn_config_dll olecli32 enable_olecli32 implib
17279 wine_fn_config_dll oledb32 enable_oledb32 clean
17280 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17281 wine_fn_config_dll oledlg enable_oledlg implib,po
17282 wine_fn_config_dll olepro32 enable_olepro32 implib
17283 wine_fn_config_dll olesvr.dll16 enable_win16
17284 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17285 wine_fn_config_dll olethk32 enable_olethk32
17286 wine_fn_config_dll openal32 enable_openal32
17287 wine_fn_config_dll opencl enable_opencl
17288 wine_fn_config_dll opengl32 enable_opengl32 implib
17289 wine_fn_config_test dlls/opengl32/tests opengl32_test
17290 wine_fn_config_dll packager enable_packager clean
17291 wine_fn_config_test dlls/packager/tests packager_test
17292 wine_fn_config_dll pdh enable_pdh implib
17293 wine_fn_config_test dlls/pdh/tests pdh_test
17294 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17295 wine_fn_config_dll pidgen enable_pidgen
17296 wine_fn_config_dll powrprof enable_powrprof implib
17297 wine_fn_config_dll printui enable_printui
17298 wine_fn_config_dll prntvpt enable_prntvpt
17299 wine_fn_config_dll propsys enable_propsys clean,implib
17300 wine_fn_config_test dlls/propsys/tests propsys_test
17301 wine_fn_config_dll psapi enable_psapi implib
17302 wine_fn_config_test dlls/psapi/tests psapi_test
17303 wine_fn_config_dll pstorec enable_pstorec clean
17304 wine_fn_config_dll qcap enable_qcap
17305 wine_fn_config_test dlls/qcap/tests qcap_test
17306 wine_fn_config_dll qedit enable_qedit clean
17307 wine_fn_config_test dlls/qedit/tests qedit_test
17308 wine_fn_config_dll qmgr enable_qmgr clean
17309 wine_fn_config_test dlls/qmgr/tests qmgr_test
17310 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17311 wine_fn_config_dll quartz enable_quartz clean,implib
17312 wine_fn_config_test dlls/quartz/tests quartz_test clean
17313 wine_fn_config_dll query enable_query
17314 wine_fn_config_dll rasapi16.dll16 enable_win16
17315 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17316 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17317 wine_fn_config_dll rasdlg enable_rasdlg implib
17318 wine_fn_config_dll regapi enable_regapi
17319 wine_fn_config_dll resutils enable_resutils implib
17320 wine_fn_config_dll riched20 enable_riched20 implib
17321 wine_fn_config_test dlls/riched20/tests riched20_test
17322 wine_fn_config_dll riched32 enable_riched32
17323 wine_fn_config_test dlls/riched32/tests riched32_test
17324 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17325 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17326 wine_fn_config_dll rsabase enable_rsabase
17327 wine_fn_config_dll rsaenh enable_rsaenh implib
17328 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17329 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17330 wine_fn_config_dll rtutils enable_rtutils implib
17331 wine_fn_config_dll samlib enable_samlib
17332 wine_fn_config_dll sane.ds enable_sane_ds po
17333 wine_fn_config_dll scarddlg enable_scarddlg
17334 wine_fn_config_dll sccbase enable_sccbase
17335 wine_fn_config_dll schannel enable_schannel
17336 wine_fn_config_test dlls/schannel/tests schannel_test
17337 wine_fn_config_dll schedsvc enable_schedsvc clean
17338 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17339 wine_fn_config_dll scrrun enable_scrrun clean
17340 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17341 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17342 wine_fn_config_dll secur32 enable_secur32 implib
17343 wine_fn_config_test dlls/secur32/tests secur32_test
17344 wine_fn_config_dll security enable_security
17345 wine_fn_config_dll sensapi enable_sensapi implib
17346 wine_fn_config_dll serialui enable_serialui implib,po
17347 wine_fn_config_test dlls/serialui/tests serialui_test
17348 wine_fn_config_dll setupapi enable_setupapi implib,po
17349 wine_fn_config_test dlls/setupapi/tests setupapi_test
17350 wine_fn_config_dll setupx.dll16 enable_win16
17351 wine_fn_config_dll sfc enable_sfc implib
17352 wine_fn_config_dll sfc_os enable_sfc_os implib
17353 wine_fn_config_dll shdoclc enable_shdoclc po
17354 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17355 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17356 wine_fn_config_dll shell.dll16 enable_win16
17357 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17358 wine_fn_config_test dlls/shell32/tests shell32_test
17359 wine_fn_config_dll shfolder enable_shfolder implib
17360 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17361 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17362 wine_fn_config_dll slbcsp enable_slbcsp
17363 wine_fn_config_dll slc enable_slc implib
17364 wine_fn_config_dll snmpapi enable_snmpapi implib
17365 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17366 wine_fn_config_dll softpub enable_softpub
17367 wine_fn_config_dll sound.drv16 enable_win16
17368 wine_fn_config_dll spoolss enable_spoolss implib
17369 wine_fn_config_test dlls/spoolss/tests spoolss_test
17370 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17371 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17372 wine_fn_config_dll sti enable_sti clean,implib
17373 wine_fn_config_test dlls/sti/tests sti_test
17374 wine_fn_config_dll storage.dll16 enable_win16
17375 wine_fn_config_dll stress.dll16 enable_win16
17376 wine_fn_config_lib strmbase
17377 wine_fn_config_lib strmiids
17378 wine_fn_config_dll svrapi enable_svrapi
17379 wine_fn_config_dll sxs enable_sxs implib
17380 wine_fn_config_test dlls/sxs/tests sxs_test
17381 wine_fn_config_dll system.drv16 enable_win16
17382 wine_fn_config_dll t2embed enable_t2embed
17383 wine_fn_config_dll tapi32 enable_tapi32 implib
17384 wine_fn_config_dll taskschd enable_taskschd clean
17385 wine_fn_config_test dlls/taskschd/tests taskschd_test
17386 wine_fn_config_dll toolhelp.dll16 enable_win16
17387 wine_fn_config_dll traffic enable_traffic
17388 wine_fn_config_dll twain.dll16 enable_win16
17389 wine_fn_config_dll twain_32 enable_twain_32
17390 wine_fn_config_test dlls/twain_32/tests twain_32_test
17391 wine_fn_config_dll typelib.dll16 enable_win16
17392 wine_fn_config_dll unicows enable_unicows implib
17393 wine_fn_config_dll updspapi enable_updspapi
17394 wine_fn_config_dll url enable_url implib
17395 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17396 wine_fn_config_test dlls/urlmon/tests urlmon_test
17397 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17398 wine_fn_config_dll user.exe16 enable_win16
17399 wine_fn_config_dll user32 enable_user32 clean,implib,po
17400 wine_fn_config_test dlls/user32/tests user32_test
17401 wine_fn_config_dll userenv enable_userenv implib
17402 wine_fn_config_test dlls/userenv/tests userenv_test
17403 wine_fn_config_dll usp10 enable_usp10 implib
17404 wine_fn_config_test dlls/usp10/tests usp10_test
17405 wine_fn_config_lib uuid
17406 wine_fn_config_dll uxtheme enable_uxtheme implib
17407 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17408 wine_fn_config_dll vbscript enable_vbscript clean
17409 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17410 wine_fn_config_dll vcomp enable_vcomp
17411 wine_fn_config_dll vcomp100 enable_vcomp100
17412 wine_fn_config_dll vcomp90 enable_vcomp90
17413 wine_fn_config_dll vdhcp.vxd enable_win16
17414 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17415 wine_fn_config_dll ver.dll16 enable_win16
17416 wine_fn_config_dll version enable_version implib
17417 wine_fn_config_test dlls/version/tests version_test
17418 wine_fn_config_dll vmm.vxd enable_win16
17419 wine_fn_config_dll vnbt.vxd enable_win16
17420 wine_fn_config_dll vnetbios.vxd enable_win16
17421 wine_fn_config_dll vssapi enable_vssapi
17422 wine_fn_config_dll vtdapi.vxd enable_win16
17423 wine_fn_config_dll vwin32.vxd enable_win16
17424 wine_fn_config_dll w32skrnl enable_win16
17425 wine_fn_config_dll w32sys.dll16 enable_win16
17426 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17427 wine_fn_config_dll wbemprox enable_wbemprox clean
17428 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17429 wine_fn_config_dll webservices enable_webservices implib
17430 wine_fn_config_dll wer enable_wer implib
17431 wine_fn_config_test dlls/wer/tests wer_test
17432 wine_fn_config_dll wevtapi enable_wevtapi
17433 wine_fn_config_dll wiaservc enable_wiaservc clean
17434 wine_fn_config_dll win32s16.dll16 enable_win16
17435 wine_fn_config_dll win87em.dll16 enable_win16
17436 wine_fn_config_dll winaspi.dll16 enable_win16
17437 wine_fn_config_dll windebug.dll16 enable_win16
17438 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17439 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17440 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17441 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17442 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17443 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17444 wine_fn_config_lib winecrt0
17445 wine_fn_config_dll wined3d enable_wined3d implib
17446 wine_fn_config_dll winegstreamer enable_winegstreamer
17447 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17448 wine_fn_config_dll winemac.drv enable_winemac_drv
17449 wine_fn_config_dll winemapi enable_winemapi
17450 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17451 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17452 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17453 wine_fn_config_dll wineps16.drv16 enable_win16
17454 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17455 wine_fn_config_dll winex11.drv enable_winex11_drv
17456 wine_fn_config_dll wing.dll16 enable_win16
17457 wine_fn_config_dll wing32 enable_wing32
17458 wine_fn_config_dll winhttp enable_winhttp clean,implib
17459 wine_fn_config_test dlls/winhttp/tests winhttp_test
17460 wine_fn_config_dll wininet enable_wininet implib,po
17461 wine_fn_config_test dlls/wininet/tests wininet_test
17462 wine_fn_config_dll winmm enable_winmm implib,po
17463 wine_fn_config_test dlls/winmm/tests winmm_test
17464 wine_fn_config_dll winnls.dll16 enable_win16
17465 wine_fn_config_dll winnls32 enable_winnls32 implib
17466 wine_fn_config_dll winscard enable_winscard implib
17467 wine_fn_config_dll winsock.dll16 enable_win16
17468 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17469 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17470 wine_fn_config_dll winsta enable_winsta
17471 wine_fn_config_dll wintab.dll16 enable_win16
17472 wine_fn_config_dll wintab32 enable_wintab32 implib
17473 wine_fn_config_test dlls/wintab32/tests wintab32_test
17474 wine_fn_config_dll wintrust enable_wintrust implib
17475 wine_fn_config_test dlls/wintrust/tests wintrust_test
17476 wine_fn_config_dll wlanapi enable_wlanapi
17477 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17478 wine_fn_config_test dlls/wldap32/tests wldap32_test
17479 wine_fn_config_dll wmi enable_wmi
17480 wine_fn_config_dll wmiutils enable_wmiutils clean
17481 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17482 wine_fn_config_dll wmp enable_wmp clean
17483 wine_fn_config_test dlls/wmp/tests wmp_test
17484 wine_fn_config_dll wmvcore enable_wmvcore
17485 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17486 wine_fn_config_dll wow32 enable_win16 implib
17487 wine_fn_config_dll wpcap enable_wpcap
17488 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17489 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17490 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17491 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17492 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17493 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17494 wine_fn_config_dll wsock32 enable_wsock32 implib
17495 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17496 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17497 wine_fn_config_dll wuapi enable_wuapi clean
17498 wine_fn_config_dll wuaueng enable_wuaueng
17499 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17500 wine_fn_config_dll xinput1_1 enable_xinput1_1
17501 wine_fn_config_dll xinput1_2 enable_xinput1_2
17502 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17503 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17504 wine_fn_config_dll xinput1_4 enable_xinput1_4
17505 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17506 wine_fn_config_dll xmllite enable_xmllite implib
17507 wine_fn_config_test dlls/xmllite/tests xmllite_test
17508 wine_fn_config_dll xolehlp enable_xolehlp
17509 wine_fn_config_dll xpsprint enable_xpsprint
17510 wine_fn_config_dll xpssvcs enable_xpssvcs
17511 wine_fn_config_makefile documentation enable_documentation clean
17512 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17513 wine_fn_config_makefile include enable_include clean,install-dev
17514 wine_fn_config_makefile libs/port enable_libs_port
17515 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17516 wine_fn_config_makefile libs/wpp enable_libs_wpp
17517 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17518 wine_fn_config_program arp enable_arp install
17519 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17520 wine_fn_config_program attrib enable_attrib install,po
17521 wine_fn_config_program cabarc enable_cabarc install
17522 wine_fn_config_program cacls enable_cacls install
17523 wine_fn_config_program clock enable_clock install,po
17524 wine_fn_config_program cmd enable_cmd install,po
17525 wine_fn_config_test programs/cmd/tests cmd.exe_test
17526 wine_fn_config_program conhost enable_conhost install
17527 wine_fn_config_program control enable_control install
17528 wine_fn_config_program cscript enable_cscript clean,install
17529 wine_fn_config_program dpnsvr enable_dpnsvr install
17530 wine_fn_config_program dxdiag enable_dxdiag install,po
17531 wine_fn_config_program eject enable_eject install
17532 wine_fn_config_program expand enable_expand install
17533 wine_fn_config_program explorer enable_explorer install,po
17534 wine_fn_config_program extrac32 enable_extrac32 install
17535 wine_fn_config_program findstr enable_findstr install
17536 wine_fn_config_program hh enable_hh install
17537 wine_fn_config_program hostname enable_hostname install,po
17538 wine_fn_config_program icinfo enable_icinfo install
17539 wine_fn_config_program iexplore enable_iexplore install
17540 wine_fn_config_program ipconfig enable_ipconfig install,po
17541 wine_fn_config_program lodctr enable_lodctr install
17542 wine_fn_config_program mofcomp enable_mofcomp install
17543 wine_fn_config_program mshta enable_mshta install
17544 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17545 wine_fn_config_program net enable_net install,po
17546 wine_fn_config_program netsh enable_netsh install
17547 wine_fn_config_program netstat enable_netstat install,po
17548 wine_fn_config_program ngen enable_ngen install
17549 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17550 wine_fn_config_program oleview enable_oleview install,po
17551 wine_fn_config_program ping enable_ping install
17552 wine_fn_config_program plugplay enable_plugplay install
17553 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17554 wine_fn_config_program progman enable_progman install,po
17555 wine_fn_config_program reg enable_reg install,po
17556 wine_fn_config_test programs/reg/tests reg.exe_test
17557 wine_fn_config_program regasm enable_regasm install
17558 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17559 wine_fn_config_test programs/regedit/tests regedit.exe_test
17560 wine_fn_config_program regsvcs enable_regsvcs install
17561 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17562 wine_fn_config_program rpcss enable_rpcss clean,install
17563 wine_fn_config_program rundll.exe16 enable_win16 install
17564 wine_fn_config_program rundll32 enable_rundll32 install
17565 wine_fn_config_program sc enable_sc install
17566 wine_fn_config_program schtasks enable_schtasks install
17567 wine_fn_config_program sdbinst enable_sdbinst install
17568 wine_fn_config_program secedit enable_secedit install
17569 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17570 wine_fn_config_program services enable_services clean,install
17571 wine_fn_config_test programs/services/tests services.exe_test
17572 wine_fn_config_program spoolsv enable_spoolsv install
17573 wine_fn_config_program start enable_start install,po
17574 wine_fn_config_program svchost enable_svchost install
17575 wine_fn_config_program systeminfo enable_systeminfo install
17576 wine_fn_config_program taskkill enable_taskkill install,po
17577 wine_fn_config_program tasklist enable_tasklist install
17578 wine_fn_config_program taskmgr enable_taskmgr install,po
17579 wine_fn_config_program termsv enable_termsv install
17580 wine_fn_config_program uninstaller enable_uninstaller install,po
17581 wine_fn_config_program unlodctr enable_unlodctr install
17582 wine_fn_config_program view enable_view install,po
17583 wine_fn_config_program wevtutil enable_wevtutil install
17584 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17585 wine_fn_config_program winebrowser enable_winebrowser install
17586 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17587 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17588 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17589 wine_fn_config_program winedevice enable_winedevice install
17590 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17591 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17592 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17593 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17594 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17595 wine_fn_config_program winetest enable_winetest clean
17596 wine_fn_config_program winevdm enable_win16 install
17597 wine_fn_config_program winhelp.exe16 enable_win16 install
17598 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17599 wine_fn_config_program winoldap.mod16 enable_win16 install
17600 wine_fn_config_program winver enable_winver install
17601 wine_fn_config_program wmic enable_wmic install,po
17602 wine_fn_config_program wordpad enable_wordpad install,po
17603 wine_fn_config_program write enable_write install,po
17604 wine_fn_config_program wscript enable_wscript clean,install
17605 wine_fn_config_test programs/wscript/tests wscript.exe_test
17606 wine_fn_config_program wusa enable_wusa install
17607 wine_fn_config_program xcopy enable_xcopy install,po
17608 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17609 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17610 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17611 wine_fn_config_tool tools/sfnt2fon clean
17612 wine_fn_config_tool tools/widl clean,install-dev,manpage
17613 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17614 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17615 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17616 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17617 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17619 LINGUAS="\
17620 ar \
17621 bg \
17622 ca \
17623 cs \
17624 da \
17625 de \
17626 el \
17627 en \
17628 en_US \
17629 eo \
17630 es \
17631 fa \
17632 fi \
17633 fr \
17634 he \
17635 hi \
17636 hr \
17637 hu \
17638 it \
17639 ja \
17640 ko \
17641 lt \
17642 ml \
17643 nb_NO \
17644 nl \
17645 or \
17646 pa \
17647 pl \
17648 pt_BR \
17649 pt_PT \
17650 rm \
17651 ro \
17652 ru \
17653 sk \
17654 sl \
17655 sr_RS@cyrillic \
17656 sr_RS@latin \
17657 sv \
17658 te \
17659 th \
17660 tr \
17661 uk \
17662 wa \
17663 zh_CN \
17664 zh_TW"
17669 wine_fn_ignore_file ".gitignore"
17670 wine_fn_ignore_file "Makefile"
17671 wine_fn_ignore_file "TAGS"
17672 wine_fn_ignore_file "tags"
17673 wine_fn_ignore_file "autom4te.cache"
17674 wine_fn_ignore_file "config.cache"
17675 wine_fn_ignore_file "config.log"
17676 wine_fn_ignore_file "config.status"
17677 wine_fn_ignore_file "configure.lineno"
17678 wine_fn_ignore_file "include/config.h"
17679 wine_fn_ignore_file "include/stamp-h"
17680 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17682 if test "x$enable_tools" != xno
17683 then
17684 wine_fn_ignore_file "tools/makedep$ac_exeext"
17685 ac_config_commands="$ac_config_commands tools/makedep"
17689 ac_config_commands="$ac_config_commands Makefile"
17692 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17696 if test "x$enable_maintainer_mode" = xyes
17697 then
17698 wine_fn_append_rule "configure: configure.ac aclocal.m4
17699 autoconf --warnings=all
17700 include/config.h.in: include/stamp-h.in
17701 include/stamp-h.in: configure.ac aclocal.m4
17702 autoheader --warnings=all
17703 @echo timestamp > \$@"
17706 if test "x$with_gettextpo" = xyes
17707 then
17708 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17709 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17710 \$(LINGUAS:%=po/%.po): po/wine.pot
17711 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17712 po/wine.pot: \$(ALL_POT_FILES)
17713 msgcat -o \$@ \$(ALL_POT_FILES)"
17716 if test "$MSGFMT" != false
17717 then
17718 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17719 clean::
17720 \$(RM) \$(LINGUAS:%=po/%.mo)"
17722 posrc="po"
17723 test "$srcdir" = . || posrc="$srcdir/po"
17724 for i in $LINGUAS
17726 wine_fn_ignore_file "po/$i.mo"
17727 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17728 \$(MSGFMT) -o \$@ $posrc/$i.po"
17729 done
17730 else
17731 LINGUAS=
17734 if test "x$enable_tools" != xno
17735 then
17736 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17737 @./config.status tools/makedep
17738 Makefile: tools/makedep$ac_exeext
17739 distclean:: clean
17740 \$(RM) tools/makedep$ac_exeext"
17741 else
17742 wine_fn_append_rule "\$(MAKEDEP):
17743 @echo \"You need to run make in $TOOLSDIR first\" && false"
17746 if test -n "$with_wine64"
17747 then
17748 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17749 fonts server tools:
17750 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17751 $with_wine64/loader/wine:
17752 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17753 $with_wine64/loader/wine-preloader:
17754 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17755 clean::
17756 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17757 else
17758 as_fn_append LOADER_RULES "
17759 install install-lib:: wine.inf install-man-pages
17760 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17761 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17763 uninstall::
17764 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17768 if test "$srcdir" = .
17769 then
17770 ac_config_commands="$ac_config_commands .gitignore"
17774 $as_echo " done" >&6
17775 cat >confcache <<\_ACEOF
17776 # This file is a shell script that caches the results of configure
17777 # tests run on this system so they can be shared between configure
17778 # scripts and configure runs, see configure's option --config-cache.
17779 # It is not useful on other systems. If it contains results you don't
17780 # want to keep, you may remove or edit it.
17782 # config.status only pays attention to the cache file if you give it
17783 # the --recheck option to rerun configure.
17785 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17786 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17787 # following values.
17789 _ACEOF
17791 # The following way of writing the cache mishandles newlines in values,
17792 # but we know of no workaround that is simple, portable, and efficient.
17793 # So, we kill variables containing newlines.
17794 # Ultrix sh set writes to stderr and can't be redirected directly,
17795 # and sets the high bit in the cache file unless we assign to the vars.
17797 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17798 eval ac_val=\$$ac_var
17799 case $ac_val in #(
17800 *${as_nl}*)
17801 case $ac_var in #(
17802 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17803 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17804 esac
17805 case $ac_var in #(
17806 _ | IFS | as_nl) ;; #(
17807 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17808 *) { eval $ac_var=; unset $ac_var;} ;;
17809 esac ;;
17810 esac
17811 done
17813 (set) 2>&1 |
17814 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17815 *${as_nl}ac_space=\ *)
17816 # `set' does not quote correctly, so add quotes: double-quote
17817 # substitution turns \\\\ into \\, and sed turns \\ into \.
17818 sed -n \
17819 "s/'/'\\\\''/g;
17820 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17821 ;; #(
17823 # `set' quotes correctly as required by POSIX, so do not add quotes.
17824 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17826 esac |
17827 sort
17829 sed '
17830 /^ac_cv_env_/b end
17831 t clear
17832 :clear
17833 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17834 t end
17835 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17836 :end' >>confcache
17837 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17838 if test -w "$cache_file"; then
17839 if test "x$cache_file" != "x/dev/null"; then
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17841 $as_echo "$as_me: updating cache $cache_file" >&6;}
17842 if test ! -f "$cache_file" || test -h "$cache_file"; then
17843 cat confcache >"$cache_file"
17844 else
17845 case $cache_file in #(
17846 */* | ?:*)
17847 mv -f confcache "$cache_file"$$ &&
17848 mv -f "$cache_file"$$ "$cache_file" ;; #(
17850 mv -f confcache "$cache_file" ;;
17851 esac
17854 else
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17856 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17859 rm -f confcache
17861 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17862 # Let make expand exec_prefix.
17863 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17865 DEFS=-DHAVE_CONFIG_H
17867 ac_libobjs=
17868 ac_ltlibobjs=
17870 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17871 # 1. Remove the extension, and $U if already installed.
17872 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17873 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17874 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17875 # will be set to the directory where LIBOBJS objects are built.
17876 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17877 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17878 done
17879 LIBOBJS=$ac_libobjs
17881 LTLIBOBJS=$ac_ltlibobjs
17885 : "${CONFIG_STATUS=./config.status}"
17886 ac_write_fail=0
17887 ac_clean_files_save=$ac_clean_files
17888 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17890 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17891 as_write_fail=0
17892 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17893 #! $SHELL
17894 # Generated by $as_me.
17895 # Run this file to recreate the current configuration.
17896 # Compiler output produced by configure, useful for debugging
17897 # configure, is in config.log if it exists.
17899 debug=false
17900 ac_cs_recheck=false
17901 ac_cs_silent=false
17903 SHELL=\${CONFIG_SHELL-$SHELL}
17904 export SHELL
17905 _ASEOF
17906 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17907 ## -------------------- ##
17908 ## M4sh Initialization. ##
17909 ## -------------------- ##
17911 # Be more Bourne compatible
17912 DUALCASE=1; export DUALCASE # for MKS sh
17913 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17914 emulate sh
17915 NULLCMD=:
17916 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17917 # is contrary to our usage. Disable this feature.
17918 alias -g '${1+"$@"}'='"$@"'
17919 setopt NO_GLOB_SUBST
17920 else
17921 case `(set -o) 2>/dev/null` in #(
17922 *posix*) :
17923 set -o posix ;; #(
17924 *) :
17926 esac
17930 as_nl='
17932 export as_nl
17933 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17934 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17935 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17936 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17937 # Prefer a ksh shell builtin over an external printf program on Solaris,
17938 # but without wasting forks for bash or zsh.
17939 if test -z "$BASH_VERSION$ZSH_VERSION" \
17940 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17941 as_echo='print -r --'
17942 as_echo_n='print -rn --'
17943 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17944 as_echo='printf %s\n'
17945 as_echo_n='printf %s'
17946 else
17947 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17948 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17949 as_echo_n='/usr/ucb/echo -n'
17950 else
17951 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17952 as_echo_n_body='eval
17953 arg=$1;
17954 case $arg in #(
17955 *"$as_nl"*)
17956 expr "X$arg" : "X\\(.*\\)$as_nl";
17957 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17958 esac;
17959 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17961 export as_echo_n_body
17962 as_echo_n='sh -c $as_echo_n_body as_echo'
17964 export as_echo_body
17965 as_echo='sh -c $as_echo_body as_echo'
17968 # The user is always right.
17969 if test "${PATH_SEPARATOR+set}" != set; then
17970 PATH_SEPARATOR=:
17971 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17972 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17973 PATH_SEPARATOR=';'
17978 # IFS
17979 # We need space, tab and new line, in precisely that order. Quoting is
17980 # there to prevent editors from complaining about space-tab.
17981 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17982 # splitting by setting IFS to empty value.)
17983 IFS=" "" $as_nl"
17985 # Find who we are. Look in the path if we contain no directory separator.
17986 as_myself=
17987 case $0 in #((
17988 *[\\/]* ) as_myself=$0 ;;
17989 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17990 for as_dir in $PATH
17992 IFS=$as_save_IFS
17993 test -z "$as_dir" && as_dir=.
17994 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17995 done
17996 IFS=$as_save_IFS
17999 esac
18000 # We did not find ourselves, most probably we were run as `sh COMMAND'
18001 # in which case we are not to be found in the path.
18002 if test "x$as_myself" = x; then
18003 as_myself=$0
18005 if test ! -f "$as_myself"; then
18006 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18007 exit 1
18010 # Unset variables that we do not need and which cause bugs (e.g. in
18011 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18012 # suppresses any "Segmentation fault" message there. '((' could
18013 # trigger a bug in pdksh 5.2.14.
18014 for as_var in BASH_ENV ENV MAIL MAILPATH
18015 do eval test x\${$as_var+set} = xset \
18016 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18017 done
18018 PS1='$ '
18019 PS2='> '
18020 PS4='+ '
18022 # NLS nuisances.
18023 LC_ALL=C
18024 export LC_ALL
18025 LANGUAGE=C
18026 export LANGUAGE
18028 # CDPATH.
18029 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18032 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18033 # ----------------------------------------
18034 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18035 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18036 # script with STATUS, using 1 if that was 0.
18037 as_fn_error ()
18039 as_status=$1; test $as_status -eq 0 && as_status=1
18040 if test "$4"; then
18041 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18042 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18044 $as_echo "$as_me: error: $2" >&2
18045 as_fn_exit $as_status
18046 } # as_fn_error
18049 # as_fn_set_status STATUS
18050 # -----------------------
18051 # Set $? to STATUS, without forking.
18052 as_fn_set_status ()
18054 return $1
18055 } # as_fn_set_status
18057 # as_fn_exit STATUS
18058 # -----------------
18059 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18060 as_fn_exit ()
18062 set +e
18063 as_fn_set_status $1
18064 exit $1
18065 } # as_fn_exit
18067 # as_fn_unset VAR
18068 # ---------------
18069 # Portably unset VAR.
18070 as_fn_unset ()
18072 { eval $1=; unset $1;}
18074 as_unset=as_fn_unset
18075 # as_fn_append VAR VALUE
18076 # ----------------------
18077 # Append the text in VALUE to the end of the definition contained in VAR. Take
18078 # advantage of any shell optimizations that allow amortized linear growth over
18079 # repeated appends, instead of the typical quadratic growth present in naive
18080 # implementations.
18081 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18082 eval 'as_fn_append ()
18084 eval $1+=\$2
18086 else
18087 as_fn_append ()
18089 eval $1=\$$1\$2
18091 fi # as_fn_append
18093 # as_fn_arith ARG...
18094 # ------------------
18095 # Perform arithmetic evaluation on the ARGs, and store the result in the
18096 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18097 # must be portable across $(()) and expr.
18098 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18099 eval 'as_fn_arith ()
18101 as_val=$(( $* ))
18103 else
18104 as_fn_arith ()
18106 as_val=`expr "$@" || test $? -eq 1`
18108 fi # as_fn_arith
18111 if expr a : '\(a\)' >/dev/null 2>&1 &&
18112 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18113 as_expr=expr
18114 else
18115 as_expr=false
18118 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18119 as_basename=basename
18120 else
18121 as_basename=false
18124 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18125 as_dirname=dirname
18126 else
18127 as_dirname=false
18130 as_me=`$as_basename -- "$0" ||
18131 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18132 X"$0" : 'X\(//\)$' \| \
18133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18134 $as_echo X/"$0" |
18135 sed '/^.*\/\([^/][^/]*\)\/*$/{
18136 s//\1/
18139 /^X\/\(\/\/\)$/{
18140 s//\1/
18143 /^X\/\(\/\).*/{
18144 s//\1/
18147 s/.*/./; q'`
18149 # Avoid depending upon Character Ranges.
18150 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18151 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18152 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18153 as_cr_digits='0123456789'
18154 as_cr_alnum=$as_cr_Letters$as_cr_digits
18156 ECHO_C= ECHO_N= ECHO_T=
18157 case `echo -n x` in #(((((
18158 -n*)
18159 case `echo 'xy\c'` in
18160 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18161 xy) ECHO_C='\c';;
18162 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18163 ECHO_T=' ';;
18164 esac;;
18166 ECHO_N='-n';;
18167 esac
18169 rm -f conf$$ conf$$.exe conf$$.file
18170 if test -d conf$$.dir; then
18171 rm -f conf$$.dir/conf$$.file
18172 else
18173 rm -f conf$$.dir
18174 mkdir conf$$.dir 2>/dev/null
18176 if (echo >conf$$.file) 2>/dev/null; then
18177 if ln -s conf$$.file conf$$ 2>/dev/null; then
18178 as_ln_s='ln -s'
18179 # ... but there are two gotchas:
18180 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18181 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18182 # In both cases, we have to default to `cp -pR'.
18183 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18184 as_ln_s='cp -pR'
18185 elif ln conf$$.file conf$$ 2>/dev/null; then
18186 as_ln_s=ln
18187 else
18188 as_ln_s='cp -pR'
18190 else
18191 as_ln_s='cp -pR'
18193 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18194 rmdir conf$$.dir 2>/dev/null
18197 # as_fn_mkdir_p
18198 # -------------
18199 # Create "$as_dir" as a directory, including parents if necessary.
18200 as_fn_mkdir_p ()
18203 case $as_dir in #(
18204 -*) as_dir=./$as_dir;;
18205 esac
18206 test -d "$as_dir" || eval $as_mkdir_p || {
18207 as_dirs=
18208 while :; do
18209 case $as_dir in #(
18210 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18211 *) as_qdir=$as_dir;;
18212 esac
18213 as_dirs="'$as_qdir' $as_dirs"
18214 as_dir=`$as_dirname -- "$as_dir" ||
18215 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18216 X"$as_dir" : 'X\(//\)[^/]' \| \
18217 X"$as_dir" : 'X\(//\)$' \| \
18218 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18219 $as_echo X"$as_dir" |
18220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18221 s//\1/
18224 /^X\(\/\/\)[^/].*/{
18225 s//\1/
18228 /^X\(\/\/\)$/{
18229 s//\1/
18232 /^X\(\/\).*/{
18233 s//\1/
18236 s/.*/./; q'`
18237 test -d "$as_dir" && break
18238 done
18239 test -z "$as_dirs" || eval "mkdir $as_dirs"
18240 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18243 } # as_fn_mkdir_p
18244 if mkdir -p . 2>/dev/null; then
18245 as_mkdir_p='mkdir -p "$as_dir"'
18246 else
18247 test -d ./-p && rmdir ./-p
18248 as_mkdir_p=false
18252 # as_fn_executable_p FILE
18253 # -----------------------
18254 # Test if FILE is an executable regular file.
18255 as_fn_executable_p ()
18257 test -f "$1" && test -x "$1"
18258 } # as_fn_executable_p
18259 as_test_x='test -x'
18260 as_executable_p=as_fn_executable_p
18262 # Sed expression to map a string onto a valid CPP name.
18263 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18265 # Sed expression to map a string onto a valid variable name.
18266 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18269 exec 6>&1
18270 ## ----------------------------------- ##
18271 ## Main body of $CONFIG_STATUS script. ##
18272 ## ----------------------------------- ##
18273 _ASEOF
18274 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18277 # Save the log message, to keep $0 and so on meaningful, and to
18278 # report actual input values of CONFIG_FILES etc. instead of their
18279 # values after options handling.
18280 ac_log="
18281 This file was extended by Wine $as_me 1.7.32, which was
18282 generated by GNU Autoconf 2.69. Invocation command line was
18284 CONFIG_FILES = $CONFIG_FILES
18285 CONFIG_HEADERS = $CONFIG_HEADERS
18286 CONFIG_LINKS = $CONFIG_LINKS
18287 CONFIG_COMMANDS = $CONFIG_COMMANDS
18288 $ $0 $@
18290 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18293 _ACEOF
18295 case $ac_config_files in *"
18296 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18297 esac
18299 case $ac_config_headers in *"
18300 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18301 esac
18304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18305 # Files that config.status was made for.
18306 config_files="$ac_config_files"
18307 config_headers="$ac_config_headers"
18308 config_links="$ac_config_links"
18309 config_commands="$ac_config_commands"
18311 _ACEOF
18313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18314 ac_cs_usage="\
18315 \`$as_me' instantiates files and other configuration actions
18316 from templates according to the current configuration. Unless the files
18317 and actions are specified as TAGs, all are instantiated by default.
18319 Usage: $0 [OPTION]... [TAG]...
18321 -h, --help print this help, then exit
18322 -V, --version print version number and configuration settings, then exit
18323 --config print configuration, then exit
18324 -q, --quiet, --silent
18325 do not print progress messages
18326 -d, --debug don't remove temporary files
18327 --recheck update $as_me by reconfiguring in the same conditions
18328 --file=FILE[:TEMPLATE]
18329 instantiate the configuration file FILE
18330 --header=FILE[:TEMPLATE]
18331 instantiate the configuration header FILE
18333 Configuration files:
18334 $config_files
18336 Configuration headers:
18337 $config_headers
18339 Configuration links:
18340 $config_links
18342 Configuration commands:
18343 $config_commands
18345 Report bugs to <wine-devel@winehq.org>.
18346 Wine home page: <http://www.winehq.org>."
18348 _ACEOF
18349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18350 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18351 ac_cs_version="\\
18352 Wine config.status 1.7.32
18353 configured by $0, generated by GNU Autoconf 2.69,
18354 with options \\"\$ac_cs_config\\"
18356 Copyright (C) 2012 Free Software Foundation, Inc.
18357 This config.status script is free software; the Free Software Foundation
18358 gives unlimited permission to copy, distribute and modify it."
18360 ac_pwd='$ac_pwd'
18361 srcdir='$srcdir'
18362 test -n "\$AWK" || AWK=awk
18363 _ACEOF
18365 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18366 # The default lists apply if the user does not specify any file.
18367 ac_need_defaults=:
18368 while test $# != 0
18370 case $1 in
18371 --*=?*)
18372 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18373 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18374 ac_shift=:
18376 --*=)
18377 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18378 ac_optarg=
18379 ac_shift=:
18382 ac_option=$1
18383 ac_optarg=$2
18384 ac_shift=shift
18386 esac
18388 case $ac_option in
18389 # Handling of the options.
18390 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18391 ac_cs_recheck=: ;;
18392 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18393 $as_echo "$ac_cs_version"; exit ;;
18394 --config | --confi | --conf | --con | --co | --c )
18395 $as_echo "$ac_cs_config"; exit ;;
18396 --debug | --debu | --deb | --de | --d | -d )
18397 debug=: ;;
18398 --file | --fil | --fi | --f )
18399 $ac_shift
18400 case $ac_optarg in
18401 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18402 '') as_fn_error $? "missing file argument" ;;
18403 esac
18404 as_fn_append CONFIG_FILES " '$ac_optarg'"
18405 ac_need_defaults=false;;
18406 --header | --heade | --head | --hea )
18407 $ac_shift
18408 case $ac_optarg in
18409 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18410 esac
18411 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18412 ac_need_defaults=false;;
18413 --he | --h)
18414 # Conflict between --help and --header
18415 as_fn_error $? "ambiguous option: \`$1'
18416 Try \`$0 --help' for more information.";;
18417 --help | --hel | -h )
18418 $as_echo "$ac_cs_usage"; exit ;;
18419 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18420 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18421 ac_cs_silent=: ;;
18423 # This is an error.
18424 -*) as_fn_error $? "unrecognized option: \`$1'
18425 Try \`$0 --help' for more information." ;;
18427 *) as_fn_append ac_config_targets " $1"
18428 ac_need_defaults=false ;;
18430 esac
18431 shift
18432 done
18434 ac_configure_extra_args=
18436 if $ac_cs_silent; then
18437 exec 6>/dev/null
18438 ac_configure_extra_args="$ac_configure_extra_args --silent"
18441 _ACEOF
18442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18443 if \$ac_cs_recheck; then
18444 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18445 shift
18446 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18447 CONFIG_SHELL='$SHELL'
18448 export CONFIG_SHELL
18449 exec "\$@"
18452 _ACEOF
18453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18454 exec 5>>config.log
18456 echo
18457 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18458 ## Running $as_me. ##
18459 _ASBOX
18460 $as_echo "$ac_log"
18461 } >&5
18463 _ACEOF
18464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18466 # INIT-COMMANDS
18468 wine_fn_output_makedep ()
18470 as_dir=tools; as_fn_mkdir_p
18471 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18473 wine_fn_output_makefile ()
18475 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18476 `cat $wine_rules_file`
18477 _WINE_EOF
18478 as_fn_error $? "could not create Makefile" "$LINENO" 5
18480 wine_fn_output_gitignore ()
18482 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18483 $GITIGNORE
18484 _WINE_EOF
18485 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18488 _ACEOF
18490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18492 # Handling of arguments.
18493 for ac_config_target in $ac_config_targets
18495 case $ac_config_target in
18496 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18497 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18498 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18499 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18500 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18501 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18502 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18503 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18504 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18505 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18506 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18507 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18508 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18509 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18511 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18512 esac
18513 done
18516 # If the user did not use the arguments to specify the items to instantiate,
18517 # then the envvar interface is used. Set only those that are not.
18518 # We use the long form for the default assignment because of an extremely
18519 # bizarre bug on SunOS 4.1.3.
18520 if $ac_need_defaults; then
18521 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18522 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18523 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18524 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18527 # Have a temporary directory for convenience. Make it in the build tree
18528 # simply because there is no reason against having it here, and in addition,
18529 # creating and moving files from /tmp can sometimes cause problems.
18530 # Hook for its removal unless debugging.
18531 # Note that there is a small window in which the directory will not be cleaned:
18532 # after its creation but before its name has been assigned to `$tmp'.
18533 $debug ||
18535 tmp= ac_tmp=
18536 trap 'exit_status=$?
18537 : "${ac_tmp:=$tmp}"
18538 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18540 trap 'as_fn_exit 1' 1 2 13 15
18542 # Create a (secure) tmp directory for tmp files.
18545 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18546 test -d "$tmp"
18547 } ||
18549 tmp=./conf$$-$RANDOM
18550 (umask 077 && mkdir "$tmp")
18551 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18552 ac_tmp=$tmp
18554 # Set up the scripts for CONFIG_FILES section.
18555 # No need to generate them if there are no CONFIG_FILES.
18556 # This happens for instance with `./config.status config.h'.
18557 if test -n "$CONFIG_FILES"; then
18560 ac_cr=`echo X | tr X '\015'`
18561 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18562 # But we know of no other shell where ac_cr would be empty at this
18563 # point, so we can use a bashism as a fallback.
18564 if test "x$ac_cr" = x; then
18565 eval ac_cr=\$\'\\r\'
18567 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18568 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18569 ac_cs_awk_cr='\\r'
18570 else
18571 ac_cs_awk_cr=$ac_cr
18574 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18575 _ACEOF
18579 echo "cat >conf$$subs.awk <<_ACEOF" &&
18580 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18581 echo "_ACEOF"
18582 } >conf$$subs.sh ||
18583 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18584 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18585 ac_delim='%!_!# '
18586 for ac_last_try in false false false false false :; do
18587 . ./conf$$subs.sh ||
18588 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18590 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18591 if test $ac_delim_n = $ac_delim_num; then
18592 break
18593 elif $ac_last_try; then
18594 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18595 else
18596 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18598 done
18599 rm -f conf$$subs.sh
18601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18602 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18603 _ACEOF
18604 sed -n '
18606 s/^/S["/; s/!.*/"]=/
18609 s/^[^!]*!//
18610 :repl
18611 t repl
18612 s/'"$ac_delim"'$//
18613 t delim
18616 s/\(.\{148\}\)..*/\1/
18617 t more1
18618 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18621 b repl
18622 :more1
18623 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18626 s/.\{148\}//
18627 t nl
18628 :delim
18630 s/\(.\{148\}\)..*/\1/
18631 t more2
18632 s/["\\]/\\&/g; s/^/"/; s/$/"/
18635 :more2
18636 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18639 s/.\{148\}//
18640 t delim
18641 ' <conf$$subs.awk | sed '
18642 /^[^""]/{
18644 s/\n//
18646 ' >>$CONFIG_STATUS || ac_write_fail=1
18647 rm -f conf$$subs.awk
18648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18649 _ACAWK
18650 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18651 for (key in S) S_is_set[key] = 1
18652 FS = "\a"
18656 line = $ 0
18657 nfields = split(line, field, "@")
18658 substed = 0
18659 len = length(field[1])
18660 for (i = 2; i < nfields; i++) {
18661 key = field[i]
18662 keylen = length(key)
18663 if (S_is_set[key]) {
18664 value = S[key]
18665 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18666 len += length(value) + length(field[++i])
18667 substed = 1
18668 } else
18669 len += 1 + keylen
18672 print line
18675 _ACAWK
18676 _ACEOF
18677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18678 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18679 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18680 else
18682 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18683 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18684 _ACEOF
18686 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18687 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18688 # trailing colons and then remove the whole line if VPATH becomes empty
18689 # (actually we leave an empty line to preserve line numbers).
18690 if test "x$srcdir" = x.; then
18691 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18693 s///
18694 s/^/:/
18695 s/[ ]*$/:/
18696 s/:\$(srcdir):/:/g
18697 s/:\${srcdir}:/:/g
18698 s/:@srcdir@:/:/g
18699 s/^:*//
18700 s/:*$//
18702 s/\(=[ ]*\).*/\1/
18704 s/\n//
18705 s/^[^=]*=[ ]*$//
18709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18710 fi # test -n "$CONFIG_FILES"
18712 # Set up the scripts for CONFIG_HEADERS section.
18713 # No need to generate them if there are no CONFIG_HEADERS.
18714 # This happens for instance with `./config.status Makefile'.
18715 if test -n "$CONFIG_HEADERS"; then
18716 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18717 BEGIN {
18718 _ACEOF
18720 # Transform confdefs.h into an awk script `defines.awk', embedded as
18721 # here-document in config.status, that substitutes the proper values into
18722 # config.h.in to produce config.h.
18724 # Create a delimiter string that does not exist in confdefs.h, to ease
18725 # handling of long lines.
18726 ac_delim='%!_!# '
18727 for ac_last_try in false false :; do
18728 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18729 if test -z "$ac_tt"; then
18730 break
18731 elif $ac_last_try; then
18732 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18733 else
18734 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18736 done
18738 # For the awk script, D is an array of macro values keyed by name,
18739 # likewise P contains macro parameters if any. Preserve backslash
18740 # newline sequences.
18742 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18743 sed -n '
18744 s/.\{148\}/&'"$ac_delim"'/g
18745 t rset
18746 :rset
18747 s/^[ ]*#[ ]*define[ ][ ]*/ /
18748 t def
18750 :def
18751 s/\\$//
18752 t bsnl
18753 s/["\\]/\\&/g
18754 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18755 D["\1"]=" \3"/p
18756 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18758 :bsnl
18759 s/["\\]/\\&/g
18760 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18761 D["\1"]=" \3\\\\\\n"\\/p
18762 t cont
18763 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18764 t cont
18766 :cont
18768 s/.\{148\}/&'"$ac_delim"'/g
18769 t clear
18770 :clear
18771 s/\\$//
18772 t bsnlc
18773 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18775 :bsnlc
18776 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18777 b cont
18778 ' <confdefs.h | sed '
18779 s/'"$ac_delim"'/"\\\
18780 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18783 for (key in D) D_is_set[key] = 1
18784 FS = "\a"
18786 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18787 line = \$ 0
18788 split(line, arg, " ")
18789 if (arg[1] == "#") {
18790 defundef = arg[2]
18791 mac1 = arg[3]
18792 } else {
18793 defundef = substr(arg[1], 2)
18794 mac1 = arg[2]
18796 split(mac1, mac2, "(") #)
18797 macro = mac2[1]
18798 prefix = substr(line, 1, index(line, defundef) - 1)
18799 if (D_is_set[macro]) {
18800 # Preserve the white space surrounding the "#".
18801 print prefix "define", macro P[macro] D[macro]
18802 next
18803 } else {
18804 # Replace #undef with comments. This is necessary, for example,
18805 # in the case of _POSIX_SOURCE, which is predefined and required
18806 # on some systems where configure will not decide to define it.
18807 if (defundef == "undef") {
18808 print "/*", prefix defundef, macro, "*/"
18809 next
18813 { print }
18814 _ACAWK
18815 _ACEOF
18816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18817 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18818 fi # test -n "$CONFIG_HEADERS"
18821 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18822 shift
18823 for ac_tag
18825 case $ac_tag in
18826 :[FHLC]) ac_mode=$ac_tag; continue;;
18827 esac
18828 case $ac_mode$ac_tag in
18829 :[FHL]*:*);;
18830 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18831 :[FH]-) ac_tag=-:-;;
18832 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18833 esac
18834 ac_save_IFS=$IFS
18835 IFS=:
18836 set x $ac_tag
18837 IFS=$ac_save_IFS
18838 shift
18839 ac_file=$1
18840 shift
18842 case $ac_mode in
18843 :L) ac_source=$1;;
18844 :[FH])
18845 ac_file_inputs=
18846 for ac_f
18848 case $ac_f in
18849 -) ac_f="$ac_tmp/stdin";;
18850 *) # Look for the file first in the build tree, then in the source tree
18851 # (if the path is not absolute). The absolute path cannot be DOS-style,
18852 # because $ac_f cannot contain `:'.
18853 test -f "$ac_f" ||
18854 case $ac_f in
18855 [\\/$]*) false;;
18856 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18857 esac ||
18858 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18859 esac
18860 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18861 as_fn_append ac_file_inputs " '$ac_f'"
18862 done
18864 # Let's still pretend it is `configure' which instantiates (i.e., don't
18865 # use $as_me), people would be surprised to read:
18866 # /* config.h. Generated by config.status. */
18867 configure_input='Generated from '`
18868 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18869 `' by configure.'
18870 if test x"$ac_file" != x-; then
18871 configure_input="$ac_file. $configure_input"
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18873 $as_echo "$as_me: creating $ac_file" >&6;}
18875 # Neutralize special characters interpreted by sed in replacement strings.
18876 case $configure_input in #(
18877 *\&* | *\|* | *\\* )
18878 ac_sed_conf_input=`$as_echo "$configure_input" |
18879 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18880 *) ac_sed_conf_input=$configure_input;;
18881 esac
18883 case $ac_tag in
18884 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18885 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18886 esac
18888 esac
18890 ac_dir=`$as_dirname -- "$ac_file" ||
18891 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18892 X"$ac_file" : 'X\(//\)[^/]' \| \
18893 X"$ac_file" : 'X\(//\)$' \| \
18894 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18895 $as_echo X"$ac_file" |
18896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18897 s//\1/
18900 /^X\(\/\/\)[^/].*/{
18901 s//\1/
18904 /^X\(\/\/\)$/{
18905 s//\1/
18908 /^X\(\/\).*/{
18909 s//\1/
18912 s/.*/./; q'`
18913 as_dir="$ac_dir"; as_fn_mkdir_p
18914 ac_builddir=.
18916 case "$ac_dir" in
18917 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18919 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18920 # A ".." for each directory in $ac_dir_suffix.
18921 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18922 case $ac_top_builddir_sub in
18923 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18924 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18925 esac ;;
18926 esac
18927 ac_abs_top_builddir=$ac_pwd
18928 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18929 # for backward compatibility:
18930 ac_top_builddir=$ac_top_build_prefix
18932 case $srcdir in
18933 .) # We are building in place.
18934 ac_srcdir=.
18935 ac_top_srcdir=$ac_top_builddir_sub
18936 ac_abs_top_srcdir=$ac_pwd ;;
18937 [\\/]* | ?:[\\/]* ) # Absolute name.
18938 ac_srcdir=$srcdir$ac_dir_suffix;
18939 ac_top_srcdir=$srcdir
18940 ac_abs_top_srcdir=$srcdir ;;
18941 *) # Relative name.
18942 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18943 ac_top_srcdir=$ac_top_build_prefix$srcdir
18944 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18945 esac
18946 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18949 case $ac_mode in
18952 # CONFIG_FILE
18955 _ACEOF
18957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18958 # If the template does not know about datarootdir, expand it.
18959 # FIXME: This hack should be removed a few years after 2.60.
18960 ac_datarootdir_hack=; ac_datarootdir_seen=
18961 ac_sed_dataroot='
18962 /datarootdir/ {
18966 /@datadir@/p
18967 /@docdir@/p
18968 /@infodir@/p
18969 /@localedir@/p
18970 /@mandir@/p'
18971 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18972 *datarootdir*) ac_datarootdir_seen=yes;;
18973 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18975 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18976 _ACEOF
18977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18978 ac_datarootdir_hack='
18979 s&@datadir@&$datadir&g
18980 s&@docdir@&$docdir&g
18981 s&@infodir@&$infodir&g
18982 s&@localedir@&$localedir&g
18983 s&@mandir@&$mandir&g
18984 s&\\\${datarootdir}&$datarootdir&g' ;;
18985 esac
18986 _ACEOF
18988 # Neutralize VPATH when `$srcdir' = `.'.
18989 # Shell code in configure.ac might set extrasub.
18990 # FIXME: do we really want to maintain this feature?
18991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18992 ac_sed_extra="$ac_vpsub
18993 $extrasub
18994 _ACEOF
18995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18997 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18998 s|@configure_input@|$ac_sed_conf_input|;t t
18999 s&@top_builddir@&$ac_top_builddir_sub&;t t
19000 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19001 s&@srcdir@&$ac_srcdir&;t t
19002 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19003 s&@top_srcdir@&$ac_top_srcdir&;t t
19004 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19005 s&@builddir@&$ac_builddir&;t t
19006 s&@abs_builddir@&$ac_abs_builddir&;t t
19007 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19008 $ac_datarootdir_hack
19010 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19011 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19013 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19014 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19015 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19016 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19018 which seems to be undefined. Please make sure it is defined" >&5
19019 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19020 which seems to be undefined. Please make sure it is defined" >&2;}
19022 rm -f "$ac_tmp/stdin"
19023 case $ac_file in
19024 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19025 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19026 esac \
19027 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19031 # CONFIG_HEADER
19033 if test x"$ac_file" != x-; then
19035 $as_echo "/* $configure_input */" \
19036 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19037 } >"$ac_tmp/config.h" \
19038 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19039 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19041 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19042 else
19043 rm -f "$ac_file"
19044 mv "$ac_tmp/config.h" "$ac_file" \
19045 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19047 else
19048 $as_echo "/* $configure_input */" \
19049 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19050 || as_fn_error $? "could not create -" "$LINENO" 5
19055 # CONFIG_LINK
19058 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19060 else
19061 # Prefer the file from the source tree if names are identical.
19062 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19063 ac_source=$srcdir/$ac_source
19066 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19067 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19069 if test ! -r "$ac_source"; then
19070 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19072 rm -f "$ac_file"
19074 # Try a relative symlink, then a hard link, then a copy.
19075 case $ac_source in
19076 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19077 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19078 esac
19079 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19080 ln "$ac_source" "$ac_file" 2>/dev/null ||
19081 cp -p "$ac_source" "$ac_file" ||
19082 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19085 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19086 $as_echo "$as_me: executing $ac_file commands" >&6;}
19088 esac
19091 case $ac_file$ac_mode in
19092 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19093 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19094 "Makefile":C) wine_fn_output_makefile Makefile ;;
19095 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19097 esac
19098 done # for ac_tag
19101 as_fn_exit 0
19102 _ACEOF
19103 ac_clean_files=$ac_clean_files_save
19105 test $ac_write_fail = 0 ||
19106 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19109 # configure is writing to config.log, and then calls config.status.
19110 # config.status does its own redirection, appending to config.log.
19111 # Unfortunately, on DOS this fails, as config.log is still kept open
19112 # by configure, so config.status won't be able to write to it; its
19113 # output is simply discarded. So we exec the FD to /dev/null,
19114 # effectively closing config.log, so it can be properly (re)opened and
19115 # appended to by config.status. When coming back to configure, we
19116 # need to make the FD available again.
19117 if test "$no_create" != yes; then
19118 ac_cs_success=:
19119 ac_config_status_args=
19120 test "$silent" = yes &&
19121 ac_config_status_args="$ac_config_status_args --quiet"
19122 exec 5>/dev/null
19123 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19124 exec 5>>config.log
19125 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19126 # would make configure fail if this is the last instruction.
19127 $ac_cs_success || as_fn_exit 1
19129 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19131 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19135 if test "$no_create" = "yes"
19136 then
19137 exit 0
19140 ac_save_IFS="$IFS"
19141 if test "x$wine_notices != "x; then
19142 echo >&6
19143 IFS="|"
19144 for msg in $wine_notices; do
19145 IFS="$ac_save_IFS"
19146 if ${msg:+false} :; then :
19148 else
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19150 $as_echo "$as_me: $msg" >&6;}
19152 done
19154 IFS="|"
19155 for msg in $wine_warnings; do
19156 IFS="$ac_save_IFS"
19157 if ${msg:+false} :; then :
19159 else
19160 echo >&2
19161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19162 $as_echo "$as_me: WARNING: $msg" >&2;}
19164 done
19165 IFS="$ac_save_IFS"
19167 $as_echo "
19168 $as_me: Finished. Do '${ac_make}' to compile Wine.
19169 " >&6