d3d8: Calculate texture levels in d3d8 instead of wined3d.
[wine.git] / configure
blobe67969645f610e91f2e62d4121e93372434e5645
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_msvcr120_app
1151 enable_msvcr70
1152 enable_msvcr71
1153 enable_msvcr80
1154 enable_msvcr90
1155 enable_msvcrt
1156 enable_msvcrt20
1157 enable_msvcrt40
1158 enable_msvcrtd
1159 enable_msvfw32
1160 enable_msvidc32
1161 enable_mswsock
1162 enable_msxml
1163 enable_msxml2
1164 enable_msxml3
1165 enable_msxml4
1166 enable_msxml6
1167 enable_nddeapi
1168 enable_ndis_sys
1169 enable_netapi32
1170 enable_netcfgx
1171 enable_netprofm
1172 enable_newdev
1173 enable_normaliz
1174 enable_npmshtml
1175 enable_npptools
1176 enable_ntdll
1177 enable_ntdsapi
1178 enable_ntoskrnl_exe
1179 enable_ntprint
1180 enable_objsel
1181 enable_odbc32
1182 enable_odbccp32
1183 enable_odbccu32
1184 enable_ole32
1185 enable_oleacc
1186 enable_oleaut32
1187 enable_olecli32
1188 enable_oledb32
1189 enable_oledlg
1190 enable_olepro32
1191 enable_olesvr32
1192 enable_olethk32
1193 enable_openal32
1194 enable_opencl
1195 enable_opengl32
1196 enable_packager
1197 enable_pdh
1198 enable_photometadatahandler
1199 enable_pidgen
1200 enable_powrprof
1201 enable_printui
1202 enable_prntvpt
1203 enable_propsys
1204 enable_psapi
1205 enable_pstorec
1206 enable_qcap
1207 enable_qedit
1208 enable_qmgr
1209 enable_qmgrprxy
1210 enable_quartz
1211 enable_query
1212 enable_rasapi32
1213 enable_rasdlg
1214 enable_regapi
1215 enable_resutils
1216 enable_riched20
1217 enable_riched32
1218 enable_rpcrt4
1219 enable_rsabase
1220 enable_rsaenh
1221 enable_rstrtmgr
1222 enable_rtutils
1223 enable_samlib
1224 enable_sane_ds
1225 enable_scarddlg
1226 enable_sccbase
1227 enable_schannel
1228 enable_schedsvc
1229 enable_scrrun
1230 enable_scsiport_sys
1231 enable_secur32
1232 enable_security
1233 enable_sensapi
1234 enable_serialui
1235 enable_setupapi
1236 enable_sfc
1237 enable_sfc_os
1238 enable_shdoclc
1239 enable_shdocvw
1240 enable_shell32
1241 enable_shfolder
1242 enable_shlwapi
1243 enable_slbcsp
1244 enable_slc
1245 enable_snmpapi
1246 enable_softpub
1247 enable_spoolss
1248 enable_stdole2_tlb
1249 enable_stdole32_tlb
1250 enable_sti
1251 enable_svrapi
1252 enable_sxs
1253 enable_t2embed
1254 enable_tapi32
1255 enable_taskschd
1256 enable_traffic
1257 enable_twain_32
1258 enable_unicows
1259 enable_updspapi
1260 enable_url
1261 enable_urlmon
1262 enable_usbd_sys
1263 enable_user32
1264 enable_userenv
1265 enable_usp10
1266 enable_uxtheme
1267 enable_vbscript
1268 enable_vcomp
1269 enable_vcomp100
1270 enable_vcomp90
1271 enable_vdmdbg
1272 enable_version
1273 enable_vssapi
1274 enable_wbemdisp
1275 enable_wbemprox
1276 enable_webservices
1277 enable_wer
1278 enable_wevtapi
1279 enable_wiaservc
1280 enable_windowscodecs
1281 enable_windowscodecsext
1282 enable_winealsa_drv
1283 enable_winecoreaudio_drv
1284 enable_wined3d
1285 enable_winegstreamer
1286 enable_winejoystick_drv
1287 enable_winemac_drv
1288 enable_winemapi
1289 enable_winemp3_acm
1290 enable_wineoss_drv
1291 enable_wineps_drv
1292 enable_wineqtdecoder
1293 enable_winex11_drv
1294 enable_wing32
1295 enable_winhttp
1296 enable_wininet
1297 enable_winmm
1298 enable_winnls32
1299 enable_winscard
1300 enable_winspool_drv
1301 enable_winsta
1302 enable_wintab32
1303 enable_wintrust
1304 enable_wlanapi
1305 enable_wldap32
1306 enable_wmi
1307 enable_wmiutils
1308 enable_wmp
1309 enable_wmvcore
1310 enable_wnaspi32
1311 enable_wpcap
1312 enable_ws2_32
1313 enable_wshom_ocx
1314 enable_wsnmp32
1315 enable_wsock32
1316 enable_wtsapi32
1317 enable_wuapi
1318 enable_wuaueng
1319 enable_xapofx1_1
1320 enable_xinput1_1
1321 enable_xinput1_2
1322 enable_xinput1_3
1323 enable_xinput1_4
1324 enable_xinput9_1_0
1325 enable_xmllite
1326 enable_xolehlp
1327 enable_xpsprint
1328 enable_xpssvcs
1329 enable_documentation
1330 enable_fonts
1331 enable_include
1332 enable_libs_port
1333 enable_libs_wine
1334 enable_libs_wpp
1335 enable_loader
1336 enable_arp
1337 enable_aspnet_regiis
1338 enable_attrib
1339 enable_cabarc
1340 enable_cacls
1341 enable_clock
1342 enable_cmd
1343 enable_conhost
1344 enable_control
1345 enable_cscript
1346 enable_dpnsvr
1347 enable_dxdiag
1348 enable_eject
1349 enable_expand
1350 enable_explorer
1351 enable_extrac32
1352 enable_findstr
1353 enable_hh
1354 enable_hostname
1355 enable_icinfo
1356 enable_iexplore
1357 enable_ipconfig
1358 enable_lodctr
1359 enable_mofcomp
1360 enable_mshta
1361 enable_msiexec
1362 enable_net
1363 enable_netsh
1364 enable_netstat
1365 enable_ngen
1366 enable_notepad
1367 enable_oleview
1368 enable_ping
1369 enable_plugplay
1370 enable_presentationfontcache
1371 enable_progman
1372 enable_reg
1373 enable_regasm
1374 enable_regedit
1375 enable_regsvcs
1376 enable_regsvr32
1377 enable_rpcss
1378 enable_rundll32
1379 enable_sc
1380 enable_schtasks
1381 enable_sdbinst
1382 enable_secedit
1383 enable_servicemodelreg
1384 enable_services
1385 enable_spoolsv
1386 enable_start
1387 enable_svchost
1388 enable_systeminfo
1389 enable_taskkill
1390 enable_tasklist
1391 enable_taskmgr
1392 enable_termsv
1393 enable_uninstaller
1394 enable_unlodctr
1395 enable_view
1396 enable_wevtutil
1397 enable_wineboot
1398 enable_winebrowser
1399 enable_winecfg
1400 enable_wineconsole
1401 enable_winedbg
1402 enable_winedevice
1403 enable_winefile
1404 enable_winemenubuilder
1405 enable_winemine
1406 enable_winemsibuilder
1407 enable_winepath
1408 enable_winetest
1409 enable_winhlp32
1410 enable_winver
1411 enable_wmic
1412 enable_wordpad
1413 enable_write
1414 enable_wscript
1415 enable_wusa
1416 enable_xcopy
1417 enable_server
1418 enable_tools
1420 ac_precious_vars='build_alias
1421 host_alias
1422 target_alias
1424 CFLAGS
1425 LDFLAGS
1426 LIBS
1427 CPPFLAGS
1429 CXXFLAGS
1432 XMKMF
1433 XML2_CFLAGS
1434 XML2_LIBS
1435 XSLT_CFLAGS
1436 XSLT_LIBS
1437 DBUS_CFLAGS
1438 DBUS_LIBS
1439 HAL_CFLAGS
1440 HAL_LIBS
1441 GNUTLS_CFLAGS
1442 GNUTLS_LIBS
1443 SANE_CFLAGS
1444 SANE_LIBS
1445 GPHOTO2_CFLAGS
1446 GPHOTO2_LIBS
1447 GPHOTO2_PORT_CFLAGS
1448 GPHOTO2_PORT_LIBS
1449 LCMS2_CFLAGS
1450 LCMS2_LIBS
1451 FREETYPE_CFLAGS
1452 FREETYPE_LIBS
1453 GSTREAMER_CFLAGS
1454 GSTREAMER_LIBS
1455 CAPI20_CFLAGS
1456 CAPI20_LIBS
1457 FONTCONFIG_CFLAGS
1458 FONTCONFIG_LIBS
1459 JPEG_CFLAGS
1460 JPEG_LIBS
1461 PNG_CFLAGS
1462 PNG_LIBS
1463 TIFF_CFLAGS
1464 TIFF_LIBS
1465 MPG123_CFLAGS
1466 MPG123_LIBS'
1469 # Initialize some variables set by options.
1470 ac_init_help=
1471 ac_init_version=false
1472 ac_unrecognized_opts=
1473 ac_unrecognized_sep=
1474 # The variables have the same names as the options, with
1475 # dashes changed to underlines.
1476 cache_file=/dev/null
1477 exec_prefix=NONE
1478 no_create=
1479 no_recursion=
1480 prefix=NONE
1481 program_prefix=NONE
1482 program_suffix=NONE
1483 program_transform_name=s,x,x,
1484 silent=
1485 site=
1486 srcdir=
1487 verbose=
1488 x_includes=NONE
1489 x_libraries=NONE
1491 # Installation directory options.
1492 # These are left unexpanded so users can "make install exec_prefix=/foo"
1493 # and all the variables that are supposed to be based on exec_prefix
1494 # by default will actually change.
1495 # Use braces instead of parens because sh, perl, etc. also accept them.
1496 # (The list follows the same order as the GNU Coding Standards.)
1497 bindir='${exec_prefix}/bin'
1498 sbindir='${exec_prefix}/sbin'
1499 libexecdir='${exec_prefix}/libexec'
1500 datarootdir='${prefix}/share'
1501 datadir='${datarootdir}'
1502 sysconfdir='${prefix}/etc'
1503 sharedstatedir='${prefix}/com'
1504 localstatedir='${prefix}/var'
1505 includedir='${prefix}/include'
1506 oldincludedir='/usr/include'
1507 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1508 infodir='${datarootdir}/info'
1509 htmldir='${docdir}'
1510 dvidir='${docdir}'
1511 pdfdir='${docdir}'
1512 psdir='${docdir}'
1513 libdir='${exec_prefix}/lib'
1514 localedir='${datarootdir}/locale'
1515 mandir='${datarootdir}/man'
1517 ac_prev=
1518 ac_dashdash=
1519 for ac_option
1521 # If the previous option needs an argument, assign it.
1522 if test -n "$ac_prev"; then
1523 eval $ac_prev=\$ac_option
1524 ac_prev=
1525 continue
1528 case $ac_option in
1529 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1530 *=) ac_optarg= ;;
1531 *) ac_optarg=yes ;;
1532 esac
1534 # Accept the important Cygnus configure options, so we can diagnose typos.
1536 case $ac_dashdash$ac_option in
1538 ac_dashdash=yes ;;
1540 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1541 ac_prev=bindir ;;
1542 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1543 bindir=$ac_optarg ;;
1545 -build | --build | --buil | --bui | --bu)
1546 ac_prev=build_alias ;;
1547 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1548 build_alias=$ac_optarg ;;
1550 -cache-file | --cache-file | --cache-fil | --cache-fi \
1551 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1552 ac_prev=cache_file ;;
1553 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1554 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1555 cache_file=$ac_optarg ;;
1557 --config-cache | -C)
1558 cache_file=config.cache ;;
1560 -datadir | --datadir | --datadi | --datad)
1561 ac_prev=datadir ;;
1562 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1563 datadir=$ac_optarg ;;
1565 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1566 | --dataroo | --dataro | --datar)
1567 ac_prev=datarootdir ;;
1568 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1569 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1570 datarootdir=$ac_optarg ;;
1572 -disable-* | --disable-*)
1573 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1574 # Reject names that are not valid shell variable names.
1575 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1576 as_fn_error $? "invalid feature name: $ac_useropt"
1577 ac_useropt_orig=$ac_useropt
1578 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1579 case $ac_user_opts in
1581 "enable_$ac_useropt"
1582 "*) ;;
1583 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1584 ac_unrecognized_sep=', ';;
1585 esac
1586 eval enable_$ac_useropt=no ;;
1588 -docdir | --docdir | --docdi | --doc | --do)
1589 ac_prev=docdir ;;
1590 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1591 docdir=$ac_optarg ;;
1593 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1594 ac_prev=dvidir ;;
1595 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1596 dvidir=$ac_optarg ;;
1598 -enable-* | --enable-*)
1599 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1600 # Reject names that are not valid shell variable names.
1601 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1602 as_fn_error $? "invalid feature name: $ac_useropt"
1603 ac_useropt_orig=$ac_useropt
1604 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1605 case $ac_user_opts in
1607 "enable_$ac_useropt"
1608 "*) ;;
1609 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1610 ac_unrecognized_sep=', ';;
1611 esac
1612 eval enable_$ac_useropt=\$ac_optarg ;;
1614 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1615 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1616 | --exec | --exe | --ex)
1617 ac_prev=exec_prefix ;;
1618 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1619 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1620 | --exec=* | --exe=* | --ex=*)
1621 exec_prefix=$ac_optarg ;;
1623 -gas | --gas | --ga | --g)
1624 # Obsolete; use --with-gas.
1625 with_gas=yes ;;
1627 -help | --help | --hel | --he | -h)
1628 ac_init_help=long ;;
1629 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1630 ac_init_help=recursive ;;
1631 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1632 ac_init_help=short ;;
1634 -host | --host | --hos | --ho)
1635 ac_prev=host_alias ;;
1636 -host=* | --host=* | --hos=* | --ho=*)
1637 host_alias=$ac_optarg ;;
1639 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1640 ac_prev=htmldir ;;
1641 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1642 | --ht=*)
1643 htmldir=$ac_optarg ;;
1645 -includedir | --includedir | --includedi | --included | --include \
1646 | --includ | --inclu | --incl | --inc)
1647 ac_prev=includedir ;;
1648 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1649 | --includ=* | --inclu=* | --incl=* | --inc=*)
1650 includedir=$ac_optarg ;;
1652 -infodir | --infodir | --infodi | --infod | --info | --inf)
1653 ac_prev=infodir ;;
1654 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1655 infodir=$ac_optarg ;;
1657 -libdir | --libdir | --libdi | --libd)
1658 ac_prev=libdir ;;
1659 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1660 libdir=$ac_optarg ;;
1662 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1663 | --libexe | --libex | --libe)
1664 ac_prev=libexecdir ;;
1665 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1666 | --libexe=* | --libex=* | --libe=*)
1667 libexecdir=$ac_optarg ;;
1669 -localedir | --localedir | --localedi | --localed | --locale)
1670 ac_prev=localedir ;;
1671 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1672 localedir=$ac_optarg ;;
1674 -localstatedir | --localstatedir | --localstatedi | --localstated \
1675 | --localstate | --localstat | --localsta | --localst | --locals)
1676 ac_prev=localstatedir ;;
1677 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1678 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1679 localstatedir=$ac_optarg ;;
1681 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1682 ac_prev=mandir ;;
1683 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1684 mandir=$ac_optarg ;;
1686 -nfp | --nfp | --nf)
1687 # Obsolete; use --without-fp.
1688 with_fp=no ;;
1690 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1691 | --no-cr | --no-c | -n)
1692 no_create=yes ;;
1694 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1695 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1696 no_recursion=yes ;;
1698 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1699 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1700 | --oldin | --oldi | --old | --ol | --o)
1701 ac_prev=oldincludedir ;;
1702 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1703 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1704 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1705 oldincludedir=$ac_optarg ;;
1707 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1708 ac_prev=prefix ;;
1709 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1710 prefix=$ac_optarg ;;
1712 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1713 | --program-pre | --program-pr | --program-p)
1714 ac_prev=program_prefix ;;
1715 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1716 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1717 program_prefix=$ac_optarg ;;
1719 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1720 | --program-suf | --program-su | --program-s)
1721 ac_prev=program_suffix ;;
1722 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1723 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1724 program_suffix=$ac_optarg ;;
1726 -program-transform-name | --program-transform-name \
1727 | --program-transform-nam | --program-transform-na \
1728 | --program-transform-n | --program-transform- \
1729 | --program-transform | --program-transfor \
1730 | --program-transfo | --program-transf \
1731 | --program-trans | --program-tran \
1732 | --progr-tra | --program-tr | --program-t)
1733 ac_prev=program_transform_name ;;
1734 -program-transform-name=* | --program-transform-name=* \
1735 | --program-transform-nam=* | --program-transform-na=* \
1736 | --program-transform-n=* | --program-transform-=* \
1737 | --program-transform=* | --program-transfor=* \
1738 | --program-transfo=* | --program-transf=* \
1739 | --program-trans=* | --program-tran=* \
1740 | --progr-tra=* | --program-tr=* | --program-t=*)
1741 program_transform_name=$ac_optarg ;;
1743 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1744 ac_prev=pdfdir ;;
1745 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1746 pdfdir=$ac_optarg ;;
1748 -psdir | --psdir | --psdi | --psd | --ps)
1749 ac_prev=psdir ;;
1750 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1751 psdir=$ac_optarg ;;
1753 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1754 | -silent | --silent | --silen | --sile | --sil)
1755 silent=yes ;;
1757 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1758 ac_prev=sbindir ;;
1759 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1760 | --sbi=* | --sb=*)
1761 sbindir=$ac_optarg ;;
1763 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1764 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1765 | --sharedst | --shareds | --shared | --share | --shar \
1766 | --sha | --sh)
1767 ac_prev=sharedstatedir ;;
1768 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1769 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1770 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1771 | --sha=* | --sh=*)
1772 sharedstatedir=$ac_optarg ;;
1774 -site | --site | --sit)
1775 ac_prev=site ;;
1776 -site=* | --site=* | --sit=*)
1777 site=$ac_optarg ;;
1779 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1780 ac_prev=srcdir ;;
1781 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1782 srcdir=$ac_optarg ;;
1784 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1785 | --syscon | --sysco | --sysc | --sys | --sy)
1786 ac_prev=sysconfdir ;;
1787 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1788 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1789 sysconfdir=$ac_optarg ;;
1791 -target | --target | --targe | --targ | --tar | --ta | --t)
1792 ac_prev=target_alias ;;
1793 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1794 target_alias=$ac_optarg ;;
1796 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1797 verbose=yes ;;
1799 -version | --version | --versio | --versi | --vers | -V)
1800 ac_init_version=: ;;
1802 -with-* | --with-*)
1803 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1804 # Reject names that are not valid shell variable names.
1805 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1806 as_fn_error $? "invalid package name: $ac_useropt"
1807 ac_useropt_orig=$ac_useropt
1808 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1809 case $ac_user_opts in
1811 "with_$ac_useropt"
1812 "*) ;;
1813 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1814 ac_unrecognized_sep=', ';;
1815 esac
1816 eval with_$ac_useropt=\$ac_optarg ;;
1818 -without-* | --without-*)
1819 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1820 # Reject names that are not valid shell variable names.
1821 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1822 as_fn_error $? "invalid package name: $ac_useropt"
1823 ac_useropt_orig=$ac_useropt
1824 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1825 case $ac_user_opts in
1827 "with_$ac_useropt"
1828 "*) ;;
1829 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1830 ac_unrecognized_sep=', ';;
1831 esac
1832 eval with_$ac_useropt=no ;;
1834 --x)
1835 # Obsolete; use --with-x.
1836 with_x=yes ;;
1838 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1839 | --x-incl | --x-inc | --x-in | --x-i)
1840 ac_prev=x_includes ;;
1841 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1842 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1843 x_includes=$ac_optarg ;;
1845 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1846 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1847 ac_prev=x_libraries ;;
1848 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1849 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1850 x_libraries=$ac_optarg ;;
1852 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1853 Try \`$0 --help' for more information"
1856 *=*)
1857 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1858 # Reject names that are not valid shell variable names.
1859 case $ac_envvar in #(
1860 '' | [0-9]* | *[!_$as_cr_alnum]* )
1861 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1862 esac
1863 eval $ac_envvar=\$ac_optarg
1864 export $ac_envvar ;;
1867 # FIXME: should be removed in autoconf 3.0.
1868 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1869 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1870 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1871 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1874 esac
1875 done
1877 if test -n "$ac_prev"; then
1878 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1879 as_fn_error $? "missing argument to $ac_option"
1882 if test -n "$ac_unrecognized_opts"; then
1883 case $enable_option_checking in
1884 no) ;;
1885 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1886 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1887 esac
1890 # Check all directory arguments for consistency.
1891 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1892 datadir sysconfdir sharedstatedir localstatedir includedir \
1893 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1894 libdir localedir mandir
1896 eval ac_val=\$$ac_var
1897 # Remove trailing slashes.
1898 case $ac_val in
1899 */ )
1900 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1901 eval $ac_var=\$ac_val;;
1902 esac
1903 # Be sure to have absolute directory names.
1904 case $ac_val in
1905 [\\/$]* | ?:[\\/]* ) continue;;
1906 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1907 esac
1908 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1909 done
1911 # There might be people who depend on the old broken behavior: `$host'
1912 # used to hold the argument of --host etc.
1913 # FIXME: To remove some day.
1914 build=$build_alias
1915 host=$host_alias
1916 target=$target_alias
1918 # FIXME: To remove some day.
1919 if test "x$host_alias" != x; then
1920 if test "x$build_alias" = x; then
1921 cross_compiling=maybe
1922 elif test "x$build_alias" != "x$host_alias"; then
1923 cross_compiling=yes
1927 ac_tool_prefix=
1928 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1930 test "$silent" = yes && exec 6>/dev/null
1933 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1934 ac_ls_di=`ls -di .` &&
1935 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1936 as_fn_error $? "working directory cannot be determined"
1937 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1938 as_fn_error $? "pwd does not report name of working directory"
1941 # Find the source files, if location was not specified.
1942 if test -z "$srcdir"; then
1943 ac_srcdir_defaulted=yes
1944 # Try the directory containing this script, then the parent directory.
1945 ac_confdir=`$as_dirname -- "$as_myself" ||
1946 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1947 X"$as_myself" : 'X\(//\)[^/]' \| \
1948 X"$as_myself" : 'X\(//\)$' \| \
1949 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1950 $as_echo X"$as_myself" |
1951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1952 s//\1/
1955 /^X\(\/\/\)[^/].*/{
1956 s//\1/
1959 /^X\(\/\/\)$/{
1960 s//\1/
1963 /^X\(\/\).*/{
1964 s//\1/
1967 s/.*/./; q'`
1968 srcdir=$ac_confdir
1969 if test ! -r "$srcdir/$ac_unique_file"; then
1970 srcdir=..
1972 else
1973 ac_srcdir_defaulted=no
1975 if test ! -r "$srcdir/$ac_unique_file"; then
1976 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1977 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1979 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1980 ac_abs_confdir=`(
1981 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1982 pwd)`
1983 # When building in place, set srcdir=.
1984 if test "$ac_abs_confdir" = "$ac_pwd"; then
1985 srcdir=.
1987 # Remove unnecessary trailing slashes from srcdir.
1988 # Double slashes in file names in object file debugging info
1989 # mess up M-x gdb in Emacs.
1990 case $srcdir in
1991 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1992 esac
1993 for ac_var in $ac_precious_vars; do
1994 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1995 eval ac_env_${ac_var}_value=\$${ac_var}
1996 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1997 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1998 done
2001 # Report the --help message.
2003 if test "$ac_init_help" = "long"; then
2004 # Omit some internal or obsolete options to make the list less imposing.
2005 # This message is too long to be a string in the A/UX 3.1 sh.
2006 cat <<_ACEOF
2007 \`configure' configures Wine 1.7.32 to adapt to many kinds of systems.
2009 Usage: $0 [OPTION]... [VAR=VALUE]...
2011 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2012 VAR=VALUE. See below for descriptions of some of the useful variables.
2014 Defaults for the options are specified in brackets.
2016 Configuration:
2017 -h, --help display this help and exit
2018 --help=short display options specific to this package
2019 --help=recursive display the short help of all the included packages
2020 -V, --version display version information and exit
2021 -q, --quiet, --silent do not print \`checking ...' messages
2022 --cache-file=FILE cache test results in FILE [disabled]
2023 -C, --config-cache alias for \`--cache-file=config.cache'
2024 -n, --no-create do not create output files
2025 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2027 Installation directories:
2028 --prefix=PREFIX install architecture-independent files in PREFIX
2029 [$ac_default_prefix]
2030 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2031 [PREFIX]
2033 By default, \`make install' will install all the files in
2034 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2035 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2036 for instance \`--prefix=\$HOME'.
2038 For better control, use the options below.
2040 Fine tuning of the installation directories:
2041 --bindir=DIR user executables [EPREFIX/bin]
2042 --sbindir=DIR system admin executables [EPREFIX/sbin]
2043 --libexecdir=DIR program executables [EPREFIX/libexec]
2044 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2045 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2046 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2047 --libdir=DIR object code libraries [EPREFIX/lib]
2048 --includedir=DIR C header files [PREFIX/include]
2049 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2050 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2051 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2052 --infodir=DIR info documentation [DATAROOTDIR/info]
2053 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2054 --mandir=DIR man documentation [DATAROOTDIR/man]
2055 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2056 --htmldir=DIR html documentation [DOCDIR]
2057 --dvidir=DIR dvi documentation [DOCDIR]
2058 --pdfdir=DIR pdf documentation [DOCDIR]
2059 --psdir=DIR ps documentation [DOCDIR]
2060 _ACEOF
2062 cat <<\_ACEOF
2064 X features:
2065 --x-includes=DIR X include files are in DIR
2066 --x-libraries=DIR X library files are in DIR
2068 System types:
2069 --build=BUILD configure for building on BUILD [guessed]
2070 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2071 _ACEOF
2074 if test -n "$ac_init_help"; then
2075 case $ac_init_help in
2076 short | recursive ) echo "Configuration of Wine 1.7.32:";;
2077 esac
2078 cat <<\_ACEOF
2080 Optional Features:
2081 --disable-option-checking ignore unrecognized --enable/--with options
2082 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2083 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2084 --disable-win16 do not include Win16 support
2085 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2086 binaries)
2087 --disable-tests do not build the regression tests
2088 --enable-maintainer-mode
2089 enable maintainer-specific build rules
2090 --disable-largefile omit support for large files
2092 Optional Packages:
2093 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2094 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2095 --without-alsa do not use the Alsa sound support
2096 --without-capi do not use CAPI (ISDN support)
2097 --without-cms do not use CMS (color management support)
2098 --without-coreaudio do not use the CoreAudio sound support
2099 --without-cups do not use CUPS
2100 --without-curses do not use (n)curses
2101 --without-dbus do not use DBus (dynamic device support)
2102 --without-fontconfig do not use fontconfig
2103 --without-freetype do not use the FreeType library
2104 --without-gettext do not use gettext
2105 --with-gettextpo use the GetTextPO library to rebuild po files
2106 --without-gphoto do not use gphoto (Digital Camera support)
2107 --without-glu do not use the GLU library
2108 --without-gnutls do not use GnuTLS (schannel support)
2109 --without-gsm do not use libgsm (GSM 06.10 codec support)
2110 --without-gstreamer do not use GStreamer (codecs support)
2111 --without-hal do not use HAL (dynamic device support)
2112 --without-jpeg do not use JPEG
2113 --without-ldap do not use LDAP
2114 --without-mpg123 do not use the mpg123 library
2115 --without-netapi do not use the Samba NetAPI library
2116 --without-openal do not use OpenAL
2117 --without-opencl do not use OpenCL
2118 --without-opengl do not use OpenGL
2119 --without-osmesa do not use the OSMesa library
2120 --without-oss do not use the OSS sound support
2121 --without-pcap do not use the Packet Capture library
2122 --without-png do not use PNG
2123 --without-pthread do not use the pthread library
2124 --without-sane do not use SANE (scanner support)
2125 --without-tiff do not use TIFF
2126 --without-v4l do not use v4l1 (v4l support)
2127 --without-xcomposite do not use the Xcomposite extension
2128 --without-xcursor do not use the Xcursor extension
2129 --without-xinerama do not use Xinerama (multi-monitor support)
2130 --without-xinput do not use the Xinput extension
2131 --without-xinput2 do not use the Xinput 2 extension
2132 --without-xml do not use XML
2133 --without-xrandr do not use Xrandr (resolution changes)
2134 --without-xrender do not use the Xrender extension
2135 --without-xshape do not use the Xshape extension
2136 --without-xshm do not use XShm (shared memory extension)
2137 --without-xslt do not use XSLT
2138 --without-xxf86vm do not use XFree video mode extension
2139 --without-zlib do not use Zlib (data compression)
2140 --with-wine-tools=DIR use Wine tools from directory DIR
2141 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2142 --with-x use the X Window System
2144 Some influential environment variables:
2145 CC C compiler command
2146 CFLAGS C compiler flags
2147 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2148 nonstandard directory <lib dir>
2149 LIBS libraries to pass to the linker, e.g. -l<library>
2150 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2151 you have headers in a nonstandard directory <include dir>
2152 CXX C++ compiler command
2153 CXXFLAGS C++ compiler flags
2154 CPP C preprocessor
2155 XMKMF Path to xmkmf, Makefile generator for X Window System
2156 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2157 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2158 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2159 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2160 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2161 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2162 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2163 HAL_LIBS Linker flags for hal, overriding pkg-config
2164 GNUTLS_CFLAGS
2165 C compiler flags for gnutls, overriding pkg-config
2166 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2167 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2168 SANE_LIBS Linker flags for libsane, overriding pkg-config
2169 GPHOTO2_CFLAGS
2170 C compiler flags for libgphoto2, overriding pkg-config
2171 GPHOTO2_LIBS
2172 Linker flags for libgphoto2, overriding pkg-config
2173 GPHOTO2_PORT_CFLAGS
2174 C compiler flags for libgphoto2_port, overriding pkg-config
2175 GPHOTO2_PORT_LIBS
2176 Linker flags for libgphoto2_port, overriding pkg-config
2177 LCMS2_CFLAGS
2178 C compiler flags for lcms2, overriding pkg-config
2179 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2180 FREETYPE_CFLAGS
2181 C compiler flags for freetype2, overriding pkg-config
2182 FREETYPE_LIBS
2183 Linker flags for freetype2, overriding pkg-config
2184 GSTREAMER_CFLAGS
2185 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2186 GSTREAMER_LIBS
2187 Linker flags for gstreamer-app-0.10, overriding pkg-config
2188 CAPI20_CFLAGS
2189 C compiler flags for capi20, overriding pkg-config
2190 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2191 FONTCONFIG_CFLAGS
2192 C compiler flags for fontconfig, overriding pkg-config
2193 FONTCONFIG_LIBS
2194 Linker flags for fontconfig, overriding pkg-config
2195 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2196 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2197 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2198 PNG_LIBS Linker flags for libpng, overriding pkg-config
2199 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2200 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2201 MPG123_CFLAGS
2202 C compiler flags for libmpg123, overriding pkg-config
2203 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2205 Use these variables to override the choices made by `configure' or to help
2206 it to find libraries and programs with nonstandard names/locations.
2208 Report bugs to <wine-devel@winehq.org>.
2209 Wine home page: <http://www.winehq.org>.
2210 _ACEOF
2211 ac_status=$?
2214 if test "$ac_init_help" = "recursive"; then
2215 # If there are subdirs, report their specific --help.
2216 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2217 test -d "$ac_dir" ||
2218 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2219 continue
2220 ac_builddir=.
2222 case "$ac_dir" in
2223 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2225 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2226 # A ".." for each directory in $ac_dir_suffix.
2227 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2228 case $ac_top_builddir_sub in
2229 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2230 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2231 esac ;;
2232 esac
2233 ac_abs_top_builddir=$ac_pwd
2234 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2235 # for backward compatibility:
2236 ac_top_builddir=$ac_top_build_prefix
2238 case $srcdir in
2239 .) # We are building in place.
2240 ac_srcdir=.
2241 ac_top_srcdir=$ac_top_builddir_sub
2242 ac_abs_top_srcdir=$ac_pwd ;;
2243 [\\/]* | ?:[\\/]* ) # Absolute name.
2244 ac_srcdir=$srcdir$ac_dir_suffix;
2245 ac_top_srcdir=$srcdir
2246 ac_abs_top_srcdir=$srcdir ;;
2247 *) # Relative name.
2248 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2249 ac_top_srcdir=$ac_top_build_prefix$srcdir
2250 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2251 esac
2252 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2254 cd "$ac_dir" || { ac_status=$?; continue; }
2255 # Check for guested configure.
2256 if test -f "$ac_srcdir/configure.gnu"; then
2257 echo &&
2258 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2259 elif test -f "$ac_srcdir/configure"; then
2260 echo &&
2261 $SHELL "$ac_srcdir/configure" --help=recursive
2262 else
2263 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2264 fi || ac_status=$?
2265 cd "$ac_pwd" || { ac_status=$?; break; }
2266 done
2269 test -n "$ac_init_help" && exit $ac_status
2270 if $ac_init_version; then
2271 cat <<\_ACEOF
2272 Wine configure 1.7.32
2273 generated by GNU Autoconf 2.69
2275 Copyright (C) 2012 Free Software Foundation, Inc.
2276 This configure script is free software; the Free Software Foundation
2277 gives unlimited permission to copy, distribute and modify it.
2278 _ACEOF
2279 exit
2282 ## ------------------------ ##
2283 ## Autoconf initialization. ##
2284 ## ------------------------ ##
2286 # ac_fn_c_try_compile LINENO
2287 # --------------------------
2288 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2289 ac_fn_c_try_compile ()
2291 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2292 rm -f conftest.$ac_objext
2293 if { { ac_try="$ac_compile"
2294 case "(($ac_try" in
2295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2296 *) ac_try_echo=$ac_try;;
2297 esac
2298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2299 $as_echo "$ac_try_echo"; } >&5
2300 (eval "$ac_compile") 2>conftest.err
2301 ac_status=$?
2302 if test -s conftest.err; then
2303 grep -v '^ *+' conftest.err >conftest.er1
2304 cat conftest.er1 >&5
2305 mv -f conftest.er1 conftest.err
2307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2308 test $ac_status = 0; } && {
2309 test -z "$ac_c_werror_flag" ||
2310 test ! -s conftest.err
2311 } && test -s conftest.$ac_objext; then :
2312 ac_retval=0
2313 else
2314 $as_echo "$as_me: failed program was:" >&5
2315 sed 's/^/| /' conftest.$ac_ext >&5
2317 ac_retval=1
2319 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2320 as_fn_set_status $ac_retval
2322 } # ac_fn_c_try_compile
2324 # ac_fn_cxx_try_compile LINENO
2325 # ----------------------------
2326 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2327 ac_fn_cxx_try_compile ()
2329 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2330 rm -f conftest.$ac_objext
2331 if { { ac_try="$ac_compile"
2332 case "(($ac_try" in
2333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2334 *) ac_try_echo=$ac_try;;
2335 esac
2336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2337 $as_echo "$ac_try_echo"; } >&5
2338 (eval "$ac_compile") 2>conftest.err
2339 ac_status=$?
2340 if test -s conftest.err; then
2341 grep -v '^ *+' conftest.err >conftest.er1
2342 cat conftest.er1 >&5
2343 mv -f conftest.er1 conftest.err
2345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2346 test $ac_status = 0; } && {
2347 test -z "$ac_cxx_werror_flag" ||
2348 test ! -s conftest.err
2349 } && test -s conftest.$ac_objext; then :
2350 ac_retval=0
2351 else
2352 $as_echo "$as_me: failed program was:" >&5
2353 sed 's/^/| /' conftest.$ac_ext >&5
2355 ac_retval=1
2357 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2358 as_fn_set_status $ac_retval
2360 } # ac_fn_cxx_try_compile
2362 # ac_fn_c_try_link LINENO
2363 # -----------------------
2364 # Try to link conftest.$ac_ext, and return whether this succeeded.
2365 ac_fn_c_try_link ()
2367 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2368 rm -f conftest.$ac_objext conftest$ac_exeext
2369 if { { ac_try="$ac_link"
2370 case "(($ac_try" in
2371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2372 *) ac_try_echo=$ac_try;;
2373 esac
2374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2375 $as_echo "$ac_try_echo"; } >&5
2376 (eval "$ac_link") 2>conftest.err
2377 ac_status=$?
2378 if test -s conftest.err; then
2379 grep -v '^ *+' conftest.err >conftest.er1
2380 cat conftest.er1 >&5
2381 mv -f conftest.er1 conftest.err
2383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2384 test $ac_status = 0; } && {
2385 test -z "$ac_c_werror_flag" ||
2386 test ! -s conftest.err
2387 } && test -s conftest$ac_exeext && {
2388 test "$cross_compiling" = yes ||
2389 test -x conftest$ac_exeext
2390 }; then :
2391 ac_retval=0
2392 else
2393 $as_echo "$as_me: failed program was:" >&5
2394 sed 's/^/| /' conftest.$ac_ext >&5
2396 ac_retval=1
2398 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2399 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2400 # interfere with the next link command; also delete a directory that is
2401 # left behind by Apple's compiler. We do this before executing the actions.
2402 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2403 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2404 as_fn_set_status $ac_retval
2406 } # ac_fn_c_try_link
2408 # ac_fn_c_try_cpp LINENO
2409 # ----------------------
2410 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2411 ac_fn_c_try_cpp ()
2413 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2414 if { { ac_try="$ac_cpp conftest.$ac_ext"
2415 case "(($ac_try" in
2416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2417 *) ac_try_echo=$ac_try;;
2418 esac
2419 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2420 $as_echo "$ac_try_echo"; } >&5
2421 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2422 ac_status=$?
2423 if test -s conftest.err; then
2424 grep -v '^ *+' conftest.err >conftest.er1
2425 cat conftest.er1 >&5
2426 mv -f conftest.er1 conftest.err
2428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2429 test $ac_status = 0; } > conftest.i && {
2430 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2431 test ! -s conftest.err
2432 }; then :
2433 ac_retval=0
2434 else
2435 $as_echo "$as_me: failed program was:" >&5
2436 sed 's/^/| /' conftest.$ac_ext >&5
2438 ac_retval=1
2440 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2441 as_fn_set_status $ac_retval
2443 } # ac_fn_c_try_cpp
2445 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2446 # -------------------------------------------------------
2447 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2448 # the include files in INCLUDES and setting the cache variable VAR
2449 # accordingly.
2450 ac_fn_c_check_header_mongrel ()
2452 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2453 if eval \${$3+:} false; then :
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2455 $as_echo_n "checking for $2... " >&6; }
2456 if eval \${$3+:} false; then :
2457 $as_echo_n "(cached) " >&6
2459 eval ac_res=\$$3
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2461 $as_echo "$ac_res" >&6; }
2462 else
2463 # Is the header compilable?
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2465 $as_echo_n "checking $2 usability... " >&6; }
2466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2467 /* end confdefs.h. */
2469 #include <$2>
2470 _ACEOF
2471 if ac_fn_c_try_compile "$LINENO"; then :
2472 ac_header_compiler=yes
2473 else
2474 ac_header_compiler=no
2476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2478 $as_echo "$ac_header_compiler" >&6; }
2480 # Is the header present?
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2482 $as_echo_n "checking $2 presence... " >&6; }
2483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2484 /* end confdefs.h. */
2485 #include <$2>
2486 _ACEOF
2487 if ac_fn_c_try_cpp "$LINENO"; then :
2488 ac_header_preproc=yes
2489 else
2490 ac_header_preproc=no
2492 rm -f conftest.err conftest.i conftest.$ac_ext
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2494 $as_echo "$ac_header_preproc" >&6; }
2496 # So? What about this header?
2497 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2498 yes:no: )
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2500 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2502 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2504 no:yes:* )
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2506 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2508 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2510 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2512 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2514 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2515 ( $as_echo "## ------------------------------------ ##
2516 ## Report this to wine-devel@winehq.org ##
2517 ## ------------------------------------ ##"
2518 ) | sed "s/^/$as_me: WARNING: /" >&2
2520 esac
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2522 $as_echo_n "checking for $2... " >&6; }
2523 if eval \${$3+:} false; then :
2524 $as_echo_n "(cached) " >&6
2525 else
2526 eval "$3=\$ac_header_compiler"
2528 eval ac_res=\$$3
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2530 $as_echo "$ac_res" >&6; }
2532 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2534 } # ac_fn_c_check_header_mongrel
2536 # ac_fn_c_try_run LINENO
2537 # ----------------------
2538 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2539 # that executables *can* be run.
2540 ac_fn_c_try_run ()
2542 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2543 if { { ac_try="$ac_link"
2544 case "(($ac_try" in
2545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2546 *) ac_try_echo=$ac_try;;
2547 esac
2548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2549 $as_echo "$ac_try_echo"; } >&5
2550 (eval "$ac_link") 2>&5
2551 ac_status=$?
2552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2553 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2554 { { case "(($ac_try" in
2555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2556 *) ac_try_echo=$ac_try;;
2557 esac
2558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2559 $as_echo "$ac_try_echo"; } >&5
2560 (eval "$ac_try") 2>&5
2561 ac_status=$?
2562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2563 test $ac_status = 0; }; }; then :
2564 ac_retval=0
2565 else
2566 $as_echo "$as_me: program exited with status $ac_status" >&5
2567 $as_echo "$as_me: failed program was:" >&5
2568 sed 's/^/| /' conftest.$ac_ext >&5
2570 ac_retval=$ac_status
2572 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2573 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2574 as_fn_set_status $ac_retval
2576 } # ac_fn_c_try_run
2578 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2579 # -------------------------------------------------------
2580 # Tests whether HEADER exists and can be compiled using the include files in
2581 # INCLUDES, setting the cache variable VAR accordingly.
2582 ac_fn_c_check_header_compile ()
2584 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2586 $as_echo_n "checking for $2... " >&6; }
2587 if eval \${$3+:} false; then :
2588 $as_echo_n "(cached) " >&6
2589 else
2590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2591 /* end confdefs.h. */
2593 #include <$2>
2594 _ACEOF
2595 if ac_fn_c_try_compile "$LINENO"; then :
2596 eval "$3=yes"
2597 else
2598 eval "$3=no"
2600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2602 eval ac_res=\$$3
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2604 $as_echo "$ac_res" >&6; }
2605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2607 } # ac_fn_c_check_header_compile
2609 # ac_fn_c_check_func LINENO FUNC VAR
2610 # ----------------------------------
2611 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2612 ac_fn_c_check_func ()
2614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2616 $as_echo_n "checking for $2... " >&6; }
2617 if eval \${$3+:} false; then :
2618 $as_echo_n "(cached) " >&6
2619 else
2620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2621 /* end confdefs.h. */
2622 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2624 #define $2 innocuous_$2
2626 /* System header to define __stub macros and hopefully few prototypes,
2627 which can conflict with char $2 (); below.
2628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2629 <limits.h> exists even on freestanding compilers. */
2631 #ifdef __STDC__
2632 # include <limits.h>
2633 #else
2634 # include <assert.h>
2635 #endif
2637 #undef $2
2639 /* Override any GCC internal prototype to avoid an error.
2640 Use char because int might match the return type of a GCC
2641 builtin and then its argument prototype would still apply. */
2642 #ifdef __cplusplus
2643 extern "C"
2644 #endif
2645 char $2 ();
2646 /* The GNU C library defines this for functions which it implements
2647 to always fail with ENOSYS. Some functions are actually named
2648 something starting with __ and the normal name is an alias. */
2649 #if defined __stub_$2 || defined __stub___$2
2650 choke me
2651 #endif
2654 main ()
2656 return $2 ();
2658 return 0;
2660 _ACEOF
2661 if ac_fn_c_try_link "$LINENO"; then :
2662 eval "$3=yes"
2663 else
2664 eval "$3=no"
2666 rm -f core conftest.err conftest.$ac_objext \
2667 conftest$ac_exeext conftest.$ac_ext
2669 eval ac_res=\$$3
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2671 $as_echo "$ac_res" >&6; }
2672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2674 } # ac_fn_c_check_func
2676 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2677 # ----------------------------------------------------
2678 # Tries to find if the field MEMBER exists in type AGGR, after including
2679 # INCLUDES, setting cache variable VAR accordingly.
2680 ac_fn_c_check_member ()
2682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2684 $as_echo_n "checking for $2.$3... " >&6; }
2685 if eval \${$4+:} false; then :
2686 $as_echo_n "(cached) " >&6
2687 else
2688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2689 /* end confdefs.h. */
2692 main ()
2694 static $2 ac_aggr;
2695 if (ac_aggr.$3)
2696 return 0;
2698 return 0;
2700 _ACEOF
2701 if ac_fn_c_try_compile "$LINENO"; then :
2702 eval "$4=yes"
2703 else
2704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2705 /* end confdefs.h. */
2708 main ()
2710 static $2 ac_aggr;
2711 if (sizeof ac_aggr.$3)
2712 return 0;
2714 return 0;
2716 _ACEOF
2717 if ac_fn_c_try_compile "$LINENO"; then :
2718 eval "$4=yes"
2719 else
2720 eval "$4=no"
2722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2726 eval ac_res=\$$4
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2728 $as_echo "$ac_res" >&6; }
2729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2731 } # ac_fn_c_check_member
2733 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2734 # -------------------------------------------
2735 # Tests whether TYPE exists after having included INCLUDES, setting cache
2736 # variable VAR accordingly.
2737 ac_fn_c_check_type ()
2739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2741 $as_echo_n "checking for $2... " >&6; }
2742 if eval \${$3+:} false; then :
2743 $as_echo_n "(cached) " >&6
2744 else
2745 eval "$3=no"
2746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2747 /* end confdefs.h. */
2750 main ()
2752 if (sizeof ($2))
2753 return 0;
2755 return 0;
2757 _ACEOF
2758 if ac_fn_c_try_compile "$LINENO"; then :
2759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2760 /* end confdefs.h. */
2763 main ()
2765 if (sizeof (($2)))
2766 return 0;
2768 return 0;
2770 _ACEOF
2771 if ac_fn_c_try_compile "$LINENO"; then :
2773 else
2774 eval "$3=yes"
2776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2780 eval ac_res=\$$3
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2782 $as_echo "$ac_res" >&6; }
2783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2785 } # ac_fn_c_check_type
2786 cat >config.log <<_ACEOF
2787 This file contains any messages produced by compilers while
2788 running configure, to aid debugging if configure makes a mistake.
2790 It was created by Wine $as_me 1.7.32, which was
2791 generated by GNU Autoconf 2.69. Invocation command line was
2793 $ $0 $@
2795 _ACEOF
2796 exec 5>>config.log
2798 cat <<_ASUNAME
2799 ## --------- ##
2800 ## Platform. ##
2801 ## --------- ##
2803 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2804 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2805 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2806 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2807 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2809 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2810 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2812 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2813 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2814 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2815 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2816 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2817 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2818 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2820 _ASUNAME
2822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2823 for as_dir in $PATH
2825 IFS=$as_save_IFS
2826 test -z "$as_dir" && as_dir=.
2827 $as_echo "PATH: $as_dir"
2828 done
2829 IFS=$as_save_IFS
2831 } >&5
2833 cat >&5 <<_ACEOF
2836 ## ----------- ##
2837 ## Core tests. ##
2838 ## ----------- ##
2840 _ACEOF
2843 # Keep a trace of the command line.
2844 # Strip out --no-create and --no-recursion so they do not pile up.
2845 # Strip out --silent because we don't want to record it for future runs.
2846 # Also quote any args containing shell meta-characters.
2847 # Make two passes to allow for proper duplicate-argument suppression.
2848 ac_configure_args=
2849 ac_configure_args0=
2850 ac_configure_args1=
2851 ac_must_keep_next=false
2852 for ac_pass in 1 2
2854 for ac_arg
2856 case $ac_arg in
2857 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2858 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2859 | -silent | --silent | --silen | --sile | --sil)
2860 continue ;;
2861 *\'*)
2862 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2863 esac
2864 case $ac_pass in
2865 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2867 as_fn_append ac_configure_args1 " '$ac_arg'"
2868 if test $ac_must_keep_next = true; then
2869 ac_must_keep_next=false # Got value, back to normal.
2870 else
2871 case $ac_arg in
2872 *=* | --config-cache | -C | -disable-* | --disable-* \
2873 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2874 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2875 | -with-* | --with-* | -without-* | --without-* | --x)
2876 case "$ac_configure_args0 " in
2877 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2878 esac
2880 -* ) ac_must_keep_next=true ;;
2881 esac
2883 as_fn_append ac_configure_args " '$ac_arg'"
2885 esac
2886 done
2887 done
2888 { ac_configure_args0=; unset ac_configure_args0;}
2889 { ac_configure_args1=; unset ac_configure_args1;}
2891 # When interrupted or exit'd, cleanup temporary files, and complete
2892 # config.log. We remove comments because anyway the quotes in there
2893 # would cause problems or look ugly.
2894 # WARNING: Use '\'' to represent an apostrophe within the trap.
2895 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2896 trap 'exit_status=$?
2897 # Save into config.log some information that might help in debugging.
2899 echo
2901 $as_echo "## ---------------- ##
2902 ## Cache variables. ##
2903 ## ---------------- ##"
2904 echo
2905 # The following way of writing the cache mishandles newlines in values,
2907 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2908 eval ac_val=\$$ac_var
2909 case $ac_val in #(
2910 *${as_nl}*)
2911 case $ac_var in #(
2912 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2913 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2914 esac
2915 case $ac_var in #(
2916 _ | IFS | as_nl) ;; #(
2917 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2918 *) { eval $ac_var=; unset $ac_var;} ;;
2919 esac ;;
2920 esac
2921 done
2922 (set) 2>&1 |
2923 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2924 *${as_nl}ac_space=\ *)
2925 sed -n \
2926 "s/'\''/'\''\\\\'\'''\''/g;
2927 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2928 ;; #(
2930 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2932 esac |
2933 sort
2935 echo
2937 $as_echo "## ----------------- ##
2938 ## Output variables. ##
2939 ## ----------------- ##"
2940 echo
2941 for ac_var in $ac_subst_vars
2943 eval ac_val=\$$ac_var
2944 case $ac_val in
2945 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2946 esac
2947 $as_echo "$ac_var='\''$ac_val'\''"
2948 done | sort
2949 echo
2951 if test -n "$ac_subst_files"; then
2952 $as_echo "## ------------------- ##
2953 ## File substitutions. ##
2954 ## ------------------- ##"
2955 echo
2956 for ac_var in $ac_subst_files
2958 eval ac_val=\$$ac_var
2959 case $ac_val in
2960 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2961 esac
2962 $as_echo "$ac_var='\''$ac_val'\''"
2963 done | sort
2964 echo
2967 if test -s confdefs.h; then
2968 $as_echo "## ----------- ##
2969 ## confdefs.h. ##
2970 ## ----------- ##"
2971 echo
2972 cat confdefs.h
2973 echo
2975 test "$ac_signal" != 0 &&
2976 $as_echo "$as_me: caught signal $ac_signal"
2977 $as_echo "$as_me: exit $exit_status"
2978 } >&5
2979 rm -f core *.core core.conftest.* &&
2980 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2981 exit $exit_status
2983 for ac_signal in 1 2 13 15; do
2984 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2985 done
2986 ac_signal=0
2988 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2989 rm -f -r conftest* confdefs.h
2991 $as_echo "/* confdefs.h */" > confdefs.h
2993 # Predefined preprocessor variables.
2995 cat >>confdefs.h <<_ACEOF
2996 #define PACKAGE_NAME "$PACKAGE_NAME"
2997 _ACEOF
2999 cat >>confdefs.h <<_ACEOF
3000 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3001 _ACEOF
3003 cat >>confdefs.h <<_ACEOF
3004 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3005 _ACEOF
3007 cat >>confdefs.h <<_ACEOF
3008 #define PACKAGE_STRING "$PACKAGE_STRING"
3009 _ACEOF
3011 cat >>confdefs.h <<_ACEOF
3012 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3013 _ACEOF
3015 cat >>confdefs.h <<_ACEOF
3016 #define PACKAGE_URL "$PACKAGE_URL"
3017 _ACEOF
3020 # Let the site file select an alternate cache file if it wants to.
3021 # Prefer an explicitly selected file to automatically selected ones.
3022 ac_site_file1=NONE
3023 ac_site_file2=NONE
3024 if test -n "$CONFIG_SITE"; then
3025 # We do not want a PATH search for config.site.
3026 case $CONFIG_SITE in #((
3027 -*) ac_site_file1=./$CONFIG_SITE;;
3028 */*) ac_site_file1=$CONFIG_SITE;;
3029 *) ac_site_file1=./$CONFIG_SITE;;
3030 esac
3031 elif test "x$prefix" != xNONE; then
3032 ac_site_file1=$prefix/share/config.site
3033 ac_site_file2=$prefix/etc/config.site
3034 else
3035 ac_site_file1=$ac_default_prefix/share/config.site
3036 ac_site_file2=$ac_default_prefix/etc/config.site
3038 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3040 test "x$ac_site_file" = xNONE && continue
3041 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3043 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3044 sed 's/^/| /' "$ac_site_file" >&5
3045 . "$ac_site_file" \
3046 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3048 as_fn_error $? "failed to load site script $ac_site_file
3049 See \`config.log' for more details" "$LINENO" 5; }
3051 done
3053 if test -r "$cache_file"; then
3054 # Some versions of bash will fail to source /dev/null (special files
3055 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3056 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3058 $as_echo "$as_me: loading cache $cache_file" >&6;}
3059 case $cache_file in
3060 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3061 *) . "./$cache_file";;
3062 esac
3064 else
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3066 $as_echo "$as_me: creating cache $cache_file" >&6;}
3067 >$cache_file
3070 # Check that the precious variables saved in the cache have kept the same
3071 # value.
3072 ac_cache_corrupted=false
3073 for ac_var in $ac_precious_vars; do
3074 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3075 eval ac_new_set=\$ac_env_${ac_var}_set
3076 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3077 eval ac_new_val=\$ac_env_${ac_var}_value
3078 case $ac_old_set,$ac_new_set in
3079 set,)
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3081 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3082 ac_cache_corrupted=: ;;
3083 ,set)
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3085 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3086 ac_cache_corrupted=: ;;
3087 ,);;
3089 if test "x$ac_old_val" != "x$ac_new_val"; then
3090 # differences in whitespace do not lead to failure.
3091 ac_old_val_w=`echo x $ac_old_val`
3092 ac_new_val_w=`echo x $ac_new_val`
3093 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3095 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3096 ac_cache_corrupted=:
3097 else
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3099 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3100 eval $ac_var=\$ac_old_val
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3103 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3105 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3106 fi;;
3107 esac
3108 # Pass precious variables to config.status.
3109 if test "$ac_new_set" = set; then
3110 case $ac_new_val in
3111 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3112 *) ac_arg=$ac_var=$ac_new_val ;;
3113 esac
3114 case " $ac_configure_args " in
3115 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3116 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3117 esac
3119 done
3120 if $ac_cache_corrupted; then
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3124 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3125 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3127 ## -------------------- ##
3128 ## Main body of script. ##
3129 ## -------------------- ##
3131 ac_ext=c
3132 ac_cpp='$CPP $CPPFLAGS'
3133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3139 ac_config_headers="$ac_config_headers include/config.h"
3141 ac_aux_dir=
3142 for ac_dir in tools "$srcdir"/tools; do
3143 if test -f "$ac_dir/install-sh"; then
3144 ac_aux_dir=$ac_dir
3145 ac_install_sh="$ac_aux_dir/install-sh -c"
3146 break
3147 elif test -f "$ac_dir/install.sh"; then
3148 ac_aux_dir=$ac_dir
3149 ac_install_sh="$ac_aux_dir/install.sh -c"
3150 break
3151 elif test -f "$ac_dir/shtool"; then
3152 ac_aux_dir=$ac_dir
3153 ac_install_sh="$ac_aux_dir/shtool install -c"
3154 break
3156 done
3157 if test -z "$ac_aux_dir"; then
3158 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3161 # These three variables are undocumented and unsupported,
3162 # and are intended to be withdrawn in a future Autoconf release.
3163 # They can cause serious problems if a builder's source tree is in a directory
3164 # whose full name contains unusual characters.
3165 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3166 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3167 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3171 libwine_version="1.0"
3175 # Check whether --enable-win16 was given.
3176 if test "${enable_win16+set}" = set; then :
3177 enableval=$enable_win16;
3180 # Check whether --enable-win64 was given.
3181 if test "${enable_win64+set}" = set; then :
3182 enableval=$enable_win64;
3185 # Check whether --enable-tests was given.
3186 if test "${enable_tests+set}" = set; then :
3187 enableval=$enable_tests;
3190 # Check whether --enable-maintainer-mode was given.
3191 if test "${enable_maintainer_mode+set}" = set; then :
3192 enableval=$enable_maintainer_mode;
3197 # Check whether --with-alsa was given.
3198 if test "${with_alsa+set}" = set; then :
3199 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3203 # Check whether --with-capi was given.
3204 if test "${with_capi+set}" = set; then :
3205 withval=$with_capi;
3209 # Check whether --with-cms was given.
3210 if test "${with_cms+set}" = set; then :
3211 withval=$with_cms;
3215 # Check whether --with-coreaudio was given.
3216 if test "${with_coreaudio+set}" = set; then :
3217 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3221 # Check whether --with-cups was given.
3222 if test "${with_cups+set}" = set; then :
3223 withval=$with_cups;
3227 # Check whether --with-curses was given.
3228 if test "${with_curses+set}" = set; then :
3229 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3233 # Check whether --with-dbus was given.
3234 if test "${with_dbus+set}" = set; then :
3235 withval=$with_dbus;
3239 # Check whether --with-fontconfig was given.
3240 if test "${with_fontconfig+set}" = set; then :
3241 withval=$with_fontconfig;
3245 # Check whether --with-freetype was given.
3246 if test "${with_freetype+set}" = set; then :
3247 withval=$with_freetype;
3251 # Check whether --with-gettext was given.
3252 if test "${with_gettext+set}" = set; then :
3253 withval=$with_gettext;
3257 # Check whether --with-gettextpo was given.
3258 if test "${with_gettextpo+set}" = set; then :
3259 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3263 # Check whether --with-gphoto was given.
3264 if test "${with_gphoto+set}" = set; then :
3265 withval=$with_gphoto;
3269 # Check whether --with-glu was given.
3270 if test "${with_glu+set}" = set; then :
3271 withval=$with_glu;
3275 # Check whether --with-gnutls was given.
3276 if test "${with_gnutls+set}" = set; then :
3277 withval=$with_gnutls;
3281 # Check whether --with-gsm was given.
3282 if test "${with_gsm+set}" = set; then :
3283 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3287 # Check whether --with-gstreamer was given.
3288 if test "${with_gstreamer+set}" = set; then :
3289 withval=$with_gstreamer;
3293 # Check whether --with-hal was given.
3294 if test "${with_hal+set}" = set; then :
3295 withval=$with_hal;
3299 # Check whether --with-jpeg was given.
3300 if test "${with_jpeg+set}" = set; then :
3301 withval=$with_jpeg;
3305 # Check whether --with-ldap was given.
3306 if test "${with_ldap+set}" = set; then :
3307 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3311 # Check whether --with-mpg123 was given.
3312 if test "${with_mpg123+set}" = set; then :
3313 withval=$with_mpg123;
3317 # Check whether --with-netapi was given.
3318 if test "${with_netapi+set}" = set; then :
3319 withval=$with_netapi;
3323 # Check whether --with-openal was given.
3324 if test "${with_openal+set}" = set; then :
3325 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3329 # Check whether --with-opencl was given.
3330 if test "${with_opencl+set}" = set; then :
3331 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3335 # Check whether --with-opengl was given.
3336 if test "${with_opengl+set}" = set; then :
3337 withval=$with_opengl;
3341 # Check whether --with-osmesa was given.
3342 if test "${with_osmesa+set}" = set; then :
3343 withval=$with_osmesa;
3347 # Check whether --with-oss was given.
3348 if test "${with_oss+set}" = set; then :
3349 withval=$with_oss;
3353 # Check whether --with-pcap was given.
3354 if test "${with_pcap+set}" = set; then :
3355 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3359 # Check whether --with-png was given.
3360 if test "${with_png+set}" = set; then :
3361 withval=$with_png;
3365 # Check whether --with-pthread was given.
3366 if test "${with_pthread+set}" = set; then :
3367 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3371 # Check whether --with-sane was given.
3372 if test "${with_sane+set}" = set; then :
3373 withval=$with_sane;
3377 # Check whether --with-tiff was given.
3378 if test "${with_tiff+set}" = set; then :
3379 withval=$with_tiff;
3383 # Check whether --with-v4l was given.
3384 if test "${with_v4l+set}" = set; then :
3385 withval=$with_v4l;
3389 # Check whether --with-xcomposite was given.
3390 if test "${with_xcomposite+set}" = set; then :
3391 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3395 # Check whether --with-xcursor was given.
3396 if test "${with_xcursor+set}" = set; then :
3397 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3401 # Check whether --with-xinerama was given.
3402 if test "${with_xinerama+set}" = set; then :
3403 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3407 # Check whether --with-xinput was given.
3408 if test "${with_xinput+set}" = set; then :
3409 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3413 # Check whether --with-xinput2 was given.
3414 if test "${with_xinput2+set}" = set; then :
3415 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3419 # Check whether --with-xml was given.
3420 if test "${with_xml+set}" = set; then :
3421 withval=$with_xml;
3425 # Check whether --with-xrandr was given.
3426 if test "${with_xrandr+set}" = set; then :
3427 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3431 # Check whether --with-xrender was given.
3432 if test "${with_xrender+set}" = set; then :
3433 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3437 # Check whether --with-xshape was given.
3438 if test "${with_xshape+set}" = set; then :
3439 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3443 # Check whether --with-xshm was given.
3444 if test "${with_xshm+set}" = set; then :
3445 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3449 # Check whether --with-xslt was given.
3450 if test "${with_xslt+set}" = set; then :
3451 withval=$with_xslt;
3455 # Check whether --with-xxf86vm was given.
3456 if test "${with_xxf86vm+set}" = set; then :
3457 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
3461 # Check whether --with-zlib was given.
3462 if test "${with_zlib+set}" = set; then :
3463 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3468 # Check whether --with-wine-tools was given.
3469 if test "${with_wine_tools+set}" = set; then :
3470 withval=$with_wine_tools;
3474 # Check whether --with-wine64 was given.
3475 if test "${with_wine64+set}" = set; then :
3476 withval=$with_wine64;
3480 # Make sure we can run config.sub.
3481 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3482 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3485 $as_echo_n "checking build system type... " >&6; }
3486 if ${ac_cv_build+:} false; then :
3487 $as_echo_n "(cached) " >&6
3488 else
3489 ac_build_alias=$build_alias
3490 test "x$ac_build_alias" = x &&
3491 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3492 test "x$ac_build_alias" = x &&
3493 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3494 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3495 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3499 $as_echo "$ac_cv_build" >&6; }
3500 case $ac_cv_build in
3501 *-*-*) ;;
3502 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3503 esac
3504 build=$ac_cv_build
3505 ac_save_IFS=$IFS; IFS='-'
3506 set x $ac_cv_build
3507 shift
3508 build_cpu=$1
3509 build_vendor=$2
3510 shift; shift
3511 # Remember, the first character of IFS is used to create $*,
3512 # except with old shells:
3513 build_os=$*
3514 IFS=$ac_save_IFS
3515 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3519 $as_echo_n "checking host system type... " >&6; }
3520 if ${ac_cv_host+:} false; then :
3521 $as_echo_n "(cached) " >&6
3522 else
3523 if test "x$host_alias" = x; then
3524 ac_cv_host=$ac_cv_build
3525 else
3526 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3527 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3532 $as_echo "$ac_cv_host" >&6; }
3533 case $ac_cv_host in
3534 *-*-*) ;;
3535 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3536 esac
3537 host=$ac_cv_host
3538 ac_save_IFS=$IFS; IFS='-'
3539 set x $ac_cv_host
3540 shift
3541 host_cpu=$1
3542 host_vendor=$2
3543 shift; shift
3544 # Remember, the first character of IFS is used to create $*,
3545 # except with old shells:
3546 host_os=$*
3547 IFS=$ac_save_IFS
3548 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3552 case "$srcdir" in
3553 .) ;;
3554 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3555 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3556 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3557 fi ;;
3558 esac
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3562 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3563 set x ${MAKE-make}
3564 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3565 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3566 $as_echo_n "(cached) " >&6
3567 else
3568 cat >conftest.make <<\_ACEOF
3569 SHELL = /bin/sh
3570 all:
3571 @echo '@@@%%%=$(MAKE)=@@@%%%'
3572 _ACEOF
3573 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3574 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3575 *@@@%%%=?*=@@@%%%*)
3576 eval ac_cv_prog_make_${ac_make}_set=yes;;
3578 eval ac_cv_prog_make_${ac_make}_set=no;;
3579 esac
3580 rm -f conftest.make
3582 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3584 $as_echo "yes" >&6; }
3585 SET_MAKE=
3586 else
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3588 $as_echo "no" >&6; }
3589 SET_MAKE="MAKE=${MAKE-make}"
3592 ac_ext=c
3593 ac_cpp='$CPP $CPPFLAGS'
3594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3597 if test -n "$ac_tool_prefix"; then
3598 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3599 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3601 $as_echo_n "checking for $ac_word... " >&6; }
3602 if ${ac_cv_prog_CC+:} false; then :
3603 $as_echo_n "(cached) " >&6
3604 else
3605 if test -n "$CC"; then
3606 ac_cv_prog_CC="$CC" # Let the user override the test.
3607 else
3608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3609 for as_dir in $PATH
3611 IFS=$as_save_IFS
3612 test -z "$as_dir" && as_dir=.
3613 for ac_exec_ext in '' $ac_executable_extensions; do
3614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3615 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3617 break 2
3619 done
3620 done
3621 IFS=$as_save_IFS
3625 CC=$ac_cv_prog_CC
3626 if test -n "$CC"; then
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3628 $as_echo "$CC" >&6; }
3629 else
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631 $as_echo "no" >&6; }
3636 if test -z "$ac_cv_prog_CC"; then
3637 ac_ct_CC=$CC
3638 # Extract the first word of "gcc", so it can be a program name with args.
3639 set dummy gcc; ac_word=$2
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3641 $as_echo_n "checking for $ac_word... " >&6; }
3642 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3643 $as_echo_n "(cached) " >&6
3644 else
3645 if test -n "$ac_ct_CC"; then
3646 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3647 else
3648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649 for as_dir in $PATH
3651 IFS=$as_save_IFS
3652 test -z "$as_dir" && as_dir=.
3653 for ac_exec_ext in '' $ac_executable_extensions; do
3654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3655 ac_cv_prog_ac_ct_CC="gcc"
3656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3657 break 2
3659 done
3660 done
3661 IFS=$as_save_IFS
3665 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3666 if test -n "$ac_ct_CC"; then
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3668 $as_echo "$ac_ct_CC" >&6; }
3669 else
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3671 $as_echo "no" >&6; }
3674 if test "x$ac_ct_CC" = x; then
3675 CC=""
3676 else
3677 case $cross_compiling:$ac_tool_warned in
3678 yes:)
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3681 ac_tool_warned=yes ;;
3682 esac
3683 CC=$ac_ct_CC
3685 else
3686 CC="$ac_cv_prog_CC"
3689 if test -z "$CC"; then
3690 if test -n "$ac_tool_prefix"; then
3691 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3692 set dummy ${ac_tool_prefix}cc; ac_word=$2
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3694 $as_echo_n "checking for $ac_word... " >&6; }
3695 if ${ac_cv_prog_CC+:} false; then :
3696 $as_echo_n "(cached) " >&6
3697 else
3698 if test -n "$CC"; then
3699 ac_cv_prog_CC="$CC" # Let the user override the test.
3700 else
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3704 IFS=$as_save_IFS
3705 test -z "$as_dir" && as_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3708 ac_cv_prog_CC="${ac_tool_prefix}cc"
3709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3710 break 2
3712 done
3713 done
3714 IFS=$as_save_IFS
3718 CC=$ac_cv_prog_CC
3719 if test -n "$CC"; then
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3721 $as_echo "$CC" >&6; }
3722 else
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3724 $as_echo "no" >&6; }
3730 if test -z "$CC"; then
3731 # Extract the first word of "cc", so it can be a program name with args.
3732 set dummy cc; ac_word=$2
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3734 $as_echo_n "checking for $ac_word... " >&6; }
3735 if ${ac_cv_prog_CC+:} false; then :
3736 $as_echo_n "(cached) " >&6
3737 else
3738 if test -n "$CC"; then
3739 ac_cv_prog_CC="$CC" # Let the user override the test.
3740 else
3741 ac_prog_rejected=no
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743 for as_dir in $PATH
3745 IFS=$as_save_IFS
3746 test -z "$as_dir" && as_dir=.
3747 for ac_exec_ext in '' $ac_executable_extensions; do
3748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3749 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3750 ac_prog_rejected=yes
3751 continue
3753 ac_cv_prog_CC="cc"
3754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3755 break 2
3757 done
3758 done
3759 IFS=$as_save_IFS
3761 if test $ac_prog_rejected = yes; then
3762 # We found a bogon in the path, so make sure we never use it.
3763 set dummy $ac_cv_prog_CC
3764 shift
3765 if test $# != 0; then
3766 # We chose a different compiler from the bogus one.
3767 # However, it has the same basename, so the bogon will be chosen
3768 # first if we set CC to just the basename; use the full file name.
3769 shift
3770 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3775 CC=$ac_cv_prog_CC
3776 if test -n "$CC"; then
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3778 $as_echo "$CC" >&6; }
3779 else
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3781 $as_echo "no" >&6; }
3786 if test -z "$CC"; then
3787 if test -n "$ac_tool_prefix"; then
3788 for ac_prog in cl.exe
3790 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3791 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3793 $as_echo_n "checking for $ac_word... " >&6; }
3794 if ${ac_cv_prog_CC+:} false; then :
3795 $as_echo_n "(cached) " >&6
3796 else
3797 if test -n "$CC"; then
3798 ac_cv_prog_CC="$CC" # Let the user override the test.
3799 else
3800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3801 for as_dir in $PATH
3803 IFS=$as_save_IFS
3804 test -z "$as_dir" && as_dir=.
3805 for ac_exec_ext in '' $ac_executable_extensions; do
3806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3807 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3809 break 2
3811 done
3812 done
3813 IFS=$as_save_IFS
3817 CC=$ac_cv_prog_CC
3818 if test -n "$CC"; then
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3820 $as_echo "$CC" >&6; }
3821 else
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3823 $as_echo "no" >&6; }
3827 test -n "$CC" && break
3828 done
3830 if test -z "$CC"; then
3831 ac_ct_CC=$CC
3832 for ac_prog in cl.exe
3834 # Extract the first word of "$ac_prog", so it can be a program name with args.
3835 set dummy $ac_prog; ac_word=$2
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3837 $as_echo_n "checking for $ac_word... " >&6; }
3838 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3839 $as_echo_n "(cached) " >&6
3840 else
3841 if test -n "$ac_ct_CC"; then
3842 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3843 else
3844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3845 for as_dir in $PATH
3847 IFS=$as_save_IFS
3848 test -z "$as_dir" && as_dir=.
3849 for ac_exec_ext in '' $ac_executable_extensions; do
3850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3851 ac_cv_prog_ac_ct_CC="$ac_prog"
3852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3853 break 2
3855 done
3856 done
3857 IFS=$as_save_IFS
3861 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3862 if test -n "$ac_ct_CC"; then
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3864 $as_echo "$ac_ct_CC" >&6; }
3865 else
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3867 $as_echo "no" >&6; }
3871 test -n "$ac_ct_CC" && break
3872 done
3874 if test "x$ac_ct_CC" = x; then
3875 CC=""
3876 else
3877 case $cross_compiling:$ac_tool_warned in
3878 yes:)
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3881 ac_tool_warned=yes ;;
3882 esac
3883 CC=$ac_ct_CC
3890 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3892 as_fn_error $? "no acceptable C compiler found in \$PATH
3893 See \`config.log' for more details" "$LINENO" 5; }
3895 # Provide some information about the compiler.
3896 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3897 set X $ac_compile
3898 ac_compiler=$2
3899 for ac_option in --version -v -V -qversion; do
3900 { { ac_try="$ac_compiler $ac_option >&5"
3901 case "(($ac_try" in
3902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3903 *) ac_try_echo=$ac_try;;
3904 esac
3905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3906 $as_echo "$ac_try_echo"; } >&5
3907 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3908 ac_status=$?
3909 if test -s conftest.err; then
3910 sed '10a\
3911 ... rest of stderr output deleted ...
3912 10q' conftest.err >conftest.er1
3913 cat conftest.er1 >&5
3915 rm -f conftest.er1 conftest.err
3916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3917 test $ac_status = 0; }
3918 done
3920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3921 /* end confdefs.h. */
3924 main ()
3928 return 0;
3930 _ACEOF
3931 ac_clean_files_save=$ac_clean_files
3932 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3933 # Try to create an executable without -o first, disregard a.out.
3934 # It will help us diagnose broken compilers, and finding out an intuition
3935 # of exeext.
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3937 $as_echo_n "checking whether the C compiler works... " >&6; }
3938 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3940 # The possible output files:
3941 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3943 ac_rmfiles=
3944 for ac_file in $ac_files
3946 case $ac_file in
3947 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3948 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3949 esac
3950 done
3951 rm -f $ac_rmfiles
3953 if { { ac_try="$ac_link_default"
3954 case "(($ac_try" in
3955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3956 *) ac_try_echo=$ac_try;;
3957 esac
3958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3959 $as_echo "$ac_try_echo"; } >&5
3960 (eval "$ac_link_default") 2>&5
3961 ac_status=$?
3962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3963 test $ac_status = 0; }; then :
3964 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3965 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3966 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3967 # so that the user can short-circuit this test for compilers unknown to
3968 # Autoconf.
3969 for ac_file in $ac_files ''
3971 test -f "$ac_file" || continue
3972 case $ac_file in
3973 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3975 [ab].out )
3976 # We found the default executable, but exeext='' is most
3977 # certainly right.
3978 break;;
3979 *.* )
3980 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3981 then :; else
3982 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3984 # We set ac_cv_exeext here because the later test for it is not
3985 # safe: cross compilers may not add the suffix if given an `-o'
3986 # argument, so we may need to know it at that point already.
3987 # Even if this section looks crufty: it has the advantage of
3988 # actually working.
3989 break;;
3991 break;;
3992 esac
3993 done
3994 test "$ac_cv_exeext" = no && ac_cv_exeext=
3996 else
3997 ac_file=''
3999 if test -z "$ac_file"; then :
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4001 $as_echo "no" >&6; }
4002 $as_echo "$as_me: failed program was:" >&5
4003 sed 's/^/| /' conftest.$ac_ext >&5
4005 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4007 as_fn_error 77 "C compiler cannot create executables
4008 See \`config.log' for more details" "$LINENO" 5; }
4009 else
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4011 $as_echo "yes" >&6; }
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4014 $as_echo_n "checking for C compiler default output file name... " >&6; }
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4016 $as_echo "$ac_file" >&6; }
4017 ac_exeext=$ac_cv_exeext
4019 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4020 ac_clean_files=$ac_clean_files_save
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4022 $as_echo_n "checking for suffix of executables... " >&6; }
4023 if { { ac_try="$ac_link"
4024 case "(($ac_try" in
4025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4026 *) ac_try_echo=$ac_try;;
4027 esac
4028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4029 $as_echo "$ac_try_echo"; } >&5
4030 (eval "$ac_link") 2>&5
4031 ac_status=$?
4032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4033 test $ac_status = 0; }; then :
4034 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4035 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4036 # work properly (i.e., refer to `conftest.exe'), while it won't with
4037 # `rm'.
4038 for ac_file in conftest.exe conftest conftest.*; do
4039 test -f "$ac_file" || continue
4040 case $ac_file in
4041 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4042 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4043 break;;
4044 * ) break;;
4045 esac
4046 done
4047 else
4048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4050 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4051 See \`config.log' for more details" "$LINENO" 5; }
4053 rm -f conftest conftest$ac_cv_exeext
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4055 $as_echo "$ac_cv_exeext" >&6; }
4057 rm -f conftest.$ac_ext
4058 EXEEXT=$ac_cv_exeext
4059 ac_exeext=$EXEEXT
4060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4061 /* end confdefs.h. */
4062 #include <stdio.h>
4064 main ()
4066 FILE *f = fopen ("conftest.out", "w");
4067 return ferror (f) || fclose (f) != 0;
4070 return 0;
4072 _ACEOF
4073 ac_clean_files="$ac_clean_files conftest.out"
4074 # Check that the compiler produces executables we can run. If not, either
4075 # the compiler is broken, or we cross compile.
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4077 $as_echo_n "checking whether we are cross compiling... " >&6; }
4078 if test "$cross_compiling" != yes; then
4079 { { ac_try="$ac_link"
4080 case "(($ac_try" in
4081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4082 *) ac_try_echo=$ac_try;;
4083 esac
4084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4085 $as_echo "$ac_try_echo"; } >&5
4086 (eval "$ac_link") 2>&5
4087 ac_status=$?
4088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4089 test $ac_status = 0; }
4090 if { ac_try='./conftest$ac_cv_exeext'
4091 { { case "(($ac_try" in
4092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4094 esac
4095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4096 $as_echo "$ac_try_echo"; } >&5
4097 (eval "$ac_try") 2>&5
4098 ac_status=$?
4099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4100 test $ac_status = 0; }; }; then
4101 cross_compiling=no
4102 else
4103 if test "$cross_compiling" = maybe; then
4104 cross_compiling=yes
4105 else
4106 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4108 as_fn_error $? "cannot run C compiled programs.
4109 If you meant to cross compile, use \`--host'.
4110 See \`config.log' for more details" "$LINENO" 5; }
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4115 $as_echo "$cross_compiling" >&6; }
4117 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4118 ac_clean_files=$ac_clean_files_save
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4120 $as_echo_n "checking for suffix of object files... " >&6; }
4121 if ${ac_cv_objext+:} false; then :
4122 $as_echo_n "(cached) " >&6
4123 else
4124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4128 main ()
4132 return 0;
4134 _ACEOF
4135 rm -f conftest.o conftest.obj
4136 if { { ac_try="$ac_compile"
4137 case "(($ac_try" in
4138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4139 *) ac_try_echo=$ac_try;;
4140 esac
4141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4142 $as_echo "$ac_try_echo"; } >&5
4143 (eval "$ac_compile") 2>&5
4144 ac_status=$?
4145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4146 test $ac_status = 0; }; then :
4147 for ac_file in conftest.o conftest.obj conftest.*; do
4148 test -f "$ac_file" || continue;
4149 case $ac_file in
4150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4151 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4152 break;;
4153 esac
4154 done
4155 else
4156 $as_echo "$as_me: failed program was:" >&5
4157 sed 's/^/| /' conftest.$ac_ext >&5
4159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4161 as_fn_error $? "cannot compute suffix of object files: cannot compile
4162 See \`config.log' for more details" "$LINENO" 5; }
4164 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4167 $as_echo "$ac_cv_objext" >&6; }
4168 OBJEXT=$ac_cv_objext
4169 ac_objext=$OBJEXT
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4171 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4172 if ${ac_cv_c_compiler_gnu+:} false; then :
4173 $as_echo_n "(cached) " >&6
4174 else
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4179 main ()
4181 #ifndef __GNUC__
4182 choke me
4183 #endif
4186 return 0;
4188 _ACEOF
4189 if ac_fn_c_try_compile "$LINENO"; then :
4190 ac_compiler_gnu=yes
4191 else
4192 ac_compiler_gnu=no
4194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4195 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4199 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4200 if test $ac_compiler_gnu = yes; then
4201 GCC=yes
4202 else
4203 GCC=
4205 ac_test_CFLAGS=${CFLAGS+set}
4206 ac_save_CFLAGS=$CFLAGS
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4208 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4209 if ${ac_cv_prog_cc_g+:} false; then :
4210 $as_echo_n "(cached) " >&6
4211 else
4212 ac_save_c_werror_flag=$ac_c_werror_flag
4213 ac_c_werror_flag=yes
4214 ac_cv_prog_cc_g=no
4215 CFLAGS="-g"
4216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h. */
4220 main ()
4224 return 0;
4226 _ACEOF
4227 if ac_fn_c_try_compile "$LINENO"; then :
4228 ac_cv_prog_cc_g=yes
4229 else
4230 CFLAGS=""
4231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4232 /* end confdefs.h. */
4235 main ()
4239 return 0;
4241 _ACEOF
4242 if ac_fn_c_try_compile "$LINENO"; then :
4244 else
4245 ac_c_werror_flag=$ac_save_c_werror_flag
4246 CFLAGS="-g"
4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4251 main ()
4255 return 0;
4257 _ACEOF
4258 if ac_fn_c_try_compile "$LINENO"; then :
4259 ac_cv_prog_cc_g=yes
4261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4266 ac_c_werror_flag=$ac_save_c_werror_flag
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4269 $as_echo "$ac_cv_prog_cc_g" >&6; }
4270 if test "$ac_test_CFLAGS" = set; then
4271 CFLAGS=$ac_save_CFLAGS
4272 elif test $ac_cv_prog_cc_g = yes; then
4273 if test "$GCC" = yes; then
4274 CFLAGS="-g -O2"
4275 else
4276 CFLAGS="-g"
4278 else
4279 if test "$GCC" = yes; then
4280 CFLAGS="-O2"
4281 else
4282 CFLAGS=
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4286 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4287 if ${ac_cv_prog_cc_c89+:} false; then :
4288 $as_echo_n "(cached) " >&6
4289 else
4290 ac_cv_prog_cc_c89=no
4291 ac_save_CC=$CC
4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4293 /* end confdefs.h. */
4294 #include <stdarg.h>
4295 #include <stdio.h>
4296 struct stat;
4297 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4298 struct buf { int x; };
4299 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4300 static char *e (p, i)
4301 char **p;
4302 int i;
4304 return p[i];
4306 static char *f (char * (*g) (char **, int), char **p, ...)
4308 char *s;
4309 va_list v;
4310 va_start (v,p);
4311 s = g (p, va_arg (v,int));
4312 va_end (v);
4313 return s;
4316 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4317 function prototypes and stuff, but not '\xHH' hex character constants.
4318 These don't provoke an error unfortunately, instead are silently treated
4319 as 'x'. The following induces an error, until -std is added to get
4320 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4321 array size at least. It's necessary to write '\x00'==0 to get something
4322 that's true only with -std. */
4323 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4325 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4326 inside strings and character constants. */
4327 #define FOO(x) 'x'
4328 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4330 int test (int i, double x);
4331 struct s1 {int (*f) (int a);};
4332 struct s2 {int (*f) (double a);};
4333 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4334 int argc;
4335 char **argv;
4337 main ()
4339 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4341 return 0;
4343 _ACEOF
4344 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4345 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4347 CC="$ac_save_CC $ac_arg"
4348 if ac_fn_c_try_compile "$LINENO"; then :
4349 ac_cv_prog_cc_c89=$ac_arg
4351 rm -f core conftest.err conftest.$ac_objext
4352 test "x$ac_cv_prog_cc_c89" != "xno" && break
4353 done
4354 rm -f conftest.$ac_ext
4355 CC=$ac_save_CC
4358 # AC_CACHE_VAL
4359 case "x$ac_cv_prog_cc_c89" in
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4362 $as_echo "none needed" >&6; } ;;
4363 xno)
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4365 $as_echo "unsupported" >&6; } ;;
4367 CC="$CC $ac_cv_prog_cc_c89"
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4369 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4370 esac
4371 if test "x$ac_cv_prog_cc_c89" != xno; then :
4375 ac_ext=c
4376 ac_cpp='$CPP $CPPFLAGS'
4377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4381 ac_ext=cpp
4382 ac_cpp='$CXXCPP $CPPFLAGS'
4383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4386 if test -z "$CXX"; then
4387 if test -n "$CCC"; then
4388 CXX=$CCC
4389 else
4390 if test -n "$ac_tool_prefix"; then
4391 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4393 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4394 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4396 $as_echo_n "checking for $ac_word... " >&6; }
4397 if ${ac_cv_prog_CXX+:} false; then :
4398 $as_echo_n "(cached) " >&6
4399 else
4400 if test -n "$CXX"; then
4401 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4402 else
4403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4404 for as_dir in $PATH
4406 IFS=$as_save_IFS
4407 test -z "$as_dir" && as_dir=.
4408 for ac_exec_ext in '' $ac_executable_extensions; do
4409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4410 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4412 break 2
4414 done
4415 done
4416 IFS=$as_save_IFS
4420 CXX=$ac_cv_prog_CXX
4421 if test -n "$CXX"; then
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4423 $as_echo "$CXX" >&6; }
4424 else
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4426 $as_echo "no" >&6; }
4430 test -n "$CXX" && break
4431 done
4433 if test -z "$CXX"; then
4434 ac_ct_CXX=$CXX
4435 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4437 # Extract the first word of "$ac_prog", so it can be a program name with args.
4438 set dummy $ac_prog; ac_word=$2
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4440 $as_echo_n "checking for $ac_word... " >&6; }
4441 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4442 $as_echo_n "(cached) " >&6
4443 else
4444 if test -n "$ac_ct_CXX"; then
4445 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4446 else
4447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448 for as_dir in $PATH
4450 IFS=$as_save_IFS
4451 test -z "$as_dir" && as_dir=.
4452 for ac_exec_ext in '' $ac_executable_extensions; do
4453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4454 ac_cv_prog_ac_ct_CXX="$ac_prog"
4455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4456 break 2
4458 done
4459 done
4460 IFS=$as_save_IFS
4464 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4465 if test -n "$ac_ct_CXX"; then
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4467 $as_echo "$ac_ct_CXX" >&6; }
4468 else
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4470 $as_echo "no" >&6; }
4474 test -n "$ac_ct_CXX" && break
4475 done
4477 if test "x$ac_ct_CXX" = x; then
4478 CXX="g++"
4479 else
4480 case $cross_compiling:$ac_tool_warned in
4481 yes:)
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4484 ac_tool_warned=yes ;;
4485 esac
4486 CXX=$ac_ct_CXX
4492 # Provide some information about the compiler.
4493 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4494 set X $ac_compile
4495 ac_compiler=$2
4496 for ac_option in --version -v -V -qversion; do
4497 { { ac_try="$ac_compiler $ac_option >&5"
4498 case "(($ac_try" in
4499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4500 *) ac_try_echo=$ac_try;;
4501 esac
4502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4503 $as_echo "$ac_try_echo"; } >&5
4504 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4505 ac_status=$?
4506 if test -s conftest.err; then
4507 sed '10a\
4508 ... rest of stderr output deleted ...
4509 10q' conftest.err >conftest.er1
4510 cat conftest.er1 >&5
4512 rm -f conftest.er1 conftest.err
4513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4514 test $ac_status = 0; }
4515 done
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4518 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4519 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4520 $as_echo_n "(cached) " >&6
4521 else
4522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4526 main ()
4528 #ifndef __GNUC__
4529 choke me
4530 #endif
4533 return 0;
4535 _ACEOF
4536 if ac_fn_cxx_try_compile "$LINENO"; then :
4537 ac_compiler_gnu=yes
4538 else
4539 ac_compiler_gnu=no
4541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4542 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4546 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4547 if test $ac_compiler_gnu = yes; then
4548 GXX=yes
4549 else
4550 GXX=
4552 ac_test_CXXFLAGS=${CXXFLAGS+set}
4553 ac_save_CXXFLAGS=$CXXFLAGS
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4555 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4556 if ${ac_cv_prog_cxx_g+:} false; then :
4557 $as_echo_n "(cached) " >&6
4558 else
4559 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4560 ac_cxx_werror_flag=yes
4561 ac_cv_prog_cxx_g=no
4562 CXXFLAGS="-g"
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4567 main ()
4571 return 0;
4573 _ACEOF
4574 if ac_fn_cxx_try_compile "$LINENO"; then :
4575 ac_cv_prog_cxx_g=yes
4576 else
4577 CXXFLAGS=""
4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4582 main ()
4586 return 0;
4588 _ACEOF
4589 if ac_fn_cxx_try_compile "$LINENO"; then :
4591 else
4592 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4593 CXXFLAGS="-g"
4594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4595 /* end confdefs.h. */
4598 main ()
4602 return 0;
4604 _ACEOF
4605 if ac_fn_cxx_try_compile "$LINENO"; then :
4606 ac_cv_prog_cxx_g=yes
4608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4613 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4616 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4617 if test "$ac_test_CXXFLAGS" = set; then
4618 CXXFLAGS=$ac_save_CXXFLAGS
4619 elif test $ac_cv_prog_cxx_g = yes; then
4620 if test "$GXX" = yes; then
4621 CXXFLAGS="-g -O2"
4622 else
4623 CXXFLAGS="-g"
4625 else
4626 if test "$GXX" = yes; then
4627 CXXFLAGS="-O2"
4628 else
4629 CXXFLAGS=
4632 ac_ext=c
4633 ac_cpp='$CPP $CPPFLAGS'
4634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4638 if test -n "$ac_tool_prefix"; then
4639 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4640 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4642 $as_echo_n "checking for $ac_word... " >&6; }
4643 if ${ac_cv_prog_CPPBIN+:} false; then :
4644 $as_echo_n "(cached) " >&6
4645 else
4646 if test -n "$CPPBIN"; then
4647 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4648 else
4649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4650 for as_dir in $PATH
4652 IFS=$as_save_IFS
4653 test -z "$as_dir" && as_dir=.
4654 for ac_exec_ext in '' $ac_executable_extensions; do
4655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4656 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4658 break 2
4660 done
4661 done
4662 IFS=$as_save_IFS
4666 CPPBIN=$ac_cv_prog_CPPBIN
4667 if test -n "$CPPBIN"; then
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4669 $as_echo "$CPPBIN" >&6; }
4670 else
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4672 $as_echo "no" >&6; }
4677 if test -z "$ac_cv_prog_CPPBIN"; then
4678 ac_ct_CPPBIN=$CPPBIN
4679 # Extract the first word of "cpp", so it can be a program name with args.
4680 set dummy cpp; ac_word=$2
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682 $as_echo_n "checking for $ac_word... " >&6; }
4683 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4684 $as_echo_n "(cached) " >&6
4685 else
4686 if test -n "$ac_ct_CPPBIN"; then
4687 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4688 else
4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690 for as_dir in $PATH
4692 IFS=$as_save_IFS
4693 test -z "$as_dir" && as_dir=.
4694 for ac_exec_ext in '' $ac_executable_extensions; do
4695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4696 ac_cv_prog_ac_ct_CPPBIN="cpp"
4697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4698 break 2
4700 done
4701 done
4702 IFS=$as_save_IFS
4706 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4707 if test -n "$ac_ct_CPPBIN"; then
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4709 $as_echo "$ac_ct_CPPBIN" >&6; }
4710 else
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712 $as_echo "no" >&6; }
4715 if test "x$ac_ct_CPPBIN" = x; then
4716 CPPBIN="cpp"
4717 else
4718 case $cross_compiling:$ac_tool_warned in
4719 yes:)
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4722 ac_tool_warned=yes ;;
4723 esac
4724 CPPBIN=$ac_ct_CPPBIN
4726 else
4727 CPPBIN="$ac_cv_prog_CPPBIN"
4731 cat >>confdefs.h <<_ACEOF
4732 #define EXEEXT "$ac_exeext"
4733 _ACEOF
4736 case $host in
4737 *-darwin*)
4738 if test "x$enable_win64" = "xyes"
4739 then
4740 CC="$CC -m64"
4741 CXX="$CXX -m64"
4742 host_cpu="x86_64"
4743 notice_platform="64-bit "
4744 TARGETFLAGS="-m64"
4746 else
4747 CC="$CC -m32"
4748 CXX="$CXX -m32"
4749 host_cpu="i386"
4750 notice_platform="32-bit "
4751 TARGETFLAGS="-m32"
4753 enable_win16=${enable_win16:-yes}
4755 with_fontconfig=${with_fontconfig:-no}
4757 x86_64*)
4758 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4759 then
4760 CC="$CC -m32"
4761 CXX="$CXX -m32"
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4763 $as_echo_n "checking whether $CC works... " >&6; }
4765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h. */
4769 main ()
4773 return 0;
4775 _ACEOF
4776 if ac_fn_c_try_link "$LINENO"; then :
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4778 $as_echo "yes" >&6; }
4779 else
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4782 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4784 rm -f core conftest.err conftest.$ac_objext \
4785 conftest$ac_exeext conftest.$ac_ext
4786 host_cpu="i386"
4787 notice_platform="32-bit "
4788 TARGETFLAGS="-m32"
4790 enable_win16=${enable_win16:-yes}
4791 else
4792 if test "x${GCC}" = "xyes"
4793 then
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4795 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4798 #include <stdarg.h>
4800 main ()
4802 void func(__builtin_ms_va_list *args);
4804 return 0;
4806 _ACEOF
4807 if ac_fn_c_try_compile "$LINENO"; then :
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4809 $as_echo "yes" >&6; }
4810 else
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4812 $as_echo "no" >&6; }
4813 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4817 TARGETFLAGS="-m64"
4821 arm*)
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4823 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4825 /* end confdefs.h. */
4826 int ac_test(int i) { return i; }
4828 main ()
4830 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4832 return 0;
4834 _ACEOF
4835 if ac_fn_c_try_link "$LINENO"; then :
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4837 $as_echo "yes" >&6; }
4838 else
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4840 $as_echo "no" >&6; }
4841 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4843 rm -f core conftest.err conftest.$ac_objext \
4844 conftest$ac_exeext conftest.$ac_ext
4845 CFLAGS="$CFLAGS -marm"
4846 TARGETFLAGS="-marm"
4849 *-mingw32*|*-cygwin*)
4850 enable_win16=${enable_win16:-no}
4851 CFLAGS="$CFLAGS -D_WIN32"
4853 i[3456789]86*)
4854 enable_win16=${enable_win16:-yes}
4856 esac
4858 enable_win16=${enable_win16:-no}
4859 enable_win64=${enable_win64:-no}
4861 enable_winetest=${enable_winetest:-$enable_tests}
4863 if test -n "$with_wine64"
4864 then
4865 if test "x$enable_win64" = "xyes"
4866 then
4867 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4868 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4870 enable_fonts=${enable_fonts:-no}
4871 enable_server=${enable_server:-no}
4872 elif test "x$enable_win64" = "xyes"
4873 then
4874 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4878 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4879 if ${wine_cv_toolsdir+:} false; then :
4880 $as_echo_n "(cached) " >&6
4881 else
4882 wine_cv_toolsdir="$with_wine_tools"
4883 if test -z "$with_wine_tools"; then
4884 if test "$cross_compiling" = "yes"; then
4885 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4886 elif test -n "$with_wine64"; then
4887 wine_cv_toolsdir="$with_wine64"
4890 if test -z "$wine_cv_toolsdir"; then
4891 wine_makedep=tools/makedep
4892 wine_cv_toolsdir="\$(top_builddir)"
4893 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4894 wine_makedep=$wine_cv_toolsdir/tools/makedep
4895 case "$wine_cv_toolsdir" in
4896 /*) ;;
4897 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4898 esac
4899 enable_tools=${enable_tools:-no}
4900 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4901 else
4902 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4906 $as_echo "$wine_cv_toolsdir" >&6; }
4907 TOOLSDIR=$wine_cv_toolsdir
4909 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4910 then
4911 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4915 for ac_prog in flex
4917 # Extract the first word of "$ac_prog", so it can be a program name with args.
4918 set dummy $ac_prog; ac_word=$2
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4920 $as_echo_n "checking for $ac_word... " >&6; }
4921 if ${ac_cv_prog_FLEX+:} false; then :
4922 $as_echo_n "(cached) " >&6
4923 else
4924 if test -n "$FLEX"; then
4925 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4926 else
4927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4928 for as_dir in $PATH
4930 IFS=$as_save_IFS
4931 test -z "$as_dir" && as_dir=.
4932 for ac_exec_ext in '' $ac_executable_extensions; do
4933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4934 ac_cv_prog_FLEX="$ac_prog"
4935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4936 break 2
4938 done
4939 done
4940 IFS=$as_save_IFS
4944 FLEX=$ac_cv_prog_FLEX
4945 if test -n "$FLEX"; then
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4947 $as_echo "$FLEX" >&6; }
4948 else
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 $as_echo "no" >&6; }
4954 test -n "$FLEX" && break
4955 done
4956 test -n "$FLEX" || FLEX="none"
4958 if test "$FLEX" = "none"
4959 then
4960 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4963 $as_echo_n "checking whether flex is recent enough... " >&6; }
4964 cat >conftest.l <<EOF
4965 %top{
4966 #include "prediluvian.h"
4970 if $FLEX -t conftest.l >/dev/null 2>&5
4971 then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4973 $as_echo "yes" >&6; }
4974 else
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4977 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4980 for ac_prog in bison
4982 # Extract the first word of "$ac_prog", so it can be a program name with args.
4983 set dummy $ac_prog; ac_word=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if ${ac_cv_prog_BISON+:} false; then :
4987 $as_echo_n "(cached) " >&6
4988 else
4989 if test -n "$BISON"; then
4990 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4991 else
4992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4993 for as_dir in $PATH
4995 IFS=$as_save_IFS
4996 test -z "$as_dir" && as_dir=.
4997 for ac_exec_ext in '' $ac_executable_extensions; do
4998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4999 ac_cv_prog_BISON="$ac_prog"
5000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5001 break 2
5003 done
5004 done
5005 IFS=$as_save_IFS
5009 BISON=$ac_cv_prog_BISON
5010 if test -n "$BISON"; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5012 $as_echo "$BISON" >&6; }
5013 else
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5019 test -n "$BISON" && break
5020 done
5021 test -n "$BISON" || BISON="none"
5023 if test "$BISON" = "none"
5024 then
5025 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5028 if test -n "$ac_tool_prefix"; then
5029 for ac_prog in ar gar
5031 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5032 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034 $as_echo_n "checking for $ac_word... " >&6; }
5035 if ${ac_cv_prog_AR+:} false; then :
5036 $as_echo_n "(cached) " >&6
5037 else
5038 if test -n "$AR"; then
5039 ac_cv_prog_AR="$AR" # Let the user override the test.
5040 else
5041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5042 for as_dir in $PATH
5044 IFS=$as_save_IFS
5045 test -z "$as_dir" && as_dir=.
5046 for ac_exec_ext in '' $ac_executable_extensions; do
5047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5048 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5050 break 2
5052 done
5053 done
5054 IFS=$as_save_IFS
5058 AR=$ac_cv_prog_AR
5059 if test -n "$AR"; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5061 $as_echo "$AR" >&6; }
5062 else
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064 $as_echo "no" >&6; }
5068 test -n "$AR" && break
5069 done
5071 if test -z "$AR"; then
5072 ac_ct_AR=$AR
5073 for ac_prog in ar gar
5075 # Extract the first word of "$ac_prog", so it can be a program name with args.
5076 set dummy $ac_prog; ac_word=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5080 $as_echo_n "(cached) " >&6
5081 else
5082 if test -n "$ac_ct_AR"; then
5083 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5084 else
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086 for as_dir in $PATH
5088 IFS=$as_save_IFS
5089 test -z "$as_dir" && as_dir=.
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5092 ac_cv_prog_ac_ct_AR="$ac_prog"
5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 break 2
5096 done
5097 done
5098 IFS=$as_save_IFS
5102 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5103 if test -n "$ac_ct_AR"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5105 $as_echo "$ac_ct_AR" >&6; }
5106 else
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5112 test -n "$ac_ct_AR" && break
5113 done
5115 if test "x$ac_ct_AR" = x; then
5116 AR="ar"
5117 else
5118 case $cross_compiling:$ac_tool_warned in
5119 yes:)
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5122 ac_tool_warned=yes ;;
5123 esac
5124 AR=$ac_ct_AR
5128 if test -n "$ac_tool_prefix"; then
5129 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5130 set dummy ${ac_tool_prefix}strip; ac_word=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if ${ac_cv_prog_STRIP+:} false; then :
5134 $as_echo_n "(cached) " >&6
5135 else
5136 if test -n "$STRIP"; then
5137 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5138 else
5139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5140 for as_dir in $PATH
5142 IFS=$as_save_IFS
5143 test -z "$as_dir" && as_dir=.
5144 for ac_exec_ext in '' $ac_executable_extensions; do
5145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5146 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5148 break 2
5150 done
5151 done
5152 IFS=$as_save_IFS
5156 STRIP=$ac_cv_prog_STRIP
5157 if test -n "$STRIP"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5159 $as_echo "$STRIP" >&6; }
5160 else
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5167 if test -z "$ac_cv_prog_STRIP"; then
5168 ac_ct_STRIP=$STRIP
5169 # Extract the first word of "strip", so it can be a program name with args.
5170 set dummy strip; ac_word=$2
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5172 $as_echo_n "checking for $ac_word... " >&6; }
5173 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5174 $as_echo_n "(cached) " >&6
5175 else
5176 if test -n "$ac_ct_STRIP"; then
5177 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5178 else
5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5180 for as_dir in $PATH
5182 IFS=$as_save_IFS
5183 test -z "$as_dir" && as_dir=.
5184 for ac_exec_ext in '' $ac_executable_extensions; do
5185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5186 ac_cv_prog_ac_ct_STRIP="strip"
5187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5188 break 2
5190 done
5191 done
5192 IFS=$as_save_IFS
5196 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5197 if test -n "$ac_ct_STRIP"; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5199 $as_echo "$ac_ct_STRIP" >&6; }
5200 else
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5205 if test "x$ac_ct_STRIP" = x; then
5206 STRIP="strip"
5207 else
5208 case $cross_compiling:$ac_tool_warned in
5209 yes:)
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5212 ac_tool_warned=yes ;;
5213 esac
5214 STRIP=$ac_ct_STRIP
5216 else
5217 STRIP="$ac_cv_prog_STRIP"
5220 ARFLAGS=rc
5222 if test -n "$ac_tool_prefix"; then
5223 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5224 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5226 $as_echo_n "checking for $ac_word... " >&6; }
5227 if ${ac_cv_prog_RANLIB+:} false; then :
5228 $as_echo_n "(cached) " >&6
5229 else
5230 if test -n "$RANLIB"; then
5231 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5232 else
5233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5234 for as_dir in $PATH
5236 IFS=$as_save_IFS
5237 test -z "$as_dir" && as_dir=.
5238 for ac_exec_ext in '' $ac_executable_extensions; do
5239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5240 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5242 break 2
5244 done
5245 done
5246 IFS=$as_save_IFS
5250 RANLIB=$ac_cv_prog_RANLIB
5251 if test -n "$RANLIB"; then
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5253 $as_echo "$RANLIB" >&6; }
5254 else
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5256 $as_echo "no" >&6; }
5261 if test -z "$ac_cv_prog_RANLIB"; then
5262 ac_ct_RANLIB=$RANLIB
5263 # Extract the first word of "ranlib", so it can be a program name with args.
5264 set dummy ranlib; ac_word=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5268 $as_echo_n "(cached) " >&6
5269 else
5270 if test -n "$ac_ct_RANLIB"; then
5271 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5272 else
5273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274 for as_dir in $PATH
5276 IFS=$as_save_IFS
5277 test -z "$as_dir" && as_dir=.
5278 for ac_exec_ext in '' $ac_executable_extensions; do
5279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5280 ac_cv_prog_ac_ct_RANLIB="ranlib"
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 break 2
5284 done
5285 done
5286 IFS=$as_save_IFS
5290 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5291 if test -n "$ac_ct_RANLIB"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5293 $as_echo "$ac_ct_RANLIB" >&6; }
5294 else
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5299 if test "x$ac_ct_RANLIB" = x; then
5300 RANLIB=":"
5301 else
5302 case $cross_compiling:$ac_tool_warned in
5303 yes:)
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5306 ac_tool_warned=yes ;;
5307 esac
5308 RANLIB=$ac_ct_RANLIB
5310 else
5311 RANLIB="$ac_cv_prog_RANLIB"
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5315 $as_echo_n "checking whether ln -s works... " >&6; }
5316 LN_S=$as_ln_s
5317 if test "$LN_S" = "ln -s"; then
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5319 $as_echo "yes" >&6; }
5320 else
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5322 $as_echo "no, using $LN_S" >&6; }
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5326 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5327 if ${ac_cv_path_GREP+:} false; then :
5328 $as_echo_n "(cached) " >&6
5329 else
5330 if test -z "$GREP"; then
5331 ac_path_GREP_found=false
5332 # Loop through the user's path and test for each of PROGNAME-LIST
5333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5334 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5336 IFS=$as_save_IFS
5337 test -z "$as_dir" && as_dir=.
5338 for ac_prog in grep ggrep; do
5339 for ac_exec_ext in '' $ac_executable_extensions; do
5340 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5341 as_fn_executable_p "$ac_path_GREP" || continue
5342 # Check for GNU ac_path_GREP and select it if it is found.
5343 # Check for GNU $ac_path_GREP
5344 case `"$ac_path_GREP" --version 2>&1` in
5345 *GNU*)
5346 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5348 ac_count=0
5349 $as_echo_n 0123456789 >"conftest.in"
5350 while :
5352 cat "conftest.in" "conftest.in" >"conftest.tmp"
5353 mv "conftest.tmp" "conftest.in"
5354 cp "conftest.in" "conftest.nl"
5355 $as_echo 'GREP' >> "conftest.nl"
5356 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5357 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5358 as_fn_arith $ac_count + 1 && ac_count=$as_val
5359 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5360 # Best one so far, save it but keep looking for a better one
5361 ac_cv_path_GREP="$ac_path_GREP"
5362 ac_path_GREP_max=$ac_count
5364 # 10*(2^10) chars as input seems more than enough
5365 test $ac_count -gt 10 && break
5366 done
5367 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5368 esac
5370 $ac_path_GREP_found && break 3
5371 done
5372 done
5373 done
5374 IFS=$as_save_IFS
5375 if test -z "$ac_cv_path_GREP"; then
5376 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5378 else
5379 ac_cv_path_GREP=$GREP
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5384 $as_echo "$ac_cv_path_GREP" >&6; }
5385 GREP="$ac_cv_path_GREP"
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5389 $as_echo_n "checking for egrep... " >&6; }
5390 if ${ac_cv_path_EGREP+:} false; then :
5391 $as_echo_n "(cached) " >&6
5392 else
5393 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5394 then ac_cv_path_EGREP="$GREP -E"
5395 else
5396 if test -z "$EGREP"; then
5397 ac_path_EGREP_found=false
5398 # Loop through the user's path and test for each of PROGNAME-LIST
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5402 IFS=$as_save_IFS
5403 test -z "$as_dir" && as_dir=.
5404 for ac_prog in egrep; do
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5407 as_fn_executable_p "$ac_path_EGREP" || continue
5408 # Check for GNU ac_path_EGREP and select it if it is found.
5409 # Check for GNU $ac_path_EGREP
5410 case `"$ac_path_EGREP" --version 2>&1` in
5411 *GNU*)
5412 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5414 ac_count=0
5415 $as_echo_n 0123456789 >"conftest.in"
5416 while :
5418 cat "conftest.in" "conftest.in" >"conftest.tmp"
5419 mv "conftest.tmp" "conftest.in"
5420 cp "conftest.in" "conftest.nl"
5421 $as_echo 'EGREP' >> "conftest.nl"
5422 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5423 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5424 as_fn_arith $ac_count + 1 && ac_count=$as_val
5425 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5426 # Best one so far, save it but keep looking for a better one
5427 ac_cv_path_EGREP="$ac_path_EGREP"
5428 ac_path_EGREP_max=$ac_count
5430 # 10*(2^10) chars as input seems more than enough
5431 test $ac_count -gt 10 && break
5432 done
5433 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5434 esac
5436 $ac_path_EGREP_found && break 3
5437 done
5438 done
5439 done
5440 IFS=$as_save_IFS
5441 if test -z "$ac_cv_path_EGREP"; then
5442 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5444 else
5445 ac_cv_path_EGREP=$EGREP
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5451 $as_echo "$ac_cv_path_EGREP" >&6; }
5452 EGREP="$ac_cv_path_EGREP"
5455 # Extract the first word of "ldconfig", so it can be a program name with args.
5456 set dummy ldconfig; ac_word=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458 $as_echo_n "checking for $ac_word... " >&6; }
5459 if ${ac_cv_path_LDCONFIG+:} false; then :
5460 $as_echo_n "(cached) " >&6
5461 else
5462 case $LDCONFIG in
5463 [\\/]* | ?:[\\/]*)
5464 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 for as_dir in /sbin /usr/sbin $PATH
5470 IFS=$as_save_IFS
5471 test -z "$as_dir" && as_dir=.
5472 for ac_exec_ext in '' $ac_executable_extensions; do
5473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5474 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5476 break 2
5478 done
5479 done
5480 IFS=$as_save_IFS
5482 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5484 esac
5486 LDCONFIG=$ac_cv_path_LDCONFIG
5487 if test -n "$LDCONFIG"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5489 $as_echo "$LDCONFIG" >&6; }
5490 else
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5496 for ac_prog in msgfmt
5498 # Extract the first word of "$ac_prog", so it can be a program name with args.
5499 set dummy $ac_prog; ac_word=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if ${ac_cv_prog_MSGFMT+:} false; then :
5503 $as_echo_n "(cached) " >&6
5504 else
5505 if test -n "$MSGFMT"; then
5506 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5507 else
5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 for as_dir in $PATH
5511 IFS=$as_save_IFS
5512 test -z "$as_dir" && as_dir=.
5513 for ac_exec_ext in '' $ac_executable_extensions; do
5514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5515 ac_cv_prog_MSGFMT="$ac_prog"
5516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5517 break 2
5519 done
5520 done
5521 IFS=$as_save_IFS
5525 MSGFMT=$ac_cv_prog_MSGFMT
5526 if test -n "$MSGFMT"; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5528 $as_echo "$MSGFMT" >&6; }
5529 else
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531 $as_echo "no" >&6; }
5535 test -n "$MSGFMT" && break
5536 done
5537 test -n "$MSGFMT" || MSGFMT="false"
5539 if ${ac_tool_prefix+:} false; then :
5540 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5541 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5543 $as_echo_n "checking for $ac_word... " >&6; }
5544 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5545 $as_echo_n "(cached) " >&6
5546 else
5547 if test -n "$PKG_CONFIG"; then
5548 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5549 else
5550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5551 for as_dir in $PATH
5553 IFS=$as_save_IFS
5554 test -z "$as_dir" && as_dir=.
5555 for ac_exec_ext in '' $ac_executable_extensions; do
5556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5557 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5559 break 2
5561 done
5562 done
5563 IFS=$as_save_IFS
5567 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5568 if test -n "$PKG_CONFIG"; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5570 $as_echo "$PKG_CONFIG" >&6; }
5571 else
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573 $as_echo "no" >&6; }
5578 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5579 if test "x$cross_compiling" = xyes; then :
5581 else
5582 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5583 # Extract the first word of "pkg-config", so it can be a program name with args.
5584 set dummy pkg-config; ac_word=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5588 $as_echo_n "(cached) " >&6
5589 else
5590 if test -n "$PKG_CONFIG"; then
5591 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5592 else
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 for as_dir in $PATH
5596 IFS=$as_save_IFS
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5600 ac_cv_prog_PKG_CONFIG="pkg-config"
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5602 break 2
5604 done
5605 done
5606 IFS=$as_save_IFS
5610 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5611 if test -n "$PKG_CONFIG"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5613 $as_echo "$PKG_CONFIG" >&6; }
5614 else
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5621 else
5622 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5625 if test "x$enable_maintainer_mode" != "xyes"
5626 then
5627 FONTFORGE=""
5628 RSVG=""
5629 CONVERT=""
5630 ICOTOOL=""
5631 else
5632 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5633 for ac_prog in fontforge
5635 # Extract the first word of "$ac_prog", so it can be a program name with args.
5636 set dummy $ac_prog; ac_word=$2
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5638 $as_echo_n "checking for $ac_word... " >&6; }
5639 if ${ac_cv_prog_FONTFORGE+:} false; then :
5640 $as_echo_n "(cached) " >&6
5641 else
5642 if test -n "$FONTFORGE"; then
5643 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5644 else
5645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5646 for as_dir in $PATH
5648 IFS=$as_save_IFS
5649 test -z "$as_dir" && as_dir=.
5650 for ac_exec_ext in '' $ac_executable_extensions; do
5651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5652 ac_cv_prog_FONTFORGE="$ac_prog"
5653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5654 break 2
5656 done
5657 done
5658 IFS=$as_save_IFS
5662 FONTFORGE=$ac_cv_prog_FONTFORGE
5663 if test -n "$FONTFORGE"; then
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5665 $as_echo "$FONTFORGE" >&6; }
5666 else
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5668 $as_echo "no" >&6; }
5672 test -n "$FONTFORGE" && break
5673 done
5674 test -n "$FONTFORGE" || FONTFORGE="false"
5676 for ac_prog in rsvg
5678 # Extract the first word of "$ac_prog", so it can be a program name with args.
5679 set dummy $ac_prog; ac_word=$2
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5681 $as_echo_n "checking for $ac_word... " >&6; }
5682 if ${ac_cv_prog_RSVG+:} false; then :
5683 $as_echo_n "(cached) " >&6
5684 else
5685 if test -n "$RSVG"; then
5686 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5687 else
5688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5689 for as_dir in $PATH
5691 IFS=$as_save_IFS
5692 test -z "$as_dir" && as_dir=.
5693 for ac_exec_ext in '' $ac_executable_extensions; do
5694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5695 ac_cv_prog_RSVG="$ac_prog"
5696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5697 break 2
5699 done
5700 done
5701 IFS=$as_save_IFS
5705 RSVG=$ac_cv_prog_RSVG
5706 if test -n "$RSVG"; then
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5708 $as_echo "$RSVG" >&6; }
5709 else
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5711 $as_echo "no" >&6; }
5715 test -n "$RSVG" && break
5716 done
5717 test -n "$RSVG" || RSVG="false"
5719 for ac_prog in convert
5721 # Extract the first word of "$ac_prog", so it can be a program name with args.
5722 set dummy $ac_prog; ac_word=$2
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5724 $as_echo_n "checking for $ac_word... " >&6; }
5725 if ${ac_cv_prog_CONVERT+:} false; then :
5726 $as_echo_n "(cached) " >&6
5727 else
5728 if test -n "$CONVERT"; then
5729 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5730 else
5731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5732 for as_dir in $PATH
5734 IFS=$as_save_IFS
5735 test -z "$as_dir" && as_dir=.
5736 for ac_exec_ext in '' $ac_executable_extensions; do
5737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5738 ac_cv_prog_CONVERT="$ac_prog"
5739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5740 break 2
5742 done
5743 done
5744 IFS=$as_save_IFS
5748 CONVERT=$ac_cv_prog_CONVERT
5749 if test -n "$CONVERT"; then
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5751 $as_echo "$CONVERT" >&6; }
5752 else
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5754 $as_echo "no" >&6; }
5758 test -n "$CONVERT" && break
5759 done
5760 test -n "$CONVERT" || CONVERT="false"
5762 for ac_prog in icotool
5764 # Extract the first word of "$ac_prog", so it can be a program name with args.
5765 set dummy $ac_prog; ac_word=$2
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5767 $as_echo_n "checking for $ac_word... " >&6; }
5768 if ${ac_cv_prog_ICOTOOL+:} false; then :
5769 $as_echo_n "(cached) " >&6
5770 else
5771 if test -n "$ICOTOOL"; then
5772 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5773 else
5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5775 for as_dir in $PATH
5777 IFS=$as_save_IFS
5778 test -z "$as_dir" && as_dir=.
5779 for ac_exec_ext in '' $ac_executable_extensions; do
5780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5781 ac_cv_prog_ICOTOOL="$ac_prog"
5782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5783 break 2
5785 done
5786 done
5787 IFS=$as_save_IFS
5791 ICOTOOL=$ac_cv_prog_ICOTOOL
5792 if test -n "$ICOTOOL"; then
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5794 $as_echo "$ICOTOOL" >&6; }
5795 else
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5797 $as_echo "no" >&6; }
5801 test -n "$ICOTOOL" && break
5802 done
5803 test -n "$ICOTOOL" || ICOTOOL="false"
5805 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5806 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5808 if test "$CONVERT" = false
5809 then
5810 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5811 else
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5813 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5814 convert_version=`convert --version | head -n1`
5815 if test "x$convert_version" != "x"
5816 then
5817 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5818 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5819 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5820 then
5821 CONVERT=false
5824 if test "$CONVERT" = false
5825 then
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5827 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5828 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5829 else
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5831 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5835 if test "$ICOTOOL" = false
5836 then
5837 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5838 else
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5840 $as_echo_n "checking for recent enough icotool... " >&6; }
5841 icotool_version=`icotool --version | head -n1`
5842 if test "x$icotool_version" != "x"
5843 then
5844 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5845 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5846 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5847 then
5848 ICOTOOL=false
5849 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5852 if test "$ICOTOOL" = false
5853 then
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5855 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5856 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5857 else
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5859 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5863 with_gettext=yes
5864 with_gettextpo=yes
5865 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5868 test "x$with_gettext" != xno || MSGFMT=false
5869 if test "$MSGFMT" != "false"
5870 then
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5872 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5873 cat >conftest.po <<EOF
5874 # comment
5875 msgctxt "ctxt"
5876 msgid "id"
5877 msgstr "str"
5879 if $MSGFMT -o /dev/null conftest.po 2>&5
5880 then
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5882 $as_echo "yes" >&6; }
5883 else
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 $as_echo "no" >&6; }
5886 MSGFMT=false
5889 if test "$MSGFMT" = false; then :
5890 case "x$with_gettext" in
5891 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5892 xno) ;;
5893 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5894 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5895 esac
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5900 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5901 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5902 $as_echo_n "(cached) " >&6
5903 else
5904 ac_check_lib_save_LIBS=$LIBS
5905 LIBS="-li386 $LIBS"
5906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5907 /* end confdefs.h. */
5909 /* Override any GCC internal prototype to avoid an error.
5910 Use char because int might match the return type of a GCC
5911 builtin and then its argument prototype would still apply. */
5912 #ifdef __cplusplus
5913 extern "C"
5914 #endif
5915 char i386_set_ldt ();
5917 main ()
5919 return i386_set_ldt ();
5921 return 0;
5923 _ACEOF
5924 if ac_fn_c_try_link "$LINENO"; then :
5925 ac_cv_lib_i386_i386_set_ldt=yes
5926 else
5927 ac_cv_lib_i386_i386_set_ldt=no
5929 rm -f core conftest.err conftest.$ac_objext \
5930 conftest$ac_exeext conftest.$ac_ext
5931 LIBS=$ac_check_lib_save_LIBS
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5934 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5935 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5936 cat >>confdefs.h <<_ACEOF
5937 #define HAVE_LIBI386 1
5938 _ACEOF
5940 LIBS="-li386 $LIBS"
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5945 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5946 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5947 $as_echo_n "(cached) " >&6
5948 else
5949 ac_check_lib_save_LIBS=$LIBS
5950 LIBS="-lossaudio $LIBS"
5951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5952 /* end confdefs.h. */
5954 /* Override any GCC internal prototype to avoid an error.
5955 Use char because int might match the return type of a GCC
5956 builtin and then its argument prototype would still apply. */
5957 #ifdef __cplusplus
5958 extern "C"
5959 #endif
5960 char _oss_ioctl ();
5962 main ()
5964 return _oss_ioctl ();
5966 return 0;
5968 _ACEOF
5969 if ac_fn_c_try_link "$LINENO"; then :
5970 ac_cv_lib_ossaudio__oss_ioctl=yes
5971 else
5972 ac_cv_lib_ossaudio__oss_ioctl=no
5974 rm -f core conftest.err conftest.$ac_objext \
5975 conftest$ac_exeext conftest.$ac_ext
5976 LIBS=$ac_check_lib_save_LIBS
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5979 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5980 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5981 cat >>confdefs.h <<_ACEOF
5982 #define HAVE_LIBOSSAUDIO 1
5983 _ACEOF
5985 LIBS="-lossaudio $LIBS"
5990 OPENGL_LIBS=""
5994 # Check whether --enable-largefile was given.
5995 if test "${enable_largefile+set}" = set; then :
5996 enableval=$enable_largefile;
5999 if test "$enable_largefile" != no; then
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6002 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6003 if ${ac_cv_sys_largefile_CC+:} false; then :
6004 $as_echo_n "(cached) " >&6
6005 else
6006 ac_cv_sys_largefile_CC=no
6007 if test "$GCC" != yes; then
6008 ac_save_CC=$CC
6009 while :; do
6010 # IRIX 6.2 and later do not support large files by default,
6011 # so use the C compiler's -n32 option if that helps.
6012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6013 /* end confdefs.h. */
6014 #include <sys/types.h>
6015 /* Check that off_t can represent 2**63 - 1 correctly.
6016 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6017 since some C++ compilers masquerading as C compilers
6018 incorrectly reject 9223372036854775807. */
6019 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6020 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6021 && LARGE_OFF_T % 2147483647 == 1)
6022 ? 1 : -1];
6024 main ()
6028 return 0;
6030 _ACEOF
6031 if ac_fn_c_try_compile "$LINENO"; then :
6032 break
6034 rm -f core conftest.err conftest.$ac_objext
6035 CC="$CC -n32"
6036 if ac_fn_c_try_compile "$LINENO"; then :
6037 ac_cv_sys_largefile_CC=' -n32'; break
6039 rm -f core conftest.err conftest.$ac_objext
6040 break
6041 done
6042 CC=$ac_save_CC
6043 rm -f conftest.$ac_ext
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6047 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6048 if test "$ac_cv_sys_largefile_CC" != no; then
6049 CC=$CC$ac_cv_sys_largefile_CC
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6053 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6054 if ${ac_cv_sys_file_offset_bits+:} false; then :
6055 $as_echo_n "(cached) " >&6
6056 else
6057 while :; do
6058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6059 /* end confdefs.h. */
6060 #include <sys/types.h>
6061 /* Check that off_t can represent 2**63 - 1 correctly.
6062 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6063 since some C++ compilers masquerading as C compilers
6064 incorrectly reject 9223372036854775807. */
6065 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6066 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6067 && LARGE_OFF_T % 2147483647 == 1)
6068 ? 1 : -1];
6070 main ()
6074 return 0;
6076 _ACEOF
6077 if ac_fn_c_try_compile "$LINENO"; then :
6078 ac_cv_sys_file_offset_bits=no; break
6080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6082 /* end confdefs.h. */
6083 #define _FILE_OFFSET_BITS 64
6084 #include <sys/types.h>
6085 /* Check that off_t can represent 2**63 - 1 correctly.
6086 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6087 since some C++ compilers masquerading as C compilers
6088 incorrectly reject 9223372036854775807. */
6089 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6090 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6091 && LARGE_OFF_T % 2147483647 == 1)
6092 ? 1 : -1];
6094 main ()
6098 return 0;
6100 _ACEOF
6101 if ac_fn_c_try_compile "$LINENO"; then :
6102 ac_cv_sys_file_offset_bits=64; break
6104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6105 ac_cv_sys_file_offset_bits=unknown
6106 break
6107 done
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6110 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6111 case $ac_cv_sys_file_offset_bits in #(
6112 no | unknown) ;;
6114 cat >>confdefs.h <<_ACEOF
6115 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6116 _ACEOF
6118 esac
6119 rm -rf conftest*
6120 if test $ac_cv_sys_file_offset_bits = unknown; then
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6122 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6123 if ${ac_cv_sys_large_files+:} false; then :
6124 $as_echo_n "(cached) " >&6
6125 else
6126 while :; do
6127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6128 /* end confdefs.h. */
6129 #include <sys/types.h>
6130 /* Check that off_t can represent 2**63 - 1 correctly.
6131 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6132 since some C++ compilers masquerading as C compilers
6133 incorrectly reject 9223372036854775807. */
6134 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6135 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6136 && LARGE_OFF_T % 2147483647 == 1)
6137 ? 1 : -1];
6139 main ()
6143 return 0;
6145 _ACEOF
6146 if ac_fn_c_try_compile "$LINENO"; then :
6147 ac_cv_sys_large_files=no; break
6149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6151 /* end confdefs.h. */
6152 #define _LARGE_FILES 1
6153 #include <sys/types.h>
6154 /* Check that off_t can represent 2**63 - 1 correctly.
6155 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6156 since some C++ compilers masquerading as C compilers
6157 incorrectly reject 9223372036854775807. */
6158 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6159 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6160 && LARGE_OFF_T % 2147483647 == 1)
6161 ? 1 : -1];
6163 main ()
6167 return 0;
6169 _ACEOF
6170 if ac_fn_c_try_compile "$LINENO"; then :
6171 ac_cv_sys_large_files=1; break
6173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6174 ac_cv_sys_large_files=unknown
6175 break
6176 done
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6179 $as_echo "$ac_cv_sys_large_files" >&6; }
6180 case $ac_cv_sys_large_files in #(
6181 no | unknown) ;;
6183 cat >>confdefs.h <<_ACEOF
6184 #define _LARGE_FILES $ac_cv_sys_large_files
6185 _ACEOF
6187 esac
6188 rm -rf conftest*
6195 ac_ext=c
6196 ac_cpp='$CPP $CPPFLAGS'
6197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6201 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6202 # On Suns, sometimes $CPP names a directory.
6203 if test -n "$CPP" && test -d "$CPP"; then
6204 CPP=
6206 if test -z "$CPP"; then
6207 if ${ac_cv_prog_CPP+:} false; then :
6208 $as_echo_n "(cached) " >&6
6209 else
6210 # Double quotes because CPP needs to be expanded
6211 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6213 ac_preproc_ok=false
6214 for ac_c_preproc_warn_flag in '' yes
6216 # Use a header file that comes with gcc, so configuring glibc
6217 # with a fresh cross-compiler works.
6218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6219 # <limits.h> exists even on freestanding compilers.
6220 # On the NeXT, cc -E runs the code through the compiler's parser,
6221 # not just through cpp. "Syntax error" is here to catch this case.
6222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6223 /* end confdefs.h. */
6224 #ifdef __STDC__
6225 # include <limits.h>
6226 #else
6227 # include <assert.h>
6228 #endif
6229 Syntax error
6230 _ACEOF
6231 if ac_fn_c_try_cpp "$LINENO"; then :
6233 else
6234 # Broken: fails on valid input.
6235 continue
6237 rm -f conftest.err conftest.i conftest.$ac_ext
6239 # OK, works on sane cases. Now check whether nonexistent headers
6240 # can be detected and how.
6241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6243 #include <ac_nonexistent.h>
6244 _ACEOF
6245 if ac_fn_c_try_cpp "$LINENO"; then :
6246 # Broken: success on invalid input.
6247 continue
6248 else
6249 # Passes both tests.
6250 ac_preproc_ok=:
6251 break
6253 rm -f conftest.err conftest.i conftest.$ac_ext
6255 done
6256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6257 rm -f conftest.i conftest.err conftest.$ac_ext
6258 if $ac_preproc_ok; then :
6259 break
6262 done
6263 ac_cv_prog_CPP=$CPP
6266 CPP=$ac_cv_prog_CPP
6267 else
6268 ac_cv_prog_CPP=$CPP
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6271 $as_echo "$CPP" >&6; }
6272 ac_preproc_ok=false
6273 for ac_c_preproc_warn_flag in '' yes
6275 # Use a header file that comes with gcc, so configuring glibc
6276 # with a fresh cross-compiler works.
6277 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6278 # <limits.h> exists even on freestanding compilers.
6279 # On the NeXT, cc -E runs the code through the compiler's parser,
6280 # not just through cpp. "Syntax error" is here to catch this case.
6281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6282 /* end confdefs.h. */
6283 #ifdef __STDC__
6284 # include <limits.h>
6285 #else
6286 # include <assert.h>
6287 #endif
6288 Syntax error
6289 _ACEOF
6290 if ac_fn_c_try_cpp "$LINENO"; then :
6292 else
6293 # Broken: fails on valid input.
6294 continue
6296 rm -f conftest.err conftest.i conftest.$ac_ext
6298 # OK, works on sane cases. Now check whether nonexistent headers
6299 # can be detected and how.
6300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6301 /* end confdefs.h. */
6302 #include <ac_nonexistent.h>
6303 _ACEOF
6304 if ac_fn_c_try_cpp "$LINENO"; then :
6305 # Broken: success on invalid input.
6306 continue
6307 else
6308 # Passes both tests.
6309 ac_preproc_ok=:
6310 break
6312 rm -f conftest.err conftest.i conftest.$ac_ext
6314 done
6315 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6316 rm -f conftest.i conftest.err conftest.$ac_ext
6317 if $ac_preproc_ok; then :
6319 else
6320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6322 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6323 See \`config.log' for more details" "$LINENO" 5; }
6326 ac_ext=c
6327 ac_cpp='$CPP $CPPFLAGS'
6328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6334 $as_echo_n "checking for ANSI C header files... " >&6; }
6335 if ${ac_cv_header_stdc+:} false; then :
6336 $as_echo_n "(cached) " >&6
6337 else
6338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6339 /* end confdefs.h. */
6340 #include <stdlib.h>
6341 #include <stdarg.h>
6342 #include <string.h>
6343 #include <float.h>
6346 main ()
6350 return 0;
6352 _ACEOF
6353 if ac_fn_c_try_compile "$LINENO"; then :
6354 ac_cv_header_stdc=yes
6355 else
6356 ac_cv_header_stdc=no
6358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6360 if test $ac_cv_header_stdc = yes; then
6361 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6363 /* end confdefs.h. */
6364 #include <string.h>
6366 _ACEOF
6367 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6368 $EGREP "memchr" >/dev/null 2>&1; then :
6370 else
6371 ac_cv_header_stdc=no
6373 rm -f conftest*
6377 if test $ac_cv_header_stdc = yes; then
6378 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6381 #include <stdlib.h>
6383 _ACEOF
6384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6385 $EGREP "free" >/dev/null 2>&1; then :
6387 else
6388 ac_cv_header_stdc=no
6390 rm -f conftest*
6394 if test $ac_cv_header_stdc = yes; then
6395 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6396 if test "$cross_compiling" = yes; then :
6398 else
6399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6400 /* end confdefs.h. */
6401 #include <ctype.h>
6402 #include <stdlib.h>
6403 #if ((' ' & 0x0FF) == 0x020)
6404 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6405 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6406 #else
6407 # define ISLOWER(c) \
6408 (('a' <= (c) && (c) <= 'i') \
6409 || ('j' <= (c) && (c) <= 'r') \
6410 || ('s' <= (c) && (c) <= 'z'))
6411 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6412 #endif
6414 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6416 main ()
6418 int i;
6419 for (i = 0; i < 256; i++)
6420 if (XOR (islower (i), ISLOWER (i))
6421 || toupper (i) != TOUPPER (i))
6422 return 2;
6423 return 0;
6425 _ACEOF
6426 if ac_fn_c_try_run "$LINENO"; then :
6428 else
6429 ac_cv_header_stdc=no
6431 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6432 conftest.$ac_objext conftest.beam conftest.$ac_ext
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6438 $as_echo "$ac_cv_header_stdc" >&6; }
6439 if test $ac_cv_header_stdc = yes; then
6441 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6445 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6446 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6447 inttypes.h stdint.h unistd.h
6448 do :
6449 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6450 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6452 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6453 cat >>confdefs.h <<_ACEOF
6454 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6455 _ACEOF
6459 done
6462 for ac_header in \
6463 AL/al.h \
6464 ApplicationServices/ApplicationServices.h \
6465 AudioToolbox/AudioConverter.h \
6466 AudioUnit/AudioUnit.h \
6467 AudioUnit/AudioComponent.h \
6468 CL/cl.h \
6469 Carbon/Carbon.h \
6470 CoreAudio/CoreAudio.h \
6471 CoreServices/CoreServices.h \
6472 DiskArbitration/DiskArbitration.h \
6473 IOKit/IOKitLib.h \
6474 IOKit/hid/IOHIDLib.h \
6475 OpenAL/al.h \
6476 OpenCL/opencl.h \
6477 QuickTime/ImageCompression.h \
6478 Security/Security.h \
6479 alias.h \
6480 alsa/asoundlib.h \
6481 arpa/inet.h \
6482 arpa/nameser.h \
6483 asm/types.h \
6484 asm/user.h \
6485 curses.h \
6486 direct.h \
6487 dirent.h \
6488 dlfcn.h \
6489 elf.h \
6490 float.h \
6491 fnmatch.h \
6492 getopt.h \
6493 gettext-po.h \
6494 grp.h \
6495 gsm.h \
6496 gsm/gsm.h \
6497 ieeefp.h \
6498 inet/mib2.h \
6499 io.h \
6500 kstat.h \
6501 lber.h \
6502 ldap.h \
6503 libproc.h \
6504 link.h \
6505 linux/cdrom.h \
6506 linux/compiler.h \
6507 linux/filter.h \
6508 linux/hdreg.h \
6509 linux/input.h \
6510 linux/ioctl.h \
6511 linux/joystick.h \
6512 linux/major.h \
6513 linux/param.h \
6514 linux/serial.h \
6515 linux/types.h \
6516 linux/ucdrom.h \
6517 lwp.h \
6518 mach-o/nlist.h \
6519 mach-o/loader.h \
6520 mach/mach.h \
6521 mach/machine.h \
6522 machine/cpu.h \
6523 machine/limits.h \
6524 machine/sysarch.h \
6525 mntent.h \
6526 ncurses.h \
6527 netdb.h \
6528 netinet/in.h \
6529 netinet/in_systm.h \
6530 netinet/tcp.h \
6531 netinet/tcp_fsm.h \
6532 pcap/pcap.h \
6533 poll.h \
6534 port.h \
6535 process.h \
6536 pthread.h \
6537 pwd.h \
6538 sched.h \
6539 scsi/scsi.h \
6540 scsi/scsi_ioctl.h \
6541 scsi/sg.h \
6542 stdbool.h \
6543 stdint.h \
6544 stropts.h \
6545 sys/asoundlib.h \
6546 sys/attr.h \
6547 sys/cdio.h \
6548 sys/elf32.h \
6549 sys/epoll.h \
6550 sys/event.h \
6551 sys/exec_elf.h \
6552 sys/filio.h \
6553 sys/inotify.h \
6554 sys/ioctl.h \
6555 sys/ipc.h \
6556 sys/limits.h \
6557 sys/link.h \
6558 sys/mman.h \
6559 sys/modem.h \
6560 sys/msg.h \
6561 sys/mtio.h \
6562 sys/param.h \
6563 sys/poll.h \
6564 sys/prctl.h \
6565 sys/protosw.h \
6566 sys/ptrace.h \
6567 sys/queue.h \
6568 sys/resource.h \
6569 sys/scsiio.h \
6570 sys/shm.h \
6571 sys/signal.h \
6572 sys/socket.h \
6573 sys/socketvar.h \
6574 sys/sockio.h \
6575 sys/statvfs.h \
6576 sys/strtio.h \
6577 sys/syscall.h \
6578 sys/tihdr.h \
6579 sys/time.h \
6580 sys/timeout.h \
6581 sys/times.h \
6582 sys/uio.h \
6583 sys/user.h \
6584 sys/utsname.h \
6585 sys/vm86.h \
6586 sys/wait.h \
6587 syscall.h \
6588 termios.h \
6589 unistd.h \
6590 utime.h \
6591 valgrind/memcheck.h \
6592 valgrind/valgrind.h \
6593 zlib.h
6595 do :
6596 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6597 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6598 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6599 cat >>confdefs.h <<_ACEOF
6600 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6601 _ACEOF
6605 done
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6608 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6609 if ${ac_cv_header_stat_broken+:} false; then :
6610 $as_echo_n "(cached) " >&6
6611 else
6612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6613 /* end confdefs.h. */
6614 #include <sys/types.h>
6615 #include <sys/stat.h>
6617 #if defined S_ISBLK && defined S_IFDIR
6618 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6619 #endif
6621 #if defined S_ISBLK && defined S_IFCHR
6622 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6623 #endif
6625 #if defined S_ISLNK && defined S_IFREG
6626 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6627 #endif
6629 #if defined S_ISSOCK && defined S_IFREG
6630 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6631 #endif
6633 _ACEOF
6634 if ac_fn_c_try_compile "$LINENO"; then :
6635 ac_cv_header_stat_broken=no
6636 else
6637 ac_cv_header_stat_broken=yes
6639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6642 $as_echo "$ac_cv_header_stat_broken" >&6; }
6643 if test $ac_cv_header_stat_broken = yes; then
6645 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6651 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6652 do :
6653 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6654 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6655 #ifdef HAVE_SYS_PARAM_H
6656 # include <sys/param.h>
6657 #endif
6659 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6660 cat >>confdefs.h <<_ACEOF
6661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6662 _ACEOF
6666 done
6669 for ac_header in \
6670 netinet/ip.h \
6671 net/if.h \
6672 net/if_arp.h \
6673 net/if_dl.h \
6674 net/if_types.h \
6675 net/route.h \
6676 netinet/if_ether.h \
6677 netinet/if_inarp.h \
6678 netinet/in_pcb.h \
6679 netinet/ip_icmp.h \
6680 netinet/ip_var.h \
6681 netinet/udp.h \
6682 netipx/ipx.h \
6683 sys/un.h \
6685 do :
6686 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6687 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6688 #ifdef HAVE_SYS_SOCKET_H
6689 # include <sys/socket.h>
6690 #endif
6691 #ifdef HAVE_SYS_SOCKETVAR_H
6692 # include <sys/socketvar.h>
6693 #endif
6694 #ifdef HAVE_NET_ROUTE_H
6695 # include <net/route.h>
6696 #endif
6697 #ifdef HAVE_NETINET_IN_H
6698 # include <netinet/in.h>
6699 #endif
6700 #ifdef HAVE_NETINET_IN_SYSTM_H
6701 # include <netinet/in_systm.h>
6702 #endif
6703 #ifdef HAVE_NET_IF_H
6704 # include <net/if.h>
6705 #endif
6706 #ifdef HAVE_NETINET_IP_H
6707 # include <netinet/ip.h>
6708 #endif
6710 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6711 cat >>confdefs.h <<_ACEOF
6712 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6713 _ACEOF
6717 done
6720 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6721 do :
6722 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6723 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6724 #ifdef HAVE_ALIAS_H
6725 # include <alias.h>
6726 #endif
6727 #ifdef HAVE_SYS_SOCKET_H
6728 # include <sys/socket.h>
6729 #endif
6730 #ifdef HAVE_SYS_SOCKETVAR_H
6731 # include <sys/socketvar.h>
6732 #endif
6733 #ifdef HAVE_SYS_TIMEOUT_H
6734 # include <sys/timeout.h>
6735 #endif
6736 #ifdef HAVE_NETINET_IN_H
6737 # include <netinet/in.h>
6738 #endif
6739 #ifdef HAVE_NETINET_IN_SYSTM_H
6740 # include <netinet/in_systm.h>
6741 #endif
6742 #ifdef HAVE_NETINET_IP_H
6743 # include <netinet/ip.h>
6744 #endif
6745 #ifdef HAVE_NETINET_IP_VAR_H
6746 # include <netinet/ip_var.h>
6747 #endif
6748 #ifdef HAVE_NETINET_IP_ICMP_H
6749 # include <netinet/ip_icmp.h>
6750 #endif
6751 #ifdef HAVE_NETINET_UDP_H
6752 # include <netinet/udp.h>
6753 #endif
6754 #ifdef HAVE_NETINET_TCP_H
6755 # include <netinet/tcp.h>
6756 #endif
6757 #ifdef HAVE_NETINET_TCP_TIMER_H
6758 #include <netinet/tcp_timer.h>
6759 #endif
6761 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6762 cat >>confdefs.h <<_ACEOF
6763 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6764 _ACEOF
6768 done
6771 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6772 do :
6773 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6774 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6775 #ifdef HAVE_ASM_TYPES_H
6776 # include <asm/types.h>
6777 #endif
6778 #ifdef HAVE_SYS_SOCKET_H
6779 # include <sys/socket.h>
6780 #endif
6781 #ifdef HAVE_LINUX_TYPES_H
6782 # include <linux/types.h>
6783 #endif
6785 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6786 cat >>confdefs.h <<_ACEOF
6787 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6788 _ACEOF
6792 done
6795 for ac_header in mach-o/dyld_images.h
6796 do :
6797 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6798 # include <stdbool.h>
6799 #endif
6800 #ifdef HAVE_STDINT_H
6801 # include <stdint.h>
6802 #endif
6804 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6805 cat >>confdefs.h <<_ACEOF
6806 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6807 _ACEOF
6811 done
6814 for ac_header in resolv.h
6815 do :
6816 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6817 #ifdef HAVE_SYS_SOCKET_H
6818 # include <sys/socket.h>
6819 #endif
6820 #ifdef HAVE_NETINET_IN_H
6821 # include <netinet/in.h>
6822 #endif
6823 #ifdef HAVE_ARPA_NAMESER_H
6824 # include <arpa/nameser.h>
6825 #endif
6827 if test "x$ac_cv_header_resolv_h" = xyes; then :
6828 cat >>confdefs.h <<_ACEOF
6829 #define HAVE_RESOLV_H 1
6830 _ACEOF
6834 done
6837 for ac_header in ifaddrs.h
6838 do :
6839 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6841 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6842 cat >>confdefs.h <<_ACEOF
6843 #define HAVE_IFADDRS_H 1
6844 _ACEOF
6848 done
6851 for ac_header in sys/ucontext.h
6852 do :
6853 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6855 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6856 cat >>confdefs.h <<_ACEOF
6857 #define HAVE_SYS_UCONTEXT_H 1
6858 _ACEOF
6862 done
6865 for ac_header in sys/thr.h
6866 do :
6867 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6868 #ifdef HAVE_SYS_UCONTEXT_H
6869 #include <sys/ucontext.h>
6870 #endif
6872 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6873 cat >>confdefs.h <<_ACEOF
6874 #define HAVE_SYS_THR_H 1
6875 _ACEOF
6879 done
6882 for ac_header in pthread_np.h
6883 do :
6884 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6885 #include <pthread.h>
6886 #endif
6888 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6889 cat >>confdefs.h <<_ACEOF
6890 #define HAVE_PTHREAD_NP_H 1
6891 _ACEOF
6895 done
6898 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6899 do :
6900 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6901 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6902 #include <sys/time.h>
6903 #endif
6904 #include <sys/types.h>
6905 #ifdef HAVE_ASM_TYPES_H
6906 #include <asm/types.h>
6907 #endif
6909 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6910 cat >>confdefs.h <<_ACEOF
6911 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6912 _ACEOF
6916 done
6919 for ac_header in libprocstat.h
6920 do :
6921 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6922 #include <sys/param.h>
6923 #endif
6924 #ifdef HAVE_SYS_QUEUE_H
6925 #include <sys/queue.h>
6926 #endif
6927 #ifdef HAVE_SYS_SOCKET_H
6928 #include <sys/socket.h>
6929 #endif
6931 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6932 cat >>confdefs.h <<_ACEOF
6933 #define HAVE_LIBPROCSTAT_H 1
6934 _ACEOF
6938 done
6942 dlldir="\${libdir}/wine"
6944 DLLPREFIX=""
6946 DLLFLAGS="-D_REENTRANT"
6948 LDRPATH_INSTALL=""
6950 LDRPATH_LOCAL=""
6952 LIBEXT="so"
6953 DLLEXT=".so"
6954 IMPLIBEXT="def"
6955 STATIC_IMPLIBEXT="def.a"
6956 # Extract the first word of "ldd", so it can be a program name with args.
6957 set dummy ldd; ac_word=$2
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6959 $as_echo_n "checking for $ac_word... " >&6; }
6960 if ${ac_cv_path_LDD+:} false; then :
6961 $as_echo_n "(cached) " >&6
6962 else
6963 case $LDD in
6964 [\\/]* | ?:[\\/]*)
6965 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6969 as_dummy="/sbin:/usr/sbin:$PATH"
6970 for as_dir in $as_dummy
6972 IFS=$as_save_IFS
6973 test -z "$as_dir" && as_dir=.
6974 for ac_exec_ext in '' $ac_executable_extensions; do
6975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6976 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6978 break 2
6980 done
6981 done
6982 IFS=$as_save_IFS
6984 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6986 esac
6988 LDD=$ac_cv_path_LDD
6989 if test -n "$LDD"; then
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6991 $as_echo "$LDD" >&6; }
6992 else
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6994 $as_echo "no" >&6; }
6998 if test -n "$ac_tool_prefix"; then
6999 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7000 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002 $as_echo_n "checking for $ac_word... " >&6; }
7003 if ${ac_cv_prog_READELF+:} false; then :
7004 $as_echo_n "(cached) " >&6
7005 else
7006 if test -n "$READELF"; then
7007 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7008 else
7009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7010 for as_dir in $PATH
7012 IFS=$as_save_IFS
7013 test -z "$as_dir" && as_dir=.
7014 for ac_exec_ext in '' $ac_executable_extensions; do
7015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7016 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7018 break 2
7020 done
7021 done
7022 IFS=$as_save_IFS
7026 READELF=$ac_cv_prog_READELF
7027 if test -n "$READELF"; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7029 $as_echo "$READELF" >&6; }
7030 else
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7037 if test -z "$ac_cv_prog_READELF"; then
7038 ac_ct_READELF=$READELF
7039 # Extract the first word of "readelf", so it can be a program name with args.
7040 set dummy readelf; ac_word=$2
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7042 $as_echo_n "checking for $ac_word... " >&6; }
7043 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7044 $as_echo_n "(cached) " >&6
7045 else
7046 if test -n "$ac_ct_READELF"; then
7047 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7048 else
7049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7050 for as_dir in $PATH
7052 IFS=$as_save_IFS
7053 test -z "$as_dir" && as_dir=.
7054 for ac_exec_ext in '' $ac_executable_extensions; do
7055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7056 ac_cv_prog_ac_ct_READELF="readelf"
7057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7058 break 2
7060 done
7061 done
7062 IFS=$as_save_IFS
7066 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7067 if test -n "$ac_ct_READELF"; then
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7069 $as_echo "$ac_ct_READELF" >&6; }
7070 else
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7072 $as_echo "no" >&6; }
7075 if test "x$ac_ct_READELF" = x; then
7076 READELF="true"
7077 else
7078 case $cross_compiling:$ac_tool_warned in
7079 yes:)
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7082 ac_tool_warned=yes ;;
7083 esac
7084 READELF=$ac_ct_READELF
7086 else
7087 READELF="$ac_cv_prog_READELF"
7090 wine_rules_file=conf$$rules.make
7091 rm -f $wine_rules_file
7092 ALL_POT_FILES=""
7093 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7094 ALL_TEST_RESOURCES=""
7097 wine_fn_append_file ()
7099 as_fn_append $1 " \\$as_nl $2"
7102 wine_fn_ignore_file ()
7104 case "$1" in
7105 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7106 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7107 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7108 esac
7111 wine_fn_append_rule ()
7113 $as_echo "$1" >>$wine_rules_file
7116 wine_fn_has_flag ()
7118 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7121 wine_fn_depend_rules ()
7123 wine_fn_append_rule \
7124 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7125 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7126 depend: $ac_dir/depend
7127 .PHONY: $ac_dir/depend
7128 $ac_dir/depend: \$(MAKEDEP) dummy
7129 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7132 wine_fn_pot_rules ()
7134 test "x$with_gettextpo" = xyes || return
7136 if wine_fn_has_flag mc
7137 then
7138 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7139 wine_fn_append_rule \
7140 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7141 @cd $ac_dir && \$(MAKE) msg.pot
7142 $ac_dir/msg.pot: tools/wmc include"
7144 if wine_fn_has_flag po
7145 then
7146 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7147 wine_fn_append_rule \
7148 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7149 @cd $ac_dir && \$(MAKE) rsrc.pot
7150 $ac_dir/rsrc.pot: tools/wrc include"
7154 wine_fn_all_rules ()
7156 wine_fn_depend_rules
7157 wine_fn_append_rule \
7158 "all: $ac_dir
7159 .PHONY: $ac_dir
7160 $ac_dir: $ac_dir/Makefile dummy
7161 @cd $ac_dir && \$(MAKE)"
7164 wine_fn_install_rules ()
7166 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7168 wine_fn_append_rule \
7169 ".PHONY: $ac_dir/install $ac_dir/uninstall
7170 $ac_dir/install:: $ac_dir
7171 @cd $ac_dir && \$(MAKE) install
7172 $ac_dir/uninstall:: $ac_dir/Makefile
7173 @cd $ac_dir && \$(MAKE) uninstall
7174 install:: $ac_dir/install
7175 __uninstall__: $ac_dir/uninstall"
7177 if wine_fn_has_flag install-lib
7178 then
7179 wine_fn_append_rule \
7180 ".PHONY: $ac_dir/install-lib
7181 $ac_dir/install-lib:: $ac_dir
7182 @cd $ac_dir && \$(MAKE) install-lib
7183 install-lib:: $ac_dir/install-lib"
7186 if wine_fn_has_flag install-dev
7187 then
7188 wine_fn_append_rule \
7189 ".PHONY: $ac_dir/install-dev
7190 $ac_dir/install-dev:: $ac_dir
7191 @cd $ac_dir && \$(MAKE) install-dev
7192 install-dev:: $ac_dir/install-dev"
7196 wine_fn_clean_rules ()
7198 ac_clean=$@
7199 ac_extraclean="$ac_dir/Makefile"
7200 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7201 case $ac_dir in
7202 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7203 esac
7205 if wine_fn_has_flag clean
7206 then
7207 wine_fn_append_rule \
7208 "__clean__: $ac_dir/clean
7209 .PHONY: $ac_dir/clean
7210 $ac_dir/clean: $ac_dir/Makefile
7211 @cd $ac_dir && \$(MAKE) clean
7212 \$(RM) $ac_extraclean"
7213 else
7214 wine_fn_append_rule \
7215 "__clean__: $ac_dir/clean
7216 .PHONY: $ac_dir/clean
7217 $ac_dir/clean: dummy
7218 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7222 wine_fn_disabled_rules ()
7224 ac_clean=$@
7225 ac_extraclean="$ac_dir/Makefile"
7226 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7228 wine_fn_append_rule \
7229 "__clean__: $ac_dir/clean
7230 .PHONY: $ac_dir/clean
7231 $ac_dir/clean: dummy
7232 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7235 wine_fn_config_makefile ()
7237 ac_dir=$1
7238 ac_enable=$2
7239 ac_flags=$3
7241 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7242 wine_fn_disabled_rules; return
7244 wine_fn_all_rules
7245 wine_fn_install_rules
7246 wine_fn_clean_rules
7249 wine_fn_config_lib ()
7251 ac_name=$1
7252 ac_flags=$2
7253 ac_dir=dlls/$ac_name
7254 ac_deps="include"
7256 if test "x$enable_tools" = xno; then :
7258 else
7259 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7261 wine_fn_all_rules
7262 wine_fn_clean_rules
7264 wine_fn_append_rule \
7265 ".PHONY: $ac_dir/install $ac_dir/uninstall
7266 $ac_dir/install:: $ac_dir
7267 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7268 $ac_dir/uninstall::
7269 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7270 install install-dev:: $ac_dir/install
7271 __uninstall__: $ac_dir/uninstall
7272 __builddeps__: $ac_dir
7273 $ac_dir: $ac_deps"
7276 wine_fn_config_dll ()
7278 ac_name=$1
7279 ac_dir=dlls/$ac_name
7280 ac_enable=$2
7281 ac_flags=$3
7282 ac_implib=${4:-$ac_name}
7283 ac_file=$ac_dir/lib$ac_implib
7284 ac_dll=$ac_name
7285 ac_deps="include"
7286 ac_implibflags=""
7288 if test "x$enable_tools" = xno; then :
7290 else
7291 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7293 case $ac_name in
7294 *16) ac_implibflags=" -m16" ;;
7295 *.*) ;;
7296 *) ac_dll=$ac_dll.dll ;;
7297 esac
7299 ac_clean=
7300 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7301 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7302 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7303 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7305 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7306 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7307 then
7308 wine_fn_depend_rules
7309 wine_fn_clean_rules $ac_clean
7310 else
7311 wine_fn_disabled_rules $ac_clean
7312 return
7314 else
7315 wine_fn_all_rules
7316 wine_fn_clean_rules $ac_clean
7317 wine_fn_append_rule \
7318 "$ac_dir: __builddeps__
7319 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7320 @cd $ac_dir && \$(MAKE) \$@
7321 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7322 install install-lib:: $ac_dir/install-lib
7323 __uninstall__: $ac_dir/uninstall"
7324 if test -n "$DLLEXT"
7325 then
7326 wine_fn_append_rule \
7327 "$ac_dir/install-lib:: $ac_dir
7328 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7329 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7330 $ac_dir/uninstall::
7331 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7332 else
7333 wine_fn_append_rule \
7334 "$ac_dir/install-lib:: $ac_dir
7335 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7336 $ac_dir/uninstall::
7337 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7340 wine_fn_pot_rules
7343 if wine_fn_has_flag staticimplib
7344 then
7345 wine_fn_append_rule \
7346 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7347 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7348 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7349 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7350 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7351 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7352 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7353 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7354 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7355 $ac_dir/uninstall::
7356 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7357 install install-dev:: $ac_dir/install-dev
7358 __uninstall__: $ac_dir/uninstall"
7360 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7361 then
7362 wine_fn_append_rule \
7363 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7364 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7365 $ac_dir/uninstall::
7366 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7369 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7370 then
7371 wine_fn_append_rule \
7372 "__builddeps__: $ac_file.cross.a
7373 $ac_file.cross.a: $ac_dir/Makefile dummy
7374 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7377 elif wine_fn_has_flag implib
7378 then
7379 wine_fn_append_rule \
7380 "__builddeps__: $ac_file.$IMPLIBEXT
7381 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7382 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7383 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7384 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7385 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7386 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7387 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7388 $ac_dir/uninstall::
7389 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7390 install install-dev:: $ac_dir/install-dev
7391 __uninstall__: $ac_dir/uninstall"
7392 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7393 then
7394 wine_fn_append_rule \
7395 "__builddeps__: $ac_file.cross.a
7396 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7397 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7400 if test "$ac_name" != "$ac_implib"
7401 then
7402 wine_fn_append_rule \
7403 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7404 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7405 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7406 clean::
7407 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7408 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7409 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7410 then
7411 wine_fn_append_rule \
7412 "__builddeps__: dlls/lib$ac_implib.cross.a
7413 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7414 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7415 clean::
7416 \$(RM) dlls/lib$ac_implib.cross.a"
7417 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7423 wine_fn_config_program ()
7425 ac_name=$1
7426 ac_dir=programs/$ac_name
7427 ac_enable=$2
7428 ac_flags=$3
7429 ac_program=$ac_name
7431 case $ac_name in
7432 *.*) ;;
7433 *) ac_program=$ac_program.exe ;;
7434 esac
7436 ac_clean=
7437 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7438 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7439 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7440 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7442 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7443 wine_fn_disabled_rules $ac_clean; return
7446 wine_fn_all_rules
7447 wine_fn_clean_rules $ac_clean
7448 wine_fn_append_rule "$ac_dir: __builddeps__"
7449 wine_fn_pot_rules
7451 wine_fn_has_flag install || return
7452 wine_fn_append_rule \
7453 ".PHONY: $ac_dir/install $ac_dir/uninstall
7454 install install-lib:: $ac_dir/install
7455 __uninstall__: $ac_dir/uninstall"
7457 if test -n "$DLLEXT"
7458 then
7459 wine_fn_append_rule \
7460 "$ac_dir/install:: $ac_dir
7461 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7462 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7463 $ac_dir/uninstall::
7464 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7466 if test -z "$with_wine64" && wine_fn_has_flag installbin
7467 then
7468 wine_fn_append_rule \
7469 "$ac_dir/install:: __tooldeps__
7470 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7471 $ac_dir/uninstall::
7472 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7474 else
7475 wine_fn_append_rule \
7476 "$ac_dir/install:: $ac_dir
7477 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7478 $ac_dir/uninstall::
7479 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7482 if test -z "$with_wine64" && wine_fn_has_flag manpage
7483 then
7484 wine_fn_append_rule \
7485 "$ac_dir/install:: $ac_dir
7486 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7487 $ac_dir/uninstall::
7488 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7492 wine_fn_config_test ()
7494 ac_dir=$1
7495 ac_name=$2
7496 ac_flags=$3
7498 ac_clean=
7499 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7500 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7502 if test "x$enable_tests" = xno; then :
7503 wine_fn_disabled_rules $ac_clean; return
7506 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7507 wine_fn_all_rules
7508 wine_fn_clean_rules $ac_clean
7510 wine_fn_append_rule \
7511 "$ac_dir: programs/winetest/Makefile __builddeps__
7512 programs/winetest: $ac_dir
7513 check test: $ac_dir/test
7514 .PHONY: $ac_dir/test
7515 $ac_dir/test: dummy
7516 @cd $ac_dir && \$(MAKE) test
7517 testclean::
7518 \$(RM) $ac_dir/*.ok"
7520 if test -n "$CROSSTARGET"
7521 then
7522 wine_fn_append_rule \
7523 "crosstest: $ac_dir/crosstest
7524 .PHONY: $ac_dir/crosstest
7525 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7526 @cd $ac_dir && \$(MAKE) crosstest"
7530 wine_fn_config_tool ()
7532 ac_dir=$1
7533 ac_flags=$2
7534 if test "x$enable_tools" = xno; then :
7535 return
7538 wine_fn_all_rules
7539 wine_fn_install_rules
7540 wine_fn_clean_rules
7542 wine_fn_append_rule "__tooldeps__: $ac_dir"
7543 wine_fn_append_rule "$ac_dir: libs/port"
7544 case $ac_dir in
7545 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7546 esac
7549 wine_fn_config_symlink ()
7551 ac_linkdir=
7552 if test "x$1" = "x-d"
7553 then
7554 ac_linkdir=$2
7555 shift; shift
7557 ac_links=$@
7558 wine_fn_append_rule \
7559 "$ac_links:
7560 @./config.status \$@
7561 distclean::
7562 \$(RM) $ac_links"
7563 for f in $ac_links; do wine_fn_ignore_file $f; done
7564 test -n "$ac_linkdir" || return
7565 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7568 wine_binary="wine"
7569 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7570 loader_programs="$wine_binary wine-installed"
7571 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7573 LOADER_RULES="
7574 all: wine.inf
7576 install install-lib:: wine-installed
7577 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7579 uninstall::
7580 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7584 case $host_os in
7585 cygwin*|mingw32*)
7586 if test -n "$ac_tool_prefix"; then
7587 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7588 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7590 $as_echo_n "checking for $ac_word... " >&6; }
7591 if ${ac_cv_prog_DLLTOOL+:} false; then :
7592 $as_echo_n "(cached) " >&6
7593 else
7594 if test -n "$DLLTOOL"; then
7595 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7596 else
7597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7598 for as_dir in $PATH
7600 IFS=$as_save_IFS
7601 test -z "$as_dir" && as_dir=.
7602 for ac_exec_ext in '' $ac_executable_extensions; do
7603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7604 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7606 break 2
7608 done
7609 done
7610 IFS=$as_save_IFS
7614 DLLTOOL=$ac_cv_prog_DLLTOOL
7615 if test -n "$DLLTOOL"; then
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7617 $as_echo "$DLLTOOL" >&6; }
7618 else
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7620 $as_echo "no" >&6; }
7625 if test -z "$ac_cv_prog_DLLTOOL"; then
7626 ac_ct_DLLTOOL=$DLLTOOL
7627 # Extract the first word of "dlltool", so it can be a program name with args.
7628 set dummy dlltool; ac_word=$2
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7630 $as_echo_n "checking for $ac_word... " >&6; }
7631 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7632 $as_echo_n "(cached) " >&6
7633 else
7634 if test -n "$ac_ct_DLLTOOL"; then
7635 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7636 else
7637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7638 for as_dir in $PATH
7640 IFS=$as_save_IFS
7641 test -z "$as_dir" && as_dir=.
7642 for ac_exec_ext in '' $ac_executable_extensions; do
7643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7644 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7646 break 2
7648 done
7649 done
7650 IFS=$as_save_IFS
7654 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7655 if test -n "$ac_ct_DLLTOOL"; then
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7657 $as_echo "$ac_ct_DLLTOOL" >&6; }
7658 else
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7660 $as_echo "no" >&6; }
7663 if test "x$ac_ct_DLLTOOL" = x; then
7664 DLLTOOL="false"
7665 else
7666 case $cross_compiling:$ac_tool_warned in
7667 yes:)
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7670 ac_tool_warned=yes ;;
7671 esac
7672 DLLTOOL=$ac_ct_DLLTOOL
7674 else
7675 DLLTOOL="$ac_cv_prog_DLLTOOL"
7678 LIBEXT="dll"
7679 DLLEXT=""
7680 IMPLIBEXT="a"
7681 STATIC_IMPLIBEXT="a"
7682 enable_iphlpapi=${enable_iphlpapi:-no}
7683 enable_kernel32=${enable_kernel32:-no}
7684 enable_msvcrt=${enable_msvcrt:-no}
7685 enable_ntdll=${enable_ntdll:-no}
7686 enable_ws2_32=${enable_ws2_32:-no}
7687 enable_loader=${enable_loader:-no}
7688 enable_server=${enable_server:-no}
7689 with_x=${with_x:-no}
7690 with_pthread=${with_pthread:-no}
7692 crtlibs=""
7693 case $host_os in
7694 mingw32*)
7695 crtlibs="-lmsvcrt"
7696 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7698 esac
7700 libwine_targets="libwine.dll libwine.a"
7701 LIBWINE_RULES="
7702 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7704 all: libwine.dll libwine.a
7706 libwine.a: \$(srcdir)/wine.def
7707 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7709 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7710 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7712 install install-lib:: libwine.dll
7713 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7715 install install-dev:: libwine.a
7716 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7718 uninstall::
7719 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7724 darwin*|macosx*)
7725 LIBEXT="dylib"
7726 DLLFLAGS="$DLLFLAGS -fPIC"
7727 LIBWINE_LDFLAGS="-multiply_defined suppress"
7728 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7729 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7730 COREFOUNDATION_LIBS="-framework CoreFoundation"
7732 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7734 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7736 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7738 CORESERVICES_LIBS="-framework CoreServices"
7740 APPKIT_LIBS="-framework AppKit"
7742 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7744 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7745 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7746 $as_echo_n "(cached) " >&6
7747 else
7748 ac_wine_try_cflags_saved=$CFLAGS
7749 CFLAGS="$CFLAGS -Wl,-no_pie"
7750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7751 /* end confdefs.h. */
7752 int main(int argc, char **argv) { return 0; }
7753 _ACEOF
7754 if ac_fn_c_try_link "$LINENO"; then :
7755 ac_cv_cflags__Wl__no_pie=yes
7756 else
7757 ac_cv_cflags__Wl__no_pie=no
7759 rm -f core conftest.err conftest.$ac_objext \
7760 conftest$ac_exeext conftest.$ac_ext
7761 CFLAGS=$ac_wine_try_cflags_saved
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7764 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7765 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7766 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7768 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7769 then
7770 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7773 if test "$ac_cv_header_Security_Security_h" = "yes"
7774 then
7775 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7777 ac_save_LIBS="$LIBS"
7778 LIBS="$LIBS $SECURITY_LIBS"
7779 for ac_func in SSLCopyPeerCertificates
7780 do :
7781 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7782 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7783 cat >>confdefs.h <<_ACEOF
7784 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7785 _ACEOF
7788 done
7790 LIBS="$ac_save_LIBS"
7791 with_gnutls=${with_gnutls:-no}
7793 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7794 then
7795 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7796 then
7797 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7799 else
7800 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7803 ac_save_LIBS="$LIBS"
7804 LIBS="$LIBS $COREAUDIO_LIBS"
7805 for ac_func in AUGraphAddNode
7806 do :
7807 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7808 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7809 cat >>confdefs.h <<_ACEOF
7810 #define HAVE_AUGRAPHADDNODE 1
7811 _ACEOF
7814 done
7816 LIBS="$ac_save_LIBS"
7818 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7819 then
7820 OPENAL_LIBS="-framework OpenAL"
7823 cat >>confdefs.h <<_ACEOF
7824 #define HAVE_OPENAL 1
7825 _ACEOF
7827 ac_cv_lib_openal=yes
7829 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7830 then
7831 OPENCL_LIBS="-framework OpenCL"
7833 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7835 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7836 then
7837 ac_save_LIBS="$LIBS"
7838 LIBS="$LIBS $IOKIT_LIBS"
7839 for ac_func in IOHIDManagerCreate
7840 do :
7841 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7842 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7843 cat >>confdefs.h <<_ACEOF
7844 #define HAVE_IOHIDMANAGERCREATE 1
7845 _ACEOF
7848 done
7850 LIBS="$ac_save_LIBS"
7852 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7853 then
7854 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7856 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7857 else
7858 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7860 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7861 then
7862 CARBON_LIBS="-framework Carbon"
7866 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7867 then
7868 ac_save_LIBS="$LIBS"
7869 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7870 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7871 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7872 enable_winemac_drv=${enable_winemac_drv:-yes}
7875 LIBS="$ac_save_LIBS"
7878 if test "x$enable_win16" = "xyes"
7879 then
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7881 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7882 if test "$cross_compiling" = yes; then :
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7884 $as_echo "cross-compiling, assuming yes" >&6; }
7885 else
7886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7887 /* end confdefs.h. */
7888 asm(".text\n"
7889 "bad:\tnop;nop\n"
7890 "good:\tnop;nop\n\t"
7891 ".globl _testfunc\n"
7892 "_testfunc:\tcallw good");
7893 extern void testfunc();
7895 main ()
7897 unsigned short *p = (unsigned short *)testfunc;
7898 return p[0] != 0xe866 || p[1] != 0xfffa
7900 return 0;
7902 _ACEOF
7903 if ac_fn_c_try_run "$LINENO"; then :
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7905 $as_echo "yes" >&6; }
7906 else
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7908 $as_echo "no" >&6; }
7909 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
7911 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7912 conftest.$ac_objext conftest.beam conftest.$ac_ext
7917 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7918 LIBWINE_RULES="
7919 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7921 all: libwine.dylib
7923 libwine.$libwine_version.dylib: \$(OBJS)
7924 \$(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 \$@
7926 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7927 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7929 libwine.dylib: libwine.$libwine_soversion.dylib
7930 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7932 install install-lib:: libwine.$libwine_version.dylib
7933 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7934 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7936 install install-dev::
7937 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7939 uninstall::
7940 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7944 as_fn_append LOADER_RULES "
7945 $wine_binary: main.o wine_info.plist
7946 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7948 wine-installed: main.o wine_info.plist
7949 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7953 linux-android*)
7954 DLLFLAGS="$DLLFLAGS -fPIC"
7955 DLLPREFIX="lib"
7956 LDEXECFLAGS=""
7957 dlldir="\${libdir}"
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7959 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7960 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7961 $as_echo_n "(cached) " >&6
7962 else
7963 ac_wine_try_cflags_saved=$CFLAGS
7964 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7966 /* end confdefs.h. */
7967 int main(int argc, char **argv) { return 0; }
7968 _ACEOF
7969 if ac_fn_c_try_link "$LINENO"; then :
7970 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7971 else
7972 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7974 rm -f core conftest.err conftest.$ac_objext \
7975 conftest$ac_exeext conftest.$ac_ext
7976 CFLAGS=$ac_wine_try_cflags_saved
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7979 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7980 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7981 LDEXECFLAGS="-Wl,--export-dynamic"
7983 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7985 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7986 if eval \${$as_ac_var+:} false; then :
7987 $as_echo_n "(cached) " >&6
7988 else
7989 ac_wine_try_cflags_saved=$CFLAGS
7990 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7992 /* end confdefs.h. */
7993 int main(int argc, char **argv) { return 0; }
7994 _ACEOF
7995 if ac_fn_c_try_link "$LINENO"; then :
7996 eval "$as_ac_var=yes"
7997 else
7998 eval "$as_ac_var=no"
8000 rm -f core conftest.err conftest.$ac_objext \
8001 conftest$ac_exeext conftest.$ac_ext
8002 CFLAGS=$ac_wine_try_cflags_saved
8004 eval ac_res=\$$as_ac_var
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8006 $as_echo "$ac_res" >&6; }
8007 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8008 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8009 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8010 else
8011 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8013 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8014 if eval \${$as_ac_var+:} false; then :
8015 $as_echo_n "(cached) " >&6
8016 else
8017 ac_wine_try_cflags_saved=$CFLAGS
8018 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8020 /* end confdefs.h. */
8021 int main(int argc, char **argv) { return 0; }
8022 _ACEOF
8023 if ac_fn_c_try_link "$LINENO"; then :
8024 eval "$as_ac_var=yes"
8025 else
8026 eval "$as_ac_var=no"
8028 rm -f core conftest.err conftest.$ac_objext \
8029 conftest$ac_exeext conftest.$ac_ext
8030 CFLAGS=$ac_wine_try_cflags_saved
8032 eval ac_res=\$$as_ac_var
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8034 $as_echo "$ac_res" >&6; }
8035 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8036 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8037 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8042 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8043 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8044 $as_echo_n "(cached) " >&6
8045 else
8046 ac_wine_try_cflags_saved=$CFLAGS
8047 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8049 /* end confdefs.h. */
8050 int main(int argc, char **argv) { return 0; }
8051 _ACEOF
8052 if ac_fn_c_try_link "$LINENO"; then :
8053 ac_cv_cflags__Wl___enable_new_dtags=yes
8054 else
8055 ac_cv_cflags__Wl___enable_new_dtags=no
8057 rm -f core conftest.err conftest.$ac_objext \
8058 conftest$ac_exeext conftest.$ac_ext
8059 CFLAGS=$ac_wine_try_cflags_saved
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8062 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8063 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8064 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8067 case $host_cpu in
8068 *i[3456789]86* | x86_64)
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8070 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8071 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8072 $as_echo_n "(cached) " >&6
8073 else
8074 ac_wine_try_cflags_saved=$CFLAGS
8075 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8077 /* end confdefs.h. */
8078 int main(int argc, char **argv) { return 0; }
8079 _ACEOF
8080 if ac_fn_c_try_link "$LINENO"; then :
8081 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8082 else
8083 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8085 rm -f core conftest.err conftest.$ac_objext \
8086 conftest$ac_exeext conftest.$ac_ext
8087 CFLAGS=$ac_wine_try_cflags_saved
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8090 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8091 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8092 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8095 esac
8097 libwine_targets="libwine.so"
8098 LIBWINE_RULES="
8099 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8101 all: libwine.so
8103 libwine.so: \$(OBJS)
8104 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8106 install install-lib:: libwine.so
8107 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8109 uninstall::
8110 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8114 as_fn_append LOADER_RULES "
8115 $wine_binary: main.o
8116 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8118 wine-installed: main.o
8119 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8124 DLLFLAGS="$DLLFLAGS -fPIC"
8125 LDEXECFLAGS=""
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8127 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8128 if ${ac_cv_c_dll_gnuelf+:} false; then :
8129 $as_echo_n "(cached) " >&6
8130 else
8131 ac_wine_try_cflags_saved=$CFLAGS
8132 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8134 /* end confdefs.h. */
8135 void myfunc() {}
8136 _ACEOF
8137 if ac_fn_c_try_link "$LINENO"; then :
8138 ac_cv_c_dll_gnuelf="yes"
8139 else
8140 ac_cv_c_dll_gnuelf="no"
8142 rm -f core conftest.err conftest.$ac_objext \
8143 conftest$ac_exeext conftest.$ac_ext
8144 CFLAGS=$ac_wine_try_cflags_saved
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8147 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8148 if test "$ac_cv_c_dll_gnuelf" = "yes"
8149 then
8150 LDSHARED="\$(CC) -shared"
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8152 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8153 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8154 $as_echo_n "(cached) " >&6
8155 else
8156 ac_wine_try_cflags_saved=$CFLAGS
8157 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8159 /* end confdefs.h. */
8160 int main(int argc, char **argv) { return 0; }
8161 _ACEOF
8162 if ac_fn_c_try_link "$LINENO"; then :
8163 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8164 else
8165 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8167 rm -f core conftest.err conftest.$ac_objext \
8168 conftest$ac_exeext conftest.$ac_ext
8169 CFLAGS=$ac_wine_try_cflags_saved
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8172 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8173 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8174 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8175 else
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8177 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8178 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8179 $as_echo_n "(cached) " >&6
8180 else
8181 ac_wine_try_cflags_saved=$CFLAGS
8182 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8184 /* end confdefs.h. */
8185 int main(int argc, char **argv) { return 0; }
8186 _ACEOF
8187 if ac_fn_c_try_link "$LINENO"; then :
8188 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8189 else
8190 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8192 rm -f core conftest.err conftest.$ac_objext \
8193 conftest$ac_exeext conftest.$ac_ext
8194 CFLAGS=$ac_wine_try_cflags_saved
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8197 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8198 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8199 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8203 echo '{ global: *; };' >conftest.map
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8205 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8206 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8207 $as_echo_n "(cached) " >&6
8208 else
8209 ac_wine_try_cflags_saved=$CFLAGS
8210 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8212 /* end confdefs.h. */
8213 int main(int argc, char **argv) { return 0; }
8214 _ACEOF
8215 if ac_fn_c_try_link "$LINENO"; then :
8216 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8217 else
8218 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8220 rm -f core conftest.err conftest.$ac_objext \
8221 conftest$ac_exeext conftest.$ac_ext
8222 CFLAGS=$ac_wine_try_cflags_saved
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8225 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8226 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8227 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8229 rm -f conftest.map
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8232 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8233 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8234 $as_echo_n "(cached) " >&6
8235 else
8236 ac_wine_try_cflags_saved=$CFLAGS
8237 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8239 /* end confdefs.h. */
8240 int main(int argc, char **argv) { return 0; }
8241 _ACEOF
8242 if ac_fn_c_try_link "$LINENO"; then :
8243 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8244 else
8245 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8247 rm -f core conftest.err conftest.$ac_objext \
8248 conftest$ac_exeext conftest.$ac_ext
8249 CFLAGS=$ac_wine_try_cflags_saved
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8252 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8253 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8254 LDEXECFLAGS="-Wl,--export-dynamic"
8257 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8259 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8260 if eval \${$as_ac_var+:} false; then :
8261 $as_echo_n "(cached) " >&6
8262 else
8263 ac_wine_try_cflags_saved=$CFLAGS
8264 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8266 /* end confdefs.h. */
8267 int main(int argc, char **argv) { return 0; }
8268 _ACEOF
8269 if ac_fn_c_try_link "$LINENO"; then :
8270 eval "$as_ac_var=yes"
8271 else
8272 eval "$as_ac_var=no"
8274 rm -f core conftest.err conftest.$ac_objext \
8275 conftest$ac_exeext conftest.$ac_ext
8276 CFLAGS=$ac_wine_try_cflags_saved
8278 eval ac_res=\$$as_ac_var
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8280 $as_echo "$ac_res" >&6; }
8281 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8282 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8283 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8284 else
8285 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8287 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8288 if eval \${$as_ac_var+:} false; then :
8289 $as_echo_n "(cached) " >&6
8290 else
8291 ac_wine_try_cflags_saved=$CFLAGS
8292 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8294 /* end confdefs.h. */
8295 int main(int argc, char **argv) { return 0; }
8296 _ACEOF
8297 if ac_fn_c_try_link "$LINENO"; then :
8298 eval "$as_ac_var=yes"
8299 else
8300 eval "$as_ac_var=no"
8302 rm -f core conftest.err conftest.$ac_objext \
8303 conftest$ac_exeext conftest.$ac_ext
8304 CFLAGS=$ac_wine_try_cflags_saved
8306 eval ac_res=\$$as_ac_var
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8308 $as_echo "$ac_res" >&6; }
8309 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8310 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8311 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8316 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8317 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8318 $as_echo_n "(cached) " >&6
8319 else
8320 ac_wine_try_cflags_saved=$CFLAGS
8321 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8323 /* end confdefs.h. */
8324 int main(int argc, char **argv) { return 0; }
8325 _ACEOF
8326 if ac_fn_c_try_link "$LINENO"; then :
8327 ac_cv_cflags__Wl___enable_new_dtags=yes
8328 else
8329 ac_cv_cflags__Wl___enable_new_dtags=no
8331 rm -f core conftest.err conftest.$ac_objext \
8332 conftest$ac_exeext conftest.$ac_ext
8333 CFLAGS=$ac_wine_try_cflags_saved
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8336 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8337 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8338 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8341 case $host_cpu in
8342 *i[3456789]86* | x86_64)
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8344 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8345 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8346 $as_echo_n "(cached) " >&6
8347 else
8348 ac_wine_try_cflags_saved=$CFLAGS
8349 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8351 /* end confdefs.h. */
8352 int main(int argc, char **argv) { return 0; }
8353 _ACEOF
8354 if ac_fn_c_try_link "$LINENO"; then :
8355 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8356 else
8357 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8359 rm -f core conftest.err conftest.$ac_objext \
8360 conftest$ac_exeext conftest.$ac_ext
8361 CFLAGS=$ac_wine_try_cflags_saved
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8364 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8365 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8366 case $host_os in
8367 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8368 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8369 esac
8372 # Extract the first word of "prelink", so it can be a program name with args.
8373 set dummy prelink; ac_word=$2
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8375 $as_echo_n "checking for $ac_word... " >&6; }
8376 if ${ac_cv_path_PRELINK+:} false; then :
8377 $as_echo_n "(cached) " >&6
8378 else
8379 case $PRELINK in
8380 [\\/]* | ?:[\\/]*)
8381 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8385 for as_dir in /sbin /usr/sbin $PATH
8387 IFS=$as_save_IFS
8388 test -z "$as_dir" && as_dir=.
8389 for ac_exec_ext in '' $ac_executable_extensions; do
8390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8391 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8393 break 2
8395 done
8396 done
8397 IFS=$as_save_IFS
8399 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8401 esac
8403 PRELINK=$ac_cv_path_PRELINK
8404 if test -n "$PRELINK"; then
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8406 $as_echo "$PRELINK" >&6; }
8407 else
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8409 $as_echo "no" >&6; }
8413 if test "x$PRELINK" = xfalse
8414 then
8415 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8418 esac
8420 else
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8422 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8423 if ${ac_cv_c_dll_unixware+:} false; then :
8424 $as_echo_n "(cached) " >&6
8425 else
8426 ac_wine_try_cflags_saved=$CFLAGS
8427 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8429 /* end confdefs.h. */
8430 void myfunc() {}
8431 _ACEOF
8432 if ac_fn_c_try_link "$LINENO"; then :
8433 ac_cv_c_dll_unixware="yes"
8434 else
8435 ac_cv_c_dll_unixware="no"
8437 rm -f core conftest.err conftest.$ac_objext \
8438 conftest$ac_exeext conftest.$ac_ext
8439 CFLAGS=$ac_wine_try_cflags_saved
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8442 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8443 if test "$ac_cv_c_dll_unixware" = "yes"
8444 then
8445 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8448 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8449 LIBWINE_RULES="
8450 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8452 all: libwine.so
8454 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8455 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8457 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8458 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8460 libwine.so: libwine.so.$libwine_soversion
8461 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8463 install install-lib:: libwine.so.$libwine_version
8464 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8465 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8467 install install-dev::
8468 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8470 uninstall::
8471 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8475 as_fn_append LOADER_RULES "
8476 $wine_binary: main.o
8477 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8479 wine-installed: main.o
8480 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8483 esac
8485 as_fn_append LIBWINE_RULES "
8486 EXTRA_TARGETS = $libwine_targets
8489 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8490 enable_winemac_drv=${enable_winemac_drv:-no}
8492 CROSSTARGET=""
8494 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8495 then
8496 case "$host_cpu" in
8497 i[3456789]86*)
8498 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
8499 mingw32-gcc" ;;
8500 x86_64)
8501 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 " ;;
8503 ac_prefix_list="" ;;
8504 esac
8505 for ac_prog in $ac_prefix_list
8507 # Extract the first word of "$ac_prog", so it can be a program name with args.
8508 set dummy $ac_prog; ac_word=$2
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8510 $as_echo_n "checking for $ac_word... " >&6; }
8511 if ${ac_cv_prog_CROSSCC+:} false; then :
8512 $as_echo_n "(cached) " >&6
8513 else
8514 if test -n "$CROSSCC"; then
8515 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8516 else
8517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8518 for as_dir in $PATH
8520 IFS=$as_save_IFS
8521 test -z "$as_dir" && as_dir=.
8522 for ac_exec_ext in '' $ac_executable_extensions; do
8523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8524 ac_cv_prog_CROSSCC="$ac_prog"
8525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8526 break 2
8528 done
8529 done
8530 IFS=$as_save_IFS
8534 CROSSCC=$ac_cv_prog_CROSSCC
8535 if test -n "$CROSSCC"; then
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8537 $as_echo "$CROSSCC" >&6; }
8538 else
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8540 $as_echo "no" >&6; }
8544 test -n "$CROSSCC" && break
8545 done
8546 test -n "$CROSSCC" || CROSSCC="false"
8548 if test "$CROSSCC" != "false"
8549 then
8550 ac_save_CC="$CC"
8551 CC="$CROSSCC"
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8553 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8555 /* end confdefs.h. */
8558 main ()
8562 return 0;
8564 _ACEOF
8565 if ac_fn_c_try_compile "$LINENO"; then :
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8567 $as_echo "yes" >&6; }
8568 set x $CROSSCC
8569 shift
8570 while test $# -ge 1
8572 case "$1" in
8573 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8574 esac
8575 shift
8576 done
8577 else
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8579 $as_echo "no" >&6; }
8581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8582 CC="$ac_save_CC"
8587 if test "$ac_cv_header_pthread_h" = "yes"
8588 then
8589 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8590 if test "x$ac_cv_func_pthread_create" = xyes; then :
8592 else
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8594 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8595 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8596 $as_echo_n "(cached) " >&6
8597 else
8598 ac_check_lib_save_LIBS=$LIBS
8599 LIBS="-lpthread $LIBS"
8600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8601 /* end confdefs.h. */
8603 /* Override any GCC internal prototype to avoid an error.
8604 Use char because int might match the return type of a GCC
8605 builtin and then its argument prototype would still apply. */
8606 #ifdef __cplusplus
8607 extern "C"
8608 #endif
8609 char pthread_create ();
8611 main ()
8613 return pthread_create ();
8615 return 0;
8617 _ACEOF
8618 if ac_fn_c_try_link "$LINENO"; then :
8619 ac_cv_lib_pthread_pthread_create=yes
8620 else
8621 ac_cv_lib_pthread_pthread_create=no
8623 rm -f core conftest.err conftest.$ac_objext \
8624 conftest$ac_exeext conftest.$ac_ext
8625 LIBS=$ac_check_lib_save_LIBS
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8628 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8629 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8630 PTHREAD_LIBS="-lpthread"
8637 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8638 case "x$with_pthread" in
8639 xno) ;;
8640 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8641 Wine cannot support threads without libpthread.
8642 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8643 esac
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8648 $as_echo_n "checking for X... " >&6; }
8651 # Check whether --with-x was given.
8652 if test "${with_x+set}" = set; then :
8653 withval=$with_x;
8656 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8657 if test "x$with_x" = xno; then
8658 # The user explicitly disabled X.
8659 have_x=disabled
8660 else
8661 case $x_includes,$x_libraries in #(
8662 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8663 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8664 $as_echo_n "(cached) " >&6
8665 else
8666 # One or both of the vars are not set, and there is no cached value.
8667 ac_x_includes=no ac_x_libraries=no
8668 rm -f -r conftest.dir
8669 if mkdir conftest.dir; then
8670 cd conftest.dir
8671 cat >Imakefile <<'_ACEOF'
8672 incroot:
8673 @echo incroot='${INCROOT}'
8674 usrlibdir:
8675 @echo usrlibdir='${USRLIBDIR}'
8676 libdir:
8677 @echo libdir='${LIBDIR}'
8678 _ACEOF
8679 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8680 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8681 for ac_var in incroot usrlibdir libdir; do
8682 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8683 done
8684 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8685 for ac_extension in a so sl dylib la dll; do
8686 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8687 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8688 ac_im_usrlibdir=$ac_im_libdir; break
8690 done
8691 # Screen out bogus values from the imake configuration. They are
8692 # bogus both because they are the default anyway, and because
8693 # using them would break gcc on systems where it needs fixed includes.
8694 case $ac_im_incroot in
8695 /usr/include) ac_x_includes= ;;
8696 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8697 esac
8698 case $ac_im_usrlibdir in
8699 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8700 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8701 esac
8703 cd ..
8704 rm -f -r conftest.dir
8707 # Standard set of common directories for X headers.
8708 # Check X11 before X11Rn because it is often a symlink to the current release.
8709 ac_x_header_dirs='
8710 /usr/X11/include
8711 /usr/X11R7/include
8712 /usr/X11R6/include
8713 /usr/X11R5/include
8714 /usr/X11R4/include
8716 /usr/include/X11
8717 /usr/include/X11R7
8718 /usr/include/X11R6
8719 /usr/include/X11R5
8720 /usr/include/X11R4
8722 /usr/local/X11/include
8723 /usr/local/X11R7/include
8724 /usr/local/X11R6/include
8725 /usr/local/X11R5/include
8726 /usr/local/X11R4/include
8728 /usr/local/include/X11
8729 /usr/local/include/X11R7
8730 /usr/local/include/X11R6
8731 /usr/local/include/X11R5
8732 /usr/local/include/X11R4
8734 /usr/X386/include
8735 /usr/x386/include
8736 /usr/XFree86/include/X11
8738 /usr/include
8739 /usr/local/include
8740 /usr/unsupported/include
8741 /usr/athena/include
8742 /usr/local/x11r5/include
8743 /usr/lpp/Xamples/include
8745 /usr/openwin/include
8746 /usr/openwin/share/include'
8748 if test "$ac_x_includes" = no; then
8749 # Guess where to find include files, by looking for Xlib.h.
8750 # First, try using that file with no special directory specified.
8751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8752 /* end confdefs.h. */
8753 #include <X11/Xlib.h>
8754 _ACEOF
8755 if ac_fn_c_try_cpp "$LINENO"; then :
8756 # We can compile using X headers with no special include directory.
8757 ac_x_includes=
8758 else
8759 for ac_dir in $ac_x_header_dirs; do
8760 if test -r "$ac_dir/X11/Xlib.h"; then
8761 ac_x_includes=$ac_dir
8762 break
8764 done
8766 rm -f conftest.err conftest.i conftest.$ac_ext
8767 fi # $ac_x_includes = no
8769 if test "$ac_x_libraries" = no; then
8770 # Check for the libraries.
8771 # See if we find them without any special options.
8772 # Don't add to $LIBS permanently.
8773 ac_save_LIBS=$LIBS
8774 LIBS="-lX11 $LIBS"
8775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8776 /* end confdefs.h. */
8777 #include <X11/Xlib.h>
8779 main ()
8781 XrmInitialize ()
8783 return 0;
8785 _ACEOF
8786 if ac_fn_c_try_link "$LINENO"; then :
8787 LIBS=$ac_save_LIBS
8788 # We can link X programs with no special library path.
8789 ac_x_libraries=
8790 else
8791 LIBS=$ac_save_LIBS
8792 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8794 # Don't even attempt the hair of trying to link an X program!
8795 for ac_extension in a so sl dylib la dll; do
8796 if test -r "$ac_dir/libX11.$ac_extension"; then
8797 ac_x_libraries=$ac_dir
8798 break 2
8800 done
8801 done
8803 rm -f core conftest.err conftest.$ac_objext \
8804 conftest$ac_exeext conftest.$ac_ext
8805 fi # $ac_x_libraries = no
8807 case $ac_x_includes,$ac_x_libraries in #(
8808 no,* | *,no | *\'*)
8809 # Didn't find X, or a directory has "'" in its name.
8810 ac_cv_have_x="have_x=no";; #(
8812 # Record where we found X for the cache.
8813 ac_cv_have_x="have_x=yes\
8814 ac_x_includes='$ac_x_includes'\
8815 ac_x_libraries='$ac_x_libraries'"
8816 esac
8818 ;; #(
8819 *) have_x=yes;;
8820 esac
8821 eval "$ac_cv_have_x"
8822 fi # $with_x != no
8824 if test "$have_x" != yes; then
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8826 $as_echo "$have_x" >&6; }
8827 no_x=yes
8828 else
8829 # If each of the values was on the command line, it overrides each guess.
8830 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8831 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8832 # Update the cache value to reflect the command line values.
8833 ac_cv_have_x="have_x=yes\
8834 ac_x_includes='$x_includes'\
8835 ac_x_libraries='$x_libraries'"
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8837 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8840 if test "$no_x" = yes; then
8841 # Not all programs may use this symbol, but it does not hurt to define it.
8843 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8845 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8846 else
8847 if test -n "$x_includes"; then
8848 X_CFLAGS="$X_CFLAGS -I$x_includes"
8851 # It would also be nice to do this for all -L options, not just this one.
8852 if test -n "$x_libraries"; then
8853 X_LIBS="$X_LIBS -L$x_libraries"
8854 # For Solaris; some versions of Sun CC require a space after -R and
8855 # others require no space. Words are not sufficient . . . .
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8857 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8858 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8859 ac_xsave_c_werror_flag=$ac_c_werror_flag
8860 ac_c_werror_flag=yes
8861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8862 /* end confdefs.h. */
8865 main ()
8869 return 0;
8871 _ACEOF
8872 if ac_fn_c_try_link "$LINENO"; then :
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8874 $as_echo "no" >&6; }
8875 X_LIBS="$X_LIBS -R$x_libraries"
8876 else
8877 LIBS="$ac_xsave_LIBS -R $x_libraries"
8878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8879 /* end confdefs.h. */
8882 main ()
8886 return 0;
8888 _ACEOF
8889 if ac_fn_c_try_link "$LINENO"; then :
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8891 $as_echo "yes" >&6; }
8892 X_LIBS="$X_LIBS -R $x_libraries"
8893 else
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8895 $as_echo "neither works" >&6; }
8897 rm -f core conftest.err conftest.$ac_objext \
8898 conftest$ac_exeext conftest.$ac_ext
8900 rm -f core conftest.err conftest.$ac_objext \
8901 conftest$ac_exeext conftest.$ac_ext
8902 ac_c_werror_flag=$ac_xsave_c_werror_flag
8903 LIBS=$ac_xsave_LIBS
8906 # Check for system-dependent libraries X programs must link with.
8907 # Do this before checking for the system-independent R6 libraries
8908 # (-lICE), since we may need -lsocket or whatever for X linking.
8910 if test "$ISC" = yes; then
8911 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8912 else
8913 # Martyn Johnson says this is needed for Ultrix, if the X
8914 # libraries were built with DECnet support. And Karl Berry says
8915 # the Alpha needs dnet_stub (dnet does not exist).
8916 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8918 /* end confdefs.h. */
8920 /* Override any GCC internal prototype to avoid an error.
8921 Use char because int might match the return type of a GCC
8922 builtin and then its argument prototype would still apply. */
8923 #ifdef __cplusplus
8924 extern "C"
8925 #endif
8926 char XOpenDisplay ();
8928 main ()
8930 return XOpenDisplay ();
8932 return 0;
8934 _ACEOF
8935 if ac_fn_c_try_link "$LINENO"; then :
8937 else
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8939 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8940 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8941 $as_echo_n "(cached) " >&6
8942 else
8943 ac_check_lib_save_LIBS=$LIBS
8944 LIBS="-ldnet $LIBS"
8945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8946 /* end confdefs.h. */
8948 /* Override any GCC internal prototype to avoid an error.
8949 Use char because int might match the return type of a GCC
8950 builtin and then its argument prototype would still apply. */
8951 #ifdef __cplusplus
8952 extern "C"
8953 #endif
8954 char dnet_ntoa ();
8956 main ()
8958 return dnet_ntoa ();
8960 return 0;
8962 _ACEOF
8963 if ac_fn_c_try_link "$LINENO"; then :
8964 ac_cv_lib_dnet_dnet_ntoa=yes
8965 else
8966 ac_cv_lib_dnet_dnet_ntoa=no
8968 rm -f core conftest.err conftest.$ac_objext \
8969 conftest$ac_exeext conftest.$ac_ext
8970 LIBS=$ac_check_lib_save_LIBS
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8973 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8974 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8975 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8978 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8980 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8981 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8982 $as_echo_n "(cached) " >&6
8983 else
8984 ac_check_lib_save_LIBS=$LIBS
8985 LIBS="-ldnet_stub $LIBS"
8986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8987 /* end confdefs.h. */
8989 /* Override any GCC internal prototype to avoid an error.
8990 Use char because int might match the return type of a GCC
8991 builtin and then its argument prototype would still apply. */
8992 #ifdef __cplusplus
8993 extern "C"
8994 #endif
8995 char dnet_ntoa ();
8997 main ()
8999 return dnet_ntoa ();
9001 return 0;
9003 _ACEOF
9004 if ac_fn_c_try_link "$LINENO"; then :
9005 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9006 else
9007 ac_cv_lib_dnet_stub_dnet_ntoa=no
9009 rm -f core conftest.err conftest.$ac_objext \
9010 conftest$ac_exeext conftest.$ac_ext
9011 LIBS=$ac_check_lib_save_LIBS
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9014 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9015 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9016 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9021 rm -f core conftest.err conftest.$ac_objext \
9022 conftest$ac_exeext conftest.$ac_ext
9023 LIBS="$ac_xsave_LIBS"
9025 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9026 # to get the SysV transport functions.
9027 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9028 # needs -lnsl.
9029 # The nsl library prevents programs from opening the X display
9030 # on Irix 5.2, according to T.E. Dickey.
9031 # The functions gethostbyname, getservbyname, and inet_addr are
9032 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9033 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9034 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9038 if test $ac_cv_func_gethostbyname = no; then
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9040 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9041 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9042 $as_echo_n "(cached) " >&6
9043 else
9044 ac_check_lib_save_LIBS=$LIBS
9045 LIBS="-lnsl $LIBS"
9046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9047 /* end confdefs.h. */
9049 /* Override any GCC internal prototype to avoid an error.
9050 Use char because int might match the return type of a GCC
9051 builtin and then its argument prototype would still apply. */
9052 #ifdef __cplusplus
9053 extern "C"
9054 #endif
9055 char gethostbyname ();
9057 main ()
9059 return gethostbyname ();
9061 return 0;
9063 _ACEOF
9064 if ac_fn_c_try_link "$LINENO"; then :
9065 ac_cv_lib_nsl_gethostbyname=yes
9066 else
9067 ac_cv_lib_nsl_gethostbyname=no
9069 rm -f core conftest.err conftest.$ac_objext \
9070 conftest$ac_exeext conftest.$ac_ext
9071 LIBS=$ac_check_lib_save_LIBS
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9074 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9075 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9076 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9079 if test $ac_cv_lib_nsl_gethostbyname = no; then
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9081 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9082 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9083 $as_echo_n "(cached) " >&6
9084 else
9085 ac_check_lib_save_LIBS=$LIBS
9086 LIBS="-lbsd $LIBS"
9087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9088 /* end confdefs.h. */
9090 /* Override any GCC internal prototype to avoid an error.
9091 Use char because int might match the return type of a GCC
9092 builtin and then its argument prototype would still apply. */
9093 #ifdef __cplusplus
9094 extern "C"
9095 #endif
9096 char gethostbyname ();
9098 main ()
9100 return gethostbyname ();
9102 return 0;
9104 _ACEOF
9105 if ac_fn_c_try_link "$LINENO"; then :
9106 ac_cv_lib_bsd_gethostbyname=yes
9107 else
9108 ac_cv_lib_bsd_gethostbyname=no
9110 rm -f core conftest.err conftest.$ac_objext \
9111 conftest$ac_exeext conftest.$ac_ext
9112 LIBS=$ac_check_lib_save_LIBS
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9115 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9116 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9117 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9123 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9124 # socket/setsockopt and other routines are undefined under SCO ODT
9125 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9126 # on later versions), says Simon Leinen: it contains gethostby*
9127 # variants that don't use the name server (or something). -lsocket
9128 # must be given before -lnsl if both are needed. We assume that
9129 # if connect needs -lnsl, so does gethostbyname.
9130 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9131 if test "x$ac_cv_func_connect" = xyes; then :
9135 if test $ac_cv_func_connect = no; then
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9137 $as_echo_n "checking for connect in -lsocket... " >&6; }
9138 if ${ac_cv_lib_socket_connect+:} false; then :
9139 $as_echo_n "(cached) " >&6
9140 else
9141 ac_check_lib_save_LIBS=$LIBS
9142 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9146 /* Override any GCC internal prototype to avoid an error.
9147 Use char because int might match the return type of a GCC
9148 builtin and then its argument prototype would still apply. */
9149 #ifdef __cplusplus
9150 extern "C"
9151 #endif
9152 char connect ();
9154 main ()
9156 return connect ();
9158 return 0;
9160 _ACEOF
9161 if ac_fn_c_try_link "$LINENO"; then :
9162 ac_cv_lib_socket_connect=yes
9163 else
9164 ac_cv_lib_socket_connect=no
9166 rm -f core conftest.err conftest.$ac_objext \
9167 conftest$ac_exeext conftest.$ac_ext
9168 LIBS=$ac_check_lib_save_LIBS
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9171 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9172 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9173 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9178 # Guillermo Gomez says -lposix is necessary on A/UX.
9179 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9180 if test "x$ac_cv_func_remove" = xyes; then :
9184 if test $ac_cv_func_remove = no; then
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9186 $as_echo_n "checking for remove in -lposix... " >&6; }
9187 if ${ac_cv_lib_posix_remove+:} false; then :
9188 $as_echo_n "(cached) " >&6
9189 else
9190 ac_check_lib_save_LIBS=$LIBS
9191 LIBS="-lposix $LIBS"
9192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9193 /* end confdefs.h. */
9195 /* Override any GCC internal prototype to avoid an error.
9196 Use char because int might match the return type of a GCC
9197 builtin and then its argument prototype would still apply. */
9198 #ifdef __cplusplus
9199 extern "C"
9200 #endif
9201 char remove ();
9203 main ()
9205 return remove ();
9207 return 0;
9209 _ACEOF
9210 if ac_fn_c_try_link "$LINENO"; then :
9211 ac_cv_lib_posix_remove=yes
9212 else
9213 ac_cv_lib_posix_remove=no
9215 rm -f core conftest.err conftest.$ac_objext \
9216 conftest$ac_exeext conftest.$ac_ext
9217 LIBS=$ac_check_lib_save_LIBS
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9220 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9221 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9222 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9227 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9228 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9229 if test "x$ac_cv_func_shmat" = xyes; then :
9233 if test $ac_cv_func_shmat = no; then
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9235 $as_echo_n "checking for shmat in -lipc... " >&6; }
9236 if ${ac_cv_lib_ipc_shmat+:} false; then :
9237 $as_echo_n "(cached) " >&6
9238 else
9239 ac_check_lib_save_LIBS=$LIBS
9240 LIBS="-lipc $LIBS"
9241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9244 /* Override any GCC internal prototype to avoid an error.
9245 Use char because int might match the return type of a GCC
9246 builtin and then its argument prototype would still apply. */
9247 #ifdef __cplusplus
9248 extern "C"
9249 #endif
9250 char shmat ();
9252 main ()
9254 return shmat ();
9256 return 0;
9258 _ACEOF
9259 if ac_fn_c_try_link "$LINENO"; then :
9260 ac_cv_lib_ipc_shmat=yes
9261 else
9262 ac_cv_lib_ipc_shmat=no
9264 rm -f core conftest.err conftest.$ac_objext \
9265 conftest$ac_exeext conftest.$ac_ext
9266 LIBS=$ac_check_lib_save_LIBS
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9269 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9270 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9271 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9277 # Check for libraries that X11R6 Xt/Xaw programs need.
9278 ac_save_LDFLAGS=$LDFLAGS
9279 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9280 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9281 # check for ICE first), but we must link in the order -lSM -lICE or
9282 # we get undefined symbols. So assume we have SM if we have ICE.
9283 # These have to be linked with before -lX11, unlike the other
9284 # libraries we check for below, so use a different variable.
9285 # John Interrante, Karl Berry
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9287 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9288 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9289 $as_echo_n "(cached) " >&6
9290 else
9291 ac_check_lib_save_LIBS=$LIBS
9292 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9294 /* end confdefs.h. */
9296 /* Override any GCC internal prototype to avoid an error.
9297 Use char because int might match the return type of a GCC
9298 builtin and then its argument prototype would still apply. */
9299 #ifdef __cplusplus
9300 extern "C"
9301 #endif
9302 char IceConnectionNumber ();
9304 main ()
9306 return IceConnectionNumber ();
9308 return 0;
9310 _ACEOF
9311 if ac_fn_c_try_link "$LINENO"; then :
9312 ac_cv_lib_ICE_IceConnectionNumber=yes
9313 else
9314 ac_cv_lib_ICE_IceConnectionNumber=no
9316 rm -f core conftest.err conftest.$ac_objext \
9317 conftest$ac_exeext conftest.$ac_ext
9318 LIBS=$ac_check_lib_save_LIBS
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9321 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9322 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9323 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9326 LDFLAGS=$ac_save_LDFLAGS
9331 if test "$have_x" = "yes"
9332 then
9333 ac_save_CPPFLAGS="$CPPFLAGS"
9334 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9337 $as_echo_n "checking for -lX11... " >&6; }
9338 if ${ac_cv_lib_soname_X11+:} false; then :
9339 $as_echo_n "(cached) " >&6
9340 else
9341 ac_check_soname_save_LIBS=$LIBS
9342 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9344 /* end confdefs.h. */
9346 /* Override any GCC internal prototype to avoid an error.
9347 Use char because int might match the return type of a GCC
9348 builtin and then its argument prototype would still apply. */
9349 #ifdef __cplusplus
9350 extern "C"
9351 #endif
9352 char XCreateWindow ();
9354 main ()
9356 return XCreateWindow ();
9358 return 0;
9360 _ACEOF
9361 if ac_fn_c_try_link "$LINENO"; then :
9362 case "$LIBEXT" in
9363 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9364 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'` ;;
9365 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9366 if ${ac_cv_lib_soname_X11:+false} :; then :
9367 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9368 fi ;;
9369 esac
9371 rm -f core conftest.err conftest.$ac_objext \
9372 conftest$ac_exeext conftest.$ac_ext
9373 LIBS=$ac_check_soname_save_LIBS
9375 if ${ac_cv_lib_soname_X11:+false} :; then :
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9377 $as_echo "not found" >&6; }
9379 else
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9381 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9383 cat >>confdefs.h <<_ACEOF
9384 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9385 _ACEOF
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9390 $as_echo_n "checking for -lXext... " >&6; }
9391 if ${ac_cv_lib_soname_Xext+:} false; then :
9392 $as_echo_n "(cached) " >&6
9393 else
9394 ac_check_soname_save_LIBS=$LIBS
9395 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9397 /* end confdefs.h. */
9399 /* Override any GCC internal prototype to avoid an error.
9400 Use char because int might match the return type of a GCC
9401 builtin and then its argument prototype would still apply. */
9402 #ifdef __cplusplus
9403 extern "C"
9404 #endif
9405 char XextCreateExtension ();
9407 main ()
9409 return XextCreateExtension ();
9411 return 0;
9413 _ACEOF
9414 if ac_fn_c_try_link "$LINENO"; then :
9415 case "$LIBEXT" in
9416 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9417 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'` ;;
9418 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9419 if ${ac_cv_lib_soname_Xext:+false} :; then :
9420 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9421 fi ;;
9422 esac
9424 rm -f core conftest.err conftest.$ac_objext \
9425 conftest$ac_exeext conftest.$ac_ext
9426 LIBS=$ac_check_soname_save_LIBS
9428 if ${ac_cv_lib_soname_Xext:+false} :; then :
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9430 $as_echo "not found" >&6; }
9432 else
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9434 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9436 cat >>confdefs.h <<_ACEOF
9437 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9438 _ACEOF
9440 X_LIBS="$X_LIBS -lXext"
9442 X_LIBS="$X_LIBS -lX11"
9444 for ac_header in X11/Xlib.h \
9445 X11/XKBlib.h \
9446 X11/Xutil.h \
9447 X11/Xcursor/Xcursor.h \
9448 X11/extensions/shape.h \
9449 X11/extensions/XInput.h \
9450 X11/extensions/XInput2.h \
9451 X11/extensions/XShm.h \
9452 X11/extensions/Xcomposite.h \
9453 X11/extensions/Xinerama.h \
9454 X11/extensions/Xrandr.h \
9455 X11/extensions/Xrender.h \
9456 X11/extensions/xf86vmode.h \
9457 X11/extensions/xf86vmproto.h
9458 do :
9459 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9460 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9461 # include <X11/Xlib.h>
9462 #endif
9463 #ifdef HAVE_X11_XUTIL_H
9464 # include <X11/Xutil.h>
9465 #endif
9467 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9468 cat >>confdefs.h <<_ACEOF
9469 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9470 _ACEOF
9474 done
9477 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9478 then
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9480 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9481 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9482 $as_echo_n "(cached) " >&6
9483 else
9484 ac_check_lib_save_LIBS=$LIBS
9485 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9487 /* end confdefs.h. */
9489 /* Override any GCC internal prototype to avoid an error.
9490 Use char because int might match the return type of a GCC
9491 builtin and then its argument prototype would still apply. */
9492 #ifdef __cplusplus
9493 extern "C"
9494 #endif
9495 char XkbQueryExtension ();
9497 main ()
9499 return XkbQueryExtension ();
9501 return 0;
9503 _ACEOF
9504 if ac_fn_c_try_link "$LINENO"; then :
9505 ac_cv_lib_X11_XkbQueryExtension=yes
9506 else
9507 ac_cv_lib_X11_XkbQueryExtension=no
9509 rm -f core conftest.err conftest.$ac_objext \
9510 conftest$ac_exeext conftest.$ac_ext
9511 LIBS=$ac_check_lib_save_LIBS
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9514 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9515 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9517 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9523 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9524 then
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9526 $as_echo_n "checking for -lXcursor... " >&6; }
9527 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9528 $as_echo_n "(cached) " >&6
9529 else
9530 ac_check_soname_save_LIBS=$LIBS
9531 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9533 /* end confdefs.h. */
9535 /* Override any GCC internal prototype to avoid an error.
9536 Use char because int might match the return type of a GCC
9537 builtin and then its argument prototype would still apply. */
9538 #ifdef __cplusplus
9539 extern "C"
9540 #endif
9541 char XcursorImageLoadCursor ();
9543 main ()
9545 return XcursorImageLoadCursor ();
9547 return 0;
9549 _ACEOF
9550 if ac_fn_c_try_link "$LINENO"; then :
9551 case "$LIBEXT" in
9552 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9553 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'` ;;
9554 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9555 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9556 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9557 fi ;;
9558 esac
9560 rm -f core conftest.err conftest.$ac_objext \
9561 conftest$ac_exeext conftest.$ac_ext
9562 LIBS=$ac_check_soname_save_LIBS
9564 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9566 $as_echo "not found" >&6; }
9568 else
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9570 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9572 cat >>confdefs.h <<_ACEOF
9573 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9574 _ACEOF
9579 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9580 case "x$with_xcursor" in
9581 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9582 xno) ;;
9583 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9584 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9585 esac
9588 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9589 then
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9591 $as_echo_n "checking for -lXi... " >&6; }
9592 if ${ac_cv_lib_soname_Xi+:} false; then :
9593 $as_echo_n "(cached) " >&6
9594 else
9595 ac_check_soname_save_LIBS=$LIBS
9596 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9598 /* end confdefs.h. */
9600 /* Override any GCC internal prototype to avoid an error.
9601 Use char because int might match the return type of a GCC
9602 builtin and then its argument prototype would still apply. */
9603 #ifdef __cplusplus
9604 extern "C"
9605 #endif
9606 char XOpenDevice ();
9608 main ()
9610 return XOpenDevice ();
9612 return 0;
9614 _ACEOF
9615 if ac_fn_c_try_link "$LINENO"; then :
9616 case "$LIBEXT" in
9617 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9618 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'` ;;
9619 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9620 if ${ac_cv_lib_soname_Xi:+false} :; then :
9621 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9622 fi ;;
9623 esac
9625 rm -f core conftest.err conftest.$ac_objext \
9626 conftest$ac_exeext conftest.$ac_ext
9627 LIBS=$ac_check_soname_save_LIBS
9629 if ${ac_cv_lib_soname_Xi:+false} :; then :
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9631 $as_echo "not found" >&6; }
9633 else
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9635 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9637 cat >>confdefs.h <<_ACEOF
9638 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9639 _ACEOF
9644 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9645 case "x$with_xinput" in
9646 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9647 xno) ;;
9648 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9649 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9650 esac
9653 if test "x$ac_cv_lib_soname_Xi" != x
9654 then
9655 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9656 case "x$with_xinput2" in
9657 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9658 xno) ;;
9659 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9660 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9661 esac
9665 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9666 then
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9668 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9669 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9670 $as_echo_n "(cached) " >&6
9671 else
9672 ac_check_lib_save_LIBS=$LIBS
9673 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9675 /* end confdefs.h. */
9677 /* Override any GCC internal prototype to avoid an error.
9678 Use char because int might match the return type of a GCC
9679 builtin and then its argument prototype would still apply. */
9680 #ifdef __cplusplus
9681 extern "C"
9682 #endif
9683 char XShmQueryExtension ();
9685 main ()
9687 return XShmQueryExtension ();
9689 return 0;
9691 _ACEOF
9692 if ac_fn_c_try_link "$LINENO"; then :
9693 ac_cv_lib_Xext_XShmQueryExtension=yes
9694 else
9695 ac_cv_lib_Xext_XShmQueryExtension=no
9697 rm -f core conftest.err conftest.$ac_objext \
9698 conftest$ac_exeext conftest.$ac_ext
9699 LIBS=$ac_check_lib_save_LIBS
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9702 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9703 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9705 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9710 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9711 case "x$with_xshm" in
9712 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9713 xno) ;;
9714 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9715 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9716 esac
9719 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9720 then
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9722 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9723 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9724 $as_echo_n "(cached) " >&6
9725 else
9726 ac_check_lib_save_LIBS=$LIBS
9727 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9729 /* end confdefs.h. */
9731 /* Override any GCC internal prototype to avoid an error.
9732 Use char because int might match the return type of a GCC
9733 builtin and then its argument prototype would still apply. */
9734 #ifdef __cplusplus
9735 extern "C"
9736 #endif
9737 char XShapeQueryExtension ();
9739 main ()
9741 return XShapeQueryExtension ();
9743 return 0;
9745 _ACEOF
9746 if ac_fn_c_try_link "$LINENO"; then :
9747 ac_cv_lib_Xext_XShapeQueryExtension=yes
9748 else
9749 ac_cv_lib_Xext_XShapeQueryExtension=no
9751 rm -f core conftest.err conftest.$ac_objext \
9752 conftest$ac_exeext conftest.$ac_ext
9753 LIBS=$ac_check_lib_save_LIBS
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9756 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9757 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9759 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9764 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9765 case "x$with_xshape" in
9766 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9767 xno) ;;
9768 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9769 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9770 esac
9773 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9774 then
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9776 $as_echo_n "checking for -lXxf86vm... " >&6; }
9777 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9778 $as_echo_n "(cached) " >&6
9779 else
9780 ac_check_soname_save_LIBS=$LIBS
9781 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9783 /* end confdefs.h. */
9785 /* Override any GCC internal prototype to avoid an error.
9786 Use char because int might match the return type of a GCC
9787 builtin and then its argument prototype would still apply. */
9788 #ifdef __cplusplus
9789 extern "C"
9790 #endif
9791 char XF86VidModeQueryExtension ();
9793 main ()
9795 return XF86VidModeQueryExtension ();
9797 return 0;
9799 _ACEOF
9800 if ac_fn_c_try_link "$LINENO"; then :
9801 case "$LIBEXT" in
9802 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9803 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'` ;;
9804 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9805 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9806 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9807 fi ;;
9808 esac
9810 rm -f core conftest.err conftest.$ac_objext \
9811 conftest$ac_exeext conftest.$ac_ext
9812 LIBS=$ac_check_soname_save_LIBS
9814 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9816 $as_echo "not found" >&6; }
9818 else
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9820 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9822 cat >>confdefs.h <<_ACEOF
9823 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9824 _ACEOF
9829 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9830 case "x$with_xxf86vm" in
9831 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9832 xno) ;;
9833 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9834 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9835 esac
9838 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9839 then
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9841 $as_echo_n "checking for -lXrender... " >&6; }
9842 if ${ac_cv_lib_soname_Xrender+:} false; then :
9843 $as_echo_n "(cached) " >&6
9844 else
9845 ac_check_soname_save_LIBS=$LIBS
9846 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9848 /* end confdefs.h. */
9850 /* Override any GCC internal prototype to avoid an error.
9851 Use char because int might match the return type of a GCC
9852 builtin and then its argument prototype would still apply. */
9853 #ifdef __cplusplus
9854 extern "C"
9855 #endif
9856 char XRenderQueryExtension ();
9858 main ()
9860 return XRenderQueryExtension ();
9862 return 0;
9864 _ACEOF
9865 if ac_fn_c_try_link "$LINENO"; then :
9866 case "$LIBEXT" in
9867 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9868 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'` ;;
9869 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9870 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9871 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9872 fi ;;
9873 esac
9875 rm -f core conftest.err conftest.$ac_objext \
9876 conftest$ac_exeext conftest.$ac_ext
9877 LIBS=$ac_check_soname_save_LIBS
9879 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9881 $as_echo "not found" >&6; }
9883 else
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9885 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9887 cat >>confdefs.h <<_ACEOF
9888 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9889 _ACEOF
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9892 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9893 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9894 $as_echo_n "(cached) " >&6
9895 else
9896 ac_check_lib_save_LIBS=$LIBS
9897 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9899 /* end confdefs.h. */
9901 /* Override any GCC internal prototype to avoid an error.
9902 Use char because int might match the return type of a GCC
9903 builtin and then its argument prototype would still apply. */
9904 #ifdef __cplusplus
9905 extern "C"
9906 #endif
9907 char XRenderSetPictureTransform ();
9909 main ()
9911 return XRenderSetPictureTransform ();
9913 return 0;
9915 _ACEOF
9916 if ac_fn_c_try_link "$LINENO"; then :
9917 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9918 else
9919 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9921 rm -f core conftest.err conftest.$ac_objext \
9922 conftest$ac_exeext conftest.$ac_ext
9923 LIBS=$ac_check_lib_save_LIBS
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9926 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9927 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9929 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9934 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9935 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9936 $as_echo_n "(cached) " >&6
9937 else
9938 ac_check_lib_save_LIBS=$LIBS
9939 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9941 /* end confdefs.h. */
9943 /* Override any GCC internal prototype to avoid an error.
9944 Use char because int might match the return type of a GCC
9945 builtin and then its argument prototype would still apply. */
9946 #ifdef __cplusplus
9947 extern "C"
9948 #endif
9949 char XRenderCreateLinearGradient ();
9951 main ()
9953 return XRenderCreateLinearGradient ();
9955 return 0;
9957 _ACEOF
9958 if ac_fn_c_try_link "$LINENO"; then :
9959 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9960 else
9961 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9963 rm -f core conftest.err conftest.$ac_objext \
9964 conftest$ac_exeext conftest.$ac_ext
9965 LIBS=$ac_check_lib_save_LIBS
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9968 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9969 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9971 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9978 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9979 case "x$with_xrender" in
9980 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9981 xno) ;;
9982 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9983 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9984 esac
9987 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9988 then
9989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9990 /* end confdefs.h. */
9991 #include <X11/Xlib.h>
9992 #include <X11/extensions/Xrandr.h>
9994 main ()
9996 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9998 return 0;
10000 _ACEOF
10001 if ac_fn_c_try_compile "$LINENO"; then :
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10003 $as_echo_n "checking for -lXrandr... " >&6; }
10004 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10005 $as_echo_n "(cached) " >&6
10006 else
10007 ac_check_soname_save_LIBS=$LIBS
10008 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10010 /* end confdefs.h. */
10012 /* Override any GCC internal prototype to avoid an error.
10013 Use char because int might match the return type of a GCC
10014 builtin and then its argument prototype would still apply. */
10015 #ifdef __cplusplus
10016 extern "C"
10017 #endif
10018 char XRRQueryExtension ();
10020 main ()
10022 return XRRQueryExtension ();
10024 return 0;
10026 _ACEOF
10027 if ac_fn_c_try_link "$LINENO"; then :
10028 case "$LIBEXT" in
10029 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10030 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'` ;;
10031 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10032 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10033 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10034 fi ;;
10035 esac
10037 rm -f core conftest.err conftest.$ac_objext \
10038 conftest$ac_exeext conftest.$ac_ext
10039 LIBS=$ac_check_soname_save_LIBS
10041 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10043 $as_echo "not found" >&6; }
10045 else
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10047 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10049 cat >>confdefs.h <<_ACEOF
10050 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10051 _ACEOF
10053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10054 /* end confdefs.h. */
10055 #include <X11/Xlib.h>
10056 #include <X11/extensions/Xrandr.h>
10058 main ()
10060 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10062 return 0;
10064 _ACEOF
10065 if ac_fn_c_try_compile "$LINENO"; then :
10067 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10075 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10076 case "x$with_xrandr" in
10077 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10078 xno) ;;
10079 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10080 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10081 esac
10084 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10085 then
10086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10087 /* end confdefs.h. */
10088 #include <X11/Xlib.h>
10089 #include <X11/extensions/Xinerama.h>
10091 main ()
10093 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10095 return 0;
10097 _ACEOF
10098 if ac_fn_c_try_compile "$LINENO"; then :
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10100 $as_echo_n "checking for -lXinerama... " >&6; }
10101 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10102 $as_echo_n "(cached) " >&6
10103 else
10104 ac_check_soname_save_LIBS=$LIBS
10105 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10107 /* end confdefs.h. */
10109 /* Override any GCC internal prototype to avoid an error.
10110 Use char because int might match the return type of a GCC
10111 builtin and then its argument prototype would still apply. */
10112 #ifdef __cplusplus
10113 extern "C"
10114 #endif
10115 char XineramaQueryScreens ();
10117 main ()
10119 return XineramaQueryScreens ();
10121 return 0;
10123 _ACEOF
10124 if ac_fn_c_try_link "$LINENO"; then :
10125 case "$LIBEXT" in
10126 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10127 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'` ;;
10128 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10129 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10130 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10131 fi ;;
10132 esac
10134 rm -f core conftest.err conftest.$ac_objext \
10135 conftest$ac_exeext conftest.$ac_ext
10136 LIBS=$ac_check_soname_save_LIBS
10138 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10140 $as_echo "not found" >&6; }
10142 else
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10144 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10146 cat >>confdefs.h <<_ACEOF
10147 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10148 _ACEOF
10153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10155 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10156 case "x$with_xinerama" in
10157 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10158 xno) ;;
10159 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10160 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10161 esac
10164 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10165 then
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10167 $as_echo_n "checking for -lXcomposite... " >&6; }
10168 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10169 $as_echo_n "(cached) " >&6
10170 else
10171 ac_check_soname_save_LIBS=$LIBS
10172 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10174 /* end confdefs.h. */
10176 /* Override any GCC internal prototype to avoid an error.
10177 Use char because int might match the return type of a GCC
10178 builtin and then its argument prototype would still apply. */
10179 #ifdef __cplusplus
10180 extern "C"
10181 #endif
10182 char XCompositeRedirectWindow ();
10184 main ()
10186 return XCompositeRedirectWindow ();
10188 return 0;
10190 _ACEOF
10191 if ac_fn_c_try_link "$LINENO"; then :
10192 case "$LIBEXT" in
10193 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10194 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'` ;;
10195 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10196 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10197 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10198 fi ;;
10199 esac
10201 rm -f core conftest.err conftest.$ac_objext \
10202 conftest$ac_exeext conftest.$ac_ext
10203 LIBS=$ac_check_soname_save_LIBS
10205 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10207 $as_echo "not found" >&6; }
10209 else
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10211 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10213 cat >>confdefs.h <<_ACEOF
10214 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10215 _ACEOF
10220 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10221 case "x$with_xcomposite" in
10222 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10223 xno) ;;
10224 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10225 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10226 esac
10229 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10230 #include <X11/Xlib.h>
10231 #endif
10233 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10235 cat >>confdefs.h <<_ACEOF
10236 #define HAVE_XICCALLBACK_CALLBACK 1
10237 _ACEOF
10241 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10242 #include <X11/Xlib.h>
10243 #endif
10245 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10247 cat >>confdefs.h <<_ACEOF
10248 #define HAVE_XEVENT_XCOOKIE 1
10249 _ACEOF
10256 opengl_msg=""
10257 if test "x$with_opengl" != "xno"
10258 then
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10260 $as_echo_n "checking for -lGL... " >&6; }
10261 if ${ac_cv_lib_soname_GL+:} false; then :
10262 $as_echo_n "(cached) " >&6
10263 else
10264 ac_check_soname_save_LIBS=$LIBS
10265 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10267 /* end confdefs.h. */
10269 /* Override any GCC internal prototype to avoid an error.
10270 Use char because int might match the return type of a GCC
10271 builtin and then its argument prototype would still apply. */
10272 #ifdef __cplusplus
10273 extern "C"
10274 #endif
10275 char glXCreateContext ();
10277 main ()
10279 return glXCreateContext ();
10281 return 0;
10283 _ACEOF
10284 if ac_fn_c_try_link "$LINENO"; then :
10285 case "$LIBEXT" in
10286 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10287 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'` ;;
10288 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10289 if ${ac_cv_lib_soname_GL:+false} :; then :
10290 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10291 fi ;;
10292 esac
10294 rm -f core conftest.err conftest.$ac_objext \
10295 conftest$ac_exeext conftest.$ac_ext
10296 LIBS=$ac_check_soname_save_LIBS
10298 if ${ac_cv_lib_soname_GL:+false} :; then :
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10300 $as_echo "not found" >&6; }
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10302 $as_echo_n "checking for -lGL... " >&6; }
10303 if ${ac_cv_lib_soname_GL+:} false; then :
10304 $as_echo_n "(cached) " >&6
10305 else
10306 ac_check_soname_save_LIBS=$LIBS
10307 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"
10308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10311 /* Override any GCC internal prototype to avoid an error.
10312 Use char because int might match the return type of a GCC
10313 builtin and then its argument prototype would still apply. */
10314 #ifdef __cplusplus
10315 extern "C"
10316 #endif
10317 char glXCreateContext ();
10319 main ()
10321 return glXCreateContext ();
10323 return 0;
10325 _ACEOF
10326 if ac_fn_c_try_link "$LINENO"; then :
10327 case "$LIBEXT" in
10328 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10329 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'` ;;
10330 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10331 if ${ac_cv_lib_soname_GL:+false} :; then :
10332 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10333 fi ;;
10334 esac
10336 rm -f core conftest.err conftest.$ac_objext \
10337 conftest$ac_exeext conftest.$ac_ext
10338 LIBS=$ac_check_soname_save_LIBS
10340 if ${ac_cv_lib_soname_GL:+false} :; then :
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10342 $as_echo "not found" >&6; }
10343 if test -f /usr/X11R6/lib/libGL.a
10344 then
10345 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10346 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10347 else
10348 opengl_msg="No OpenGL library found on this system."
10350 else
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10352 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10354 cat >>confdefs.h <<_ACEOF
10355 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10356 _ACEOF
10358 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"
10360 else
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10362 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10364 cat >>confdefs.h <<_ACEOF
10365 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10366 _ACEOF
10368 OPENGL_LIBS="-lGL"
10370 if test "x$with_glu" != "xno"
10371 then
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10373 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10374 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10375 $as_echo_n "(cached) " >&6
10376 else
10377 ac_check_lib_save_LIBS=$LIBS
10378 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10380 /* end confdefs.h. */
10382 /* Override any GCC internal prototype to avoid an error.
10383 Use char because int might match the return type of a GCC
10384 builtin and then its argument prototype would still apply. */
10385 #ifdef __cplusplus
10386 extern "C"
10387 #endif
10388 char gluLookAt ();
10390 main ()
10392 return gluLookAt ();
10394 return 0;
10396 _ACEOF
10397 if ac_fn_c_try_link "$LINENO"; then :
10398 ac_cv_lib_GLU_gluLookAt=yes
10399 else
10400 ac_cv_lib_GLU_gluLookAt=no
10402 rm -f core conftest.err conftest.$ac_objext \
10403 conftest$ac_exeext conftest.$ac_ext
10404 LIBS=$ac_check_lib_save_LIBS
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10407 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10408 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10412 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10413 case "x$with_glu" in
10414 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10415 xno) ;;
10416 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10417 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10418 esac
10422 if test "x$with_osmesa" != "xno"
10423 then
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10425 $as_echo_n "checking for -lOSMesa... " >&6; }
10426 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10427 $as_echo_n "(cached) " >&6
10428 else
10429 ac_check_soname_save_LIBS=$LIBS
10430 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10432 /* end confdefs.h. */
10434 /* Override any GCC internal prototype to avoid an error.
10435 Use char because int might match the return type of a GCC
10436 builtin and then its argument prototype would still apply. */
10437 #ifdef __cplusplus
10438 extern "C"
10439 #endif
10440 char glAccum ();
10442 main ()
10444 return glAccum ();
10446 return 0;
10448 _ACEOF
10449 if ac_fn_c_try_link "$LINENO"; then :
10450 case "$LIBEXT" in
10451 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10452 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'` ;;
10453 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10454 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10455 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10456 fi ;;
10457 esac
10459 rm -f core conftest.err conftest.$ac_objext \
10460 conftest$ac_exeext conftest.$ac_ext
10461 LIBS=$ac_check_soname_save_LIBS
10463 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10465 $as_echo "not found" >&6; }
10467 else
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10469 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10471 cat >>confdefs.h <<_ACEOF
10472 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10473 _ACEOF
10477 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10478 case "x$with_osmesa" in
10479 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10480 xno) ;;
10481 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10482 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10483 esac
10487 if test -n "$opengl_msg"; then :
10488 case "x$with_opengl" in
10489 x) as_fn_append wine_warnings "|$opengl_msg
10490 OpenGL and Direct3D won't be supported." ;;
10491 xno) ;;
10492 *) as_fn_error $? "$opengl_msg
10493 OpenGL and Direct3D won't be supported.
10494 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10495 esac
10498 CPPFLAGS="$ac_save_CPPFLAGS"
10499 else
10500 X_CFLAGS=""
10501 X_LIBS=""
10502 enable_winex11_drv=${enable_winex11_drv:-no}
10504 if test "x$X_LIBS" = "x"; then :
10505 case "x$with_x" in
10506 xno) ;;
10507 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10508 without X support, which probably isn't what you want. You will need
10509 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10510 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10511 esac
10514 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10516 if test "$ac_cv_header_CL_cl_h" = "yes"
10517 then
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10519 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10520 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10521 $as_echo_n "(cached) " >&6
10522 else
10523 ac_check_lib_save_LIBS=$LIBS
10524 LIBS="-lOpenCL $LIBS"
10525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10526 /* end confdefs.h. */
10528 /* Override any GCC internal prototype to avoid an error.
10529 Use char because int might match the return type of a GCC
10530 builtin and then its argument prototype would still apply. */
10531 #ifdef __cplusplus
10532 extern "C"
10533 #endif
10534 char clGetPlatformInfo ();
10536 main ()
10538 return clGetPlatformInfo ();
10540 return 0;
10542 _ACEOF
10543 if ac_fn_c_try_link "$LINENO"; then :
10544 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10545 else
10546 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10548 rm -f core conftest.err conftest.$ac_objext \
10549 conftest$ac_exeext conftest.$ac_ext
10550 LIBS=$ac_check_lib_save_LIBS
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10553 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10554 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10555 OPENCL_LIBS="-lOpenCL"
10560 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10561 case "x$with_opencl" in
10562 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10563 xno) ;;
10564 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10565 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10566 esac
10568 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10570 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10571 then
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10573 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10574 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10575 $as_echo_n "(cached) " >&6
10576 else
10577 ac_check_lib_save_LIBS=$LIBS
10578 LIBS="-lpcap $LIBS"
10579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10580 /* end confdefs.h. */
10582 /* Override any GCC internal prototype to avoid an error.
10583 Use char because int might match the return type of a GCC
10584 builtin and then its argument prototype would still apply. */
10585 #ifdef __cplusplus
10586 extern "C"
10587 #endif
10588 char pcap_create ();
10590 main ()
10592 return pcap_create ();
10594 return 0;
10596 _ACEOF
10597 if ac_fn_c_try_link "$LINENO"; then :
10598 ac_cv_lib_pcap_pcap_create=yes
10599 else
10600 ac_cv_lib_pcap_pcap_create=no
10602 rm -f core conftest.err conftest.$ac_objext \
10603 conftest$ac_exeext conftest.$ac_ext
10604 LIBS=$ac_check_lib_save_LIBS
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10607 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10608 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10609 LIBPCAP="-lpcap"
10614 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10615 case "x$with_pcap" in
10616 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10617 xno) ;;
10618 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10619 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10620 esac
10622 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10625 if test "x$with_xml" != "xno"
10626 then
10627 if ${XML2_CFLAGS:+false} :; then :
10628 if ${PKG_CONFIG+:} false; then :
10629 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10632 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10633 if ${XML2_LIBS:+false} :; then :
10634 if ${PKG_CONFIG+:} false; then :
10635 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10638 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10639 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10640 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10641 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10642 ac_save_CPPFLAGS=$CPPFLAGS
10643 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10644 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10645 do :
10646 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10647 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10648 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10649 cat >>confdefs.h <<_ACEOF
10650 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10651 _ACEOF
10655 done
10657 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"
10658 then
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10660 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10661 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10662 $as_echo_n "(cached) " >&6
10663 else
10664 ac_check_lib_save_LIBS=$LIBS
10665 LIBS="-lxml2 $XML2_LIBS $LIBS"
10666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10669 /* Override any GCC internal prototype to avoid an error.
10670 Use char because int might match the return type of a GCC
10671 builtin and then its argument prototype would still apply. */
10672 #ifdef __cplusplus
10673 extern "C"
10674 #endif
10675 char xmlParseMemory ();
10677 main ()
10679 return xmlParseMemory ();
10681 return 0;
10683 _ACEOF
10684 if ac_fn_c_try_link "$LINENO"; then :
10685 ac_cv_lib_xml2_xmlParseMemory=yes
10686 else
10687 ac_cv_lib_xml2_xmlParseMemory=no
10689 rm -f core conftest.err conftest.$ac_objext \
10690 conftest$ac_exeext conftest.$ac_ext
10691 LIBS=$ac_check_lib_save_LIBS
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10694 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10695 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10697 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10699 else
10700 XML2_LIBS=""
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10704 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10705 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10706 $as_echo_n "(cached) " >&6
10707 else
10708 ac_check_lib_save_LIBS=$LIBS
10709 LIBS="-lxml2 $XML2_LIBS $LIBS"
10710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10711 /* end confdefs.h. */
10713 /* Override any GCC internal prototype to avoid an error.
10714 Use char because int might match the return type of a GCC
10715 builtin and then its argument prototype would still apply. */
10716 #ifdef __cplusplus
10717 extern "C"
10718 #endif
10719 char xmlReadMemory ();
10721 main ()
10723 return xmlReadMemory ();
10725 return 0;
10727 _ACEOF
10728 if ac_fn_c_try_link "$LINENO"; then :
10729 ac_cv_lib_xml2_xmlReadMemory=yes
10730 else
10731 ac_cv_lib_xml2_xmlReadMemory=no
10733 rm -f core conftest.err conftest.$ac_objext \
10734 conftest$ac_exeext conftest.$ac_ext
10735 LIBS=$ac_check_lib_save_LIBS
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10738 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10739 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10741 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10746 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10747 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10748 $as_echo_n "(cached) " >&6
10749 else
10750 ac_check_lib_save_LIBS=$LIBS
10751 LIBS="-lxml2 $XML2_LIBS $LIBS"
10752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10753 /* end confdefs.h. */
10755 /* Override any GCC internal prototype to avoid an error.
10756 Use char because int might match the return type of a GCC
10757 builtin and then its argument prototype would still apply. */
10758 #ifdef __cplusplus
10759 extern "C"
10760 #endif
10761 char xmlNewDocPI ();
10763 main ()
10765 return xmlNewDocPI ();
10767 return 0;
10769 _ACEOF
10770 if ac_fn_c_try_link "$LINENO"; then :
10771 ac_cv_lib_xml2_xmlNewDocPI=yes
10772 else
10773 ac_cv_lib_xml2_xmlNewDocPI=no
10775 rm -f core conftest.err conftest.$ac_objext \
10776 conftest$ac_exeext conftest.$ac_ext
10777 LIBS=$ac_check_lib_save_LIBS
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10780 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10781 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10783 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10788 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10789 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10790 $as_echo_n "(cached) " >&6
10791 else
10792 ac_check_lib_save_LIBS=$LIBS
10793 LIBS="-lxml2 $XML2_LIBS $LIBS"
10794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10797 /* Override any GCC internal prototype to avoid an error.
10798 Use char because int might match the return type of a GCC
10799 builtin and then its argument prototype would still apply. */
10800 #ifdef __cplusplus
10801 extern "C"
10802 #endif
10803 char xmlSchemaSetParserStructuredErrors ();
10805 main ()
10807 return xmlSchemaSetParserStructuredErrors ();
10809 return 0;
10811 _ACEOF
10812 if ac_fn_c_try_link "$LINENO"; then :
10813 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10814 else
10815 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10817 rm -f core conftest.err conftest.$ac_objext \
10818 conftest$ac_exeext conftest.$ac_ext
10819 LIBS=$ac_check_lib_save_LIBS
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10822 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10823 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10825 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10830 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10831 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10832 $as_echo_n "(cached) " >&6
10833 else
10834 ac_check_lib_save_LIBS=$LIBS
10835 LIBS="-lxml2 $XML2_LIBS $LIBS"
10836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10839 /* Override any GCC internal prototype to avoid an error.
10840 Use char because int might match the return type of a GCC
10841 builtin and then its argument prototype would still apply. */
10842 #ifdef __cplusplus
10843 extern "C"
10844 #endif
10845 char xmlSchemaSetValidStructuredErrors ();
10847 main ()
10849 return xmlSchemaSetValidStructuredErrors ();
10851 return 0;
10853 _ACEOF
10854 if ac_fn_c_try_link "$LINENO"; then :
10855 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10856 else
10857 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10859 rm -f core conftest.err conftest.$ac_objext \
10860 conftest$ac_exeext conftest.$ac_ext
10861 LIBS=$ac_check_lib_save_LIBS
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10864 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10865 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10867 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10872 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10873 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10874 $as_echo_n "(cached) " >&6
10875 else
10876 ac_check_lib_save_LIBS=$LIBS
10877 LIBS="-lxml2 $XML2_LIBS $LIBS"
10878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10879 /* end confdefs.h. */
10881 /* Override any GCC internal prototype to avoid an error.
10882 Use char because int might match the return type of a GCC
10883 builtin and then its argument prototype would still apply. */
10884 #ifdef __cplusplus
10885 extern "C"
10886 #endif
10887 char xmlFirstElementChild ();
10889 main ()
10891 return xmlFirstElementChild ();
10893 return 0;
10895 _ACEOF
10896 if ac_fn_c_try_link "$LINENO"; then :
10897 ac_cv_lib_xml2_xmlFirstElementChild=yes
10898 else
10899 ac_cv_lib_xml2_xmlFirstElementChild=no
10901 rm -f core conftest.err conftest.$ac_objext \
10902 conftest$ac_exeext conftest.$ac_ext
10903 LIBS=$ac_check_lib_save_LIBS
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10906 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10907 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10909 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10913 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10915 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10917 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10921 else
10922 XML2_CFLAGS=""
10923 XML2_LIBS=""
10925 CPPFLAGS=$ac_save_CPPFLAGS
10926 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10927 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10930 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10931 case "x$with_xml" in
10932 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10933 xno) ;;
10934 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10935 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10936 esac
10939 if test "x$with_xslt" != "xno"
10940 then
10941 if ${XSLT_CFLAGS:+false} :; then :
10942 if ${PKG_CONFIG+:} false; then :
10943 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10946 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10947 if ${XSLT_LIBS:+false} :; then :
10948 if ${PKG_CONFIG+:} false; then :
10949 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10952 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10953 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10954 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10955 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10956 ac_save_CPPFLAGS=$CPPFLAGS
10957 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10958 for ac_header in libxslt/pattern.h libxslt/transform.h
10959 do :
10960 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10961 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10962 # include <libxslt/pattern.h>
10963 #endif
10965 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10966 cat >>confdefs.h <<_ACEOF
10967 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10968 _ACEOF
10972 done
10974 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10975 then
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10977 $as_echo_n "checking for -lxslt... " >&6; }
10978 if ${ac_cv_lib_soname_xslt+:} false; then :
10979 $as_echo_n "(cached) " >&6
10980 else
10981 ac_check_soname_save_LIBS=$LIBS
10982 LIBS="-lxslt $XSLT_LIBS $LIBS"
10983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10984 /* end confdefs.h. */
10986 /* Override any GCC internal prototype to avoid an error.
10987 Use char because int might match the return type of a GCC
10988 builtin and then its argument prototype would still apply. */
10989 #ifdef __cplusplus
10990 extern "C"
10991 #endif
10992 char xsltCompilePattern ();
10994 main ()
10996 return xsltCompilePattern ();
10998 return 0;
11000 _ACEOF
11001 if ac_fn_c_try_link "$LINENO"; then :
11002 case "$LIBEXT" in
11003 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11004 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'` ;;
11005 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11006 if ${ac_cv_lib_soname_xslt:+false} :; then :
11007 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11008 fi ;;
11009 esac
11011 rm -f core conftest.err conftest.$ac_objext \
11012 conftest$ac_exeext conftest.$ac_ext
11013 LIBS=$ac_check_soname_save_LIBS
11015 if ${ac_cv_lib_soname_xslt:+false} :; then :
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11017 $as_echo "not found" >&6; }
11019 else
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11021 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11023 cat >>confdefs.h <<_ACEOF
11024 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11025 _ACEOF
11029 else
11030 XSLT_CFLAGS=""
11032 CPPFLAGS=$ac_save_CPPFLAGS
11033 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11034 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11037 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11038 case "x$with_xslt" in
11039 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11040 xno) ;;
11041 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11042 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11043 esac
11046 if test "x$with_dbus" != "xno"
11047 then
11048 if ${DBUS_CFLAGS:+false} :; then :
11049 if ${PKG_CONFIG+:} false; then :
11050 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11054 if ${DBUS_LIBS:+false} :; then :
11055 if ${PKG_CONFIG+:} false; then :
11056 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11061 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11062 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11063 ac_save_CPPFLAGS=$CPPFLAGS
11064 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11065 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11066 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11068 $as_echo_n "checking for -ldbus-1... " >&6; }
11069 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11070 $as_echo_n "(cached) " >&6
11071 else
11072 ac_check_soname_save_LIBS=$LIBS
11073 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11075 /* end confdefs.h. */
11077 /* Override any GCC internal prototype to avoid an error.
11078 Use char because int might match the return type of a GCC
11079 builtin and then its argument prototype would still apply. */
11080 #ifdef __cplusplus
11081 extern "C"
11082 #endif
11083 char dbus_connection_close ();
11085 main ()
11087 return dbus_connection_close ();
11089 return 0;
11091 _ACEOF
11092 if ac_fn_c_try_link "$LINENO"; then :
11093 case "$LIBEXT" in
11094 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11095 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'` ;;
11096 *) 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'`
11097 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11098 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11099 fi ;;
11100 esac
11102 rm -f core conftest.err conftest.$ac_objext \
11103 conftest$ac_exeext conftest.$ac_ext
11104 LIBS=$ac_check_soname_save_LIBS
11106 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11108 $as_echo "not found" >&6; }
11109 DBUS_CFLAGS=""
11110 else
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11112 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11114 cat >>confdefs.h <<_ACEOF
11115 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11116 _ACEOF
11120 else
11121 DBUS_CFLAGS=""
11125 CPPFLAGS=$ac_save_CPPFLAGS
11126 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11127 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11130 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11131 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11132 case "x$with_dbus" in
11133 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11134 xno) ;;
11135 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11136 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11137 esac
11140 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11141 then
11142 if ${HAL_CFLAGS:+false} :; then :
11143 if ${PKG_CONFIG+:} false; then :
11144 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11148 if ${HAL_LIBS:+false} :; then :
11149 if ${PKG_CONFIG+:} false; then :
11150 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11154 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11155 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11156 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11157 ac_save_CPPFLAGS=$CPPFLAGS
11158 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11159 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11160 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11162 $as_echo_n "checking for -lhal... " >&6; }
11163 if ${ac_cv_lib_soname_hal+:} false; then :
11164 $as_echo_n "(cached) " >&6
11165 else
11166 ac_check_soname_save_LIBS=$LIBS
11167 LIBS="-lhal $HAL_LIBS $LIBS"
11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h. */
11171 /* Override any GCC internal prototype to avoid an error.
11172 Use char because int might match the return type of a GCC
11173 builtin and then its argument prototype would still apply. */
11174 #ifdef __cplusplus
11175 extern "C"
11176 #endif
11177 char libhal_ctx_new ();
11179 main ()
11181 return libhal_ctx_new ();
11183 return 0;
11185 _ACEOF
11186 if ac_fn_c_try_link "$LINENO"; then :
11187 case "$LIBEXT" in
11188 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11189 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'` ;;
11190 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11191 if ${ac_cv_lib_soname_hal:+false} :; then :
11192 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11193 fi ;;
11194 esac
11196 rm -f core conftest.err conftest.$ac_objext \
11197 conftest$ac_exeext conftest.$ac_ext
11198 LIBS=$ac_check_soname_save_LIBS
11200 if ${ac_cv_lib_soname_hal:+false} :; then :
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11202 $as_echo "not found" >&6; }
11203 HAL_CFLAGS=""
11204 else
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11206 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11208 cat >>confdefs.h <<_ACEOF
11209 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11210 _ACEOF
11214 else
11215 HAL_CFLAGS=""
11219 CPPFLAGS=$ac_save_CPPFLAGS
11220 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11221 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11223 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11224 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11225 case "x$with_hal" in
11226 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11227 xno) ;;
11228 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11229 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11230 esac
11234 if test "x$with_gnutls" != "xno"
11235 then
11236 if ${GNUTLS_CFLAGS:+false} :; then :
11237 if ${PKG_CONFIG+:} false; then :
11238 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11242 if ${GNUTLS_LIBS:+false} :; then :
11243 if ${PKG_CONFIG+:} false; then :
11244 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11249 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11250 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11251 ac_save_CPPFLAGS=$CPPFLAGS
11252 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11253 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11254 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11256 /* end confdefs.h. */
11257 #include <gnutls/gnutls.h>
11258 #include <gnutls/crypto.h>
11260 main ()
11262 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11264 return 0;
11266 _ACEOF
11267 if ac_fn_c_try_compile "$LINENO"; then :
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11269 $as_echo_n "checking for -lgnutls... " >&6; }
11270 if ${ac_cv_lib_soname_gnutls+:} false; then :
11271 $as_echo_n "(cached) " >&6
11272 else
11273 ac_check_soname_save_LIBS=$LIBS
11274 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h. */
11278 /* Override any GCC internal prototype to avoid an error.
11279 Use char because int might match the return type of a GCC
11280 builtin and then its argument prototype would still apply. */
11281 #ifdef __cplusplus
11282 extern "C"
11283 #endif
11284 char gnutls_global_init ();
11286 main ()
11288 return gnutls_global_init ();
11290 return 0;
11292 _ACEOF
11293 if ac_fn_c_try_link "$LINENO"; then :
11294 case "$LIBEXT" in
11295 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11296 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'` ;;
11297 *) 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'`
11298 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11299 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'`
11300 fi ;;
11301 esac
11303 rm -f core conftest.err conftest.$ac_objext \
11304 conftest$ac_exeext conftest.$ac_ext
11305 LIBS=$ac_check_soname_save_LIBS
11307 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11309 $as_echo "not found" >&6; }
11310 GNUTLS_CFLAGS=""
11311 else
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11313 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11315 cat >>confdefs.h <<_ACEOF
11316 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11317 _ACEOF
11322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11323 else
11324 GNUTLS_CFLAGS=""
11328 CPPFLAGS=$ac_save_CPPFLAGS
11329 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11330 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11333 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11334 case "x$with_gnutls" in
11335 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11336 xno) ;;
11337 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11338 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11339 esac
11342 CURSES_LIBS=""
11343 if test "$ac_cv_header_ncurses_h" = "yes"
11344 then
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11346 $as_echo_n "checking for -lncurses... " >&6; }
11347 if ${ac_cv_lib_soname_ncurses+:} false; then :
11348 $as_echo_n "(cached) " >&6
11349 else
11350 ac_check_soname_save_LIBS=$LIBS
11351 LIBS="-lncurses $LIBS"
11352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11353 /* end confdefs.h. */
11355 /* Override any GCC internal prototype to avoid an error.
11356 Use char because int might match the return type of a GCC
11357 builtin and then its argument prototype would still apply. */
11358 #ifdef __cplusplus
11359 extern "C"
11360 #endif
11361 char waddch ();
11363 main ()
11365 return waddch ();
11367 return 0;
11369 _ACEOF
11370 if ac_fn_c_try_link "$LINENO"; then :
11371 case "$LIBEXT" in
11372 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11373 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'` ;;
11374 *) 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'`
11375 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11376 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11377 fi ;;
11378 esac
11380 rm -f core conftest.err conftest.$ac_objext \
11381 conftest$ac_exeext conftest.$ac_ext
11382 LIBS=$ac_check_soname_save_LIBS
11384 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11386 $as_echo "not found" >&6; }
11388 else
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11390 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11392 cat >>confdefs.h <<_ACEOF
11393 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11394 _ACEOF
11396 CURSES_LIBS="-lncurses"
11398 elif test "$ac_cv_header_curses_h" = "yes"
11399 then
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11401 $as_echo_n "checking for -lcurses... " >&6; }
11402 if ${ac_cv_lib_soname_curses+:} false; then :
11403 $as_echo_n "(cached) " >&6
11404 else
11405 ac_check_soname_save_LIBS=$LIBS
11406 LIBS="-lcurses $LIBS"
11407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11408 /* end confdefs.h. */
11410 /* Override any GCC internal prototype to avoid an error.
11411 Use char because int might match the return type of a GCC
11412 builtin and then its argument prototype would still apply. */
11413 #ifdef __cplusplus
11414 extern "C"
11415 #endif
11416 char waddch ();
11418 main ()
11420 return waddch ();
11422 return 0;
11424 _ACEOF
11425 if ac_fn_c_try_link "$LINENO"; then :
11426 case "$LIBEXT" in
11427 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11428 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'` ;;
11429 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11430 if ${ac_cv_lib_soname_curses:+false} :; then :
11431 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11432 fi ;;
11433 esac
11435 rm -f core conftest.err conftest.$ac_objext \
11436 conftest$ac_exeext conftest.$ac_ext
11437 LIBS=$ac_check_soname_save_LIBS
11439 if ${ac_cv_lib_soname_curses:+false} :; then :
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11441 $as_echo "not found" >&6; }
11443 else
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11445 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11447 cat >>confdefs.h <<_ACEOF
11448 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11449 _ACEOF
11451 CURSES_LIBS="-lcurses"
11454 ac_save_LIBS="$LIBS"
11455 LIBS="$LIBS $CURSES_LIBS"
11456 for ac_func in mousemask
11457 do :
11458 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11459 if test "x$ac_cv_func_mousemask" = xyes; then :
11460 cat >>confdefs.h <<_ACEOF
11461 #define HAVE_MOUSEMASK 1
11462 _ACEOF
11465 done
11467 LIBS="$ac_save_LIBS"
11468 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11469 case "x$with_curses" in
11470 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11471 xno) ;;
11472 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11473 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11474 esac
11477 if test "x$with_sane" != "xno"
11478 then
11479 if ${SANE_CFLAGS:+false} :; then :
11480 if ${PKG_CONFIG+:} false; then :
11481 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11484 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11485 if ${SANE_LIBS:+false} :; then :
11486 if ${PKG_CONFIG+:} false; then :
11487 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11490 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11492 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11493 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11494 ac_save_CPPFLAGS=$CPPFLAGS
11495 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11496 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11497 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11499 $as_echo_n "checking for -lsane... " >&6; }
11500 if ${ac_cv_lib_soname_sane+:} false; then :
11501 $as_echo_n "(cached) " >&6
11502 else
11503 ac_check_soname_save_LIBS=$LIBS
11504 LIBS="-lsane $SANE_LIBS $LIBS"
11505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11506 /* end confdefs.h. */
11508 /* Override any GCC internal prototype to avoid an error.
11509 Use char because int might match the return type of a GCC
11510 builtin and then its argument prototype would still apply. */
11511 #ifdef __cplusplus
11512 extern "C"
11513 #endif
11514 char sane_init ();
11516 main ()
11518 return sane_init ();
11520 return 0;
11522 _ACEOF
11523 if ac_fn_c_try_link "$LINENO"; then :
11524 case "$LIBEXT" in
11525 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11526 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'` ;;
11527 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11528 if ${ac_cv_lib_soname_sane:+false} :; then :
11529 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11530 fi ;;
11531 esac
11533 rm -f core conftest.err conftest.$ac_objext \
11534 conftest$ac_exeext conftest.$ac_ext
11535 LIBS=$ac_check_soname_save_LIBS
11537 if ${ac_cv_lib_soname_sane:+false} :; then :
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11539 $as_echo "not found" >&6; }
11540 SANE_CFLAGS=""
11541 else
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11543 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11545 cat >>confdefs.h <<_ACEOF
11546 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11547 _ACEOF
11551 else
11552 SANE_CFLAGS=""
11556 CPPFLAGS=$ac_save_CPPFLAGS
11557 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11558 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11561 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11562 case "x$with_sane" in
11563 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11564 xno) ;;
11565 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11566 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11567 esac
11570 if test "x$with_v4l" != "xno"
11571 then
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11573 $as_echo_n "checking for -lv4l1... " >&6; }
11574 if ${ac_cv_lib_soname_v4l1+:} false; then :
11575 $as_echo_n "(cached) " >&6
11576 else
11577 ac_check_soname_save_LIBS=$LIBS
11578 LIBS="-lv4l1 $LIBS"
11579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11580 /* end confdefs.h. */
11582 /* Override any GCC internal prototype to avoid an error.
11583 Use char because int might match the return type of a GCC
11584 builtin and then its argument prototype would still apply. */
11585 #ifdef __cplusplus
11586 extern "C"
11587 #endif
11588 char v4l1_open ();
11590 main ()
11592 return v4l1_open ();
11594 return 0;
11596 _ACEOF
11597 if ac_fn_c_try_link "$LINENO"; then :
11598 case "$LIBEXT" in
11599 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11600 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'` ;;
11601 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11602 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11603 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11604 fi ;;
11605 esac
11607 rm -f core conftest.err conftest.$ac_objext \
11608 conftest$ac_exeext conftest.$ac_ext
11609 LIBS=$ac_check_soname_save_LIBS
11611 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11613 $as_echo "not found" >&6; }
11615 else
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11617 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11619 cat >>confdefs.h <<_ACEOF
11620 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11621 _ACEOF
11626 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11627 case "x$with_v4l" in
11628 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11629 xno) ;;
11630 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11631 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11632 esac
11635 if test "x$with_gphoto" != "xno"
11636 then
11637 if ${GPHOTO2_CFLAGS:+false} :; then :
11638 if ${PKG_CONFIG+:} false; then :
11639 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11642 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11643 if ${GPHOTO2_LIBS:+false} :; then :
11644 if ${PKG_CONFIG+:} false; then :
11645 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11648 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11649 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11650 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11651 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11652 ac_save_CPPFLAGS=$CPPFLAGS
11653 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11654 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11655 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11657 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11658 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11659 $as_echo_n "(cached) " >&6
11660 else
11661 ac_check_lib_save_LIBS=$LIBS
11662 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11664 /* end confdefs.h. */
11666 /* Override any GCC internal prototype to avoid an error.
11667 Use char because int might match the return type of a GCC
11668 builtin and then its argument prototype would still apply. */
11669 #ifdef __cplusplus
11670 extern "C"
11671 #endif
11672 char gp_camera_new ();
11674 main ()
11676 return gp_camera_new ();
11678 return 0;
11680 _ACEOF
11681 if ac_fn_c_try_link "$LINENO"; then :
11682 ac_cv_lib_gphoto2_gp_camera_new=yes
11683 else
11684 ac_cv_lib_gphoto2_gp_camera_new=no
11686 rm -f core conftest.err conftest.$ac_objext \
11687 conftest$ac_exeext conftest.$ac_ext
11688 LIBS=$ac_check_lib_save_LIBS
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11691 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11692 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11694 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11696 else
11697 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11700 else
11701 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11705 CPPFLAGS=$ac_save_CPPFLAGS
11706 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11707 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11709 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11710 if ${PKG_CONFIG+:} false; then :
11711 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11714 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11715 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11716 if ${PKG_CONFIG+:} false; then :
11717 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11720 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11721 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11722 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11723 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11724 ac_save_CPPFLAGS=$CPPFLAGS
11725 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11726 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11727 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11729 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11730 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11731 $as_echo_n "(cached) " >&6
11732 else
11733 ac_check_lib_save_LIBS=$LIBS
11734 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11736 /* end confdefs.h. */
11738 /* Override any GCC internal prototype to avoid an error.
11739 Use char because int might match the return type of a GCC
11740 builtin and then its argument prototype would still apply. */
11741 #ifdef __cplusplus
11742 extern "C"
11743 #endif
11744 char gp_port_info_list_new ();
11746 main ()
11748 return gp_port_info_list_new ();
11750 return 0;
11752 _ACEOF
11753 if ac_fn_c_try_link "$LINENO"; then :
11754 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11755 else
11756 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11758 rm -f core conftest.err conftest.$ac_objext \
11759 conftest$ac_exeext conftest.$ac_ext
11760 LIBS=$ac_check_lib_save_LIBS
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11763 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11764 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11766 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11768 else
11769 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11772 else
11773 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11777 CPPFLAGS=$ac_save_CPPFLAGS
11778 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11779 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11782 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11783 case "x$with_gphoto" in
11784 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11785 xno) ;;
11786 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11787 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11788 esac
11790 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11791 case "x$with_gphoto" in
11792 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11793 xno) ;;
11794 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11795 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11796 esac
11800 if test "$ac_cv_header_resolv_h" = "yes"
11801 then
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11803 $as_echo_n "checking for resolver library... " >&6; }
11804 if ${ac_cv_have_resolv+:} false; then :
11805 $as_echo_n "(cached) " >&6
11806 else
11807 ac_save_LIBS="$LIBS"
11808 for lib in '' -lresolv
11810 LIBS="$lib $ac_save_LIBS"
11811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11812 /* end confdefs.h. */
11813 #ifdef HAVE_NETINET_IN_H
11814 #include <netinet/in.h>
11815 #endif
11816 #include <resolv.h>
11818 main ()
11820 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11822 return 0;
11824 _ACEOF
11825 if ac_fn_c_try_link "$LINENO"; then :
11826 ac_cv_have_resolv=${lib:-"none required"}
11827 else
11828 ac_cv_have_resolv="not found"
11830 rm -f core conftest.err conftest.$ac_objext \
11831 conftest$ac_exeext conftest.$ac_ext
11832 test "x$ac_cv_have_resolv" = "xnot found" || break
11833 done
11834 LIBS="$ac_save_LIBS"
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11837 $as_echo "$ac_cv_have_resolv" >&6; }
11839 case "$ac_cv_have_resolv" in
11840 "not found") ;;
11841 "none required")
11843 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11846 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11848 RESOLV_LIBS=$ac_cv_have_resolv
11850 esac
11853 if test "x$with_lcms2" != "xno"
11854 then
11855 if ${LCMS2_CFLAGS:+false} :; then :
11856 if ${PKG_CONFIG+:} false; then :
11857 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11861 if ${LCMS2_LIBS:+false} :; then :
11862 if ${PKG_CONFIG+:} false; then :
11863 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11867 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11868 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11869 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11870 ac_save_CPPFLAGS=$CPPFLAGS
11871 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11872 for ac_header in lcms2.h
11873 do :
11874 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11875 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11876 cat >>confdefs.h <<_ACEOF
11877 #define HAVE_LCMS2_H 1
11878 _ACEOF
11882 done
11884 if test "$ac_cv_header_lcms2_h" = "yes"
11885 then
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11887 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11888 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11889 $as_echo_n "(cached) " >&6
11890 else
11891 ac_check_lib_save_LIBS=$LIBS
11892 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11894 /* end confdefs.h. */
11896 /* Override any GCC internal prototype to avoid an error.
11897 Use char because int might match the return type of a GCC
11898 builtin and then its argument prototype would still apply. */
11899 #ifdef __cplusplus
11900 extern "C"
11901 #endif
11902 char cmsOpenProfileFromFile ();
11904 main ()
11906 return cmsOpenProfileFromFile ();
11908 return 0;
11910 _ACEOF
11911 if ac_fn_c_try_link "$LINENO"; then :
11912 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11913 else
11914 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11916 rm -f core conftest.err conftest.$ac_objext \
11917 conftest$ac_exeext conftest.$ac_ext
11918 LIBS=$ac_check_lib_save_LIBS
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11921 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11922 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11924 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11926 else
11927 LCMS2_LIBS=""
11930 else
11931 LCMS2_CFLAGS=""
11932 LCMS2_LIBS=""
11934 CPPFLAGS=$ac_save_CPPFLAGS
11935 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11936 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11939 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11940 case "x$with_cms" in
11941 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11942 xno) ;;
11943 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11944 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11945 esac
11948 if test "x$with_freetype" != "xno"
11949 then
11950 if ${FREETYPE_CFLAGS:+false} :; then :
11951 if ${PKG_CONFIG+:} false; then :
11952 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11955 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11956 if ${FREETYPE_LIBS:+false} :; then :
11957 if ${PKG_CONFIG+:} false; then :
11958 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11961 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11962 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11963 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11964 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11965 ac_save_CPPFLAGS=$CPPFLAGS
11966 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11967 for ac_header in ft2build.h
11968 do :
11969 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11970 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11971 cat >>confdefs.h <<_ACEOF
11972 #define HAVE_FT2BUILD_H 1
11973 _ACEOF
11977 done
11979 if test "$ac_cv_header_ft2build_h" = "yes"
11980 then
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11982 $as_echo_n "checking for -lfreetype... " >&6; }
11983 if ${ac_cv_lib_soname_freetype+:} false; then :
11984 $as_echo_n "(cached) " >&6
11985 else
11986 ac_check_soname_save_LIBS=$LIBS
11987 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11989 /* end confdefs.h. */
11991 /* Override any GCC internal prototype to avoid an error.
11992 Use char because int might match the return type of a GCC
11993 builtin and then its argument prototype would still apply. */
11994 #ifdef __cplusplus
11995 extern "C"
11996 #endif
11997 char FT_Init_FreeType ();
11999 main ()
12001 return FT_Init_FreeType ();
12003 return 0;
12005 _ACEOF
12006 if ac_fn_c_try_link "$LINENO"; then :
12007 case "$LIBEXT" in
12008 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12009 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'` ;;
12010 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12011 if ${ac_cv_lib_soname_freetype:+false} :; then :
12012 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12013 fi ;;
12014 esac
12016 rm -f core conftest.err conftest.$ac_objext \
12017 conftest$ac_exeext conftest.$ac_ext
12018 LIBS=$ac_check_soname_save_LIBS
12020 if ${ac_cv_lib_soname_freetype:+false} :; then :
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12022 $as_echo "not found" >&6; }
12023 FREETYPE_LIBS=""
12024 else
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12026 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12028 cat >>confdefs.h <<_ACEOF
12029 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12030 _ACEOF
12033 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12035 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12036 #include FT_MODULE_H
12038 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12040 cat >>confdefs.h <<_ACEOF
12041 #define HAVE_FT_TRUETYPEENGINETYPE 1
12042 _ACEOF
12048 else
12049 FREETYPE_CFLAGS=""
12050 FREETYPE_LIBS=""
12052 CPPFLAGS=$ac_save_CPPFLAGS
12053 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12054 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12057 if test "x$ac_cv_lib_soname_freetype" = x; then :
12058 case "x$with_freetype" in
12059 xno) ;;
12060 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12061 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12062 esac
12064 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12067 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12068 if ${ac_cv_c_ppdev+:} false; then :
12069 $as_echo_n "(cached) " >&6
12070 else
12071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12072 /* end confdefs.h. */
12073 #ifdef HAVE_SYS_IOCTL_H
12074 # include <sys/ioctl.h>
12075 #endif
12076 #include <linux/ppdev.h>
12078 main ()
12080 ioctl (1,PPCLAIM,0)
12082 return 0;
12084 _ACEOF
12085 if ac_fn_c_try_compile "$LINENO"; then :
12086 ac_cv_c_ppdev="yes"
12087 else
12088 ac_cv_c_ppdev="no"
12090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12093 $as_echo "$ac_cv_c_ppdev" >&6; }
12094 if test "$ac_cv_c_ppdev" = "yes"
12095 then
12097 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12101 ac_wine_check_funcs_save_LIBS="$LIBS"
12102 LIBS="$LIBS $PTHREAD_LIBS"
12103 for ac_func in \
12104 pthread_attr_get_np \
12105 pthread_getattr_np \
12106 pthread_getthreadid_np \
12107 pthread_get_stackaddr_np \
12108 pthread_get_stacksize_np
12109 do :
12110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12112 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12113 cat >>confdefs.h <<_ACEOF
12114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12115 _ACEOF
12118 done
12120 LIBS="$ac_wine_check_funcs_save_LIBS"
12122 if test "$ac_cv_header_zlib_h" = "yes"
12123 then
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12125 $as_echo_n "checking for inflate in -lz... " >&6; }
12126 if ${ac_cv_lib_z_inflate+:} false; then :
12127 $as_echo_n "(cached) " >&6
12128 else
12129 ac_check_lib_save_LIBS=$LIBS
12130 LIBS="-lz $LIBS"
12131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12134 /* Override any GCC internal prototype to avoid an error.
12135 Use char because int might match the return type of a GCC
12136 builtin and then its argument prototype would still apply. */
12137 #ifdef __cplusplus
12138 extern "C"
12139 #endif
12140 char inflate ();
12142 main ()
12144 return inflate ();
12146 return 0;
12148 _ACEOF
12149 if ac_fn_c_try_link "$LINENO"; then :
12150 ac_cv_lib_z_inflate=yes
12151 else
12152 ac_cv_lib_z_inflate=no
12154 rm -f core conftest.err conftest.$ac_objext \
12155 conftest$ac_exeext conftest.$ac_ext
12156 LIBS=$ac_check_lib_save_LIBS
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12159 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12160 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12162 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12164 Z_LIBS="-lz"
12169 if test "x$Z_LIBS" = "x"; then :
12170 case "x$with_zlib" in
12171 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12172 xno) ;;
12173 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12174 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12175 esac
12178 if test "x$enable_tools" != xno
12179 then
12180 if test "$ac_cv_header_gettext_po_h" = "yes"
12181 then
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12183 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12184 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12185 $as_echo_n "(cached) " >&6
12186 else
12187 ac_check_lib_save_LIBS=$LIBS
12188 LIBS="-lgettextpo $LIBS"
12189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12190 /* end confdefs.h. */
12192 /* Override any GCC internal prototype to avoid an error.
12193 Use char because int might match the return type of a GCC
12194 builtin and then its argument prototype would still apply. */
12195 #ifdef __cplusplus
12196 extern "C"
12197 #endif
12198 char po_message_msgctxt ();
12200 main ()
12202 return po_message_msgctxt ();
12204 return 0;
12206 _ACEOF
12207 if ac_fn_c_try_link "$LINENO"; then :
12208 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12209 else
12210 ac_cv_lib_gettextpo_po_message_msgctxt=no
12212 rm -f core conftest.err conftest.$ac_objext \
12213 conftest$ac_exeext conftest.$ac_ext
12214 LIBS=$ac_check_lib_save_LIBS
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12217 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12218 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12220 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12222 GETTEXTPO_LIBS="-lgettextpo"
12227 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12228 case "x$with_gettextpo" in
12229 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12230 xno) ;;
12231 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12232 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12233 esac
12237 if test "x$with_gstreamer" != "xno"
12238 then
12239 if ${GSTREAMER_CFLAGS:+false} :; then :
12240 if ${PKG_CONFIG+:} false; then :
12241 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12245 if ${GSTREAMER_LIBS:+false} :; then :
12246 if ${PKG_CONFIG+:} false; then :
12247 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12252 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12253 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12254 ac_save_CPPFLAGS=$CPPFLAGS
12255 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12256 ac_gst_incl=""
12257 for i in $GSTREAMER_CFLAGS
12259 case "$i" in
12260 -I*) ac_gst_incl="$ac_gst_incl $i";;
12261 esac
12262 done
12263 GSTREAMER_CFLAGS=$ac_gst_incl
12264 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12265 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12266 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12267 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12268 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12270 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12272 /* end confdefs.h. */
12273 #include <gst/app/gstappsink.h>
12275 main ()
12277 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12279 return 0;
12281 _ACEOF
12282 if ac_fn_c_try_compile "$LINENO"; then :
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12284 $as_echo "yes" >&6; }
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12286 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12287 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12288 $as_echo_n "(cached) " >&6
12289 else
12290 ac_check_lib_save_LIBS=$LIBS
12291 LIBS="-lgstreamer-0.10 $LIBS"
12292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12298 #ifdef __cplusplus
12299 extern "C"
12300 #endif
12301 char gst_pad_get_caps_reffed ();
12303 main ()
12305 return gst_pad_get_caps_reffed ();
12307 return 0;
12309 _ACEOF
12310 if ac_fn_c_try_link "$LINENO"; then :
12311 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12312 else
12313 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12315 rm -f core conftest.err conftest.$ac_objext \
12316 conftest$ac_exeext conftest.$ac_ext
12317 LIBS=$ac_check_lib_save_LIBS
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12320 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12321 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12323 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12324 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12325 $as_echo_n "(cached) " >&6
12326 else
12327 ac_check_lib_save_LIBS=$LIBS
12328 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12330 /* end confdefs.h. */
12332 /* Override any GCC internal prototype to avoid an error.
12333 Use char because int might match the return type of a GCC
12334 builtin and then its argument prototype would still apply. */
12335 #ifdef __cplusplus
12336 extern "C"
12337 #endif
12338 char gst_app_buffer_new ();
12340 main ()
12342 return gst_app_buffer_new ();
12344 return 0;
12346 _ACEOF
12347 if ac_fn_c_try_link "$LINENO"; then :
12348 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12349 else
12350 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12352 rm -f core conftest.err conftest.$ac_objext \
12353 conftest$ac_exeext conftest.$ac_ext
12354 LIBS=$ac_check_lib_save_LIBS
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12357 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12358 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12364 else
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12366 $as_echo "no" >&6; }
12368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12372 else
12373 GSTREAMER_CFLAGS=""
12377 CPPFLAGS=$ac_save_CPPFLAGS
12378 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12379 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12382 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12383 case "x$with_gstreamer" in
12384 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12385 xno) ;;
12386 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12387 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12388 esac
12390 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12392 ALSA_LIBS=""
12394 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12395 then
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12397 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12398 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12399 $as_echo_n "(cached) " >&6
12400 else
12401 ac_check_lib_save_LIBS=$LIBS
12402 LIBS="-lasound $LIBS"
12403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12404 /* end confdefs.h. */
12406 /* Override any GCC internal prototype to avoid an error.
12407 Use char because int might match the return type of a GCC
12408 builtin and then its argument prototype would still apply. */
12409 #ifdef __cplusplus
12410 extern "C"
12411 #endif
12412 char snd_pcm_hw_params_get_access_mask ();
12414 main ()
12416 return snd_pcm_hw_params_get_access_mask ();
12418 return 0;
12420 _ACEOF
12421 if ac_fn_c_try_link "$LINENO"; then :
12422 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12423 else
12424 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12426 rm -f core conftest.err conftest.$ac_objext \
12427 conftest$ac_exeext conftest.$ac_ext
12428 LIBS=$ac_check_lib_save_LIBS
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12431 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12432 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12434 /* end confdefs.h. */
12435 #ifdef HAVE_ALSA_ASOUNDLIB_H
12436 #include <alsa/asoundlib.h>
12437 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12438 #include <sys/asoundlib.h>
12439 #endif
12441 main ()
12443 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12445 return 0;
12447 _ACEOF
12448 if ac_fn_c_try_compile "$LINENO"; then :
12449 ALSA_LIBS="-lasound"
12451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12456 if test "x$with_oss" != xno
12457 then
12458 ac_save_CPPFLAGS="$CPPFLAGS"
12459 if test -f /etc/oss.conf
12460 then
12461 . /etc/oss.conf
12463 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12464 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12465 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12466 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12467 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12469 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12471 cat >>confdefs.h <<_ACEOF
12472 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12473 _ACEOF
12475 OSS4_CFLAGS="$ac_oss_incl"
12482 CPPFLAGS="$ac_save_CPPFLAGS"
12483 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12484 then
12485 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12489 if test "x$with_capi" != "xno"
12490 then
12491 if ${CAPI20_CFLAGS:+false} :; then :
12492 if ${PKG_CONFIG+:} false; then :
12493 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12497 if ${CAPI20_LIBS:+false} :; then :
12498 if ${PKG_CONFIG+:} false; then :
12499 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12504 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12505 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12506 ac_save_CPPFLAGS=$CPPFLAGS
12507 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12508 for ac_header in capi20.h linux/capi.h
12509 do :
12510 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12511 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12513 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12514 cat >>confdefs.h <<_ACEOF
12515 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12516 _ACEOF
12520 done
12522 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12523 then
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12525 $as_echo_n "checking for -lcapi20... " >&6; }
12526 if ${ac_cv_lib_soname_capi20+:} false; then :
12527 $as_echo_n "(cached) " >&6
12528 else
12529 ac_check_soname_save_LIBS=$LIBS
12530 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12532 /* end confdefs.h. */
12534 /* Override any GCC internal prototype to avoid an error.
12535 Use char because int might match the return type of a GCC
12536 builtin and then its argument prototype would still apply. */
12537 #ifdef __cplusplus
12538 extern "C"
12539 #endif
12540 char capi20_register ();
12542 main ()
12544 return capi20_register ();
12546 return 0;
12548 _ACEOF
12549 if ac_fn_c_try_link "$LINENO"; then :
12550 case "$LIBEXT" in
12551 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12552 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'` ;;
12553 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12554 if ${ac_cv_lib_soname_capi20:+false} :; then :
12555 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12556 fi ;;
12557 esac
12559 rm -f core conftest.err conftest.$ac_objext \
12560 conftest$ac_exeext conftest.$ac_ext
12561 LIBS=$ac_check_soname_save_LIBS
12563 if ${ac_cv_lib_soname_capi20:+false} :; then :
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12565 $as_echo "not found" >&6; }
12567 else
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12569 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12571 cat >>confdefs.h <<_ACEOF
12572 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12573 _ACEOF
12578 CPPFLAGS=$ac_save_CPPFLAGS
12579 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12580 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12583 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12584 case "x$with_capi" in
12585 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12586 xno) ;;
12587 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12588 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12589 esac
12592 CUPS_CFLAGS=""
12594 if test "x$with_cups" != "xno"
12595 then
12596 ac_save_CPPFLAGS="$CPPFLAGS"
12597 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12598 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12599 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12600 for ac_header in cups/cups.h
12601 do :
12602 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12603 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12604 cat >>confdefs.h <<_ACEOF
12605 #define HAVE_CUPS_CUPS_H 1
12606 _ACEOF
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12608 $as_echo_n "checking for -lcups... " >&6; }
12609 if ${ac_cv_lib_soname_cups+:} false; then :
12610 $as_echo_n "(cached) " >&6
12611 else
12612 ac_check_soname_save_LIBS=$LIBS
12613 LIBS="-lcups $ac_cups_libs $LIBS"
12614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12615 /* end confdefs.h. */
12617 /* Override any GCC internal prototype to avoid an error.
12618 Use char because int might match the return type of a GCC
12619 builtin and then its argument prototype would still apply. */
12620 #ifdef __cplusplus
12621 extern "C"
12622 #endif
12623 char cupsGetDefault ();
12625 main ()
12627 return cupsGetDefault ();
12629 return 0;
12631 _ACEOF
12632 if ac_fn_c_try_link "$LINENO"; then :
12633 case "$LIBEXT" in
12634 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12635 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'` ;;
12636 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12637 if ${ac_cv_lib_soname_cups:+false} :; then :
12638 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12639 fi ;;
12640 esac
12642 rm -f core conftest.err conftest.$ac_objext \
12643 conftest$ac_exeext conftest.$ac_ext
12644 LIBS=$ac_check_soname_save_LIBS
12646 if ${ac_cv_lib_soname_cups:+false} :; then :
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12648 $as_echo "not found" >&6; }
12650 else
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12652 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12654 cat >>confdefs.h <<_ACEOF
12655 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12656 _ACEOF
12658 CUPS_CFLAGS="$ac_cups_cflags"
12662 done
12664 CPPFLAGS="$ac_save_CPPFLAGS"
12666 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12667 case "x$with_cups" in
12668 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12669 xno) ;;
12670 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12671 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12672 esac
12675 if test "x$with_fontconfig" != "xno"
12676 then
12677 if ${FONTCONFIG_CFLAGS:+false} :; then :
12678 if ${PKG_CONFIG+:} false; then :
12679 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12682 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12683 if ${FONTCONFIG_LIBS:+false} :; then :
12684 if ${PKG_CONFIG+:} false; then :
12685 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12688 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12690 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12691 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12692 ac_save_CPPFLAGS=$CPPFLAGS
12693 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12694 for ac_header in fontconfig/fontconfig.h
12695 do :
12696 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12697 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12698 cat >>confdefs.h <<_ACEOF
12699 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12700 _ACEOF
12704 done
12706 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12707 then
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12709 $as_echo_n "checking for -lfontconfig... " >&6; }
12710 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12711 $as_echo_n "(cached) " >&6
12712 else
12713 ac_check_soname_save_LIBS=$LIBS
12714 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12716 /* end confdefs.h. */
12718 /* Override any GCC internal prototype to avoid an error.
12719 Use char because int might match the return type of a GCC
12720 builtin and then its argument prototype would still apply. */
12721 #ifdef __cplusplus
12722 extern "C"
12723 #endif
12724 char FcInit ();
12726 main ()
12728 return FcInit ();
12730 return 0;
12732 _ACEOF
12733 if ac_fn_c_try_link "$LINENO"; then :
12734 case "$LIBEXT" in
12735 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12736 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'` ;;
12737 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12738 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12739 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12740 fi ;;
12741 esac
12743 rm -f core conftest.err conftest.$ac_objext \
12744 conftest$ac_exeext conftest.$ac_ext
12745 LIBS=$ac_check_soname_save_LIBS
12747 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12749 $as_echo "not found" >&6; }
12750 FONTCONFIG_CFLAGS=""
12751 else
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12753 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12755 cat >>confdefs.h <<_ACEOF
12756 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12757 _ACEOF
12761 else
12762 FONTCONFIG_CFLAGS=""
12764 CPPFLAGS=$ac_save_CPPFLAGS
12765 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12766 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12769 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12770 case "x$with_fontconfig" in
12771 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12772 xno) ;;
12773 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12774 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12775 esac
12778 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12779 then
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12781 $as_echo_n "checking for -lgsm... " >&6; }
12782 if ${ac_cv_lib_soname_gsm+:} false; then :
12783 $as_echo_n "(cached) " >&6
12784 else
12785 ac_check_soname_save_LIBS=$LIBS
12786 LIBS="-lgsm $LIBS"
12787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12788 /* end confdefs.h. */
12790 /* Override any GCC internal prototype to avoid an error.
12791 Use char because int might match the return type of a GCC
12792 builtin and then its argument prototype would still apply. */
12793 #ifdef __cplusplus
12794 extern "C"
12795 #endif
12796 char gsm_create ();
12798 main ()
12800 return gsm_create ();
12802 return 0;
12804 _ACEOF
12805 if ac_fn_c_try_link "$LINENO"; then :
12806 case "$LIBEXT" in
12807 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12808 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'` ;;
12809 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12810 if ${ac_cv_lib_soname_gsm:+false} :; then :
12811 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12812 fi ;;
12813 esac
12815 rm -f core conftest.err conftest.$ac_objext \
12816 conftest$ac_exeext conftest.$ac_ext
12817 LIBS=$ac_check_soname_save_LIBS
12819 if ${ac_cv_lib_soname_gsm:+false} :; then :
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12821 $as_echo "not found" >&6; }
12823 else
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12825 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12827 cat >>confdefs.h <<_ACEOF
12828 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12829 _ACEOF
12834 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12835 case "x$with_gsm" in
12836 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12837 xno) ;;
12838 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12839 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12840 esac
12843 if test "x$with_jpeg" != "xno"
12844 then
12845 if ${JPEG_CFLAGS:+false} :; then :
12846 if ${PKG_CONFIG+:} false; then :
12847 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12851 if ${JPEG_LIBS:+false} :; then :
12852 if ${PKG_CONFIG+:} false; then :
12853 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12858 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12859 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12860 ac_save_CPPFLAGS=$CPPFLAGS
12861 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12862 for ac_header in jpeglib.h
12863 do :
12864 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12865 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12866 cat >>confdefs.h <<_ACEOF
12867 #define HAVE_JPEGLIB_H 1
12868 _ACEOF
12872 done
12874 if test "$ac_cv_header_jpeglib_h" = "yes"
12875 then
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12877 $as_echo_n "checking for -ljpeg... " >&6; }
12878 if ${ac_cv_lib_soname_jpeg+:} false; then :
12879 $as_echo_n "(cached) " >&6
12880 else
12881 ac_check_soname_save_LIBS=$LIBS
12882 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12884 /* end confdefs.h. */
12886 /* Override any GCC internal prototype to avoid an error.
12887 Use char because int might match the return type of a GCC
12888 builtin and then its argument prototype would still apply. */
12889 #ifdef __cplusplus
12890 extern "C"
12891 #endif
12892 char jpeg_start_decompress ();
12894 main ()
12896 return jpeg_start_decompress ();
12898 return 0;
12900 _ACEOF
12901 if ac_fn_c_try_link "$LINENO"; then :
12902 case "$LIBEXT" in
12903 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12904 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'` ;;
12905 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12906 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12907 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12908 fi ;;
12909 esac
12911 rm -f core conftest.err conftest.$ac_objext \
12912 conftest$ac_exeext conftest.$ac_ext
12913 LIBS=$ac_check_soname_save_LIBS
12915 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12917 $as_echo "not found" >&6; }
12918 JPEG_CFLAGS=""
12919 else
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12921 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12923 cat >>confdefs.h <<_ACEOF
12924 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12925 _ACEOF
12929 else
12930 JPEG_CFLAGS=""
12932 CPPFLAGS=$ac_save_CPPFLAGS
12933 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12934 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12937 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12938 case "x$with_jpeg" in
12939 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12940 xno) ;;
12941 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12942 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12943 esac
12946 if test "x$with_png" != "xno"
12947 then
12948 if ${PNG_CFLAGS:+false} :; then :
12949 if ${PKG_CONFIG+:} false; then :
12950 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12953 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12954 if ${PNG_LIBS:+false} :; then :
12955 if ${PKG_CONFIG+:} false; then :
12956 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12959 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12961 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12962 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12963 ac_save_CPPFLAGS=$CPPFLAGS
12964 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12965 for ac_header in png.h
12966 do :
12967 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12968 if test "x$ac_cv_header_png_h" = xyes; then :
12969 cat >>confdefs.h <<_ACEOF
12970 #define HAVE_PNG_H 1
12971 _ACEOF
12975 done
12977 if test "$ac_cv_header_png_h" = "yes"
12978 then
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12980 $as_echo_n "checking for -lpng... " >&6; }
12981 if ${ac_cv_lib_soname_png+:} false; then :
12982 $as_echo_n "(cached) " >&6
12983 else
12984 ac_check_soname_save_LIBS=$LIBS
12985 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12987 /* end confdefs.h. */
12989 /* Override any GCC internal prototype to avoid an error.
12990 Use char because int might match the return type of a GCC
12991 builtin and then its argument prototype would still apply. */
12992 #ifdef __cplusplus
12993 extern "C"
12994 #endif
12995 char png_create_read_struct ();
12997 main ()
12999 return png_create_read_struct ();
13001 return 0;
13003 _ACEOF
13004 if ac_fn_c_try_link "$LINENO"; then :
13005 case "$LIBEXT" in
13006 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13007 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'` ;;
13008 *) 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'`
13009 if ${ac_cv_lib_soname_png:+false} :; then :
13010 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13011 fi ;;
13012 esac
13014 rm -f core conftest.err conftest.$ac_objext \
13015 conftest$ac_exeext conftest.$ac_ext
13016 LIBS=$ac_check_soname_save_LIBS
13018 if ${ac_cv_lib_soname_png:+false} :; then :
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13020 $as_echo "not found" >&6; }
13021 PNG_CFLAGS=""
13022 else
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13024 $as_echo "$ac_cv_lib_soname_png" >&6; }
13026 cat >>confdefs.h <<_ACEOF
13027 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13028 _ACEOF
13030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h. */
13032 #include <png.h>
13034 main ()
13036 typeof(png_set_expand_gray_1_2_4_to_8) *p
13038 return 0;
13040 _ACEOF
13041 if ac_fn_c_try_compile "$LINENO"; then :
13043 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13048 else
13049 PNG_CFLAGS=""
13051 CPPFLAGS=$ac_save_CPPFLAGS
13052 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13053 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13056 if test "x$ac_cv_lib_soname_png" = "x"; then :
13057 case "x$with_png" in
13058 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13059 xno) ;;
13060 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13061 This is an error since --with-png was requested." "$LINENO" 5 ;;
13062 esac
13065 if test "x$with_tiff" != "xno"
13066 then
13067 if ${TIFF_CFLAGS:+false} :; then :
13068 if ${PKG_CONFIG+:} false; then :
13069 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13073 if ${TIFF_LIBS:+false} :; then :
13074 if ${PKG_CONFIG+:} false; then :
13075 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13080 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13081 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13082 ac_save_CPPFLAGS=$CPPFLAGS
13083 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13084 for ac_header in tiffio.h
13085 do :
13086 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13087 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13088 cat >>confdefs.h <<_ACEOF
13089 #define HAVE_TIFFIO_H 1
13090 _ACEOF
13094 done
13096 if test "$ac_cv_header_tiffio_h" = "yes"
13097 then
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13099 $as_echo_n "checking for -ltiff... " >&6; }
13100 if ${ac_cv_lib_soname_tiff+:} false; then :
13101 $as_echo_n "(cached) " >&6
13102 else
13103 ac_check_soname_save_LIBS=$LIBS
13104 LIBS="-ltiff $TIFF_LIBS $LIBS"
13105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13106 /* end confdefs.h. */
13108 /* Override any GCC internal prototype to avoid an error.
13109 Use char because int might match the return type of a GCC
13110 builtin and then its argument prototype would still apply. */
13111 #ifdef __cplusplus
13112 extern "C"
13113 #endif
13114 char TIFFClientOpen ();
13116 main ()
13118 return TIFFClientOpen ();
13120 return 0;
13122 _ACEOF
13123 if ac_fn_c_try_link "$LINENO"; then :
13124 case "$LIBEXT" in
13125 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13126 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'` ;;
13127 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13128 if ${ac_cv_lib_soname_tiff:+false} :; then :
13129 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13130 fi ;;
13131 esac
13133 rm -f core conftest.err conftest.$ac_objext \
13134 conftest$ac_exeext conftest.$ac_ext
13135 LIBS=$ac_check_soname_save_LIBS
13137 if ${ac_cv_lib_soname_tiff:+false} :; then :
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13139 $as_echo "not found" >&6; }
13141 else
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13143 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13145 cat >>confdefs.h <<_ACEOF
13146 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13147 _ACEOF
13152 CPPFLAGS=$ac_save_CPPFLAGS
13153 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13154 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13157 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13158 case "x$with_tiff" in
13159 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13160 xno) ;;
13161 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13162 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13163 esac
13166 if test "x$with_mpg123" != "xno"
13167 then
13168 if ${MPG123_CFLAGS:+false} :; then :
13169 if ${PKG_CONFIG+:} false; then :
13170 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13174 if ${MPG123_LIBS:+false} :; then :
13175 if ${PKG_CONFIG+:} false; then :
13176 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13180 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13181 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13182 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13183 ac_save_CPPFLAGS=$CPPFLAGS
13184 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13185 for ac_header in mpg123.h
13186 do :
13187 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13188 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13189 cat >>confdefs.h <<_ACEOF
13190 #define HAVE_MPG123_H 1
13191 _ACEOF
13195 done
13197 if test "$ac_cv_header_mpg123_h" = "yes"
13198 then
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13200 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13201 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13202 $as_echo_n "(cached) " >&6
13203 else
13204 ac_check_lib_save_LIBS=$LIBS
13205 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13207 /* end confdefs.h. */
13209 /* Override any GCC internal prototype to avoid an error.
13210 Use char because int might match the return type of a GCC
13211 builtin and then its argument prototype would still apply. */
13212 #ifdef __cplusplus
13213 extern "C"
13214 #endif
13215 char mpg123_feed ();
13217 main ()
13219 return mpg123_feed ();
13221 return 0;
13223 _ACEOF
13224 if ac_fn_c_try_link "$LINENO"; then :
13225 ac_cv_lib_mpg123_mpg123_feed=yes
13226 else
13227 ac_cv_lib_mpg123_mpg123_feed=no
13229 rm -f core conftest.err conftest.$ac_objext \
13230 conftest$ac_exeext conftest.$ac_ext
13231 LIBS=$ac_check_lib_save_LIBS
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13234 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13235 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13237 else
13238 MPG123_LIBS=""
13241 else
13242 MPG123_CFLAGS=""
13243 MPG123_LIBS=""
13245 CPPFLAGS=$ac_save_CPPFLAGS
13246 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13247 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13250 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13251 case "x$with_mpg123" in
13252 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13253 xno) ;;
13254 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13255 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13256 esac
13258 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}
13260 if test "$ac_cv_header_AL_al_h" = "yes"
13261 then
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13263 $as_echo_n "checking for -lopenal... " >&6; }
13264 if ${ac_cv_lib_soname_openal+:} false; then :
13265 $as_echo_n "(cached) " >&6
13266 else
13267 ac_check_soname_save_LIBS=$LIBS
13268 LIBS="-lopenal $LIBS"
13269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13270 /* end confdefs.h. */
13272 /* Override any GCC internal prototype to avoid an error.
13273 Use char because int might match the return type of a GCC
13274 builtin and then its argument prototype would still apply. */
13275 #ifdef __cplusplus
13276 extern "C"
13277 #endif
13278 char alGetSource3i ();
13280 main ()
13282 return alGetSource3i ();
13284 return 0;
13286 _ACEOF
13287 if ac_fn_c_try_link "$LINENO"; then :
13288 case "$LIBEXT" in
13289 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13290 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'` ;;
13291 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13292 if ${ac_cv_lib_soname_openal:+false} :; then :
13293 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13294 fi ;;
13295 esac
13297 rm -f core conftest.err conftest.$ac_objext \
13298 conftest$ac_exeext conftest.$ac_ext
13299 LIBS=$ac_check_soname_save_LIBS
13301 if ${ac_cv_lib_soname_openal:+false} :; then :
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13303 $as_echo "not found" >&6; }
13305 else
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13307 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13309 cat >>confdefs.h <<_ACEOF
13310 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13311 _ACEOF
13313 OPENAL_LIBS="-lopenal"
13315 ac_cv_lib_openal=yes
13317 cat >>confdefs.h <<_ACEOF
13318 #define HAVE_OPENAL 1
13319 _ACEOF
13323 if test "x$ac_cv_lib_openal" != xyes; then :
13324 case "x$with_openal" in
13325 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13326 xno) ;;
13327 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13328 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13329 esac
13331 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13333 if test "$ac_cv_header_kstat_h" = "yes"
13334 then
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13336 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13337 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13338 $as_echo_n "(cached) " >&6
13339 else
13340 ac_check_lib_save_LIBS=$LIBS
13341 LIBS="-lkstat $LIBS"
13342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13343 /* end confdefs.h. */
13345 /* Override any GCC internal prototype to avoid an error.
13346 Use char because int might match the return type of a GCC
13347 builtin and then its argument prototype would still apply. */
13348 #ifdef __cplusplus
13349 extern "C"
13350 #endif
13351 char kstat_open ();
13353 main ()
13355 return kstat_open ();
13357 return 0;
13359 _ACEOF
13360 if ac_fn_c_try_link "$LINENO"; then :
13361 ac_cv_lib_kstat_kstat_open=yes
13362 else
13363 ac_cv_lib_kstat_kstat_open=no
13365 rm -f core conftest.err conftest.$ac_objext \
13366 conftest$ac_exeext conftest.$ac_ext
13367 LIBS=$ac_check_lib_save_LIBS
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13370 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13371 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13373 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13375 KSTAT_LIBS="-lkstat"
13381 if test "$ac_cv_header_libprocstat_h" = "yes"
13382 then
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13384 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13385 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13386 $as_echo_n "(cached) " >&6
13387 else
13388 ac_check_lib_save_LIBS=$LIBS
13389 LIBS="-lprocstat $LIBS"
13390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13391 /* end confdefs.h. */
13393 /* Override any GCC internal prototype to avoid an error.
13394 Use char because int might match the return type of a GCC
13395 builtin and then its argument prototype would still apply. */
13396 #ifdef __cplusplus
13397 extern "C"
13398 #endif
13399 char procstat_open_sysctl ();
13401 main ()
13403 return procstat_open_sysctl ();
13405 return 0;
13407 _ACEOF
13408 if ac_fn_c_try_link "$LINENO"; then :
13409 ac_cv_lib_procstat_procstat_open_sysctl=yes
13410 else
13411 ac_cv_lib_procstat_procstat_open_sysctl=no
13413 rm -f core conftest.err conftest.$ac_objext \
13414 conftest$ac_exeext conftest.$ac_ext
13415 LIBS=$ac_check_lib_save_LIBS
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13418 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13419 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13421 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13423 PROCSTAT_LIBS="-lprocstat"
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13430 $as_echo_n "checking for -lodbc... " >&6; }
13431 if ${ac_cv_lib_soname_odbc+:} false; then :
13432 $as_echo_n "(cached) " >&6
13433 else
13434 ac_check_soname_save_LIBS=$LIBS
13435 LIBS="-lodbc $LIBS"
13436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13437 /* end confdefs.h. */
13439 /* Override any GCC internal prototype to avoid an error.
13440 Use char because int might match the return type of a GCC
13441 builtin and then its argument prototype would still apply. */
13442 #ifdef __cplusplus
13443 extern "C"
13444 #endif
13445 char SQLConnect ();
13447 main ()
13449 return SQLConnect ();
13451 return 0;
13453 _ACEOF
13454 if ac_fn_c_try_link "$LINENO"; then :
13455 case "$LIBEXT" in
13456 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13457 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'` ;;
13458 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13459 if ${ac_cv_lib_soname_odbc:+false} :; then :
13460 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13461 fi ;;
13462 esac
13464 rm -f core conftest.err conftest.$ac_objext \
13465 conftest$ac_exeext conftest.$ac_ext
13466 LIBS=$ac_check_soname_save_LIBS
13468 if ${ac_cv_lib_soname_odbc:+false} :; then :
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13470 $as_echo "not found" >&6; }
13471 cat >>confdefs.h <<_ACEOF
13472 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13473 _ACEOF
13475 else
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13477 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13479 cat >>confdefs.h <<_ACEOF
13480 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13481 _ACEOF
13486 if test "x$with_netapi" != "xno"
13487 then
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13489 $as_echo_n "checking for -lnetapi... " >&6; }
13490 if ${ac_cv_lib_soname_netapi+:} false; then :
13491 $as_echo_n "(cached) " >&6
13492 else
13493 ac_check_soname_save_LIBS=$LIBS
13494 LIBS="-lnetapi $LIBS"
13495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13496 /* end confdefs.h. */
13498 /* Override any GCC internal prototype to avoid an error.
13499 Use char because int might match the return type of a GCC
13500 builtin and then its argument prototype would still apply. */
13501 #ifdef __cplusplus
13502 extern "C"
13503 #endif
13504 char libnetapi_init ();
13506 main ()
13508 return libnetapi_init ();
13510 return 0;
13512 _ACEOF
13513 if ac_fn_c_try_link "$LINENO"; then :
13514 case "$LIBEXT" in
13515 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13516 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'` ;;
13517 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13518 if ${ac_cv_lib_soname_netapi:+false} :; then :
13519 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13520 fi ;;
13521 esac
13523 rm -f core conftest.err conftest.$ac_objext \
13524 conftest$ac_exeext conftest.$ac_ext
13525 LIBS=$ac_check_soname_save_LIBS
13527 if ${ac_cv_lib_soname_netapi:+false} :; then :
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13529 $as_echo "not found" >&6; }
13530 cat >>confdefs.h <<_ACEOF
13531 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13532 _ACEOF
13534 else
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13536 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13538 cat >>confdefs.h <<_ACEOF
13539 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13540 _ACEOF
13546 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13547 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13548 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13549 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13551 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13552 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13553 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13554 then
13555 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13559 EXTRACFLAGS=""
13561 if test "x${GCC}" = "xyes"
13562 then
13563 EXTRACFLAGS="-Wall -pipe"
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13566 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13567 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13568 $as_echo_n "(cached) " >&6
13569 else
13570 if test "$cross_compiling" = yes; then :
13571 ac_cv_c_gcc_strength_bug="yes"
13572 else
13573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13574 /* end confdefs.h. */
13575 int L[4] = {0,1,2,3};
13577 main ()
13579 static int Array[3];
13580 unsigned int B = 3;
13581 int i;
13582 for(i=0; i<B; i++) Array[i] = i - 3;
13583 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13584 L[i] = 4;
13585 return (Array[1] != -2 || L[2] != 3)
13587 return 0;
13589 _ACEOF
13590 if ac_fn_c_try_run "$LINENO"; then :
13591 ac_cv_c_gcc_strength_bug="no"
13592 else
13593 ac_cv_c_gcc_strength_bug="yes"
13595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13596 conftest.$ac_objext conftest.beam conftest.$ac_ext
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13601 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13602 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13603 then
13604 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13608 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13609 if ${ac_cv_cflags__fno_builtin+:} false; then :
13610 $as_echo_n "(cached) " >&6
13611 else
13612 ac_wine_try_cflags_saved=$CFLAGS
13613 CFLAGS="$CFLAGS -fno-builtin"
13614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13615 /* end confdefs.h. */
13616 int main(int argc, char **argv) { return 0; }
13617 _ACEOF
13618 if ac_fn_c_try_link "$LINENO"; then :
13619 ac_cv_cflags__fno_builtin=yes
13620 else
13621 ac_cv_cflags__fno_builtin=no
13623 rm -f core conftest.err conftest.$ac_objext \
13624 conftest$ac_exeext conftest.$ac_ext
13625 CFLAGS=$ac_wine_try_cflags_saved
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13628 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13629 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13630 BUILTINFLAG="-fno-builtin"
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13634 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13635 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13636 $as_echo_n "(cached) " >&6
13637 else
13638 ac_wine_try_cflags_saved=$CFLAGS
13639 CFLAGS="$CFLAGS -fno-strict-aliasing"
13640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13641 /* end confdefs.h. */
13642 int main(int argc, char **argv) { return 0; }
13643 _ACEOF
13644 if ac_fn_c_try_link "$LINENO"; then :
13645 ac_cv_cflags__fno_strict_aliasing=yes
13646 else
13647 ac_cv_cflags__fno_strict_aliasing=no
13649 rm -f core conftest.err conftest.$ac_objext \
13650 conftest$ac_exeext conftest.$ac_ext
13651 CFLAGS=$ac_wine_try_cflags_saved
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13654 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13655 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13656 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13658 saved_CFLAGS=$CFLAGS
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13660 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13661 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13662 $as_echo_n "(cached) " >&6
13663 else
13664 ac_wine_try_cflags_saved=$CFLAGS
13665 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13667 /* end confdefs.h. */
13668 int main(int argc, char **argv) { return 0; }
13669 _ACEOF
13670 if ac_fn_c_try_link "$LINENO"; then :
13671 ac_cv_cflags__Werror_unknown_warning_option=yes
13672 else
13673 ac_cv_cflags__Werror_unknown_warning_option=no
13675 rm -f core conftest.err conftest.$ac_objext \
13676 conftest$ac_exeext conftest.$ac_ext
13677 CFLAGS=$ac_wine_try_cflags_saved
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13680 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13681 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13682 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13685 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13686 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13687 $as_echo_n "(cached) " >&6
13688 else
13689 ac_wine_try_cflags_saved=$CFLAGS
13690 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13692 /* end confdefs.h. */
13693 int main(int argc, char **argv) { return 0; }
13694 _ACEOF
13695 if ac_fn_c_try_link "$LINENO"; then :
13696 ac_cv_cflags__Wdeclaration_after_statement=yes
13697 else
13698 ac_cv_cflags__Wdeclaration_after_statement=no
13700 rm -f core conftest.err conftest.$ac_objext \
13701 conftest$ac_exeext conftest.$ac_ext
13702 CFLAGS=$ac_wine_try_cflags_saved
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13705 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13706 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13707 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13710 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13711 if ${ac_cv_cflags__Wempty_body+:} false; then :
13712 $as_echo_n "(cached) " >&6
13713 else
13714 ac_wine_try_cflags_saved=$CFLAGS
13715 CFLAGS="$CFLAGS -Wempty-body"
13716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13717 /* end confdefs.h. */
13718 int main(int argc, char **argv) { return 0; }
13719 _ACEOF
13720 if ac_fn_c_try_link "$LINENO"; then :
13721 ac_cv_cflags__Wempty_body=yes
13722 else
13723 ac_cv_cflags__Wempty_body=no
13725 rm -f core conftest.err conftest.$ac_objext \
13726 conftest$ac_exeext conftest.$ac_ext
13727 CFLAGS=$ac_wine_try_cflags_saved
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13730 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13731 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13732 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13735 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13736 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13737 $as_echo_n "(cached) " >&6
13738 else
13739 ac_wine_try_cflags_saved=$CFLAGS
13740 CFLAGS="$CFLAGS -Wignored-qualifiers"
13741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13743 int main(int argc, char **argv) { return 0; }
13744 _ACEOF
13745 if ac_fn_c_try_link "$LINENO"; then :
13746 ac_cv_cflags__Wignored_qualifiers=yes
13747 else
13748 ac_cv_cflags__Wignored_qualifiers=no
13750 rm -f core conftest.err conftest.$ac_objext \
13751 conftest$ac_exeext conftest.$ac_ext
13752 CFLAGS=$ac_wine_try_cflags_saved
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13755 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13756 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13757 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13760 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13761 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13762 $as_echo_n "(cached) " >&6
13763 else
13764 ac_wine_try_cflags_saved=$CFLAGS
13765 CFLAGS="$CFLAGS -Wstrict-prototypes"
13766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13768 int main(int argc, char **argv) { return 0; }
13769 _ACEOF
13770 if ac_fn_c_try_link "$LINENO"; then :
13771 ac_cv_cflags__Wstrict_prototypes=yes
13772 else
13773 ac_cv_cflags__Wstrict_prototypes=no
13775 rm -f core conftest.err conftest.$ac_objext \
13776 conftest$ac_exeext conftest.$ac_ext
13777 CFLAGS=$ac_wine_try_cflags_saved
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13780 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13781 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13782 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13785 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13786 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13787 $as_echo_n "(cached) " >&6
13788 else
13789 ac_wine_try_cflags_saved=$CFLAGS
13790 CFLAGS="$CFLAGS -Wtype-limits"
13791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13792 /* end confdefs.h. */
13793 int main(int argc, char **argv) { return 0; }
13794 _ACEOF
13795 if ac_fn_c_try_link "$LINENO"; then :
13796 ac_cv_cflags__Wtype_limits=yes
13797 else
13798 ac_cv_cflags__Wtype_limits=no
13800 rm -f core conftest.err conftest.$ac_objext \
13801 conftest$ac_exeext conftest.$ac_ext
13802 CFLAGS=$ac_wine_try_cflags_saved
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13805 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13806 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13807 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13810 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13811 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13812 $as_echo_n "(cached) " >&6
13813 else
13814 ac_wine_try_cflags_saved=$CFLAGS
13815 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13817 /* end confdefs.h. */
13818 int main(int argc, char **argv) { return 0; }
13819 _ACEOF
13820 if ac_fn_c_try_link "$LINENO"; then :
13821 ac_cv_cflags__Wunused_but_set_parameter=yes
13822 else
13823 ac_cv_cflags__Wunused_but_set_parameter=no
13825 rm -f core conftest.err conftest.$ac_objext \
13826 conftest$ac_exeext conftest.$ac_ext
13827 CFLAGS=$ac_wine_try_cflags_saved
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13830 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13831 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13832 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13835 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13836 if ${ac_cv_cflags__Wvla+:} false; then :
13837 $as_echo_n "(cached) " >&6
13838 else
13839 ac_wine_try_cflags_saved=$CFLAGS
13840 CFLAGS="$CFLAGS -Wvla"
13841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13842 /* end confdefs.h. */
13843 int main(int argc, char **argv) { return 0; }
13844 _ACEOF
13845 if ac_fn_c_try_link "$LINENO"; then :
13846 ac_cv_cflags__Wvla=yes
13847 else
13848 ac_cv_cflags__Wvla=no
13850 rm -f core conftest.err conftest.$ac_objext \
13851 conftest$ac_exeext conftest.$ac_ext
13852 CFLAGS=$ac_wine_try_cflags_saved
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13855 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13856 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13857 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13860 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13861 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13862 $as_echo_n "(cached) " >&6
13863 else
13864 ac_wine_try_cflags_saved=$CFLAGS
13865 CFLAGS="$CFLAGS -Wwrite-strings"
13866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13867 /* end confdefs.h. */
13868 int main(int argc, char **argv) { return 0; }
13869 _ACEOF
13870 if ac_fn_c_try_link "$LINENO"; then :
13871 ac_cv_cflags__Wwrite_strings=yes
13872 else
13873 ac_cv_cflags__Wwrite_strings=no
13875 rm -f core conftest.err conftest.$ac_objext \
13876 conftest$ac_exeext conftest.$ac_ext
13877 CFLAGS=$ac_wine_try_cflags_saved
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13880 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13881 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13882 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13886 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13887 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13888 $as_echo_n "(cached) " >&6
13889 else
13890 ac_wine_try_cflags_saved=$CFLAGS
13891 CFLAGS="$CFLAGS -Wpointer-arith"
13892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13893 /* end confdefs.h. */
13894 int main(int argc, char **argv) { return 0; }
13895 _ACEOF
13896 if ac_fn_c_try_link "$LINENO"; then :
13897 ac_cv_cflags__Wpointer_arith=yes
13898 else
13899 ac_cv_cflags__Wpointer_arith=no
13901 rm -f core conftest.err conftest.$ac_objext \
13902 conftest$ac_exeext conftest.$ac_ext
13903 CFLAGS=$ac_wine_try_cflags_saved
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13906 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13907 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13908 saved_string_h_CFLAGS=$CFLAGS
13909 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13911 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13912 if ${ac_cv_c_string_h_warnings+:} false; then :
13913 $as_echo_n "(cached) " >&6
13914 else
13915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13916 /* end confdefs.h. */
13917 #include <string.h>
13919 main ()
13923 return 0;
13925 _ACEOF
13926 if ac_fn_c_try_compile "$LINENO"; then :
13927 ac_cv_c_string_h_warnings=no
13928 else
13929 ac_cv_c_string_h_warnings=yes
13931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13934 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13935 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13936 CFLAGS=$saved_string_h_CFLAGS
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13940 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13941 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13942 $as_echo_n "(cached) " >&6
13943 else
13944 ac_wine_try_cflags_saved=$CFLAGS
13945 CFLAGS="$CFLAGS -Wlogical-op"
13946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13947 /* end confdefs.h. */
13948 int main(int argc, char **argv) { return 0; }
13949 _ACEOF
13950 if ac_fn_c_try_link "$LINENO"; then :
13951 ac_cv_cflags__Wlogical_op=yes
13952 else
13953 ac_cv_cflags__Wlogical_op=no
13955 rm -f core conftest.err conftest.$ac_objext \
13956 conftest$ac_exeext conftest.$ac_ext
13957 CFLAGS=$ac_wine_try_cflags_saved
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13960 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13961 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13962 saved_string_h_CFLAGS=$CFLAGS
13963 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13965 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13966 if ${ac_cv_c_logicalop_noisy+:} false; then :
13967 $as_echo_n "(cached) " >&6
13968 else
13969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13970 /* end confdefs.h. */
13971 #include <string.h>
13972 char*f(const char *h,char n) {return strchr(h,n);}
13974 main ()
13978 return 0;
13980 _ACEOF
13981 if ac_fn_c_try_compile "$LINENO"; then :
13982 ac_cv_c_logicalop_noisy=no
13983 else
13984 ac_cv_c_logicalop_noisy=yes
13986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13989 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13990 CFLAGS=$saved_string_h_CFLAGS
13991 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13994 CFLAGS=$saved_CFLAGS
13996 for ac_flag in $CFLAGS; do
13997 case $ac_flag in
13998 -g) case $host_os in
13999 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14000 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14001 if ${ac_cv_cflags__gstabsp+:} false; then :
14002 $as_echo_n "(cached) " >&6
14003 else
14004 ac_wine_try_cflags_saved=$CFLAGS
14005 CFLAGS="$CFLAGS -gstabs+"
14006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14008 int main(int argc, char **argv) { return 0; }
14009 _ACEOF
14010 if ac_fn_c_try_link "$LINENO"; then :
14011 ac_cv_cflags__gstabsp=yes
14012 else
14013 ac_cv_cflags__gstabsp=no
14015 rm -f core conftest.err conftest.$ac_objext \
14016 conftest$ac_exeext conftest.$ac_ext
14017 CFLAGS=$ac_wine_try_cflags_saved
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14020 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14021 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14022 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14023 fi ;;
14024 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14025 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14026 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14027 $as_echo_n "(cached) " >&6
14028 else
14029 ac_wine_try_cflags_saved=$CFLAGS
14030 CFLAGS="$CFLAGS -gdwarf-2"
14031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14032 /* end confdefs.h. */
14033 int main(int argc, char **argv) { return 0; }
14034 _ACEOF
14035 if ac_fn_c_try_link "$LINENO"; then :
14036 ac_cv_cflags__gdwarf_2=yes
14037 else
14038 ac_cv_cflags__gdwarf_2=no
14040 rm -f core conftest.err conftest.$ac_objext \
14041 conftest$ac_exeext conftest.$ac_ext
14042 CFLAGS=$ac_wine_try_cflags_saved
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14045 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14046 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14047 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14050 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14051 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14052 $as_echo_n "(cached) " >&6
14053 else
14054 ac_wine_try_cflags_saved=$CFLAGS
14055 CFLAGS="$CFLAGS -gstrict-dwarf"
14056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14057 /* end confdefs.h. */
14058 int main(int argc, char **argv) { return 0; }
14059 _ACEOF
14060 if ac_fn_c_try_link "$LINENO"; then :
14061 ac_cv_cflags__gstrict_dwarf=yes
14062 else
14063 ac_cv_cflags__gstrict_dwarf=no
14065 rm -f core conftest.err conftest.$ac_objext \
14066 conftest$ac_exeext conftest.$ac_ext
14067 CFLAGS=$ac_wine_try_cflags_saved
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14070 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14071 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14072 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14073 fi ;;
14074 esac ;;
14075 esac
14076 done
14078 case $host_cpu in
14079 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14080 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14081 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14082 $as_echo_n "(cached) " >&6
14083 else
14084 ac_wine_try_cflags_saved=$CFLAGS
14085 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14087 /* end confdefs.h. */
14088 int main(int argc, char **argv) { return 0; }
14089 _ACEOF
14090 if ac_fn_c_try_link "$LINENO"; then :
14091 ac_cv_cflags__fno_omit_frame_pointer=yes
14092 else
14093 ac_cv_cflags__fno_omit_frame_pointer=no
14095 rm -f core conftest.err conftest.$ac_objext \
14096 conftest$ac_exeext conftest.$ac_ext
14097 CFLAGS=$ac_wine_try_cflags_saved
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14100 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14101 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14102 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14103 fi ;;
14104 esac
14106 case $host in
14107 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14108 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14109 if ${ac_cv_cflags__Wno_format+:} false; then :
14110 $as_echo_n "(cached) " >&6
14111 else
14112 ac_wine_try_cflags_saved=$CFLAGS
14113 CFLAGS="$CFLAGS -Wno-format"
14114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14115 /* end confdefs.h. */
14116 int main(int argc, char **argv) { return 0; }
14117 _ACEOF
14118 if ac_fn_c_try_link "$LINENO"; then :
14119 ac_cv_cflags__Wno_format=yes
14120 else
14121 ac_cv_cflags__Wno_format=no
14123 rm -f core conftest.err conftest.$ac_objext \
14124 conftest$ac_exeext conftest.$ac_ext
14125 CFLAGS=$ac_wine_try_cflags_saved
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14128 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14129 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14130 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14131 fi ;;
14132 esac
14134 if test "x$enable_maintainer_mode" = "xyes"
14135 then
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14137 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14138 if ${ac_cv_cflags__Werror+:} false; then :
14139 $as_echo_n "(cached) " >&6
14140 else
14141 ac_wine_try_cflags_saved=$CFLAGS
14142 CFLAGS="$CFLAGS -Werror"
14143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14144 /* end confdefs.h. */
14145 int main(int argc, char **argv) { return 0; }
14146 _ACEOF
14147 if ac_fn_c_try_link "$LINENO"; then :
14148 ac_cv_cflags__Werror=yes
14149 else
14150 ac_cv_cflags__Werror=no
14152 rm -f core conftest.err conftest.$ac_objext \
14153 conftest$ac_exeext conftest.$ac_ext
14154 CFLAGS=$ac_wine_try_cflags_saved
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14157 $as_echo "$ac_cv_cflags__Werror" >&6; }
14158 if test "x$ac_cv_cflags__Werror" = xyes; then :
14159 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14163 saved_CFLAGS="$CFLAGS"
14164 CFLAGS="$CFLAGS -Werror"
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14166 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14167 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14168 $as_echo_n "(cached) " >&6
14169 else
14170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14171 /* end confdefs.h. */
14172 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14174 main ()
14178 return 0;
14180 _ACEOF
14181 if ac_fn_c_try_compile "$LINENO"; then :
14182 ac_cv_have_ms_hook_prologue="yes"
14183 else
14184 ac_cv_have_ms_hook_prologue="no"
14186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14189 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14190 CFLAGS="$saved_CFLAGS"
14191 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14192 then
14194 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14196 else
14197 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14204 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14205 if ${ac_cv_c_fortify_enabled+:} false; then :
14206 $as_echo_n "(cached) " >&6
14207 else
14208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14210 #include <string.h>
14212 main ()
14214 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14215 #error Fortify enabled
14216 #endif
14218 return 0;
14220 _ACEOF
14221 if ac_fn_c_try_compile "$LINENO"; then :
14222 ac_cv_c_fortify_enabled=no
14223 else
14224 ac_cv_c_fortify_enabled=yes
14226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14229 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14230 if test "$ac_cv_c_fortify_enabled" = yes
14231 then
14232 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14237 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14238 if ${ac_cv_c_extern_prefix+:} false; then :
14239 $as_echo_n "(cached) " >&6
14240 else
14241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14242 /* end confdefs.h. */
14243 extern int ac_test;
14245 main ()
14247 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14249 return 0;
14251 _ACEOF
14252 if ac_fn_c_try_link "$LINENO"; then :
14253 ac_cv_c_extern_prefix="yes"
14254 else
14255 ac_cv_c_extern_prefix="no"
14257 rm -f core conftest.err conftest.$ac_objext \
14258 conftest$ac_exeext conftest.$ac_ext
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14261 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14263 case $host_cpu in
14264 *i[3456789]86*)
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14266 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14267 if ${ac_cv_c_stdcall_suffix+:} false; then :
14268 $as_echo_n "(cached) " >&6
14269 else
14270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14272 #ifndef _MSC_VER
14273 #define __stdcall __attribute__((__stdcall__))
14274 #endif
14275 int __stdcall ac_test(int i) { return i; }
14277 main ()
14279 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14281 return 0;
14283 _ACEOF
14284 if ac_fn_c_try_link "$LINENO"; then :
14285 ac_cv_c_stdcall_suffix="yes"
14286 else
14287 ac_cv_c_stdcall_suffix="no"
14289 rm -f core conftest.err conftest.$ac_objext \
14290 conftest$ac_exeext conftest.$ac_ext
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14293 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14294 *) ac_cv_c_stdcall_suffix="no" ;;
14295 esac
14298 if test "$ac_cv_c_extern_prefix" = "yes"
14299 then
14300 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14302 asm_name_prefix="_"
14303 else
14304 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14306 asm_name_prefix=""
14310 if test "$ac_cv_c_stdcall_suffix" = "yes"
14311 then
14312 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14314 else
14315 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14321 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14322 if ${ac_cv_asm_func_def+:} false; then :
14323 $as_echo_n "(cached) " >&6
14324 else
14325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14326 /* end confdefs.h. */
14329 main ()
14331 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14333 return 0;
14335 _ACEOF
14336 if ac_fn_c_try_link "$LINENO"; then :
14337 ac_cv_asm_func_def=".def"
14338 else
14339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14340 /* end confdefs.h. */
14343 main ()
14345 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14347 return 0;
14349 _ACEOF
14350 if ac_fn_c_try_link "$LINENO"; then :
14351 ac_cv_asm_func_def=".type @function"
14352 else
14353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14354 /* end confdefs.h. */
14357 main ()
14359 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14361 return 0;
14363 _ACEOF
14364 if ac_fn_c_try_link "$LINENO"; then :
14365 ac_cv_asm_func_def=".type 2"
14366 else
14367 ac_cv_asm_func_def="unknown"
14369 rm -f core conftest.err conftest.$ac_objext \
14370 conftest$ac_exeext conftest.$ac_ext
14372 rm -f core conftest.err conftest.$ac_objext \
14373 conftest$ac_exeext conftest.$ac_ext
14375 rm -f core conftest.err conftest.$ac_objext \
14376 conftest$ac_exeext conftest.$ac_ext
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14379 $as_echo "$ac_cv_asm_func_def" >&6; }
14382 case "$ac_cv_asm_func_def" in
14383 ".def")
14384 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14386 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14387 ".type @function")
14388 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14390 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14391 ".type 2")
14392 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14394 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14396 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14398 asm_func_header="" ;;
14399 esac
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14402 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14403 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14404 $as_echo_n "(cached) " >&6
14405 else
14406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14407 /* end confdefs.h. */
14408 asm(".text\n\t.long 0");
14410 main ()
14414 return 0;
14416 _ACEOF
14417 if ac_fn_c_try_compile "$LINENO"; then :
14418 ac_cv_c_asm_outside_funcs="yes"
14419 else
14420 ac_cv_c_asm_outside_funcs="no"
14422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14425 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14428 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14429 if ${ac_cv_c_dot_previous+:} false; then :
14430 $as_echo_n "(cached) " >&6
14431 else
14432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14433 /* end confdefs.h. */
14436 main ()
14438 asm(".text\nac_test:\t.long 0\n\t.previous");
14440 return 0;
14442 _ACEOF
14443 if ac_fn_c_try_link "$LINENO"; then :
14444 ac_cv_c_dot_previous="yes"
14445 else
14446 ac_cv_c_dot_previous="no"
14448 rm -f core conftest.err conftest.$ac_objext \
14449 conftest$ac_exeext conftest.$ac_ext
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14452 $as_echo "$ac_cv_c_dot_previous" >&6; }
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14455 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14456 if ${ac_cv_c_cfi_support+:} false; then :
14457 $as_echo_n "(cached) " >&6
14458 else
14459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14460 /* end confdefs.h. */
14461 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14463 main ()
14467 return 0;
14469 _ACEOF
14470 if ac_fn_c_try_compile "$LINENO"; then :
14471 ac_cv_c_cfi_support="yes"
14472 else
14473 ac_cv_c_cfi_support="no"
14475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14478 $as_echo "$ac_cv_c_cfi_support" >&6; }
14480 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14481 asm_func_trailer=""
14482 if test "$ac_cv_c_dot_previous" = "yes"
14483 then
14484 asm_func_trailer="\\n\\t.previous"
14486 if test "$ac_cv_c_cfi_support" = "yes"
14487 then
14488 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14489 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14491 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14493 UNWINDFLAGS=-fasynchronous-unwind-tables
14495 else
14496 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14500 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14503 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14504 then
14505 cat >>confdefs.h <<_ACEOF
14506 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14507 _ACEOF
14509 else
14510 cat >>confdefs.h <<_ACEOF
14511 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14512 _ACEOF
14516 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14519 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14523 case $build_os in
14524 cygwin*|mingw32*) TOOLSEXT=".exe"
14526 esac
14528 case $host_os in
14529 linux*)
14530 case $host_cpu in
14531 *i[3456789]86*|x86_64*)
14532 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14533 loader_programs="$loader_programs $wine_binary-preloader"
14534 as_fn_append LOADER_RULES "
14535 $wine_binary-preloader: preloader.o
14536 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14538 install install-lib:: $wine_binary-preloader
14539 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14541 uninstall::
14542 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14544 preloader_EXTRADEFS = $BUILTINFLAG
14545 " ;;
14546 esac
14548 esac
14549 as_fn_append LOADER_RULES "
14550 PROGRAMS = $loader_programs
14554 ac_save_CFLAGS="$CFLAGS"
14555 CFLAGS="$CFLAGS $BUILTINFLAG"
14556 for ac_func in \
14557 __res_get_state \
14558 __res_getservers \
14559 _finite \
14560 _isnan \
14561 _pclose \
14562 _popen \
14563 _snprintf \
14564 _spawnvp \
14565 _strdup \
14566 _stricmp \
14567 _strnicmp \
14568 _strtoi64 \
14569 _strtoui64 \
14570 _vsnprintf \
14571 asctime_r \
14572 chsize \
14573 dlopen \
14574 epoll_create \
14575 ffs \
14576 fnmatch \
14577 fork \
14578 fpclass \
14579 fstatfs \
14580 fstatvfs \
14581 ftruncate \
14582 futimens \
14583 futimes \
14584 futimesat \
14585 getattrlist \
14586 getdirentries \
14587 getopt_long_only \
14588 getpwuid \
14589 gettimeofday \
14590 getuid \
14591 if_nameindex \
14592 kqueue \
14593 lstat \
14594 memmove \
14595 mmap \
14596 pclose \
14597 pipe2 \
14598 poll \
14599 popen \
14600 port_create \
14601 prctl \
14602 pread \
14603 proc_pidinfo \
14604 pwrite \
14605 readdir \
14606 readlink \
14607 sched_yield \
14608 select \
14609 setproctitle \
14610 setrlimit \
14611 settimeofday \
14612 sigaltstack \
14613 sigprocmask \
14614 snprintf \
14615 statfs \
14616 statvfs \
14617 strcasecmp \
14618 strdup \
14619 strerror \
14620 strncasecmp \
14621 strtold \
14622 strtoll \
14623 strtoull \
14624 symlink \
14625 tcdrain \
14626 thr_kill2 \
14627 timegm \
14628 usleep \
14629 vsnprintf
14631 do :
14632 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14633 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14634 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14635 cat >>confdefs.h <<_ACEOF
14636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14637 _ACEOF
14640 done
14642 CFLAGS="$ac_save_CFLAGS"
14644 if test "$ac_cv_func_dlopen" = no
14645 then
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14647 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14648 if ${ac_cv_lib_dl_dlopen+:} false; then :
14649 $as_echo_n "(cached) " >&6
14650 else
14651 ac_check_lib_save_LIBS=$LIBS
14652 LIBS="-ldl $LIBS"
14653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14654 /* end confdefs.h. */
14656 /* Override any GCC internal prototype to avoid an error.
14657 Use char because int might match the return type of a GCC
14658 builtin and then its argument prototype would still apply. */
14659 #ifdef __cplusplus
14660 extern "C"
14661 #endif
14662 char dlopen ();
14664 main ()
14666 return dlopen ();
14668 return 0;
14670 _ACEOF
14671 if ac_fn_c_try_link "$LINENO"; then :
14672 ac_cv_lib_dl_dlopen=yes
14673 else
14674 ac_cv_lib_dl_dlopen=no
14676 rm -f core conftest.err conftest.$ac_objext \
14677 conftest$ac_exeext conftest.$ac_ext
14678 LIBS=$ac_check_lib_save_LIBS
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14681 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14682 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14683 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14684 DL_LIBS="-ldl"
14689 ac_wine_check_funcs_save_LIBS="$LIBS"
14690 LIBS="$LIBS $DL_LIBS"
14691 for ac_func in dladdr
14692 do :
14693 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14694 if test "x$ac_cv_func_dladdr" = xyes; then :
14695 cat >>confdefs.h <<_ACEOF
14696 #define HAVE_DLADDR 1
14697 _ACEOF
14700 done
14702 LIBS="$ac_wine_check_funcs_save_LIBS"
14704 if test "$ac_cv_func_poll" = no
14705 then
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14707 $as_echo_n "checking for poll in -lpoll... " >&6; }
14708 if ${ac_cv_lib_poll_poll+:} false; then :
14709 $as_echo_n "(cached) " >&6
14710 else
14711 ac_check_lib_save_LIBS=$LIBS
14712 LIBS="-lpoll $LIBS"
14713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14714 /* end confdefs.h. */
14716 /* Override any GCC internal prototype to avoid an error.
14717 Use char because int might match the return type of a GCC
14718 builtin and then its argument prototype would still apply. */
14719 #ifdef __cplusplus
14720 extern "C"
14721 #endif
14722 char poll ();
14724 main ()
14726 return poll ();
14728 return 0;
14730 _ACEOF
14731 if ac_fn_c_try_link "$LINENO"; then :
14732 ac_cv_lib_poll_poll=yes
14733 else
14734 ac_cv_lib_poll_poll=no
14736 rm -f core conftest.err conftest.$ac_objext \
14737 conftest$ac_exeext conftest.$ac_ext
14738 LIBS=$ac_check_lib_save_LIBS
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14741 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14742 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14743 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14744 POLL_LIBS="-lpoll"
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14751 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14752 if ${ac_cv_search_gethostbyname+:} false; then :
14753 $as_echo_n "(cached) " >&6
14754 else
14755 ac_func_search_save_LIBS=$LIBS
14756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14759 /* Override any GCC internal prototype to avoid an error.
14760 Use char because int might match the return type of a GCC
14761 builtin and then its argument prototype would still apply. */
14762 #ifdef __cplusplus
14763 extern "C"
14764 #endif
14765 char gethostbyname ();
14767 main ()
14769 return gethostbyname ();
14771 return 0;
14773 _ACEOF
14774 for ac_lib in '' nsl; do
14775 if test -z "$ac_lib"; then
14776 ac_res="none required"
14777 else
14778 ac_res=-l$ac_lib
14779 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14781 if ac_fn_c_try_link "$LINENO"; then :
14782 ac_cv_search_gethostbyname=$ac_res
14784 rm -f core conftest.err conftest.$ac_objext \
14785 conftest$ac_exeext
14786 if ${ac_cv_search_gethostbyname+:} false; then :
14787 break
14789 done
14790 if ${ac_cv_search_gethostbyname+:} false; then :
14792 else
14793 ac_cv_search_gethostbyname=no
14795 rm conftest.$ac_ext
14796 LIBS=$ac_func_search_save_LIBS
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14799 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14800 ac_res=$ac_cv_search_gethostbyname
14801 if test "$ac_res" != no; then :
14802 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14808 $as_echo_n "checking for library containing connect... " >&6; }
14809 if ${ac_cv_search_connect+:} false; then :
14810 $as_echo_n "(cached) " >&6
14811 else
14812 ac_func_search_save_LIBS=$LIBS
14813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14814 /* end confdefs.h. */
14816 /* Override any GCC internal prototype to avoid an error.
14817 Use char because int might match the return type of a GCC
14818 builtin and then its argument prototype would still apply. */
14819 #ifdef __cplusplus
14820 extern "C"
14821 #endif
14822 char connect ();
14824 main ()
14826 return connect ();
14828 return 0;
14830 _ACEOF
14831 for ac_lib in '' socket; do
14832 if test -z "$ac_lib"; then
14833 ac_res="none required"
14834 else
14835 ac_res=-l$ac_lib
14836 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14838 if ac_fn_c_try_link "$LINENO"; then :
14839 ac_cv_search_connect=$ac_res
14841 rm -f core conftest.err conftest.$ac_objext \
14842 conftest$ac_exeext
14843 if ${ac_cv_search_connect+:} false; then :
14844 break
14846 done
14847 if ${ac_cv_search_connect+:} false; then :
14849 else
14850 ac_cv_search_connect=no
14852 rm conftest.$ac_ext
14853 LIBS=$ac_func_search_save_LIBS
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14856 $as_echo "$ac_cv_search_connect" >&6; }
14857 ac_res=$ac_cv_search_connect
14858 if test "$ac_res" != no; then :
14859 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14865 $as_echo_n "checking for library containing inet_aton... " >&6; }
14866 if ${ac_cv_search_inet_aton+:} false; then :
14867 $as_echo_n "(cached) " >&6
14868 else
14869 ac_func_search_save_LIBS=$LIBS
14870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14871 /* end confdefs.h. */
14873 /* Override any GCC internal prototype to avoid an error.
14874 Use char because int might match the return type of a GCC
14875 builtin and then its argument prototype would still apply. */
14876 #ifdef __cplusplus
14877 extern "C"
14878 #endif
14879 char inet_aton ();
14881 main ()
14883 return inet_aton ();
14885 return 0;
14887 _ACEOF
14888 for ac_lib in '' resolv; do
14889 if test -z "$ac_lib"; then
14890 ac_res="none required"
14891 else
14892 ac_res=-l$ac_lib
14893 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14895 if ac_fn_c_try_link "$LINENO"; then :
14896 ac_cv_search_inet_aton=$ac_res
14898 rm -f core conftest.err conftest.$ac_objext \
14899 conftest$ac_exeext
14900 if ${ac_cv_search_inet_aton+:} false; then :
14901 break
14903 done
14904 if ${ac_cv_search_inet_aton+:} false; then :
14906 else
14907 ac_cv_search_inet_aton=no
14909 rm conftest.$ac_ext
14910 LIBS=$ac_func_search_save_LIBS
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14913 $as_echo "$ac_cv_search_inet_aton" >&6; }
14914 ac_res=$ac_cv_search_inet_aton
14915 if test "$ac_res" != no; then :
14916 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14921 for ac_func in \
14922 getaddrinfo \
14923 getnameinfo \
14924 getnetbyname \
14925 getprotobyname \
14926 getprotobynumber \
14927 getservbyport \
14928 inet_addr \
14929 inet_network \
14930 inet_ntop \
14931 inet_pton \
14932 sendmsg \
14933 socketpair \
14935 do :
14936 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14937 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14938 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14939 cat >>confdefs.h <<_ACEOF
14940 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14941 _ACEOF
14944 done
14947 ac_save_LIBS=$LIBS
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14949 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14950 if ${ac_cv_search_clock_gettime+:} false; then :
14951 $as_echo_n "(cached) " >&6
14952 else
14953 ac_func_search_save_LIBS=$LIBS
14954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14955 /* end confdefs.h. */
14957 /* Override any GCC internal prototype to avoid an error.
14958 Use char because int might match the return type of a GCC
14959 builtin and then its argument prototype would still apply. */
14960 #ifdef __cplusplus
14961 extern "C"
14962 #endif
14963 char clock_gettime ();
14965 main ()
14967 return clock_gettime ();
14969 return 0;
14971 _ACEOF
14972 for ac_lib in '' rt; do
14973 if test -z "$ac_lib"; then
14974 ac_res="none required"
14975 else
14976 ac_res=-l$ac_lib
14977 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14979 if ac_fn_c_try_link "$LINENO"; then :
14980 ac_cv_search_clock_gettime=$ac_res
14982 rm -f core conftest.err conftest.$ac_objext \
14983 conftest$ac_exeext
14984 if ${ac_cv_search_clock_gettime+:} false; then :
14985 break
14987 done
14988 if ${ac_cv_search_clock_gettime+:} false; then :
14990 else
14991 ac_cv_search_clock_gettime=no
14993 rm conftest.$ac_ext
14994 LIBS=$ac_func_search_save_LIBS
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14997 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14998 ac_res=$ac_cv_search_clock_gettime
14999 if test "$ac_res" != no; then :
15000 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15002 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15004 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15008 LIBS=$ac_save_LIBS
15010 LDAP_LIBS=""
15012 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15013 then
15014 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15016 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15018 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15019 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15020 $as_echo_n "(cached) " >&6
15021 else
15022 ac_check_lib_save_LIBS=$LIBS
15023 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15027 /* Override any GCC internal prototype to avoid an error.
15028 Use char because int might match the return type of a GCC
15029 builtin and then its argument prototype would still apply. */
15030 #ifdef __cplusplus
15031 extern "C"
15032 #endif
15033 char ldap_initialize ();
15035 main ()
15037 return ldap_initialize ();
15039 return 0;
15041 _ACEOF
15042 if ac_fn_c_try_link "$LINENO"; then :
15043 ac_cv_lib_ldap_r_ldap_initialize=yes
15044 else
15045 ac_cv_lib_ldap_r_ldap_initialize=no
15047 rm -f core conftest.err conftest.$ac_objext \
15048 conftest$ac_exeext conftest.$ac_ext
15049 LIBS=$ac_check_lib_save_LIBS
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15052 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15053 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15055 $as_echo_n "checking for ber_init in -llber... " >&6; }
15056 if ${ac_cv_lib_lber_ber_init+:} false; then :
15057 $as_echo_n "(cached) " >&6
15058 else
15059 ac_check_lib_save_LIBS=$LIBS
15060 LIBS="-llber $PTHREAD_LIBS $LIBS"
15061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15062 /* end confdefs.h. */
15064 /* Override any GCC internal prototype to avoid an error.
15065 Use char because int might match the return type of a GCC
15066 builtin and then its argument prototype would still apply. */
15067 #ifdef __cplusplus
15068 extern "C"
15069 #endif
15070 char ber_init ();
15072 main ()
15074 return ber_init ();
15076 return 0;
15078 _ACEOF
15079 if ac_fn_c_try_link "$LINENO"; then :
15080 ac_cv_lib_lber_ber_init=yes
15081 else
15082 ac_cv_lib_lber_ber_init=no
15084 rm -f core conftest.err conftest.$ac_objext \
15085 conftest$ac_exeext conftest.$ac_ext
15086 LIBS=$ac_check_lib_save_LIBS
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15089 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15090 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15092 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15094 LDAP_LIBS="-lldap_r -llber"
15101 ac_wine_check_funcs_save_LIBS="$LIBS"
15102 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15103 for ac_func in \
15104 ldap_count_references \
15105 ldap_first_reference \
15106 ldap_next_reference \
15107 ldap_parse_reference \
15108 ldap_parse_sort_control \
15109 ldap_parse_sortresponse_control \
15110 ldap_parse_vlv_control \
15111 ldap_parse_vlvresponse_control
15112 do :
15113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15115 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15116 cat >>confdefs.h <<_ACEOF
15117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15118 _ACEOF
15121 done
15123 LIBS="$ac_wine_check_funcs_save_LIBS"
15125 if test "x$LDAP_LIBS" = "x"; then :
15126 case "x$with_ldap" in
15127 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15128 xno) ;;
15129 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15130 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15131 esac
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15135 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15136 if ${wine_cv_one_arg_mkdir+:} false; then :
15137 $as_echo_n "(cached) " >&6
15138 else
15139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15140 /* end confdefs.h. */
15141 #include <sys/stat.h>
15143 main ()
15145 mkdir("foo");
15147 return 0;
15149 _ACEOF
15150 if ac_fn_c_try_compile "$LINENO"; then :
15151 wine_cv_one_arg_mkdir=yes
15152 else
15153 wine_cv_one_arg_mkdir=no
15155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15158 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15159 if test "$wine_cv_one_arg_mkdir" = "yes"
15160 then
15162 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15167 $as_echo_n "checking for sched_setaffinity... " >&6; }
15168 if ${wine_cv_have_sched_setaffinity+:} false; then :
15169 $as_echo_n "(cached) " >&6
15170 else
15171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15172 /* end confdefs.h. */
15173 #define _GNU_SOURCE
15174 #include <sched.h>
15176 main ()
15178 sched_setaffinity(0, 0, 0);
15180 return 0;
15182 _ACEOF
15183 if ac_fn_c_try_link "$LINENO"; then :
15184 wine_cv_have_sched_setaffinity=yes
15185 else
15186 wine_cv_have_sched_setaffinity=no
15188 rm -f core conftest.err conftest.$ac_objext \
15189 conftest$ac_exeext conftest.$ac_ext
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15192 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15193 if test "$wine_cv_have_sched_setaffinity" = "yes"
15194 then
15196 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15201 $as_echo_n "checking for fallocate... " >&6; }
15202 if ${wine_cv_have_fallocate+:} false; then :
15203 $as_echo_n "(cached) " >&6
15204 else
15205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15206 /* end confdefs.h. */
15207 #define _GNU_SOURCE
15208 #include <fcntl.h>
15210 main ()
15212 fallocate(-1, 0, 0, 0);
15214 return 0;
15216 _ACEOF
15217 if ac_fn_c_try_link "$LINENO"; then :
15218 wine_cv_have_fallocate=yes
15219 else
15220 wine_cv_have_fallocate=no
15222 rm -f core conftest.err conftest.$ac_objext \
15223 conftest$ac_exeext conftest.$ac_ext
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15226 $as_echo "$wine_cv_have_fallocate" >&6; }
15227 if test "$wine_cv_have_fallocate" = "yes"
15228 then
15230 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15236 $as_echo_n "checking for inline... " >&6; }
15237 if ${ac_cv_c_inline+:} false; then :
15238 $as_echo_n "(cached) " >&6
15239 else
15240 ac_cv_c_inline=no
15241 for ac_kw in inline __inline__ __inline; do
15242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15243 /* end confdefs.h. */
15244 #ifndef __cplusplus
15245 typedef int foo_t;
15246 static $ac_kw foo_t static_foo () {return 0; }
15247 $ac_kw foo_t foo () {return 0; }
15248 #endif
15250 _ACEOF
15251 if ac_fn_c_try_compile "$LINENO"; then :
15252 ac_cv_c_inline=$ac_kw
15254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15255 test "$ac_cv_c_inline" != no && break
15256 done
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15260 $as_echo "$ac_cv_c_inline" >&6; }
15262 case $ac_cv_c_inline in
15263 inline | yes) ;;
15265 case $ac_cv_c_inline in
15266 no) ac_val=;;
15267 *) ac_val=$ac_cv_c_inline;;
15268 esac
15269 cat >>confdefs.h <<_ACEOF
15270 #ifndef __cplusplus
15271 #define inline $ac_val
15272 #endif
15273 _ACEOF
15275 esac
15277 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15278 if test "x$ac_cv_type_mode_t" = xyes; then :
15280 cat >>confdefs.h <<_ACEOF
15281 #define HAVE_MODE_T 1
15282 _ACEOF
15286 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15287 if test "x$ac_cv_type_off_t" = xyes; then :
15289 cat >>confdefs.h <<_ACEOF
15290 #define HAVE_OFF_T 1
15291 _ACEOF
15295 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15296 if test "x$ac_cv_type_pid_t" = xyes; then :
15298 cat >>confdefs.h <<_ACEOF
15299 #define HAVE_PID_T 1
15300 _ACEOF
15304 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15305 if test "x$ac_cv_type_size_t" = xyes; then :
15307 cat >>confdefs.h <<_ACEOF
15308 #define HAVE_SIZE_T 1
15309 _ACEOF
15313 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15314 if test "x$ac_cv_type_ssize_t" = xyes; then :
15316 cat >>confdefs.h <<_ACEOF
15317 #define HAVE_SSIZE_T 1
15318 _ACEOF
15322 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15323 if test "x$ac_cv_type_long_long" = xyes; then :
15325 cat >>confdefs.h <<_ACEOF
15326 #define HAVE_LONG_LONG 1
15327 _ACEOF
15331 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15332 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15334 cat >>confdefs.h <<_ACEOF
15335 #define HAVE_FSBLKCNT_T 1
15336 _ACEOF
15340 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15341 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15343 cat >>confdefs.h <<_ACEOF
15344 #define HAVE_FSFILCNT_T 1
15345 _ACEOF
15350 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15351 #include <signal.h>
15353 if test "x$ac_cv_type_sigset_t" = xyes; then :
15355 cat >>confdefs.h <<_ACEOF
15356 #define HAVE_SIGSET_T 1
15357 _ACEOF
15362 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15364 if test "x$ac_cv_type_request_sense" = xyes; then :
15366 cat >>confdefs.h <<_ACEOF
15367 #define HAVE_REQUEST_SENSE 1
15368 _ACEOF
15374 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15375 #ifdef HAVE_SYS_SOCKET_H
15376 #include <sys/socket.h>
15377 #endif
15378 #ifdef HAVE_SYS_SOCKETVAR_H
15379 #include <sys/socketvar.h>
15380 #endif
15381 #ifdef HAVE_NET_ROUTE_H
15382 #include <net/route.h>
15383 #endif
15384 #ifdef HAVE_NETINET_IN_H
15385 #include <netinet/in.h>
15386 #endif
15387 #ifdef HAVE_NETINET_IN_SYSTM_H
15388 #include <netinet/in_systm.h>
15389 #endif
15390 #ifdef HAVE_NETINET_IP_H
15391 #include <netinet/ip.h>
15392 #endif
15393 #ifdef HAVE_NETINET_IN_PCB_H
15394 #include <netinet/in_pcb.h>
15395 #endif
15397 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15399 cat >>confdefs.h <<_ACEOF
15400 #define HAVE_STRUCT_XINPGEN 1
15401 _ACEOF
15407 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15408 #include <link.h>
15409 #endif
15410 #ifdef HAVE_SYS_LINK_H
15411 #include <sys/link.h>
15412 #endif
15414 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15416 cat >>confdefs.h <<_ACEOF
15417 #define HAVE_STRUCT_R_DEBUG 1
15418 _ACEOF
15422 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15423 #include <link.h>
15424 #endif
15425 #ifdef HAVE_SYS_LINK_H
15426 #include <sys/link.h>
15427 #endif
15429 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15431 cat >>confdefs.h <<_ACEOF
15432 #define HAVE_STRUCT_LINK_MAP 1
15433 _ACEOF
15439 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15440 #include <linux/input.h>
15441 #endif
15443 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15445 cat >>confdefs.h <<_ACEOF
15446 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15447 _ACEOF
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15454 $as_echo_n "checking for sigaddset... " >&6; }
15455 if ${wine_cv_have_sigaddset+:} false; then :
15456 $as_echo_n "(cached) " >&6
15457 else
15458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15459 /* end confdefs.h. */
15460 #include <signal.h>
15462 main ()
15464 sigset_t set; sigaddset(&set,SIGTERM);
15466 return 0;
15468 _ACEOF
15469 if ac_fn_c_try_link "$LINENO"; then :
15470 wine_cv_have_sigaddset=yes
15471 else
15472 wine_cv_have_sigaddset=no
15474 rm -f core conftest.err conftest.$ac_objext \
15475 conftest$ac_exeext conftest.$ac_ext
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15478 $as_echo "$wine_cv_have_sigaddset" >&6; }
15479 if test "$wine_cv_have_sigaddset" = "yes"
15480 then
15482 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15488 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15489 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15490 $as_echo_n "(cached) " >&6
15491 else
15492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15493 /* end confdefs.h. */
15494 #include <netdb.h>
15496 main ()
15499 char *name=0;
15500 struct hostent he;
15501 struct hostent *result;
15502 char *buf=0;
15503 int bufsize=0;
15504 int errnr;
15505 char *addr=0;
15506 int addrlen=0;
15507 int addrtype=0;
15508 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15509 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15512 return 0;
15514 _ACEOF
15515 if ac_fn_c_try_link "$LINENO"; then :
15516 wine_cv_linux_gethostbyname_r_6=yes
15517 else
15518 wine_cv_linux_gethostbyname_r_6=no
15521 rm -f core conftest.err conftest.$ac_objext \
15522 conftest$ac_exeext conftest.$ac_ext
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15526 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15527 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15528 then
15530 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15534 if test "$ac_cv_header_linux_joystick_h" = "yes"
15535 then
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15537 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15538 if ${wine_cv_linux_joystick_22_api+:} false; then :
15539 $as_echo_n "(cached) " >&6
15540 else
15541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15542 /* end confdefs.h. */
15544 #include <sys/ioctl.h>
15545 #include <sys/types.h>
15546 #include <linux/joystick.h>
15548 struct js_event blub;
15549 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15550 #error "no 2.2 header"
15551 #endif
15554 main ()
15556 /*empty*/
15558 return 0;
15560 _ACEOF
15561 if ac_fn_c_try_compile "$LINENO"; then :
15562 wine_cv_linux_joystick_22_api=yes
15563 else
15564 wine_cv_linux_joystick_22_api=no
15566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15570 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15571 if test "$wine_cv_linux_joystick_22_api" = "yes"
15572 then
15574 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15580 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15581 #ifdef HAVE_SYS_PARAM_H
15582 # include <sys/param.h>
15583 #endif
15584 #ifdef HAVE_SYS_MOUNT_H
15585 # include <sys/mount.h>
15586 #endif
15587 #ifdef HAVE_SYS_VFS_H
15588 # include <sys/vfs.h>
15589 #endif
15590 #ifdef HAVE_SYS_STATFS_H
15591 # include <sys/statfs.h>
15592 #endif
15594 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15596 cat >>confdefs.h <<_ACEOF
15597 #define HAVE_STRUCT_STATFS_F_BFREE 1
15598 _ACEOF
15602 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15603 #ifdef HAVE_SYS_PARAM_H
15604 # include <sys/param.h>
15605 #endif
15606 #ifdef HAVE_SYS_MOUNT_H
15607 # include <sys/mount.h>
15608 #endif
15609 #ifdef HAVE_SYS_VFS_H
15610 # include <sys/vfs.h>
15611 #endif
15612 #ifdef HAVE_SYS_STATFS_H
15613 # include <sys/statfs.h>
15614 #endif
15616 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15618 cat >>confdefs.h <<_ACEOF
15619 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15620 _ACEOF
15624 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15625 #ifdef HAVE_SYS_PARAM_H
15626 # include <sys/param.h>
15627 #endif
15628 #ifdef HAVE_SYS_MOUNT_H
15629 # include <sys/mount.h>
15630 #endif
15631 #ifdef HAVE_SYS_VFS_H
15632 # include <sys/vfs.h>
15633 #endif
15634 #ifdef HAVE_SYS_STATFS_H
15635 # include <sys/statfs.h>
15636 #endif
15638 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15640 cat >>confdefs.h <<_ACEOF
15641 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15642 _ACEOF
15646 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15647 #ifdef HAVE_SYS_PARAM_H
15648 # include <sys/param.h>
15649 #endif
15650 #ifdef HAVE_SYS_MOUNT_H
15651 # include <sys/mount.h>
15652 #endif
15653 #ifdef HAVE_SYS_VFS_H
15654 # include <sys/vfs.h>
15655 #endif
15656 #ifdef HAVE_SYS_STATFS_H
15657 # include <sys/statfs.h>
15658 #endif
15660 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15662 cat >>confdefs.h <<_ACEOF
15663 #define HAVE_STRUCT_STATFS_F_FFREE 1
15664 _ACEOF
15668 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15669 #ifdef HAVE_SYS_PARAM_H
15670 # include <sys/param.h>
15671 #endif
15672 #ifdef HAVE_SYS_MOUNT_H
15673 # include <sys/mount.h>
15674 #endif
15675 #ifdef HAVE_SYS_VFS_H
15676 # include <sys/vfs.h>
15677 #endif
15678 #ifdef HAVE_SYS_STATFS_H
15679 # include <sys/statfs.h>
15680 #endif
15682 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15684 cat >>confdefs.h <<_ACEOF
15685 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15686 _ACEOF
15690 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15691 #ifdef HAVE_SYS_PARAM_H
15692 # include <sys/param.h>
15693 #endif
15694 #ifdef HAVE_SYS_MOUNT_H
15695 # include <sys/mount.h>
15696 #endif
15697 #ifdef HAVE_SYS_VFS_H
15698 # include <sys/vfs.h>
15699 #endif
15700 #ifdef HAVE_SYS_STATFS_H
15701 # include <sys/statfs.h>
15702 #endif
15704 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15706 cat >>confdefs.h <<_ACEOF
15707 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15708 _ACEOF
15714 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15715 #include <sys/statvfs.h>
15716 #endif
15718 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15720 cat >>confdefs.h <<_ACEOF
15721 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15722 _ACEOF
15728 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15729 #include <dirent.h>
15730 #endif
15732 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15734 cat >>confdefs.h <<_ACEOF
15735 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15736 _ACEOF
15742 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15743 #ifdef HAVE_SYS_SOCKET_H
15744 # include <sys/socket.h>
15745 #endif
15746 #ifdef HAVE_SYS_UN_H
15747 # include <sys/un.h>
15748 #endif
15750 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15752 cat >>confdefs.h <<_ACEOF
15753 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15754 _ACEOF
15758 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15759 #ifdef HAVE_SYS_SOCKET_H
15760 # include <sys/socket.h>
15761 #endif
15762 #ifdef HAVE_SYS_UN_H
15763 # include <sys/un.h>
15764 #endif
15766 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15768 cat >>confdefs.h <<_ACEOF
15769 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15770 _ACEOF
15774 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15775 #ifdef HAVE_SYS_SOCKET_H
15776 # include <sys/socket.h>
15777 #endif
15778 #ifdef HAVE_SYS_UN_H
15779 # include <sys/un.h>
15780 #endif
15782 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15784 cat >>confdefs.h <<_ACEOF
15785 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15786 _ACEOF
15792 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15793 #ifdef HAVE_SCSI_SG_H
15794 #include <scsi/sg.h>
15795 #endif
15797 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15799 cat >>confdefs.h <<_ACEOF
15800 #define HAVE_SCSIREQ_T_CMD 1
15801 _ACEOF
15805 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>
15806 #ifdef HAVE_SCSI_SG_H
15807 #include <scsi/sg.h>
15808 #endif
15810 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15812 cat >>confdefs.h <<_ACEOF
15813 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15814 _ACEOF
15820 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15822 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15824 cat >>confdefs.h <<_ACEOF
15825 #define HAVE_SIGINFO_T_SI_FD 1
15826 _ACEOF
15832 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15833 #ifdef HAVE_SYS_MTIO_H
15834 #include <sys/mtio.h>
15835 #endif
15837 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15839 cat >>confdefs.h <<_ACEOF
15840 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15841 _ACEOF
15845 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15846 #ifdef HAVE_SYS_MTIO_H
15847 #include <sys/mtio.h>
15848 #endif
15850 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15852 cat >>confdefs.h <<_ACEOF
15853 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15854 _ACEOF
15858 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15859 #ifdef HAVE_SYS_MTIO_H
15860 #include <sys/mtio.h>
15861 #endif
15863 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15865 cat >>confdefs.h <<_ACEOF
15866 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15867 _ACEOF
15873 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15874 #include <getopt.h>
15875 #endif
15877 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15879 cat >>confdefs.h <<_ACEOF
15880 #define HAVE_STRUCT_OPTION_NAME 1
15881 _ACEOF
15887 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15888 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15890 cat >>confdefs.h <<_ACEOF
15891 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15892 _ACEOF
15896 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15897 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15899 cat >>confdefs.h <<_ACEOF
15900 #define HAVE_STRUCT_STAT_ST_MTIM 1
15901 _ACEOF
15905 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15906 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15908 cat >>confdefs.h <<_ACEOF
15909 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15910 _ACEOF
15914 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15915 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15917 cat >>confdefs.h <<_ACEOF
15918 #define HAVE_STRUCT_STAT_ST_CTIM 1
15919 _ACEOF
15923 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15924 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15926 cat >>confdefs.h <<_ACEOF
15927 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15928 _ACEOF
15932 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15933 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15935 cat >>confdefs.h <<_ACEOF
15936 #define HAVE_STRUCT_STAT_ST_ATIM 1
15937 _ACEOF
15941 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15942 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15944 cat >>confdefs.h <<_ACEOF
15945 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15946 _ACEOF
15950 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15951 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15953 cat >>confdefs.h <<_ACEOF
15954 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15955 _ACEOF
15959 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15960 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15962 cat >>confdefs.h <<_ACEOF
15963 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15964 _ACEOF
15968 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15969 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15971 cat >>confdefs.h <<_ACEOF
15972 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15973 _ACEOF
15977 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15978 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15980 cat >>confdefs.h <<_ACEOF
15981 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15982 _ACEOF
15986 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15987 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15989 cat >>confdefs.h <<_ACEOF
15990 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15991 _ACEOF
15997 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
15998 #include <sys/types.h>
15999 #endif
16000 #ifdef HAVE_NETINET_IN_H
16001 #include <netinet/in.h>
16002 #endif
16004 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16006 cat >>confdefs.h <<_ACEOF
16007 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16008 _ACEOF
16014 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16015 #include <resolv.h>
16016 #endif
16018 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16020 cat >>confdefs.h <<_ACEOF
16021 #define HAVE_STRUCT___RES_STATE 1
16022 _ACEOF
16028 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
16029 #include <resolv.h>
16030 #endif
16032 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16034 cat >>confdefs.h <<_ACEOF
16035 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16036 _ACEOF
16042 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16043 #include <sys/types.h>
16044 #endif
16045 #ifdef HAVE_NETINET_IN_H
16046 # include <netinet/in.h>
16047 #endif
16048 #ifdef HAVE_ARPA_NAMESER_H
16049 # include <arpa/nameser.h>
16050 #endif
16052 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16054 cat >>confdefs.h <<_ACEOF
16055 #define HAVE_NS_MSG__MSG_PTR 1
16056 _ACEOF
16062 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16063 #include <sys/types.h>
16064 #endif
16065 #ifdef HAVE_NETINET_IP_H
16066 #include <netinet/ip.h>
16067 #endif
16068 #ifdef HAVE_NETINET_IP_ICMP_H
16069 #include <netinet/ip_icmp.h>
16070 #endif
16071 #ifdef HAVE_NETINET_ICMP_VAR_H
16072 #include <netinet/icmp_var.h>
16073 #endif
16075 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16077 cat >>confdefs.h <<_ACEOF
16078 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16079 _ACEOF
16085 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16086 #include <sys/types.h>
16087 #endif
16088 #ifdef HAVE_ALIAS_H
16089 #include <alias.h>
16090 #endif
16091 #ifdef HAVE_SYS_SOCKET_H
16092 #include <sys/socket.h>
16093 #endif
16094 #ifdef HAVE_SYS_SOCKETVAR_H
16095 #include <sys/socketvar.h>
16096 #endif
16097 #ifdef HAVE_SYS_TIMEOUT_H
16098 #include <sys/timeout.h>
16099 #endif
16100 #ifdef HAVE_NETINET_IN_H
16101 #include <netinet/in.h>
16102 #endif
16103 #ifdef HAVE_NETINET_IN_SYSTM_H
16104 #include <netinet/in_systm.h>
16105 #endif
16106 #ifdef HAVE_NETINET_IP_H
16107 #include <netinet/ip.h>
16108 #endif
16109 #ifdef HAVE_NETINET_IP_VAR_H
16110 #include <netinet/ip_var.h>
16111 #endif
16112 #ifdef HAVE_NETINET_IP_ICMP_H
16113 #include <netinet/ip_icmp.h>
16114 #endif
16115 #ifdef HAVE_NETINET_ICMP_VAR_H
16116 #include <netinet/icmp_var.h>
16117 #endif
16119 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16121 cat >>confdefs.h <<_ACEOF
16122 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16123 _ACEOF
16129 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16130 #include <sys/types.h>
16131 #endif
16132 #ifdef HAVE_SYS_SOCKETVAR_H
16133 #include <sys/socketvar.h>
16134 #endif
16135 #ifdef HAVE_NETINET_IN_H
16136 #include <netinet/in.h>
16137 #endif
16138 #ifdef HAVE_NETINET_IP_VAR_H
16139 #include <netinet/ip_var.h>
16140 #endif
16142 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16144 cat >>confdefs.h <<_ACEOF
16145 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16146 _ACEOF
16152 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
16153 #include <netinet/ip_var.h>
16154 #endif
16156 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16158 cat >>confdefs.h <<_ACEOF
16159 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16160 _ACEOF
16166 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16167 #include <sys/types.h>
16168 #endif
16169 #ifdef HAVE_SYS_SOCKETVAR_H
16170 #include <sys/socketvar.h>
16171 #endif
16172 #ifdef HAVE_NETINET_IN_H
16173 #include <netinet/in.h>
16174 #endif
16175 #ifdef HAVE_NETINET_TCP_H
16176 #include <netinet/tcp.h>
16177 #endif
16178 #ifdef HAVE_NETINET_TCP_VAR_H
16179 #include <netinet/tcp_var.h>
16180 #endif
16182 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16184 cat >>confdefs.h <<_ACEOF
16185 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16186 _ACEOF
16192 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
16193 #include <netinet/tcp_var.h>
16194 #endif
16196 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16198 cat >>confdefs.h <<_ACEOF
16199 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16200 _ACEOF
16206 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16207 #include <sys/types.h>
16208 #endif
16209 #ifdef HAVE_NETINET_IN_H
16210 #include <netinet/in.h>
16211 #endif
16212 #ifdef HAVE_NETINET_IP_VAR_H
16213 #include <netinet/ip_var.h>
16214 #endif
16215 #ifdef HAVE_NETINET_UDP_H
16216 #include <netinet/udp.h>
16217 #endif
16218 #ifdef HAVE_NETINET_UDP_VAR_H
16219 #include <netinet/udp_var.h>
16220 #endif
16222 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16224 cat >>confdefs.h <<_ACEOF
16225 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16226 _ACEOF
16232 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16233 #include <sys/types.h>
16234 #endif
16235 #ifdef HAVE_NET_IF_H
16236 # include <net/if.h>
16237 #endif
16239 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16241 cat >>confdefs.h <<_ACEOF
16242 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16243 _ACEOF
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16250 $as_echo_n "checking for timezone variable... " >&6; }
16251 if ${ac_cv_have_timezone+:} false; then :
16252 $as_echo_n "(cached) " >&6
16253 else
16254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16255 /* end confdefs.h. */
16256 #include <time.h>
16258 main ()
16260 timezone = 1
16262 return 0;
16264 _ACEOF
16265 if ac_fn_c_try_link "$LINENO"; then :
16266 ac_cv_have_timezone="yes"
16267 else
16268 ac_cv_have_timezone="no"
16270 rm -f core conftest.err conftest.$ac_objext \
16271 conftest$ac_exeext conftest.$ac_ext
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16274 $as_echo "$ac_cv_have_timezone" >&6; }
16275 if test "$ac_cv_have_timezone" = "yes"
16276 then
16278 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16282 $as_echo_n "checking for daylight variable... " >&6; }
16283 if ${ac_cv_have_daylight+:} false; then :
16284 $as_echo_n "(cached) " >&6
16285 else
16286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16287 /* end confdefs.h. */
16288 #include <time.h>
16290 main ()
16292 daylight = 1
16294 return 0;
16296 _ACEOF
16297 if ac_fn_c_try_link "$LINENO"; then :
16298 ac_cv_have_daylight="yes"
16299 else
16300 ac_cv_have_daylight="no"
16302 rm -f core conftest.err conftest.$ac_objext \
16303 conftest$ac_exeext conftest.$ac_ext
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16306 $as_echo "$ac_cv_have_daylight" >&6; }
16307 if test "$ac_cv_have_daylight" = "yes"
16308 then
16310 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16314 ac_save_LIBS="$LIBS"
16315 LIBS="$LIBS -lm"
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16317 $as_echo_n "checking for isfinite... " >&6; }
16318 if ${ac_cv_have_isfinite+:} false; then :
16319 $as_echo_n "(cached) " >&6
16320 else
16321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16322 /* end confdefs.h. */
16323 #define _GNU_SOURCE
16324 #include <math.h>
16326 main ()
16328 float f = 0.0; return isfinite(f)
16330 return 0;
16332 _ACEOF
16333 if ac_fn_c_try_link "$LINENO"; then :
16334 ac_cv_have_isfinite="yes"
16335 else
16336 ac_cv_have_isfinite="no"
16338 rm -f core conftest.err conftest.$ac_objext \
16339 conftest$ac_exeext conftest.$ac_ext
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16342 $as_echo "$ac_cv_have_isfinite" >&6; }
16343 if test "$ac_cv_have_isfinite" = "yes"
16344 then
16346 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16351 $as_echo_n "checking for isinf... " >&6; }
16352 if ${ac_cv_have_isinf+:} false; then :
16353 $as_echo_n "(cached) " >&6
16354 else
16355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16356 /* end confdefs.h. */
16357 #include <math.h>
16359 main ()
16361 float f = 0.0; return isinf(f)
16363 return 0;
16365 _ACEOF
16366 if ac_fn_c_try_link "$LINENO"; then :
16367 ac_cv_have_isinf="yes"
16368 else
16369 ac_cv_have_isinf="no"
16371 rm -f core conftest.err conftest.$ac_objext \
16372 conftest$ac_exeext conftest.$ac_ext
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16375 $as_echo "$ac_cv_have_isinf" >&6; }
16376 if test "$ac_cv_have_isinf" = "yes"
16377 then
16379 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16384 $as_echo_n "checking for isnan... " >&6; }
16385 if ${ac_cv_have_isnan+:} false; then :
16386 $as_echo_n "(cached) " >&6
16387 else
16388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16389 /* end confdefs.h. */
16390 #include <math.h>
16392 main ()
16394 float f = 0.0; return isnan(f)
16396 return 0;
16398 _ACEOF
16399 if ac_fn_c_try_link "$LINENO"; then :
16400 ac_cv_have_isnan="yes"
16401 else
16402 ac_cv_have_isnan="no"
16404 rm -f core conftest.err conftest.$ac_objext \
16405 conftest$ac_exeext conftest.$ac_ext
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16408 $as_echo "$ac_cv_have_isnan" >&6; }
16409 if test "$ac_cv_have_isnan" = "yes"
16410 then
16412 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16416 for ac_func in \
16417 cbrt \
16418 cbrtf \
16419 exp2 \
16420 exp2f \
16421 llrint \
16422 llrintf \
16423 llround \
16424 llroundf \
16425 log2 \
16426 log2f \
16427 lrint \
16428 lrintf \
16429 lround \
16430 lroundf \
16431 rint \
16432 rintf \
16433 round \
16434 roundf \
16435 trunc \
16436 truncf
16438 do :
16439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16441 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16442 cat >>confdefs.h <<_ACEOF
16443 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16444 _ACEOF
16447 done
16449 LIBS="$ac_save_LIBS"
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16452 $as_echo_n "checking for __builtin_clz... " >&6; }
16453 if ${ac_cv_have___builtin_clz+:} false; then :
16454 $as_echo_n "(cached) " >&6
16455 else
16456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16457 /* end confdefs.h. */
16460 main ()
16462 return __builtin_clz(1)
16464 return 0;
16466 _ACEOF
16467 if ac_fn_c_try_link "$LINENO"; then :
16468 ac_cv_have___builtin_clz="yes"
16469 else
16470 ac_cv_have___builtin_clz="no"
16472 rm -f core conftest.err conftest.$ac_objext \
16473 conftest$ac_exeext conftest.$ac_ext
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16476 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16477 if test "$ac_cv_have___builtin_clz" = "yes"
16478 then
16480 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16485 case $host_cpu in
16486 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16487 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16488 if ${ac_cv_cpp_def___i386__+:} false; then :
16489 $as_echo_n "(cached) " >&6
16490 else
16491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16492 /* end confdefs.h. */
16493 #ifndef __i386__
16495 #endif
16496 _ACEOF
16497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16498 $EGREP "yes" >/dev/null 2>&1; then :
16499 ac_cv_cpp_def___i386__=yes
16500 else
16501 ac_cv_cpp_def___i386__=no
16503 rm -f conftest*
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16507 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16508 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16509 CFLAGS="$CFLAGS -D__i386__"
16510 LINTFLAGS="$LINTFLAGS -D__i386__"
16511 fi ;;
16512 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16513 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16514 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16515 $as_echo_n "(cached) " >&6
16516 else
16517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16518 /* end confdefs.h. */
16519 #ifndef __x86_64__
16521 #endif
16522 _ACEOF
16523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16524 $EGREP "yes" >/dev/null 2>&1; then :
16525 ac_cv_cpp_def___x86_64__=yes
16526 else
16527 ac_cv_cpp_def___x86_64__=no
16529 rm -f conftest*
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16533 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16534 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16535 CFLAGS="$CFLAGS -D__x86_64__"
16536 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16537 fi ;;
16538 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16539 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16540 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16541 $as_echo_n "(cached) " >&6
16542 else
16543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16544 /* end confdefs.h. */
16545 #ifndef __sparc64__
16547 #endif
16548 _ACEOF
16549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16550 $EGREP "yes" >/dev/null 2>&1; then :
16551 ac_cv_cpp_def___sparc64__=yes
16552 else
16553 ac_cv_cpp_def___sparc64__=no
16555 rm -f conftest*
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16559 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16560 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16561 CFLAGS="$CFLAGS -D__sparc64__"
16562 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16563 fi ;;
16564 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16565 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16566 if ${ac_cv_cpp_def___sparc__+:} false; then :
16567 $as_echo_n "(cached) " >&6
16568 else
16569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16570 /* end confdefs.h. */
16571 #ifndef __sparc__
16573 #endif
16574 _ACEOF
16575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16576 $EGREP "yes" >/dev/null 2>&1; then :
16577 ac_cv_cpp_def___sparc__=yes
16578 else
16579 ac_cv_cpp_def___sparc__=no
16581 rm -f conftest*
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16585 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16586 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16587 CFLAGS="$CFLAGS -D__sparc__"
16588 LINTFLAGS="$LINTFLAGS -D__sparc__"
16589 fi ;;
16590 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16591 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16592 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16593 $as_echo_n "(cached) " >&6
16594 else
16595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16596 /* end confdefs.h. */
16597 #ifndef __powerpc64__
16599 #endif
16600 _ACEOF
16601 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16602 $EGREP "yes" >/dev/null 2>&1; then :
16603 ac_cv_cpp_def___powerpc64__=yes
16604 else
16605 ac_cv_cpp_def___powerpc64__=no
16607 rm -f conftest*
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16611 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16612 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16613 CFLAGS="$CFLAGS -D__powerpc64__"
16614 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16615 fi ;;
16616 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16617 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16618 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16619 $as_echo_n "(cached) " >&6
16620 else
16621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16622 /* end confdefs.h. */
16623 #ifndef __powerpc__
16625 #endif
16626 _ACEOF
16627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16628 $EGREP "yes" >/dev/null 2>&1; then :
16629 ac_cv_cpp_def___powerpc__=yes
16630 else
16631 ac_cv_cpp_def___powerpc__=no
16633 rm -f conftest*
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16637 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16638 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16639 CFLAGS="$CFLAGS -D__powerpc__"
16640 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16641 fi ;;
16642 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16643 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16644 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16645 $as_echo_n "(cached) " >&6
16646 else
16647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16648 /* end confdefs.h. */
16649 #ifndef __aarch64__
16651 #endif
16652 _ACEOF
16653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16654 $EGREP "yes" >/dev/null 2>&1; then :
16655 ac_cv_cpp_def___aarch64__=yes
16656 else
16657 ac_cv_cpp_def___aarch64__=no
16659 rm -f conftest*
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16663 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16664 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16665 CFLAGS="$CFLAGS -D__aarch64__"
16666 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16667 fi ;;
16668 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16669 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16670 if ${ac_cv_cpp_def___arm__+:} false; then :
16671 $as_echo_n "(cached) " >&6
16672 else
16673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16674 /* end confdefs.h. */
16675 #ifndef __arm__
16677 #endif
16678 _ACEOF
16679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16680 $EGREP "yes" >/dev/null 2>&1; then :
16681 ac_cv_cpp_def___arm__=yes
16682 else
16683 ac_cv_cpp_def___arm__=no
16685 rm -f conftest*
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16689 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16690 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16691 CFLAGS="$CFLAGS -D__arm__"
16692 LINTFLAGS="$LINTFLAGS -D__arm__"
16693 fi ;;
16694 esac
16696 case $host_vendor in
16697 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16698 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16699 if ${ac_cv_cpp_def___sun__+:} false; then :
16700 $as_echo_n "(cached) " >&6
16701 else
16702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16703 /* end confdefs.h. */
16704 #ifndef __sun__
16706 #endif
16707 _ACEOF
16708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16709 $EGREP "yes" >/dev/null 2>&1; then :
16710 ac_cv_cpp_def___sun__=yes
16711 else
16712 ac_cv_cpp_def___sun__=no
16714 rm -f conftest*
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16718 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16719 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16720 CFLAGS="$CFLAGS -D__sun__"
16721 LINTFLAGS="$LINTFLAGS -D__sun__"
16722 fi ;;
16723 esac
16729 ac_config_commands="$ac_config_commands include/stamp-h"
16731 $as_echo_n "creating Makefile rules..." >&6
16733 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16734 SOCKET_LIBS = $SOCKET_LIBS
16735 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16736 IOKIT_LIBS = $IOKIT_LIBS
16737 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16738 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16739 CORESERVICES_LIBS = $CORESERVICES_LIBS
16740 APPKIT_LIBS = $APPKIT_LIBS
16741 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16742 SECURITY_LIBS = $SECURITY_LIBS
16743 COREAUDIO_LIBS = $COREAUDIO_LIBS
16744 OPENAL_LIBS = $OPENAL_LIBS
16745 OPENCL_LIBS = $OPENCL_LIBS
16746 QUICKTIME_LIBS = $QUICKTIME_LIBS
16747 CARBON_LIBS = $CARBON_LIBS
16748 PTHREAD_LIBS = $PTHREAD_LIBS
16749 X_CFLAGS = $X_CFLAGS
16750 X_PRE_LIBS = $X_PRE_LIBS
16751 X_LIBS = $X_LIBS
16752 X_EXTRA_LIBS = $X_EXTRA_LIBS
16753 XML2_CFLAGS = $XML2_CFLAGS
16754 XML2_LIBS = $XML2_LIBS
16755 XSLT_CFLAGS = $XSLT_CFLAGS
16756 XSLT_LIBS = $XSLT_LIBS
16757 DBUS_CFLAGS = $DBUS_CFLAGS
16758 DBUS_LIBS = $DBUS_LIBS
16759 HAL_CFLAGS = $HAL_CFLAGS
16760 HAL_LIBS = $HAL_LIBS
16761 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16762 GNUTLS_LIBS = $GNUTLS_LIBS
16763 SANE_CFLAGS = $SANE_CFLAGS
16764 SANE_LIBS = $SANE_LIBS
16765 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16766 GPHOTO2_LIBS = $GPHOTO2_LIBS
16767 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16768 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16769 RESOLV_LIBS = $RESOLV_LIBS
16770 LCMS2_CFLAGS = $LCMS2_CFLAGS
16771 LCMS2_LIBS = $LCMS2_LIBS
16772 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16773 FREETYPE_LIBS = $FREETYPE_LIBS
16774 Z_LIBS = $Z_LIBS
16775 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16776 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16777 GSTREAMER_LIBS = $GSTREAMER_LIBS
16778 ALSA_LIBS = $ALSA_LIBS
16779 OSS4_CFLAGS = $OSS4_CFLAGS
16780 CAPI20_CFLAGS = $CAPI20_CFLAGS
16781 CAPI20_LIBS = $CAPI20_LIBS
16782 CUPS_CFLAGS = $CUPS_CFLAGS
16783 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16784 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16785 JPEG_CFLAGS = $JPEG_CFLAGS
16786 JPEG_LIBS = $JPEG_LIBS
16787 PNG_CFLAGS = $PNG_CFLAGS
16788 PNG_LIBS = $PNG_LIBS
16789 TIFF_CFLAGS = $TIFF_CFLAGS
16790 TIFF_LIBS = $TIFF_LIBS
16791 MPG123_CFLAGS = $MPG123_CFLAGS
16792 MPG123_LIBS = $MPG123_LIBS
16793 KSTAT_LIBS = $KSTAT_LIBS
16794 PROCSTAT_LIBS = $PROCSTAT_LIBS
16795 DL_LIBS = $DL_LIBS
16796 POLL_LIBS = $POLL_LIBS
16797 RT_LIBS = $RT_LIBS
16798 LDAP_LIBS = $LDAP_LIBS
16803 wine_fn_append_rule "
16804 # Rules automatically generated by configure
16806 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16808 .INIT: Makefile
16809 .MAKEFILEDEPS:
16810 all: Makefile
16811 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16812 @./config.status Make.tmp Makefile"
16814 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16815 .gitignore: config.status
16816 @./config.status .gitignore"
16818 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16819 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16821 if test "x$enable_fonts" != xno; then
16822 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16823 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16824 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16825 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16826 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16828 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16829 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16830 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16831 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16832 ac_config_links="$ac_config_links wine:tools/winewrapper"
16833 wine_fn_config_symlink wine
16834 if test "x$enable_win64" != xno; then
16835 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16836 wine_fn_config_symlink wine64
16839 wine_fn_config_dll acledit enable_acledit
16840 wine_fn_config_dll aclui enable_aclui implib
16841 wine_fn_config_dll activeds enable_activeds implib
16842 wine_fn_config_dll actxprxy enable_actxprxy clean
16843 wine_fn_config_lib adsiid
16844 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16845 wine_fn_config_test dlls/advapi32/tests advapi32_test
16846 wine_fn_config_dll advpack enable_advpack implib
16847 wine_fn_config_test dlls/advpack/tests advpack_test
16848 wine_fn_config_dll amstream enable_amstream clean
16849 wine_fn_config_test dlls/amstream/tests amstream_test
16850 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16851 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16852 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16853 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16854 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16855 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16856 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16857 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16858 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16859 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16860 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16861 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16862 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16863 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16864 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16865 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16866 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16867 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16868 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16869 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16870 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16871 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16872 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16873 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16874 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16875 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16876 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16877 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16878 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16879 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16880 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16881 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16882 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16883 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16884 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16885 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16886 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16887 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16888 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16889 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16890 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16891 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16892 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16893 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
16894 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16895 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16896 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
16897 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16898 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16899 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16900 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16901 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16902 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16903 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16904 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16905 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16906 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16907 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16908 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16909 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16910 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16911 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16912 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16913 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16914 wine_fn_config_dll apphelp enable_apphelp
16915 wine_fn_config_test dlls/apphelp/tests apphelp_test
16916 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16917 wine_fn_config_dll atl enable_atl clean,implib
16918 wine_fn_config_test dlls/atl/tests atl_test
16919 wine_fn_config_dll atl100 enable_atl100 clean,implib
16920 wine_fn_config_test dlls/atl100/tests atl100_test
16921 wine_fn_config_dll atl110 enable_atl110 clean
16922 wine_fn_config_dll atl80 enable_atl80 clean,implib
16923 wine_fn_config_test dlls/atl80/tests atl80_test
16924 wine_fn_config_dll atl90 enable_atl90 clean
16925 wine_fn_config_dll authz enable_authz
16926 wine_fn_config_dll avicap32 enable_avicap32 implib
16927 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16928 wine_fn_config_test dlls/avifil32/tests avifil32_test
16929 wine_fn_config_dll avifile.dll16 enable_win16
16930 wine_fn_config_dll avrt enable_avrt implib
16931 wine_fn_config_dll bcrypt enable_bcrypt
16932 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16933 wine_fn_config_dll browseui enable_browseui clean,po
16934 wine_fn_config_test dlls/browseui/tests browseui_test
16935 wine_fn_config_dll cabinet enable_cabinet implib
16936 wine_fn_config_test dlls/cabinet/tests cabinet_test
16937 wine_fn_config_dll capi2032 enable_capi2032 implib
16938 wine_fn_config_dll cards enable_cards implib
16939 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16940 wine_fn_config_dll clusapi enable_clusapi implib
16941 wine_fn_config_dll combase enable_combase
16942 wine_fn_config_dll comcat enable_comcat
16943 wine_fn_config_test dlls/comcat/tests comcat_test
16944 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16945 wine_fn_config_test dlls/comctl32/tests comctl32_test
16946 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16947 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16948 wine_fn_config_dll comm.drv16 enable_win16
16949 wine_fn_config_dll commdlg.dll16 enable_win16
16950 wine_fn_config_dll compobj.dll16 enable_win16
16951 wine_fn_config_dll compstui enable_compstui implib
16952 wine_fn_config_dll comsvcs enable_comsvcs implib
16953 wine_fn_config_dll credui enable_credui implib,po
16954 wine_fn_config_test dlls/credui/tests credui_test
16955 wine_fn_config_dll crtdll enable_crtdll implib
16956 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16957 wine_fn_config_test dlls/crypt32/tests crypt32_test
16958 wine_fn_config_dll cryptdlg enable_cryptdlg po
16959 wine_fn_config_dll cryptdll enable_cryptdll implib
16960 wine_fn_config_dll cryptext enable_cryptext
16961 wine_fn_config_dll cryptnet enable_cryptnet implib
16962 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16963 wine_fn_config_dll cryptui enable_cryptui implib,po
16964 wine_fn_config_test dlls/cryptui/tests cryptui_test
16965 wine_fn_config_dll ctapi32 enable_ctapi32
16966 wine_fn_config_dll ctl3d.dll16 enable_win16
16967 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16968 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16969 wine_fn_config_dll d2d1 enable_d2d1 implib
16970 wine_fn_config_test dlls/d2d1/tests d2d1_test
16971 wine_fn_config_dll d3d10 enable_d3d10 implib
16972 wine_fn_config_test dlls/d3d10/tests d3d10_test
16973 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16974 wine_fn_config_dll d3d10core enable_d3d10core implib
16975 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16976 wine_fn_config_dll d3d11 enable_d3d11
16977 wine_fn_config_dll d3d8 enable_d3d8 implib
16978 wine_fn_config_test dlls/d3d8/tests d3d8_test
16979 wine_fn_config_dll d3d9 enable_d3d9 implib
16980 wine_fn_config_test dlls/d3d9/tests d3d9_test
16981 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16982 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16983 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16984 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16985 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16986 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16987 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16988 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16989 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16990 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16991 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16992 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16993 wine_fn_config_dll d3dim enable_d3dim implib
16994 wine_fn_config_dll d3drm enable_d3drm implib
16995 wine_fn_config_test dlls/d3drm/tests d3drm_test
16996 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16997 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16998 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16999 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17000 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17001 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17002 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17003 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17004 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17005 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17006 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17007 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17008 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17009 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17010 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17011 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17012 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17013 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17014 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17015 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17016 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17017 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17018 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17019 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17020 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17021 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17022 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17023 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17024 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17025 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17026 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17027 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17028 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17029 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17030 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17031 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17032 wine_fn_config_dll dbgeng enable_dbgeng implib
17033 wine_fn_config_dll dbghelp enable_dbghelp implib
17034 wine_fn_config_dll dciman32 enable_dciman32 implib
17035 wine_fn_config_dll ddeml.dll16 enable_win16
17036 wine_fn_config_dll ddraw enable_ddraw clean,implib
17037 wine_fn_config_test dlls/ddraw/tests ddraw_test
17038 wine_fn_config_dll ddrawex enable_ddrawex clean
17039 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17040 wine_fn_config_dll devenum enable_devenum clean,po
17041 wine_fn_config_test dlls/devenum/tests devenum_test
17042 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17043 wine_fn_config_dll difxapi enable_difxapi
17044 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17045 wine_fn_config_test dlls/dinput/tests dinput_test
17046 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17047 wine_fn_config_test dlls/dinput8/tests dinput8_test
17048 wine_fn_config_dll dispdib.dll16 enable_win16
17049 wine_fn_config_dll dispex enable_dispex clean
17050 wine_fn_config_test dlls/dispex/tests dispex_test
17051 wine_fn_config_dll display.drv16 enable_win16
17052 wine_fn_config_dll dmband enable_dmband clean
17053 wine_fn_config_test dlls/dmband/tests dmband_test
17054 wine_fn_config_dll dmcompos enable_dmcompos clean
17055 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17056 wine_fn_config_dll dmime enable_dmime clean
17057 wine_fn_config_test dlls/dmime/tests dmime_test
17058 wine_fn_config_dll dmloader enable_dmloader clean
17059 wine_fn_config_test dlls/dmloader/tests dmloader_test
17060 wine_fn_config_dll dmscript enable_dmscript clean
17061 wine_fn_config_test dlls/dmscript/tests dmscript_test
17062 wine_fn_config_dll dmstyle enable_dmstyle clean
17063 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17064 wine_fn_config_dll dmsynth enable_dmsynth clean
17065 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17066 wine_fn_config_dll dmusic enable_dmusic clean
17067 wine_fn_config_test dlls/dmusic/tests dmusic_test
17068 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17069 wine_fn_config_dll dnsapi enable_dnsapi implib
17070 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17071 wine_fn_config_dll dplay enable_dplay implib
17072 wine_fn_config_dll dplayx enable_dplayx clean,implib
17073 wine_fn_config_test dlls/dplayx/tests dplayx_test
17074 wine_fn_config_dll dpnaddr enable_dpnaddr
17075 wine_fn_config_dll dpnet enable_dpnet clean,implib
17076 wine_fn_config_test dlls/dpnet/tests dpnet_test
17077 wine_fn_config_dll dpnhpast enable_dpnhpast
17078 wine_fn_config_dll dpnlobby enable_dpnlobby
17079 wine_fn_config_dll dpvoice enable_dpvoice clean
17080 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17081 wine_fn_config_dll dpwsockx enable_dpwsockx
17082 wine_fn_config_dll drmclien enable_drmclien
17083 wine_fn_config_dll dsound enable_dsound clean,implib
17084 wine_fn_config_test dlls/dsound/tests dsound_test
17085 wine_fn_config_dll dssenh enable_dssenh
17086 wine_fn_config_test dlls/dssenh/tests dssenh_test
17087 wine_fn_config_dll dswave enable_dswave clean
17088 wine_fn_config_test dlls/dswave/tests dswave_test
17089 wine_fn_config_dll dwmapi enable_dwmapi implib
17090 wine_fn_config_dll dwrite enable_dwrite implib
17091 wine_fn_config_test dlls/dwrite/tests dwrite_test
17092 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17093 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17094 wine_fn_config_lib dxerr8
17095 wine_fn_config_lib dxerr9
17096 wine_fn_config_dll dxgi enable_dxgi implib
17097 wine_fn_config_test dlls/dxgi/tests dxgi_test
17098 wine_fn_config_lib dxguid
17099 wine_fn_config_dll dxva2 enable_dxva2
17100 wine_fn_config_dll explorerframe enable_explorerframe clean
17101 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17102 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17103 wine_fn_config_dll faultrep enable_faultrep implib
17104 wine_fn_config_test dlls/faultrep/tests faultrep_test
17105 wine_fn_config_dll fltlib enable_fltlib
17106 wine_fn_config_dll fntcache enable_fntcache
17107 wine_fn_config_dll fontsub enable_fontsub
17108 wine_fn_config_dll fusion enable_fusion
17109 wine_fn_config_test dlls/fusion/tests fusion_test
17110 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17111 wine_fn_config_dll gameux enable_gameux clean
17112 wine_fn_config_test dlls/gameux/tests gameux_test
17113 wine_fn_config_dll gdi.exe16 enable_win16
17114 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17115 wine_fn_config_test dlls/gdi32/tests gdi32_test
17116 wine_fn_config_dll gdiplus enable_gdiplus implib
17117 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17118 wine_fn_config_dll glu32 enable_glu32 implib
17119 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17120 wine_fn_config_dll gpkcsp enable_gpkcsp
17121 wine_fn_config_dll hal enable_hal
17122 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17123 wine_fn_config_dll hid enable_hid implib
17124 wine_fn_config_dll hlink enable_hlink clean,implib
17125 wine_fn_config_test dlls/hlink/tests hlink_test
17126 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17127 wine_fn_config_dll httpapi enable_httpapi
17128 wine_fn_config_dll iccvid enable_iccvid po
17129 wine_fn_config_dll icmp enable_icmp
17130 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17131 wine_fn_config_test dlls/ieframe/tests ieframe_test
17132 wine_fn_config_dll ifsmgr.vxd enable_win16
17133 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17134 wine_fn_config_dll imagehlp enable_imagehlp implib
17135 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17136 wine_fn_config_dll imm.dll16 enable_win16
17137 wine_fn_config_dll imm32 enable_imm32 implib
17138 wine_fn_config_test dlls/imm32/tests imm32_test
17139 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17140 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17141 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17142 wine_fn_config_dll inetmib1 enable_inetmib1
17143 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17144 wine_fn_config_dll infosoft enable_infosoft clean
17145 wine_fn_config_test dlls/infosoft/tests infosoft_test
17146 wine_fn_config_dll initpki enable_initpki
17147 wine_fn_config_dll inkobj enable_inkobj
17148 wine_fn_config_dll inseng enable_inseng clean
17149 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17150 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17151 wine_fn_config_dll itircl enable_itircl
17152 wine_fn_config_dll itss enable_itss clean
17153 wine_fn_config_test dlls/itss/tests itss_test
17154 wine_fn_config_dll joy.cpl enable_joy_cpl po
17155 wine_fn_config_dll jscript enable_jscript clean,po
17156 wine_fn_config_test dlls/jscript/tests jscript_test
17157 wine_fn_config_dll jsproxy enable_jsproxy implib
17158 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17159 wine_fn_config_test dlls/kernel32/tests kernel32_test
17160 wine_fn_config_dll keyboard.drv16 enable_win16
17161 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17162 wine_fn_config_dll ksuser enable_ksuser
17163 wine_fn_config_dll ktmw32 enable_ktmw32
17164 wine_fn_config_dll loadperf enable_loadperf implib
17165 wine_fn_config_dll localspl enable_localspl po
17166 wine_fn_config_test dlls/localspl/tests localspl_test
17167 wine_fn_config_dll localui enable_localui po
17168 wine_fn_config_test dlls/localui/tests localui_test
17169 wine_fn_config_dll lz32 enable_lz32 implib
17170 wine_fn_config_test dlls/lz32/tests lz32_test
17171 wine_fn_config_dll lzexpand.dll16 enable_win16
17172 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17173 wine_fn_config_test dlls/mapi32/tests mapi32_test
17174 wine_fn_config_dll mapistub enable_mapistub
17175 wine_fn_config_dll mciavi32 enable_mciavi32
17176 wine_fn_config_dll mcicda enable_mcicda
17177 wine_fn_config_dll mciqtz32 enable_mciqtz32
17178 wine_fn_config_dll mciseq enable_mciseq
17179 wine_fn_config_dll mciwave enable_mciwave
17180 wine_fn_config_dll mgmtapi enable_mgmtapi
17181 wine_fn_config_dll midimap enable_midimap
17182 wine_fn_config_dll mlang enable_mlang clean,implib
17183 wine_fn_config_test dlls/mlang/tests mlang_test
17184 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17185 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17186 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17187 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17188 wine_fn_config_dll mmdevldr.vxd enable_win16
17189 wine_fn_config_dll mmsystem.dll16 enable_win16
17190 wine_fn_config_dll monodebg.vxd enable_win16
17191 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17192 wine_fn_config_dll mouse.drv16 enable_win16
17193 wine_fn_config_dll mpr enable_mpr implib,po
17194 wine_fn_config_test dlls/mpr/tests mpr_test
17195 wine_fn_config_dll mprapi enable_mprapi implib
17196 wine_fn_config_dll msacm.dll16 enable_win16
17197 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17198 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17199 wine_fn_config_test dlls/msacm32/tests msacm32_test
17200 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17201 wine_fn_config_dll msasn1 enable_msasn1 implib
17202 wine_fn_config_dll mscat32 enable_mscat32
17203 wine_fn_config_dll mscms enable_mscms implib
17204 wine_fn_config_test dlls/mscms/tests mscms_test
17205 wine_fn_config_dll mscoree enable_mscoree clean
17206 wine_fn_config_test dlls/mscoree/tests mscoree_test
17207 wine_fn_config_dll msctf enable_msctf clean
17208 wine_fn_config_test dlls/msctf/tests msctf_test
17209 wine_fn_config_dll msdaps enable_msdaps clean
17210 wine_fn_config_dll msdmo enable_msdmo implib
17211 wine_fn_config_dll msftedit enable_msftedit
17212 wine_fn_config_dll msg711.acm enable_msg711_acm
17213 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17214 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17215 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17216 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17217 wine_fn_config_dll msi enable_msi clean,implib,po
17218 wine_fn_config_test dlls/msi/tests msi_test
17219 wine_fn_config_dll msident enable_msident clean
17220 wine_fn_config_dll msimg32 enable_msimg32 implib
17221 wine_fn_config_dll msimsg enable_msimsg
17222 wine_fn_config_dll msimtf enable_msimtf clean
17223 wine_fn_config_dll msisip enable_msisip
17224 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17225 wine_fn_config_dll msls31 enable_msls31
17226 wine_fn_config_dll msnet32 enable_msnet32
17227 wine_fn_config_dll mspatcha enable_mspatcha
17228 wine_fn_config_dll msrle32 enable_msrle32 po
17229 wine_fn_config_test dlls/msrle32/tests msrle32_test
17230 wine_fn_config_dll mssign32 enable_mssign32
17231 wine_fn_config_dll mssip32 enable_mssip32
17232 wine_fn_config_dll mstask enable_mstask clean
17233 wine_fn_config_test dlls/mstask/tests mstask_test
17234 wine_fn_config_dll msvcirt enable_msvcirt
17235 wine_fn_config_dll msvcm80 enable_msvcm80
17236 wine_fn_config_dll msvcm90 enable_msvcm90
17237 wine_fn_config_dll msvcp100 enable_msvcp100
17238 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17239 wine_fn_config_dll msvcp110 enable_msvcp110
17240 wine_fn_config_dll msvcp120 enable_msvcp120
17241 wine_fn_config_dll msvcp60 enable_msvcp60
17242 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17243 wine_fn_config_dll msvcp70 enable_msvcp70
17244 wine_fn_config_dll msvcp71 enable_msvcp71
17245 wine_fn_config_dll msvcp80 enable_msvcp80
17246 wine_fn_config_dll msvcp90 enable_msvcp90
17247 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17248 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17249 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17250 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17251 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17252 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17253 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17254 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17255 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17256 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17257 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17258 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17259 wine_fn_config_dll msvcrt enable_msvcrt implib
17260 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17261 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17262 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17263 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17264 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17265 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17266 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17267 wine_fn_config_dll msvidc32 enable_msvidc32 po
17268 wine_fn_config_dll msvideo.dll16 enable_win16
17269 wine_fn_config_dll mswsock enable_mswsock implib
17270 wine_fn_config_dll msxml enable_msxml clean
17271 wine_fn_config_dll msxml2 enable_msxml2 clean
17272 wine_fn_config_dll msxml3 enable_msxml3 clean
17273 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17274 wine_fn_config_dll msxml4 enable_msxml4 clean
17275 wine_fn_config_dll msxml6 enable_msxml6 clean
17276 wine_fn_config_dll nddeapi enable_nddeapi implib
17277 wine_fn_config_dll ndis.sys enable_ndis_sys
17278 wine_fn_config_dll netapi32 enable_netapi32 implib
17279 wine_fn_config_test dlls/netapi32/tests netapi32_test
17280 wine_fn_config_dll netcfgx enable_netcfgx clean
17281 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17282 wine_fn_config_dll netprofm enable_netprofm clean
17283 wine_fn_config_test dlls/netprofm/tests netprofm_test
17284 wine_fn_config_dll newdev enable_newdev implib
17285 wine_fn_config_dll normaliz enable_normaliz implib
17286 wine_fn_config_dll npmshtml enable_npmshtml
17287 wine_fn_config_dll npptools enable_npptools
17288 wine_fn_config_dll ntdll enable_ntdll implib
17289 wine_fn_config_test dlls/ntdll/tests ntdll_test
17290 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17291 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17292 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17293 wine_fn_config_dll ntprint enable_ntprint
17294 wine_fn_config_test dlls/ntprint/tests ntprint_test
17295 wine_fn_config_dll objsel enable_objsel clean
17296 wine_fn_config_dll odbc32 enable_odbc32 implib
17297 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17298 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17299 wine_fn_config_dll odbccu32 enable_odbccu32
17300 wine_fn_config_dll ole2.dll16 enable_win16
17301 wine_fn_config_dll ole2conv.dll16 enable_win16
17302 wine_fn_config_dll ole2disp.dll16 enable_win16
17303 wine_fn_config_dll ole2nls.dll16 enable_win16
17304 wine_fn_config_dll ole2prox.dll16 enable_win16
17305 wine_fn_config_dll ole2thk.dll16 enable_win16
17306 wine_fn_config_dll ole32 enable_ole32 clean,implib
17307 wine_fn_config_test dlls/ole32/tests ole32_test
17308 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17309 wine_fn_config_test dlls/oleacc/tests oleacc_test
17310 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17311 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17312 wine_fn_config_dll olecli.dll16 enable_win16
17313 wine_fn_config_dll olecli32 enable_olecli32 implib
17314 wine_fn_config_dll oledb32 enable_oledb32 clean
17315 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17316 wine_fn_config_dll oledlg enable_oledlg implib,po
17317 wine_fn_config_dll olepro32 enable_olepro32 implib
17318 wine_fn_config_dll olesvr.dll16 enable_win16
17319 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17320 wine_fn_config_dll olethk32 enable_olethk32
17321 wine_fn_config_dll openal32 enable_openal32
17322 wine_fn_config_dll opencl enable_opencl
17323 wine_fn_config_dll opengl32 enable_opengl32 implib
17324 wine_fn_config_test dlls/opengl32/tests opengl32_test
17325 wine_fn_config_dll packager enable_packager clean
17326 wine_fn_config_test dlls/packager/tests packager_test
17327 wine_fn_config_dll pdh enable_pdh implib
17328 wine_fn_config_test dlls/pdh/tests pdh_test
17329 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17330 wine_fn_config_dll pidgen enable_pidgen
17331 wine_fn_config_dll powrprof enable_powrprof implib
17332 wine_fn_config_dll printui enable_printui
17333 wine_fn_config_dll prntvpt enable_prntvpt
17334 wine_fn_config_dll propsys enable_propsys clean,implib
17335 wine_fn_config_test dlls/propsys/tests propsys_test
17336 wine_fn_config_dll psapi enable_psapi implib
17337 wine_fn_config_test dlls/psapi/tests psapi_test
17338 wine_fn_config_dll pstorec enable_pstorec clean
17339 wine_fn_config_dll qcap enable_qcap
17340 wine_fn_config_test dlls/qcap/tests qcap_test
17341 wine_fn_config_dll qedit enable_qedit clean
17342 wine_fn_config_test dlls/qedit/tests qedit_test
17343 wine_fn_config_dll qmgr enable_qmgr clean
17344 wine_fn_config_test dlls/qmgr/tests qmgr_test
17345 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17346 wine_fn_config_dll quartz enable_quartz clean,implib
17347 wine_fn_config_test dlls/quartz/tests quartz_test clean
17348 wine_fn_config_dll query enable_query
17349 wine_fn_config_dll rasapi16.dll16 enable_win16
17350 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17351 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17352 wine_fn_config_dll rasdlg enable_rasdlg implib
17353 wine_fn_config_dll regapi enable_regapi
17354 wine_fn_config_dll resutils enable_resutils implib
17355 wine_fn_config_dll riched20 enable_riched20 implib
17356 wine_fn_config_test dlls/riched20/tests riched20_test
17357 wine_fn_config_dll riched32 enable_riched32
17358 wine_fn_config_test dlls/riched32/tests riched32_test
17359 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17360 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17361 wine_fn_config_dll rsabase enable_rsabase
17362 wine_fn_config_dll rsaenh enable_rsaenh implib
17363 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17364 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17365 wine_fn_config_dll rtutils enable_rtutils implib
17366 wine_fn_config_dll samlib enable_samlib
17367 wine_fn_config_dll sane.ds enable_sane_ds po
17368 wine_fn_config_dll scarddlg enable_scarddlg
17369 wine_fn_config_dll sccbase enable_sccbase
17370 wine_fn_config_dll schannel enable_schannel
17371 wine_fn_config_test dlls/schannel/tests schannel_test
17372 wine_fn_config_dll schedsvc enable_schedsvc clean
17373 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17374 wine_fn_config_dll scrrun enable_scrrun clean
17375 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17376 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17377 wine_fn_config_dll secur32 enable_secur32 implib
17378 wine_fn_config_test dlls/secur32/tests secur32_test
17379 wine_fn_config_dll security enable_security
17380 wine_fn_config_dll sensapi enable_sensapi implib
17381 wine_fn_config_dll serialui enable_serialui implib,po
17382 wine_fn_config_test dlls/serialui/tests serialui_test
17383 wine_fn_config_dll setupapi enable_setupapi implib,po
17384 wine_fn_config_test dlls/setupapi/tests setupapi_test
17385 wine_fn_config_dll setupx.dll16 enable_win16
17386 wine_fn_config_dll sfc enable_sfc implib
17387 wine_fn_config_dll sfc_os enable_sfc_os implib
17388 wine_fn_config_dll shdoclc enable_shdoclc po
17389 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17390 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17391 wine_fn_config_dll shell.dll16 enable_win16
17392 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17393 wine_fn_config_test dlls/shell32/tests shell32_test
17394 wine_fn_config_dll shfolder enable_shfolder implib
17395 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17396 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17397 wine_fn_config_dll slbcsp enable_slbcsp
17398 wine_fn_config_dll slc enable_slc implib
17399 wine_fn_config_dll snmpapi enable_snmpapi implib
17400 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17401 wine_fn_config_dll softpub enable_softpub
17402 wine_fn_config_dll sound.drv16 enable_win16
17403 wine_fn_config_dll spoolss enable_spoolss implib
17404 wine_fn_config_test dlls/spoolss/tests spoolss_test
17405 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17406 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17407 wine_fn_config_dll sti enable_sti clean,implib
17408 wine_fn_config_test dlls/sti/tests sti_test
17409 wine_fn_config_dll storage.dll16 enable_win16
17410 wine_fn_config_dll stress.dll16 enable_win16
17411 wine_fn_config_lib strmbase
17412 wine_fn_config_lib strmiids
17413 wine_fn_config_dll svrapi enable_svrapi
17414 wine_fn_config_dll sxs enable_sxs implib
17415 wine_fn_config_test dlls/sxs/tests sxs_test
17416 wine_fn_config_dll system.drv16 enable_win16
17417 wine_fn_config_dll t2embed enable_t2embed
17418 wine_fn_config_dll tapi32 enable_tapi32 implib
17419 wine_fn_config_dll taskschd enable_taskschd clean
17420 wine_fn_config_test dlls/taskschd/tests taskschd_test
17421 wine_fn_config_dll toolhelp.dll16 enable_win16
17422 wine_fn_config_dll traffic enable_traffic
17423 wine_fn_config_dll twain.dll16 enable_win16
17424 wine_fn_config_dll twain_32 enable_twain_32
17425 wine_fn_config_test dlls/twain_32/tests twain_32_test
17426 wine_fn_config_dll typelib.dll16 enable_win16
17427 wine_fn_config_dll unicows enable_unicows implib
17428 wine_fn_config_dll updspapi enable_updspapi
17429 wine_fn_config_dll url enable_url implib
17430 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17431 wine_fn_config_test dlls/urlmon/tests urlmon_test
17432 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17433 wine_fn_config_dll user.exe16 enable_win16
17434 wine_fn_config_dll user32 enable_user32 clean,implib,po
17435 wine_fn_config_test dlls/user32/tests user32_test
17436 wine_fn_config_dll userenv enable_userenv implib
17437 wine_fn_config_test dlls/userenv/tests userenv_test
17438 wine_fn_config_dll usp10 enable_usp10 implib
17439 wine_fn_config_test dlls/usp10/tests usp10_test
17440 wine_fn_config_lib uuid
17441 wine_fn_config_dll uxtheme enable_uxtheme implib
17442 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17443 wine_fn_config_dll vbscript enable_vbscript clean
17444 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17445 wine_fn_config_dll vcomp enable_vcomp
17446 wine_fn_config_dll vcomp100 enable_vcomp100
17447 wine_fn_config_dll vcomp90 enable_vcomp90
17448 wine_fn_config_dll vdhcp.vxd enable_win16
17449 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17450 wine_fn_config_dll ver.dll16 enable_win16
17451 wine_fn_config_dll version enable_version implib
17452 wine_fn_config_test dlls/version/tests version_test
17453 wine_fn_config_dll vmm.vxd enable_win16
17454 wine_fn_config_dll vnbt.vxd enable_win16
17455 wine_fn_config_dll vnetbios.vxd enable_win16
17456 wine_fn_config_dll vssapi enable_vssapi
17457 wine_fn_config_dll vtdapi.vxd enable_win16
17458 wine_fn_config_dll vwin32.vxd enable_win16
17459 wine_fn_config_dll w32skrnl enable_win16
17460 wine_fn_config_dll w32sys.dll16 enable_win16
17461 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17462 wine_fn_config_dll wbemprox enable_wbemprox clean
17463 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17464 wine_fn_config_dll webservices enable_webservices implib
17465 wine_fn_config_dll wer enable_wer implib
17466 wine_fn_config_test dlls/wer/tests wer_test
17467 wine_fn_config_dll wevtapi enable_wevtapi
17468 wine_fn_config_dll wiaservc enable_wiaservc clean
17469 wine_fn_config_dll win32s16.dll16 enable_win16
17470 wine_fn_config_dll win87em.dll16 enable_win16
17471 wine_fn_config_dll winaspi.dll16 enable_win16
17472 wine_fn_config_dll windebug.dll16 enable_win16
17473 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17474 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17475 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17476 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17477 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17478 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17479 wine_fn_config_lib winecrt0
17480 wine_fn_config_dll wined3d enable_wined3d implib
17481 wine_fn_config_dll winegstreamer enable_winegstreamer
17482 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17483 wine_fn_config_dll winemac.drv enable_winemac_drv
17484 wine_fn_config_dll winemapi enable_winemapi
17485 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17486 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17487 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17488 wine_fn_config_dll wineps16.drv16 enable_win16
17489 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17490 wine_fn_config_dll winex11.drv enable_winex11_drv
17491 wine_fn_config_dll wing.dll16 enable_win16
17492 wine_fn_config_dll wing32 enable_wing32
17493 wine_fn_config_dll winhttp enable_winhttp clean,implib
17494 wine_fn_config_test dlls/winhttp/tests winhttp_test
17495 wine_fn_config_dll wininet enable_wininet implib,po
17496 wine_fn_config_test dlls/wininet/tests wininet_test
17497 wine_fn_config_dll winmm enable_winmm implib,po
17498 wine_fn_config_test dlls/winmm/tests winmm_test
17499 wine_fn_config_dll winnls.dll16 enable_win16
17500 wine_fn_config_dll winnls32 enable_winnls32 implib
17501 wine_fn_config_dll winscard enable_winscard implib
17502 wine_fn_config_dll winsock.dll16 enable_win16
17503 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17504 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17505 wine_fn_config_dll winsta enable_winsta
17506 wine_fn_config_dll wintab.dll16 enable_win16
17507 wine_fn_config_dll wintab32 enable_wintab32 implib
17508 wine_fn_config_test dlls/wintab32/tests wintab32_test
17509 wine_fn_config_dll wintrust enable_wintrust implib
17510 wine_fn_config_test dlls/wintrust/tests wintrust_test
17511 wine_fn_config_dll wlanapi enable_wlanapi
17512 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17513 wine_fn_config_test dlls/wldap32/tests wldap32_test
17514 wine_fn_config_dll wmi enable_wmi
17515 wine_fn_config_dll wmiutils enable_wmiutils clean
17516 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17517 wine_fn_config_dll wmp enable_wmp clean
17518 wine_fn_config_test dlls/wmp/tests wmp_test
17519 wine_fn_config_dll wmvcore enable_wmvcore
17520 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17521 wine_fn_config_dll wow32 enable_win16 implib
17522 wine_fn_config_dll wpcap enable_wpcap
17523 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17524 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17525 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17526 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17527 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17528 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17529 wine_fn_config_dll wsock32 enable_wsock32 implib
17530 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17531 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17532 wine_fn_config_dll wuapi enable_wuapi clean
17533 wine_fn_config_dll wuaueng enable_wuaueng
17534 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17535 wine_fn_config_dll xinput1_1 enable_xinput1_1
17536 wine_fn_config_dll xinput1_2 enable_xinput1_2
17537 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17538 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17539 wine_fn_config_dll xinput1_4 enable_xinput1_4
17540 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17541 wine_fn_config_dll xmllite enable_xmllite implib
17542 wine_fn_config_test dlls/xmllite/tests xmllite_test
17543 wine_fn_config_dll xolehlp enable_xolehlp
17544 wine_fn_config_dll xpsprint enable_xpsprint
17545 wine_fn_config_dll xpssvcs enable_xpssvcs
17546 wine_fn_config_makefile documentation enable_documentation clean
17547 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17548 wine_fn_config_makefile include enable_include clean,install-dev
17549 wine_fn_config_makefile libs/port enable_libs_port
17550 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17551 wine_fn_config_makefile libs/wpp enable_libs_wpp
17552 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17553 wine_fn_config_program arp enable_arp install
17554 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17555 wine_fn_config_program attrib enable_attrib install,po
17556 wine_fn_config_program cabarc enable_cabarc install
17557 wine_fn_config_program cacls enable_cacls install
17558 wine_fn_config_program clock enable_clock install,po
17559 wine_fn_config_program cmd enable_cmd install,po
17560 wine_fn_config_test programs/cmd/tests cmd.exe_test
17561 wine_fn_config_program conhost enable_conhost install
17562 wine_fn_config_program control enable_control install
17563 wine_fn_config_program cscript enable_cscript clean,install
17564 wine_fn_config_program dpnsvr enable_dpnsvr install
17565 wine_fn_config_program dxdiag enable_dxdiag install,po
17566 wine_fn_config_program eject enable_eject install
17567 wine_fn_config_program expand enable_expand install
17568 wine_fn_config_program explorer enable_explorer install,po
17569 wine_fn_config_program extrac32 enable_extrac32 install
17570 wine_fn_config_program findstr enable_findstr install
17571 wine_fn_config_program hh enable_hh install
17572 wine_fn_config_program hostname enable_hostname install,po
17573 wine_fn_config_program icinfo enable_icinfo install
17574 wine_fn_config_program iexplore enable_iexplore install
17575 wine_fn_config_program ipconfig enable_ipconfig install,po
17576 wine_fn_config_program lodctr enable_lodctr install
17577 wine_fn_config_program mofcomp enable_mofcomp install
17578 wine_fn_config_program mshta enable_mshta install
17579 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17580 wine_fn_config_program net enable_net install,po
17581 wine_fn_config_program netsh enable_netsh install
17582 wine_fn_config_program netstat enable_netstat install,po
17583 wine_fn_config_program ngen enable_ngen install
17584 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17585 wine_fn_config_program oleview enable_oleview install,po
17586 wine_fn_config_program ping enable_ping install
17587 wine_fn_config_program plugplay enable_plugplay install
17588 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17589 wine_fn_config_program progman enable_progman install,po
17590 wine_fn_config_program reg enable_reg install,po
17591 wine_fn_config_test programs/reg/tests reg.exe_test
17592 wine_fn_config_program regasm enable_regasm install
17593 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17594 wine_fn_config_test programs/regedit/tests regedit.exe_test
17595 wine_fn_config_program regsvcs enable_regsvcs install
17596 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17597 wine_fn_config_program rpcss enable_rpcss clean,install
17598 wine_fn_config_program rundll.exe16 enable_win16 install
17599 wine_fn_config_program rundll32 enable_rundll32 install
17600 wine_fn_config_program sc enable_sc install
17601 wine_fn_config_program schtasks enable_schtasks install
17602 wine_fn_config_program sdbinst enable_sdbinst install
17603 wine_fn_config_program secedit enable_secedit install
17604 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17605 wine_fn_config_program services enable_services clean,install
17606 wine_fn_config_test programs/services/tests services.exe_test
17607 wine_fn_config_program spoolsv enable_spoolsv install
17608 wine_fn_config_program start enable_start install,po
17609 wine_fn_config_program svchost enable_svchost install
17610 wine_fn_config_program systeminfo enable_systeminfo install
17611 wine_fn_config_program taskkill enable_taskkill install,po
17612 wine_fn_config_program tasklist enable_tasklist install
17613 wine_fn_config_program taskmgr enable_taskmgr install,po
17614 wine_fn_config_program termsv enable_termsv install
17615 wine_fn_config_program uninstaller enable_uninstaller install,po
17616 wine_fn_config_program unlodctr enable_unlodctr install
17617 wine_fn_config_program view enable_view install,po
17618 wine_fn_config_program wevtutil enable_wevtutil install
17619 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17620 wine_fn_config_program winebrowser enable_winebrowser install
17621 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17622 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17623 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17624 wine_fn_config_program winedevice enable_winedevice install
17625 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17626 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17627 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17628 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17629 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17630 wine_fn_config_program winetest enable_winetest clean
17631 wine_fn_config_program winevdm enable_win16 install
17632 wine_fn_config_program winhelp.exe16 enable_win16 install
17633 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17634 wine_fn_config_program winoldap.mod16 enable_win16 install
17635 wine_fn_config_program winver enable_winver install
17636 wine_fn_config_program wmic enable_wmic install,po
17637 wine_fn_config_program wordpad enable_wordpad install,po
17638 wine_fn_config_program write enable_write install,po
17639 wine_fn_config_program wscript enable_wscript clean,install
17640 wine_fn_config_test programs/wscript/tests wscript.exe_test
17641 wine_fn_config_program wusa enable_wusa install
17642 wine_fn_config_program xcopy enable_xcopy install,po
17643 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17644 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17645 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17646 wine_fn_config_tool tools/sfnt2fon clean
17647 wine_fn_config_tool tools/widl clean,install-dev,manpage
17648 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17649 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17650 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17651 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17652 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17654 LINGUAS="\
17655 ar \
17656 bg \
17657 ca \
17658 cs \
17659 da \
17660 de \
17661 el \
17662 en \
17663 en_US \
17664 eo \
17665 es \
17666 fa \
17667 fi \
17668 fr \
17669 he \
17670 hi \
17671 hr \
17672 hu \
17673 it \
17674 ja \
17675 ko \
17676 lt \
17677 ml \
17678 nb_NO \
17679 nl \
17680 or \
17681 pa \
17682 pl \
17683 pt_BR \
17684 pt_PT \
17685 rm \
17686 ro \
17687 ru \
17688 sk \
17689 sl \
17690 sr_RS@cyrillic \
17691 sr_RS@latin \
17692 sv \
17693 te \
17694 th \
17695 tr \
17696 uk \
17697 wa \
17698 zh_CN \
17699 zh_TW"
17704 wine_fn_ignore_file ".gitignore"
17705 wine_fn_ignore_file "Makefile"
17706 wine_fn_ignore_file "TAGS"
17707 wine_fn_ignore_file "tags"
17708 wine_fn_ignore_file "autom4te.cache"
17709 wine_fn_ignore_file "config.cache"
17710 wine_fn_ignore_file "config.log"
17711 wine_fn_ignore_file "config.status"
17712 wine_fn_ignore_file "configure.lineno"
17713 wine_fn_ignore_file "include/config.h"
17714 wine_fn_ignore_file "include/stamp-h"
17715 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17717 if test "x$enable_tools" != xno
17718 then
17719 wine_fn_ignore_file "tools/makedep$ac_exeext"
17720 ac_config_commands="$ac_config_commands tools/makedep"
17724 ac_config_commands="$ac_config_commands Makefile"
17727 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17731 if test "x$enable_maintainer_mode" = xyes
17732 then
17733 wine_fn_append_rule "configure: configure.ac aclocal.m4
17734 autoconf --warnings=all
17735 include/config.h.in: include/stamp-h.in
17736 include/stamp-h.in: configure.ac aclocal.m4
17737 autoheader --warnings=all
17738 @echo timestamp > \$@"
17741 if test "x$with_gettextpo" = xyes
17742 then
17743 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17744 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17745 \$(LINGUAS:%=po/%.po): po/wine.pot
17746 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17747 po/wine.pot: \$(ALL_POT_FILES)
17748 msgcat -o \$@ \$(ALL_POT_FILES)"
17751 if test "$MSGFMT" != false
17752 then
17753 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17754 clean::
17755 \$(RM) \$(LINGUAS:%=po/%.mo)"
17757 posrc="po"
17758 test "$srcdir" = . || posrc="$srcdir/po"
17759 for i in $LINGUAS
17761 wine_fn_ignore_file "po/$i.mo"
17762 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17763 \$(MSGFMT) -o \$@ $posrc/$i.po"
17764 done
17765 else
17766 LINGUAS=
17769 if test "x$enable_tools" != xno
17770 then
17771 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17772 @./config.status tools/makedep
17773 Makefile: tools/makedep$ac_exeext
17774 distclean:: clean
17775 \$(RM) tools/makedep$ac_exeext"
17776 else
17777 wine_fn_append_rule "\$(MAKEDEP):
17778 @echo \"You need to run make in $TOOLSDIR first\" && false"
17781 if test -n "$with_wine64"
17782 then
17783 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17784 fonts server tools:
17785 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17786 $with_wine64/loader/wine:
17787 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17788 $with_wine64/loader/wine-preloader:
17789 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17790 clean::
17791 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17792 else
17793 as_fn_append LOADER_RULES "
17794 install install-lib:: wine.inf install-man-pages
17795 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17796 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17798 uninstall::
17799 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17803 if test "$srcdir" = .
17804 then
17805 ac_config_commands="$ac_config_commands .gitignore"
17809 $as_echo " done" >&6
17810 cat >confcache <<\_ACEOF
17811 # This file is a shell script that caches the results of configure
17812 # tests run on this system so they can be shared between configure
17813 # scripts and configure runs, see configure's option --config-cache.
17814 # It is not useful on other systems. If it contains results you don't
17815 # want to keep, you may remove or edit it.
17817 # config.status only pays attention to the cache file if you give it
17818 # the --recheck option to rerun configure.
17820 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17821 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17822 # following values.
17824 _ACEOF
17826 # The following way of writing the cache mishandles newlines in values,
17827 # but we know of no workaround that is simple, portable, and efficient.
17828 # So, we kill variables containing newlines.
17829 # Ultrix sh set writes to stderr and can't be redirected directly,
17830 # and sets the high bit in the cache file unless we assign to the vars.
17832 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17833 eval ac_val=\$$ac_var
17834 case $ac_val in #(
17835 *${as_nl}*)
17836 case $ac_var in #(
17837 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17838 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17839 esac
17840 case $ac_var in #(
17841 _ | IFS | as_nl) ;; #(
17842 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17843 *) { eval $ac_var=; unset $ac_var;} ;;
17844 esac ;;
17845 esac
17846 done
17848 (set) 2>&1 |
17849 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17850 *${as_nl}ac_space=\ *)
17851 # `set' does not quote correctly, so add quotes: double-quote
17852 # substitution turns \\\\ into \\, and sed turns \\ into \.
17853 sed -n \
17854 "s/'/'\\\\''/g;
17855 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17856 ;; #(
17858 # `set' quotes correctly as required by POSIX, so do not add quotes.
17859 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17861 esac |
17862 sort
17864 sed '
17865 /^ac_cv_env_/b end
17866 t clear
17867 :clear
17868 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17869 t end
17870 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17871 :end' >>confcache
17872 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17873 if test -w "$cache_file"; then
17874 if test "x$cache_file" != "x/dev/null"; then
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17876 $as_echo "$as_me: updating cache $cache_file" >&6;}
17877 if test ! -f "$cache_file" || test -h "$cache_file"; then
17878 cat confcache >"$cache_file"
17879 else
17880 case $cache_file in #(
17881 */* | ?:*)
17882 mv -f confcache "$cache_file"$$ &&
17883 mv -f "$cache_file"$$ "$cache_file" ;; #(
17885 mv -f confcache "$cache_file" ;;
17886 esac
17889 else
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17891 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17894 rm -f confcache
17896 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17897 # Let make expand exec_prefix.
17898 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17900 DEFS=-DHAVE_CONFIG_H
17902 ac_libobjs=
17903 ac_ltlibobjs=
17905 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17906 # 1. Remove the extension, and $U if already installed.
17907 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17908 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17909 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17910 # will be set to the directory where LIBOBJS objects are built.
17911 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17912 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17913 done
17914 LIBOBJS=$ac_libobjs
17916 LTLIBOBJS=$ac_ltlibobjs
17920 : "${CONFIG_STATUS=./config.status}"
17921 ac_write_fail=0
17922 ac_clean_files_save=$ac_clean_files
17923 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17924 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17925 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17926 as_write_fail=0
17927 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17928 #! $SHELL
17929 # Generated by $as_me.
17930 # Run this file to recreate the current configuration.
17931 # Compiler output produced by configure, useful for debugging
17932 # configure, is in config.log if it exists.
17934 debug=false
17935 ac_cs_recheck=false
17936 ac_cs_silent=false
17938 SHELL=\${CONFIG_SHELL-$SHELL}
17939 export SHELL
17940 _ASEOF
17941 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17942 ## -------------------- ##
17943 ## M4sh Initialization. ##
17944 ## -------------------- ##
17946 # Be more Bourne compatible
17947 DUALCASE=1; export DUALCASE # for MKS sh
17948 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17949 emulate sh
17950 NULLCMD=:
17951 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17952 # is contrary to our usage. Disable this feature.
17953 alias -g '${1+"$@"}'='"$@"'
17954 setopt NO_GLOB_SUBST
17955 else
17956 case `(set -o) 2>/dev/null` in #(
17957 *posix*) :
17958 set -o posix ;; #(
17959 *) :
17961 esac
17965 as_nl='
17967 export as_nl
17968 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17969 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17970 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17971 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17972 # Prefer a ksh shell builtin over an external printf program on Solaris,
17973 # but without wasting forks for bash or zsh.
17974 if test -z "$BASH_VERSION$ZSH_VERSION" \
17975 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17976 as_echo='print -r --'
17977 as_echo_n='print -rn --'
17978 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17979 as_echo='printf %s\n'
17980 as_echo_n='printf %s'
17981 else
17982 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17983 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17984 as_echo_n='/usr/ucb/echo -n'
17985 else
17986 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17987 as_echo_n_body='eval
17988 arg=$1;
17989 case $arg in #(
17990 *"$as_nl"*)
17991 expr "X$arg" : "X\\(.*\\)$as_nl";
17992 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17993 esac;
17994 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17996 export as_echo_n_body
17997 as_echo_n='sh -c $as_echo_n_body as_echo'
17999 export as_echo_body
18000 as_echo='sh -c $as_echo_body as_echo'
18003 # The user is always right.
18004 if test "${PATH_SEPARATOR+set}" != set; then
18005 PATH_SEPARATOR=:
18006 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18007 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18008 PATH_SEPARATOR=';'
18013 # IFS
18014 # We need space, tab and new line, in precisely that order. Quoting is
18015 # there to prevent editors from complaining about space-tab.
18016 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18017 # splitting by setting IFS to empty value.)
18018 IFS=" "" $as_nl"
18020 # Find who we are. Look in the path if we contain no directory separator.
18021 as_myself=
18022 case $0 in #((
18023 *[\\/]* ) as_myself=$0 ;;
18024 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18025 for as_dir in $PATH
18027 IFS=$as_save_IFS
18028 test -z "$as_dir" && as_dir=.
18029 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18030 done
18031 IFS=$as_save_IFS
18034 esac
18035 # We did not find ourselves, most probably we were run as `sh COMMAND'
18036 # in which case we are not to be found in the path.
18037 if test "x$as_myself" = x; then
18038 as_myself=$0
18040 if test ! -f "$as_myself"; then
18041 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18042 exit 1
18045 # Unset variables that we do not need and which cause bugs (e.g. in
18046 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18047 # suppresses any "Segmentation fault" message there. '((' could
18048 # trigger a bug in pdksh 5.2.14.
18049 for as_var in BASH_ENV ENV MAIL MAILPATH
18050 do eval test x\${$as_var+set} = xset \
18051 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18052 done
18053 PS1='$ '
18054 PS2='> '
18055 PS4='+ '
18057 # NLS nuisances.
18058 LC_ALL=C
18059 export LC_ALL
18060 LANGUAGE=C
18061 export LANGUAGE
18063 # CDPATH.
18064 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18067 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18068 # ----------------------------------------
18069 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18070 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18071 # script with STATUS, using 1 if that was 0.
18072 as_fn_error ()
18074 as_status=$1; test $as_status -eq 0 && as_status=1
18075 if test "$4"; then
18076 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18077 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18079 $as_echo "$as_me: error: $2" >&2
18080 as_fn_exit $as_status
18081 } # as_fn_error
18084 # as_fn_set_status STATUS
18085 # -----------------------
18086 # Set $? to STATUS, without forking.
18087 as_fn_set_status ()
18089 return $1
18090 } # as_fn_set_status
18092 # as_fn_exit STATUS
18093 # -----------------
18094 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18095 as_fn_exit ()
18097 set +e
18098 as_fn_set_status $1
18099 exit $1
18100 } # as_fn_exit
18102 # as_fn_unset VAR
18103 # ---------------
18104 # Portably unset VAR.
18105 as_fn_unset ()
18107 { eval $1=; unset $1;}
18109 as_unset=as_fn_unset
18110 # as_fn_append VAR VALUE
18111 # ----------------------
18112 # Append the text in VALUE to the end of the definition contained in VAR. Take
18113 # advantage of any shell optimizations that allow amortized linear growth over
18114 # repeated appends, instead of the typical quadratic growth present in naive
18115 # implementations.
18116 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18117 eval 'as_fn_append ()
18119 eval $1+=\$2
18121 else
18122 as_fn_append ()
18124 eval $1=\$$1\$2
18126 fi # as_fn_append
18128 # as_fn_arith ARG...
18129 # ------------------
18130 # Perform arithmetic evaluation on the ARGs, and store the result in the
18131 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18132 # must be portable across $(()) and expr.
18133 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18134 eval 'as_fn_arith ()
18136 as_val=$(( $* ))
18138 else
18139 as_fn_arith ()
18141 as_val=`expr "$@" || test $? -eq 1`
18143 fi # as_fn_arith
18146 if expr a : '\(a\)' >/dev/null 2>&1 &&
18147 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18148 as_expr=expr
18149 else
18150 as_expr=false
18153 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18154 as_basename=basename
18155 else
18156 as_basename=false
18159 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18160 as_dirname=dirname
18161 else
18162 as_dirname=false
18165 as_me=`$as_basename -- "$0" ||
18166 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18167 X"$0" : 'X\(//\)$' \| \
18168 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18169 $as_echo X/"$0" |
18170 sed '/^.*\/\([^/][^/]*\)\/*$/{
18171 s//\1/
18174 /^X\/\(\/\/\)$/{
18175 s//\1/
18178 /^X\/\(\/\).*/{
18179 s//\1/
18182 s/.*/./; q'`
18184 # Avoid depending upon Character Ranges.
18185 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18186 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18187 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18188 as_cr_digits='0123456789'
18189 as_cr_alnum=$as_cr_Letters$as_cr_digits
18191 ECHO_C= ECHO_N= ECHO_T=
18192 case `echo -n x` in #(((((
18193 -n*)
18194 case `echo 'xy\c'` in
18195 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18196 xy) ECHO_C='\c';;
18197 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18198 ECHO_T=' ';;
18199 esac;;
18201 ECHO_N='-n';;
18202 esac
18204 rm -f conf$$ conf$$.exe conf$$.file
18205 if test -d conf$$.dir; then
18206 rm -f conf$$.dir/conf$$.file
18207 else
18208 rm -f conf$$.dir
18209 mkdir conf$$.dir 2>/dev/null
18211 if (echo >conf$$.file) 2>/dev/null; then
18212 if ln -s conf$$.file conf$$ 2>/dev/null; then
18213 as_ln_s='ln -s'
18214 # ... but there are two gotchas:
18215 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18216 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18217 # In both cases, we have to default to `cp -pR'.
18218 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18219 as_ln_s='cp -pR'
18220 elif ln conf$$.file conf$$ 2>/dev/null; then
18221 as_ln_s=ln
18222 else
18223 as_ln_s='cp -pR'
18225 else
18226 as_ln_s='cp -pR'
18228 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18229 rmdir conf$$.dir 2>/dev/null
18232 # as_fn_mkdir_p
18233 # -------------
18234 # Create "$as_dir" as a directory, including parents if necessary.
18235 as_fn_mkdir_p ()
18238 case $as_dir in #(
18239 -*) as_dir=./$as_dir;;
18240 esac
18241 test -d "$as_dir" || eval $as_mkdir_p || {
18242 as_dirs=
18243 while :; do
18244 case $as_dir in #(
18245 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18246 *) as_qdir=$as_dir;;
18247 esac
18248 as_dirs="'$as_qdir' $as_dirs"
18249 as_dir=`$as_dirname -- "$as_dir" ||
18250 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18251 X"$as_dir" : 'X\(//\)[^/]' \| \
18252 X"$as_dir" : 'X\(//\)$' \| \
18253 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18254 $as_echo X"$as_dir" |
18255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18256 s//\1/
18259 /^X\(\/\/\)[^/].*/{
18260 s//\1/
18263 /^X\(\/\/\)$/{
18264 s//\1/
18267 /^X\(\/\).*/{
18268 s//\1/
18271 s/.*/./; q'`
18272 test -d "$as_dir" && break
18273 done
18274 test -z "$as_dirs" || eval "mkdir $as_dirs"
18275 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18278 } # as_fn_mkdir_p
18279 if mkdir -p . 2>/dev/null; then
18280 as_mkdir_p='mkdir -p "$as_dir"'
18281 else
18282 test -d ./-p && rmdir ./-p
18283 as_mkdir_p=false
18287 # as_fn_executable_p FILE
18288 # -----------------------
18289 # Test if FILE is an executable regular file.
18290 as_fn_executable_p ()
18292 test -f "$1" && test -x "$1"
18293 } # as_fn_executable_p
18294 as_test_x='test -x'
18295 as_executable_p=as_fn_executable_p
18297 # Sed expression to map a string onto a valid CPP name.
18298 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18300 # Sed expression to map a string onto a valid variable name.
18301 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18304 exec 6>&1
18305 ## ----------------------------------- ##
18306 ## Main body of $CONFIG_STATUS script. ##
18307 ## ----------------------------------- ##
18308 _ASEOF
18309 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18312 # Save the log message, to keep $0 and so on meaningful, and to
18313 # report actual input values of CONFIG_FILES etc. instead of their
18314 # values after options handling.
18315 ac_log="
18316 This file was extended by Wine $as_me 1.7.32, which was
18317 generated by GNU Autoconf 2.69. Invocation command line was
18319 CONFIG_FILES = $CONFIG_FILES
18320 CONFIG_HEADERS = $CONFIG_HEADERS
18321 CONFIG_LINKS = $CONFIG_LINKS
18322 CONFIG_COMMANDS = $CONFIG_COMMANDS
18323 $ $0 $@
18325 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18328 _ACEOF
18330 case $ac_config_files in *"
18331 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18332 esac
18334 case $ac_config_headers in *"
18335 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18336 esac
18339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18340 # Files that config.status was made for.
18341 config_files="$ac_config_files"
18342 config_headers="$ac_config_headers"
18343 config_links="$ac_config_links"
18344 config_commands="$ac_config_commands"
18346 _ACEOF
18348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18349 ac_cs_usage="\
18350 \`$as_me' instantiates files and other configuration actions
18351 from templates according to the current configuration. Unless the files
18352 and actions are specified as TAGs, all are instantiated by default.
18354 Usage: $0 [OPTION]... [TAG]...
18356 -h, --help print this help, then exit
18357 -V, --version print version number and configuration settings, then exit
18358 --config print configuration, then exit
18359 -q, --quiet, --silent
18360 do not print progress messages
18361 -d, --debug don't remove temporary files
18362 --recheck update $as_me by reconfiguring in the same conditions
18363 --file=FILE[:TEMPLATE]
18364 instantiate the configuration file FILE
18365 --header=FILE[:TEMPLATE]
18366 instantiate the configuration header FILE
18368 Configuration files:
18369 $config_files
18371 Configuration headers:
18372 $config_headers
18374 Configuration links:
18375 $config_links
18377 Configuration commands:
18378 $config_commands
18380 Report bugs to <wine-devel@winehq.org>.
18381 Wine home page: <http://www.winehq.org>."
18383 _ACEOF
18384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18385 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18386 ac_cs_version="\\
18387 Wine config.status 1.7.32
18388 configured by $0, generated by GNU Autoconf 2.69,
18389 with options \\"\$ac_cs_config\\"
18391 Copyright (C) 2012 Free Software Foundation, Inc.
18392 This config.status script is free software; the Free Software Foundation
18393 gives unlimited permission to copy, distribute and modify it."
18395 ac_pwd='$ac_pwd'
18396 srcdir='$srcdir'
18397 test -n "\$AWK" || AWK=awk
18398 _ACEOF
18400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18401 # The default lists apply if the user does not specify any file.
18402 ac_need_defaults=:
18403 while test $# != 0
18405 case $1 in
18406 --*=?*)
18407 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18408 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18409 ac_shift=:
18411 --*=)
18412 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18413 ac_optarg=
18414 ac_shift=:
18417 ac_option=$1
18418 ac_optarg=$2
18419 ac_shift=shift
18421 esac
18423 case $ac_option in
18424 # Handling of the options.
18425 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18426 ac_cs_recheck=: ;;
18427 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18428 $as_echo "$ac_cs_version"; exit ;;
18429 --config | --confi | --conf | --con | --co | --c )
18430 $as_echo "$ac_cs_config"; exit ;;
18431 --debug | --debu | --deb | --de | --d | -d )
18432 debug=: ;;
18433 --file | --fil | --fi | --f )
18434 $ac_shift
18435 case $ac_optarg in
18436 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18437 '') as_fn_error $? "missing file argument" ;;
18438 esac
18439 as_fn_append CONFIG_FILES " '$ac_optarg'"
18440 ac_need_defaults=false;;
18441 --header | --heade | --head | --hea )
18442 $ac_shift
18443 case $ac_optarg in
18444 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18445 esac
18446 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18447 ac_need_defaults=false;;
18448 --he | --h)
18449 # Conflict between --help and --header
18450 as_fn_error $? "ambiguous option: \`$1'
18451 Try \`$0 --help' for more information.";;
18452 --help | --hel | -h )
18453 $as_echo "$ac_cs_usage"; exit ;;
18454 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18455 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18456 ac_cs_silent=: ;;
18458 # This is an error.
18459 -*) as_fn_error $? "unrecognized option: \`$1'
18460 Try \`$0 --help' for more information." ;;
18462 *) as_fn_append ac_config_targets " $1"
18463 ac_need_defaults=false ;;
18465 esac
18466 shift
18467 done
18469 ac_configure_extra_args=
18471 if $ac_cs_silent; then
18472 exec 6>/dev/null
18473 ac_configure_extra_args="$ac_configure_extra_args --silent"
18476 _ACEOF
18477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18478 if \$ac_cs_recheck; then
18479 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18480 shift
18481 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18482 CONFIG_SHELL='$SHELL'
18483 export CONFIG_SHELL
18484 exec "\$@"
18487 _ACEOF
18488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18489 exec 5>>config.log
18491 echo
18492 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18493 ## Running $as_me. ##
18494 _ASBOX
18495 $as_echo "$ac_log"
18496 } >&5
18498 _ACEOF
18499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18501 # INIT-COMMANDS
18503 wine_fn_output_makedep ()
18505 as_dir=tools; as_fn_mkdir_p
18506 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18508 wine_fn_output_makefile ()
18510 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18511 `cat $wine_rules_file`
18512 _WINE_EOF
18513 as_fn_error $? "could not create Makefile" "$LINENO" 5
18515 wine_fn_output_gitignore ()
18517 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18518 $GITIGNORE
18519 _WINE_EOF
18520 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18523 _ACEOF
18525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18527 # Handling of arguments.
18528 for ac_config_target in $ac_config_targets
18530 case $ac_config_target in
18531 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18532 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18533 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18534 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18535 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18536 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18537 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18538 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18539 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18540 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18541 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18542 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18543 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18544 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18546 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18547 esac
18548 done
18551 # If the user did not use the arguments to specify the items to instantiate,
18552 # then the envvar interface is used. Set only those that are not.
18553 # We use the long form for the default assignment because of an extremely
18554 # bizarre bug on SunOS 4.1.3.
18555 if $ac_need_defaults; then
18556 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18557 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18558 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18559 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18562 # Have a temporary directory for convenience. Make it in the build tree
18563 # simply because there is no reason against having it here, and in addition,
18564 # creating and moving files from /tmp can sometimes cause problems.
18565 # Hook for its removal unless debugging.
18566 # Note that there is a small window in which the directory will not be cleaned:
18567 # after its creation but before its name has been assigned to `$tmp'.
18568 $debug ||
18570 tmp= ac_tmp=
18571 trap 'exit_status=$?
18572 : "${ac_tmp:=$tmp}"
18573 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18575 trap 'as_fn_exit 1' 1 2 13 15
18577 # Create a (secure) tmp directory for tmp files.
18580 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18581 test -d "$tmp"
18582 } ||
18584 tmp=./conf$$-$RANDOM
18585 (umask 077 && mkdir "$tmp")
18586 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18587 ac_tmp=$tmp
18589 # Set up the scripts for CONFIG_FILES section.
18590 # No need to generate them if there are no CONFIG_FILES.
18591 # This happens for instance with `./config.status config.h'.
18592 if test -n "$CONFIG_FILES"; then
18595 ac_cr=`echo X | tr X '\015'`
18596 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18597 # But we know of no other shell where ac_cr would be empty at this
18598 # point, so we can use a bashism as a fallback.
18599 if test "x$ac_cr" = x; then
18600 eval ac_cr=\$\'\\r\'
18602 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18603 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18604 ac_cs_awk_cr='\\r'
18605 else
18606 ac_cs_awk_cr=$ac_cr
18609 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18610 _ACEOF
18614 echo "cat >conf$$subs.awk <<_ACEOF" &&
18615 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18616 echo "_ACEOF"
18617 } >conf$$subs.sh ||
18618 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18619 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18620 ac_delim='%!_!# '
18621 for ac_last_try in false false false false false :; do
18622 . ./conf$$subs.sh ||
18623 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18625 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18626 if test $ac_delim_n = $ac_delim_num; then
18627 break
18628 elif $ac_last_try; then
18629 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18630 else
18631 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18633 done
18634 rm -f conf$$subs.sh
18636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18637 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18638 _ACEOF
18639 sed -n '
18641 s/^/S["/; s/!.*/"]=/
18644 s/^[^!]*!//
18645 :repl
18646 t repl
18647 s/'"$ac_delim"'$//
18648 t delim
18651 s/\(.\{148\}\)..*/\1/
18652 t more1
18653 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18656 b repl
18657 :more1
18658 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18661 s/.\{148\}//
18662 t nl
18663 :delim
18665 s/\(.\{148\}\)..*/\1/
18666 t more2
18667 s/["\\]/\\&/g; s/^/"/; s/$/"/
18670 :more2
18671 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18674 s/.\{148\}//
18675 t delim
18676 ' <conf$$subs.awk | sed '
18677 /^[^""]/{
18679 s/\n//
18681 ' >>$CONFIG_STATUS || ac_write_fail=1
18682 rm -f conf$$subs.awk
18683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18684 _ACAWK
18685 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18686 for (key in S) S_is_set[key] = 1
18687 FS = "\a"
18691 line = $ 0
18692 nfields = split(line, field, "@")
18693 substed = 0
18694 len = length(field[1])
18695 for (i = 2; i < nfields; i++) {
18696 key = field[i]
18697 keylen = length(key)
18698 if (S_is_set[key]) {
18699 value = S[key]
18700 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18701 len += length(value) + length(field[++i])
18702 substed = 1
18703 } else
18704 len += 1 + keylen
18707 print line
18710 _ACAWK
18711 _ACEOF
18712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18713 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18714 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18715 else
18717 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18718 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18719 _ACEOF
18721 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18722 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18723 # trailing colons and then remove the whole line if VPATH becomes empty
18724 # (actually we leave an empty line to preserve line numbers).
18725 if test "x$srcdir" = x.; then
18726 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18728 s///
18729 s/^/:/
18730 s/[ ]*$/:/
18731 s/:\$(srcdir):/:/g
18732 s/:\${srcdir}:/:/g
18733 s/:@srcdir@:/:/g
18734 s/^:*//
18735 s/:*$//
18737 s/\(=[ ]*\).*/\1/
18739 s/\n//
18740 s/^[^=]*=[ ]*$//
18744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18745 fi # test -n "$CONFIG_FILES"
18747 # Set up the scripts for CONFIG_HEADERS section.
18748 # No need to generate them if there are no CONFIG_HEADERS.
18749 # This happens for instance with `./config.status Makefile'.
18750 if test -n "$CONFIG_HEADERS"; then
18751 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18752 BEGIN {
18753 _ACEOF
18755 # Transform confdefs.h into an awk script `defines.awk', embedded as
18756 # here-document in config.status, that substitutes the proper values into
18757 # config.h.in to produce config.h.
18759 # Create a delimiter string that does not exist in confdefs.h, to ease
18760 # handling of long lines.
18761 ac_delim='%!_!# '
18762 for ac_last_try in false false :; do
18763 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18764 if test -z "$ac_tt"; then
18765 break
18766 elif $ac_last_try; then
18767 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18768 else
18769 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18771 done
18773 # For the awk script, D is an array of macro values keyed by name,
18774 # likewise P contains macro parameters if any. Preserve backslash
18775 # newline sequences.
18777 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18778 sed -n '
18779 s/.\{148\}/&'"$ac_delim"'/g
18780 t rset
18781 :rset
18782 s/^[ ]*#[ ]*define[ ][ ]*/ /
18783 t def
18785 :def
18786 s/\\$//
18787 t bsnl
18788 s/["\\]/\\&/g
18789 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18790 D["\1"]=" \3"/p
18791 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18793 :bsnl
18794 s/["\\]/\\&/g
18795 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18796 D["\1"]=" \3\\\\\\n"\\/p
18797 t cont
18798 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18799 t cont
18801 :cont
18803 s/.\{148\}/&'"$ac_delim"'/g
18804 t clear
18805 :clear
18806 s/\\$//
18807 t bsnlc
18808 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18810 :bsnlc
18811 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18812 b cont
18813 ' <confdefs.h | sed '
18814 s/'"$ac_delim"'/"\\\
18815 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18818 for (key in D) D_is_set[key] = 1
18819 FS = "\a"
18821 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18822 line = \$ 0
18823 split(line, arg, " ")
18824 if (arg[1] == "#") {
18825 defundef = arg[2]
18826 mac1 = arg[3]
18827 } else {
18828 defundef = substr(arg[1], 2)
18829 mac1 = arg[2]
18831 split(mac1, mac2, "(") #)
18832 macro = mac2[1]
18833 prefix = substr(line, 1, index(line, defundef) - 1)
18834 if (D_is_set[macro]) {
18835 # Preserve the white space surrounding the "#".
18836 print prefix "define", macro P[macro] D[macro]
18837 next
18838 } else {
18839 # Replace #undef with comments. This is necessary, for example,
18840 # in the case of _POSIX_SOURCE, which is predefined and required
18841 # on some systems where configure will not decide to define it.
18842 if (defundef == "undef") {
18843 print "/*", prefix defundef, macro, "*/"
18844 next
18848 { print }
18849 _ACAWK
18850 _ACEOF
18851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18852 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18853 fi # test -n "$CONFIG_HEADERS"
18856 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18857 shift
18858 for ac_tag
18860 case $ac_tag in
18861 :[FHLC]) ac_mode=$ac_tag; continue;;
18862 esac
18863 case $ac_mode$ac_tag in
18864 :[FHL]*:*);;
18865 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18866 :[FH]-) ac_tag=-:-;;
18867 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18868 esac
18869 ac_save_IFS=$IFS
18870 IFS=:
18871 set x $ac_tag
18872 IFS=$ac_save_IFS
18873 shift
18874 ac_file=$1
18875 shift
18877 case $ac_mode in
18878 :L) ac_source=$1;;
18879 :[FH])
18880 ac_file_inputs=
18881 for ac_f
18883 case $ac_f in
18884 -) ac_f="$ac_tmp/stdin";;
18885 *) # Look for the file first in the build tree, then in the source tree
18886 # (if the path is not absolute). The absolute path cannot be DOS-style,
18887 # because $ac_f cannot contain `:'.
18888 test -f "$ac_f" ||
18889 case $ac_f in
18890 [\\/$]*) false;;
18891 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18892 esac ||
18893 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18894 esac
18895 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18896 as_fn_append ac_file_inputs " '$ac_f'"
18897 done
18899 # Let's still pretend it is `configure' which instantiates (i.e., don't
18900 # use $as_me), people would be surprised to read:
18901 # /* config.h. Generated by config.status. */
18902 configure_input='Generated from '`
18903 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18904 `' by configure.'
18905 if test x"$ac_file" != x-; then
18906 configure_input="$ac_file. $configure_input"
18907 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18908 $as_echo "$as_me: creating $ac_file" >&6;}
18910 # Neutralize special characters interpreted by sed in replacement strings.
18911 case $configure_input in #(
18912 *\&* | *\|* | *\\* )
18913 ac_sed_conf_input=`$as_echo "$configure_input" |
18914 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18915 *) ac_sed_conf_input=$configure_input;;
18916 esac
18918 case $ac_tag in
18919 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18920 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18921 esac
18923 esac
18925 ac_dir=`$as_dirname -- "$ac_file" ||
18926 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18927 X"$ac_file" : 'X\(//\)[^/]' \| \
18928 X"$ac_file" : 'X\(//\)$' \| \
18929 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18930 $as_echo X"$ac_file" |
18931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18932 s//\1/
18935 /^X\(\/\/\)[^/].*/{
18936 s//\1/
18939 /^X\(\/\/\)$/{
18940 s//\1/
18943 /^X\(\/\).*/{
18944 s//\1/
18947 s/.*/./; q'`
18948 as_dir="$ac_dir"; as_fn_mkdir_p
18949 ac_builddir=.
18951 case "$ac_dir" in
18952 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18954 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18955 # A ".." for each directory in $ac_dir_suffix.
18956 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18957 case $ac_top_builddir_sub in
18958 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18959 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18960 esac ;;
18961 esac
18962 ac_abs_top_builddir=$ac_pwd
18963 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18964 # for backward compatibility:
18965 ac_top_builddir=$ac_top_build_prefix
18967 case $srcdir in
18968 .) # We are building in place.
18969 ac_srcdir=.
18970 ac_top_srcdir=$ac_top_builddir_sub
18971 ac_abs_top_srcdir=$ac_pwd ;;
18972 [\\/]* | ?:[\\/]* ) # Absolute name.
18973 ac_srcdir=$srcdir$ac_dir_suffix;
18974 ac_top_srcdir=$srcdir
18975 ac_abs_top_srcdir=$srcdir ;;
18976 *) # Relative name.
18977 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18978 ac_top_srcdir=$ac_top_build_prefix$srcdir
18979 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18980 esac
18981 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18984 case $ac_mode in
18987 # CONFIG_FILE
18990 _ACEOF
18992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18993 # If the template does not know about datarootdir, expand it.
18994 # FIXME: This hack should be removed a few years after 2.60.
18995 ac_datarootdir_hack=; ac_datarootdir_seen=
18996 ac_sed_dataroot='
18997 /datarootdir/ {
19001 /@datadir@/p
19002 /@docdir@/p
19003 /@infodir@/p
19004 /@localedir@/p
19005 /@mandir@/p'
19006 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19007 *datarootdir*) ac_datarootdir_seen=yes;;
19008 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19010 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19011 _ACEOF
19012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19013 ac_datarootdir_hack='
19014 s&@datadir@&$datadir&g
19015 s&@docdir@&$docdir&g
19016 s&@infodir@&$infodir&g
19017 s&@localedir@&$localedir&g
19018 s&@mandir@&$mandir&g
19019 s&\\\${datarootdir}&$datarootdir&g' ;;
19020 esac
19021 _ACEOF
19023 # Neutralize VPATH when `$srcdir' = `.'.
19024 # Shell code in configure.ac might set extrasub.
19025 # FIXME: do we really want to maintain this feature?
19026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19027 ac_sed_extra="$ac_vpsub
19028 $extrasub
19029 _ACEOF
19030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19032 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19033 s|@configure_input@|$ac_sed_conf_input|;t t
19034 s&@top_builddir@&$ac_top_builddir_sub&;t t
19035 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19036 s&@srcdir@&$ac_srcdir&;t t
19037 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19038 s&@top_srcdir@&$ac_top_srcdir&;t t
19039 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19040 s&@builddir@&$ac_builddir&;t t
19041 s&@abs_builddir@&$ac_abs_builddir&;t t
19042 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19043 $ac_datarootdir_hack
19045 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19046 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19048 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19049 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19050 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19051 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19053 which seems to be undefined. Please make sure it is defined" >&5
19054 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19055 which seems to be undefined. Please make sure it is defined" >&2;}
19057 rm -f "$ac_tmp/stdin"
19058 case $ac_file in
19059 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19060 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19061 esac \
19062 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19066 # CONFIG_HEADER
19068 if test x"$ac_file" != x-; then
19070 $as_echo "/* $configure_input */" \
19071 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19072 } >"$ac_tmp/config.h" \
19073 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19074 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19075 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19076 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19077 else
19078 rm -f "$ac_file"
19079 mv "$ac_tmp/config.h" "$ac_file" \
19080 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19082 else
19083 $as_echo "/* $configure_input */" \
19084 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19085 || as_fn_error $? "could not create -" "$LINENO" 5
19090 # CONFIG_LINK
19093 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19095 else
19096 # Prefer the file from the source tree if names are identical.
19097 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19098 ac_source=$srcdir/$ac_source
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19102 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19104 if test ! -r "$ac_source"; then
19105 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19107 rm -f "$ac_file"
19109 # Try a relative symlink, then a hard link, then a copy.
19110 case $ac_source in
19111 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19112 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19113 esac
19114 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19115 ln "$ac_source" "$ac_file" 2>/dev/null ||
19116 cp -p "$ac_source" "$ac_file" ||
19117 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19120 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19121 $as_echo "$as_me: executing $ac_file commands" >&6;}
19123 esac
19126 case $ac_file$ac_mode in
19127 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19128 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19129 "Makefile":C) wine_fn_output_makefile Makefile ;;
19130 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19132 esac
19133 done # for ac_tag
19136 as_fn_exit 0
19137 _ACEOF
19138 ac_clean_files=$ac_clean_files_save
19140 test $ac_write_fail = 0 ||
19141 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19144 # configure is writing to config.log, and then calls config.status.
19145 # config.status does its own redirection, appending to config.log.
19146 # Unfortunately, on DOS this fails, as config.log is still kept open
19147 # by configure, so config.status won't be able to write to it; its
19148 # output is simply discarded. So we exec the FD to /dev/null,
19149 # effectively closing config.log, so it can be properly (re)opened and
19150 # appended to by config.status. When coming back to configure, we
19151 # need to make the FD available again.
19152 if test "$no_create" != yes; then
19153 ac_cs_success=:
19154 ac_config_status_args=
19155 test "$silent" = yes &&
19156 ac_config_status_args="$ac_config_status_args --quiet"
19157 exec 5>/dev/null
19158 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19159 exec 5>>config.log
19160 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19161 # would make configure fail if this is the last instruction.
19162 $ac_cs_success || as_fn_exit 1
19164 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19166 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19170 if test "$no_create" = "yes"
19171 then
19172 exit 0
19175 ac_save_IFS="$IFS"
19176 if test "x$wine_notices != "x; then
19177 echo >&6
19178 IFS="|"
19179 for msg in $wine_notices; do
19180 IFS="$ac_save_IFS"
19181 if ${msg:+false} :; then :
19183 else
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19185 $as_echo "$as_me: $msg" >&6;}
19187 done
19189 IFS="|"
19190 for msg in $wine_warnings; do
19191 IFS="$ac_save_IFS"
19192 if ${msg:+false} :; then :
19194 else
19195 echo >&2
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19197 $as_echo "$as_me: WARNING: $msg" >&2;}
19199 done
19200 IFS="$ac_save_IFS"
19202 $as_echo "
19203 $as_me: Finished. Do '${ac_make}' to compile Wine.
19204 " >&6